From 2eedd3c6ac9fadf0dbc0d2e3ce0745d97b2a1c73 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 10:40:15 -0700 Subject: [PATCH 01/38] move demo components into separate folder --- examples/{ => demos}/MergeActions.js | 10 +++++----- examples/{ => demos}/MergeBox.js | 4 ++-- examples/{ => demos}/MergeButton.js | 10 +++++----- examples/{ => demos}/MergeDetail.js | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) rename examples/{ => demos}/MergeActions.js (80%) rename examples/{ => demos}/MergeBox.js (91%) rename examples/{ => demos}/MergeButton.js (92%) rename examples/{ => demos}/MergeDetail.js (86%) diff --git a/examples/MergeActions.js b/examples/demos/MergeActions.js similarity index 80% rename from examples/MergeActions.js rename to examples/demos/MergeActions.js index b66c87f2537..ee83aae6f65 100644 --- a/examples/MergeActions.js +++ b/examples/demos/MergeActions.js @@ -1,10 +1,10 @@ import React from 'react' import PropTypes from 'prop-types' -import CircleOcticon from '../src/CircleOcticon' -import Text from '../src/Text' -import Block from '../src/Block' -import Link from '../src/Link' -import ButtonLink from '../src/ButtonLink' +import CircleOcticon from '../../src/CircleOcticon' +import Text from '../../src/Text' +import Block from '../../src/Block' +import Link from '../../src/Link' +import ButtonLink from '../../src/ButtonLink' import MergeButton from './MergeButton' const MergeActions = ({ numCommits, repoUrl, branchName, state }) => { diff --git a/examples/MergeBox.js b/examples/demos/MergeBox.js similarity index 91% rename from examples/MergeBox.js rename to examples/demos/MergeBox.js index 08b83189718..3efc61b8e22 100644 --- a/examples/MergeBox.js +++ b/examples/demos/MergeBox.js @@ -1,7 +1,7 @@ import React from 'react' import PropTypes from 'prop-types' -import MergeStatus from '../src/MergeStatus' -import CaretBox from '../src/CaretBox' +import MergeStatus from '../../src/MergeStatus' +import CaretBox from '../../src/CaretBox' import MergeButton from './MergeButton' import MergeDetail from './MergeDetail' import MergeActions from './MergeActions' diff --git a/examples/MergeButton.js b/examples/demos/MergeButton.js similarity index 92% rename from examples/MergeButton.js rename to examples/demos/MergeButton.js index fb043ceb8e8..8d902df2eab 100644 --- a/examples/MergeButton.js +++ b/examples/demos/MergeButton.js @@ -1,10 +1,10 @@ import React from 'react' import PropTypes from 'prop-types' -import Details from '../src/Details' -import Button from '../src/Button' -import CaretBox from '../src/CaretBox' -import Text from '../src/Text' -import Block from '../src/Block' +import Details from '../../src/Details' +import Button from '../../src/Button' +import CaretBox from '../../src/CaretBox' +import Text from '../../src/Text' +import Block from '../../src/Block' const MergeButton = ({ primary, onClick, numCommits, children}) => { const arrowStyles = { diff --git a/examples/MergeDetail.js b/examples/demos/MergeDetail.js similarity index 86% rename from examples/MergeDetail.js rename to examples/demos/MergeDetail.js index be46e9e978f..176ade649ac 100644 --- a/examples/MergeDetail.js +++ b/examples/demos/MergeDetail.js @@ -1,8 +1,8 @@ import React from 'react' import PropTypes from 'prop-types' -import CircleOcticon from '../src/CircleOcticon' -import Text from '../src/Text' -import Block from '../src/Block' +import CircleOcticon from '../../src/CircleOcticon' +import Text from '../../src/Text' +import Block from '../../src/Block' const stateColorMap = { ready: 'green', From 93faa5f04d3689aabc0266db876a1508bcae4ead Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 10:40:21 -0700 Subject: [PATCH 02/38] add Demos page --- examples/index.js | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/examples/index.js b/examples/index.js index aeb3b4c11d7..ae9c713108e 100644 --- a/examples/index.js +++ b/examples/index.js @@ -37,8 +37,8 @@ import Octicon from '@github/octicons-react' import Page from './Page' import Swatch from './Swatch' -import MergeBox from './MergeBox' -import MergeButton from './MergeButton' +import MergeBox from './demos/MergeBox' +import MergeButton from './demos/MergeButton' import GitHubAvatar from './GitHubAvatar' const ExampleHeading = props => ( @@ -47,6 +47,18 @@ const ExampleHeading = props => ( const Index = props => ( + + + + + + + + + + + + @@ -491,16 +503,6 @@ const Index = props => ( - - - - - - - - - - Text Text bold @@ -535,6 +537,13 @@ const Index = props => ( + + + + + + + ) From 0df1ef8e07f344ed2e0b4e63e0d3cce5defea771 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 11:05:46 -0700 Subject: [PATCH 03/38] Move Demos and Components into separate pages, add routing --- examples/ComponentPage.js | 531 ++++++++++++++++++++++++++++++++++++ examples/DemoPage.js | 27 ++ examples/Meta.js | 2 +- examples/index.js | 556 ++------------------------------------ package-lock.json | 108 +++++--- package.json | 1 + 6 files changed, 655 insertions(+), 570 deletions(-) create mode 100644 examples/ComponentPage.js create mode 100644 examples/DemoPage.js diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js new file mode 100644 index 00000000000..7127575dd19 --- /dev/null +++ b/examples/ComponentPage.js @@ -0,0 +1,531 @@ +import React from 'react' +import { + Avatar, + Block, + Box, + Button, + ButtonDanger, + ButtonPrimary, + ButtonOutline, + ButtonLink, + BranchName, + Caret, + CaretBox, + CircleOcticon, + CounterLabel, + Details, + DonutChart, + DonutSlice, + Dropdown, + Flash, + Heading, + TextInput, + Label, + Link, + MergeStatus, + StateLabel, + Text, + Tooltip, + theme +} from '../src' +import { + Detail, + Example, + Library +} from '@compositor/kit' +import Octicon from '@github/octicons-react' +import Swatch from './Swatch' +import Page from './Page' +import GitHubAvatar from './GitHubAvatar' + +const ExampleHeading = props => ( + +) + + +const ComponentPage = () => { + return ( + + + + + + + + + + + + {' '} + + + + + + + {[ + // 'black', + 'white', + 'gray-dark', + 'gray', + 'gray-light', + 'blue', + 'blue-light', + 'green', + 'green-light', + 'red', + 'red-light', + 'yellow', + 'yellow-light', + 'purple', + 'purple-light', + // 'shade-gradient' + ].map((bg, i, style) => ( + + + {['white', 'gray', 'black'].map((fg, j) => ( + + ))} + + ))} + +
+ {`bg='${bg}'`} + + + {fg} + +
+
+ + This is a box. + This is a box with padding. + This is a box with shadow. + This is a box with a medium shadow. + This is a box with a large shadow. + This is a box with an extra-large shadow. + This is a box with a green border. + + + a_new_feature_branch + + Linked BranchName + a_new_feature_branch + BranchName with Octicon + a_new_feature_branch + + + + + + + + + + + + + + ButtonDanger + + + ButtonPrimary + + + ButtonOutline + + + + + + + + + This is an {''} styled as a button + + + + + {Caret.locations.map((loc, i) => ( + + location='{loc}' + + + ))} + + + +
+ +
+
+ + + CaretBox with shadow + gray-light CaretBox with red border + green CaretBox + + Location, Location, Location + {Caret.locations.map((loc, i) => ( + location='{loc}' + ))} + + + + + {['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map((hue, i) => ( +
+ {theme.colors[hue].map((color, j) => ( + + ))} +
+ ))} +
+ + + + + + + + + + + +
+
+ + + 12 + + + 13 + + + 13 + + + + + With static children +
+ Click me +

This should show and hide

+
+
+ + With children as a function +
{({open, toggle}) => ( + + {open ? 'Hide' : 'Show'} +

This should show and hide

+
+ )} +
+
+ + With render prop +
'hi'}/> + + + + + Dropdown Primary + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+ + Dropdown + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+ + Dropdown with title + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+
+ + + With data prop + + {' '} + + {' '} + + {' '} + + {' '} + + {' '} + + + + With DonutSlice children + + + + + + {' '} + + + + + + {' '} + + + + + {' '} + + + + + {' '} + + + + + {' '} + + + + + + With custom fill colors + + + + + + + + + + + + Flash + + + Flash yellow + + + Flash red + + + Flash green + + + Flash full + + + + {[/* 7, 6, */ 5, 4, 3, 2, 1, 0].map((fontSize, i) => ( + fontSize {fontSize} + ))} + + + Input + + Input Sizes + + + + + + + Block input + + + + Default Heading + + {[0, 1, 2, 3, 4, 5, /* 6, 7, */ '00-light', '0-light', '1-light', '2-light', '3-light'].map((fontSize, i) => ( + With fontSize={fontSize} + ))} + + + + + + + + + + + + + + + + + Link + + + Link muted + + + Link gray + + + Link graydark + + + + + Open + + + Closed + + + Merged + + + + By state (Octicons built in) + + Unknown + + + Open + + + Closed + + + Merged + + + Reopened + + + + By color + + Invalid + + + Green + + + Red + + + Purple + + + + Small, by state + + + Unknown + + + Open + + + Closed + + + Merged + + + Reopened + + + + + Small, by color + + + Invalid + + + Green + + + Red + + + Purple + + + }> + Custom Octicon + + + + + + + + + + + + + + + + + + + + + + Text + Text bold + Text green + Text lineHeight 'condensed' + Text fontSize 4 + Text padding 4 + + + + Text with a tooltip + + + Directions + {Tooltip.directions.map((d, i) => ( + + Tooltip direction={d} + + ))} + Alignment + + Tooltip align left + + Word wrap + + Word wrapping tooltip + + No Delay + + Text with a tooltip + + + + + + ) +} + +export default ComponentPage diff --git a/examples/DemoPage.js b/examples/DemoPage.js new file mode 100644 index 00000000000..b7d7f76aea9 --- /dev/null +++ b/examples/DemoPage.js @@ -0,0 +1,27 @@ +import React from 'react' +import { + Example, + Library +} from '@compositor/kit' +import Page from './Page' +import MergeBox from './demos/MergeBox' +import MergeButton from './demos/MergeButton' + +const DemoPage = () => { + return ( + + + + + + + + + + + + + ) +} + +export default DemoPage diff --git a/examples/Meta.js b/examples/Meta.js index 575f729d23c..62f7d7f232d 100644 --- a/examples/Meta.js +++ b/examples/Meta.js @@ -7,7 +7,7 @@ const primerPackages = [ 'primer-forms', 'primer-layout', // 'primer-marketing', - // 'primer-navigation', + 'primer-navigation', 'primer-product', // 'primer-table', 'primer-tooltips', diff --git a/examples/index.js b/examples/index.js index ae9c713108e..844684b26e4 100644 --- a/examples/index.js +++ b/examples/index.js @@ -1,549 +1,29 @@ import React from 'react' +import classnames from 'classnames' import { - Detail, - Example, - Library -} from '@compositor/kit' -import { - Avatar, - Block, - Box, - Button, - ButtonDanger, - ButtonPrimary, - ButtonOutline, - ButtonLink, - BranchName, - Caret, - CaretBox, - CircleOcticon, - CounterLabel, - Details, - DonutChart, - DonutSlice, - Dropdown, - Flash, - Heading, - TextInput, - Label, - Link, - MergeStatus, - StateLabel, - Text, - Tooltip, - theme -} from '../src' -import Octicon from '@github/octicons-react' + BrowserRouter as Router, + Route, + NavLink +} from 'react-router-dom' import Page from './Page' -import Swatch from './Swatch' -import MergeBox from './demos/MergeBox' -import MergeButton from './demos/MergeButton' -import GitHubAvatar from './GitHubAvatar' - -const ExampleHeading = props => ( - -) +import DemoPage from './DemoPage' +import ComponentPage from './ComponentPage' const Index = props => ( - - - - - - - - - - - - - - - - - - - - - - - {' '} - - - - - - - {[ - // 'black', - 'white', - 'gray-dark', - 'gray', - 'gray-light', - 'blue', - 'blue-light', - 'green', - 'green-light', - 'red', - 'red-light', - 'yellow', - 'yellow-light', - 'purple', - 'purple-light', - // 'shade-gradient' - ].map((bg, i, style) => ( - - - {['white', 'gray', 'black'].map((fg, j) => ( - - ))} - - ))} - -
- {`bg='${bg}'`} - - - {fg} - -
-
- - This is a box. - This is a box with padding. - This is a box with shadow. - This is a box with a medium shadow. - This is a box with a large shadow. - This is a box with an extra-large shadow. - This is a box with a green border. - - - a_new_feature_branch - - Linked BranchName - a_new_feature_branch - BranchName with Octicon - a_new_feature_branch - - - - - - - - - - - - - - ButtonDanger - - - ButtonPrimary - - - ButtonOutline - - - - - - - - - This is an {'
'} styled as a button - - - - - {Caret.locations.map((loc, i) => ( - - location='{loc}' - - - ))} - - - -
- -
-
- - - CaretBox with shadow - gray-light CaretBox with red border - green CaretBox - - Location, Location, Location - {Caret.locations.map((loc, i) => ( - location='{loc}' - ))} - - - - - {['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map((hue, i) => ( -
- {theme.colors[hue].map((color, j) => ( - - ))} -
- ))} -
- - - - - - - - - - - + +
+
+
- - - - 12 - - - 13 - - - 13 - - - - - With static children -
- Click me -

This should show and hide

-
-
- - With children as a function -
{({open, toggle}) => ( - - {open ? 'Hide' : 'Show'} -

This should show and hide

-
- )} -
-
- - With render prop -
'hi'}/> - - - - - Dropdown Primary - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
- - Dropdown - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
- - Dropdown with title - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
-
- - - With data prop - - {' '} - - {' '} - - {' '} - - {' '} - - {' '} - - - - With DonutSlice children - - - - - - {' '} - - - - - - {' '} - - - - - {' '} - - - - - {' '} - - - - - {' '} - - - - - - With custom fill colors - - - - - - - - - - - - Flash - - - Flash yellow - - - Flash red - - - Flash green - - - Flash full - - - - {[/* 7, 6, */ 5, 4, 3, 2, 1, 0].map((fontSize, i) => ( - fontSize {fontSize} - ))} - - - Input - - Input Sizes - - - - - - - Block input - - - - Default Heading - - {[0, 1, 2, 3, 4, 5, /* 6, 7, */ '00-light', '0-light', '1-light', '2-light', '3-light'].map((fontSize, i) => ( - With fontSize={fontSize} - ))} - - - - - - - - - - - - - - - - - Link - - - Link muted - - - Link gray - - - Link graydark - - - - - Open - - - Closed - - - Merged - - - - By state (Octicons built in) - - Unknown - - - Open - - - Closed - - - Merged - - - Reopened - - - - By color - - Invalid - - - Green - - - Red - - - Purple - - - - Small, by state - - - Unknown - - - Open - - - Closed - - - Merged - - - Reopened - - - - - Small, by color - - - Invalid - - - Green - - - Red - - - Purple - - - }> - Custom Octicon - - - - - - - - - - - - - - - - - - - - - - Text - Text bold - Text green - Text lineHeight 'condensed' - Text fontSize 4 - Text padding 4 - - - - Text with a tooltip - - - Directions - {Tooltip.directions.map((d, i) => ( - - Tooltip direction={d} - - ))} - Alignment - - Tooltip align left - - Word wrap - - Word wrapping tooltip - - No Delay - - Text with a tooltip - - - - - - - - - - - + + +
+
) diff --git a/package-lock.json b/package-lock.json index 1ee137f8677..19b9d66c958 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "primer-react", - "version": "0.0.3-beta", + "version": "0.0.4-beta", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -82,7 +82,7 @@ "prop-types": "15.6.1", "ramda": "0.25.0", "react-live": "1.10.1", - "react-router-dom": "4.2.2", + "react-router-dom": "4.3.1", "styled-system": "2.2.5" }, "dependencies": { @@ -185,8 +185,8 @@ "react": "16.4.0", "react-dev-utils": "5.0.1", "react-dom": "16.4.0", - "react-router": "4.2.0", - "react-router-dom": "4.2.2", + "react-router": "4.3.1", + "react-router-dom": "4.3.1", "read-pkg-up": "3.0.0", "semver": "5.5.0", "update-notifier": "2.5.0", @@ -5771,7 +5771,6 @@ "version": "4.7.2", "resolved": "https://registry.npmjs.org/history/-/history-4.7.2.tgz", "integrity": "sha512-1zkBRWW6XweO0NBcjiphtVJVsIQ+SXF29z9DVkceeaSLVMFXHool+fdCZD4spDCfZJCILPILc3bm7Bc+HRi0nA==", - "dev": true, "requires": { "invariant": "2.2.2", "loose-envify": "1.3.1", @@ -5794,8 +5793,7 @@ "hoist-non-react-statics": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz", - "integrity": "sha512-6Bl6XsDT1ntE0lHbIhr4Kp2PGcleGZ66qu5Jqk8lc0Xc/IeG6gVLmwUGs/K0Us+L8VWoKgj0uWdPMataOsm31w==", - "dev": true + "integrity": "sha512-6Bl6XsDT1ntE0lHbIhr4Kp2PGcleGZ66qu5Jqk8lc0Xc/IeG6gVLmwUGs/K0Us+L8VWoKgj0uWdPMataOsm31w==" }, "home-or-tmp": { "version": "2.0.0", @@ -6163,7 +6161,6 @@ "version": "2.2.2", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=", - "dev": true, "requires": { "loose-envify": "1.3.1" } @@ -8869,7 +8866,6 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.7.0.tgz", "integrity": "sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=", - "dev": true, "requires": { "isarray": "0.0.1" }, @@ -8877,8 +8873,7 @@ "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", - "dev": true + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" } } }, @@ -9429,32 +9424,86 @@ } }, "react-router": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-4.2.0.tgz", - "integrity": "sha512-DY6pjwRhdARE4TDw7XjxjZsbx9lKmIcyZoZ+SDO7SBJ1KUeWNxT22Kara2AC7u6/c2SYEHlEDLnzBCcNhLE8Vg==", - "dev": true, + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-4.3.1.tgz", + "integrity": "sha512-yrvL8AogDh2X42Dt9iknk4wF4V8bWREPirFfS9gLU1huk6qK41sg7Z/1S81jjTrGHxa3B8R3J6xIkDAA6CVarg==", "requires": { "history": "4.7.2", "hoist-non-react-statics": "2.5.0", - "invariant": "2.2.2", + "invariant": "2.2.4", "loose-envify": "1.3.1", "path-to-regexp": "1.7.0", - "prop-types": "15.6.0", - "warning": "3.0.0" + "prop-types": "15.6.1", + "warning": "4.0.1" + }, + "dependencies": { + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "requires": { + "loose-envify": "1.3.1" + } + }, + "prop-types": { + "version": "15.6.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", + "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "requires": { + "fbjs": "0.8.16", + "loose-envify": "1.3.1", + "object-assign": "4.1.1" + } + }, + "warning": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.1.tgz", + "integrity": "sha512-rAVtTNZw+cQPjvGp1ox0XC5Q2IBFyqoqh+QII4J/oguyu83Bax1apbo2eqB8bHRS+fqYUBagys6lqUoVwKSmXQ==", + "requires": { + "loose-envify": "1.3.1" + } + } } }, "react-router-dom": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-4.2.2.tgz", - "integrity": "sha512-cHMFC1ZoLDfEaMFoKTjN7fry/oczMgRt5BKfMAkTu5zEuJvUiPp1J8d0eXSVTnBh6pxlbdqDhozunOOLtmKfPA==", - "dev": true, + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-4.3.1.tgz", + "integrity": "sha512-c/MlywfxDdCp7EnB7YfPMOfMD3tOtIjrQlj/CKfNMBxdmpJP8xcz5P/UAFn3JbnQCNUxsHyVVqllF9LhgVyFCA==", "requires": { "history": "4.7.2", - "invariant": "2.2.2", + "invariant": "2.2.4", "loose-envify": "1.3.1", - "prop-types": "15.6.0", - "react-router": "4.2.0", - "warning": "3.0.0" + "prop-types": "15.6.1", + "react-router": "4.3.1", + "warning": "4.0.1" + }, + "dependencies": { + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "requires": { + "loose-envify": "1.3.1" + } + }, + "prop-types": { + "version": "15.6.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", + "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "requires": { + "fbjs": "0.8.16", + "loose-envify": "1.3.1", + "object-assign": "4.1.1" + } + }, + "warning": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.1.tgz", + "integrity": "sha512-rAVtTNZw+cQPjvGp1ox0XC5Q2IBFyqoqh+QII4J/oguyu83Bax1apbo2eqB8bHRS+fqYUBagys6lqUoVwKSmXQ==", + "requires": { + "loose-envify": "1.3.1" + } + } } }, "react-test-renderer": { @@ -9912,8 +9961,7 @@ "resolve-pathname": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-2.2.0.tgz", - "integrity": "sha512-bAFz9ld18RzJfddgrO2e/0S2O81710++chRMUxHjXOYKF6jTAMrUNZrEZ1PvV0zlhfjidm08iRPdTLPno1FuRg==", - "dev": true + "integrity": "sha512-bAFz9ld18RzJfddgrO2e/0S2O81710++chRMUxHjXOYKF6jTAMrUNZrEZ1PvV0zlhfjidm08iRPdTLPno1FuRg==" }, "resolve-url": { "version": "0.2.1", @@ -13058,8 +13106,7 @@ "value-equal": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/value-equal/-/value-equal-0.4.0.tgz", - "integrity": "sha512-x+cYdNnaA3CxvMaTX0INdTCN8m8aF2uY9BvEqmxuYp8bL09cs/kWVQPVGcA35fMktdOsP69IgU7wFj/61dJHEw==", - "dev": true + "integrity": "sha512-x+cYdNnaA3CxvMaTX0INdTCN8m8aF2uY9BvEqmxuYp8bL09cs/kWVQPVGcA35fMktdOsP69IgU7wFj/61dJHEw==" }, "vary": { "version": "1.1.2", @@ -13148,7 +13195,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", - "dev": true, "requires": { "loose-envify": "1.3.1" } diff --git a/package.json b/package.json index a2fe1843323..89170798be1 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "classnames": "^2.2.5", "d3-shape": "^1.2.0", "react": "^16.2.0", + "react-router-dom": "^4.3.1", "system-classnames": "^1.0.0-3" }, "devDependencies": { From eec2317f105d1eebe1bec9ea459562d2c7762743 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 11:10:06 -0700 Subject: [PATCH 04/38] change demo page title --- examples/DemoPage.js | 2 +- examples/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/DemoPage.js b/examples/DemoPage.js index b7d7f76aea9..6dac2404e75 100644 --- a/examples/DemoPage.js +++ b/examples/DemoPage.js @@ -9,7 +9,7 @@ import MergeButton from './demos/MergeButton' const DemoPage = () => { return ( - + diff --git a/examples/index.js b/examples/index.js index 844684b26e4..e7a39bea058 100644 --- a/examples/index.js +++ b/examples/index.js @@ -16,8 +16,8 @@ const Index = props => (
From 81a8368232e8714a3d5ef1442bc7c10355d37fe7 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 11:26:47 -0700 Subject: [PATCH 05/38] add sandbox page --- examples/SandboxPage.js | 85 +++++++++++++++++++++++++++++++++++++++++ examples/index.js | 3 ++ package-lock.json | 60 ++++++++--------------------- package.json | 1 + 4 files changed, 105 insertions(+), 44 deletions(-) create mode 100644 examples/SandboxPage.js diff --git a/examples/SandboxPage.js b/examples/SandboxPage.js new file mode 100644 index 00000000000..6812cda128d --- /dev/null +++ b/examples/SandboxPage.js @@ -0,0 +1,85 @@ +import React from 'react' +import { + LiveProvider, + LiveEditor, + LiveError, + LivePreview +} from 'react-live' +import Page from './Page' +import { + Avatar, + Block, + Box, + Button, + ButtonDanger, + ButtonPrimary, + ButtonOutline, + ButtonLink, + BranchName, + Caret, + CaretBox, + CircleOcticon, + CounterLabel, + Details, + DonutChart, + DonutSlice, + Dropdown, + Flash, + Heading, + TextInput, + Label, + Link, + MergeStatus, + StateLabel, + Text, + Tooltip, + theme +} from '../src' + +const scope = { + Avatar, + Block, + Box, + Button, + ButtonDanger, + ButtonPrimary, + ButtonOutline, + ButtonLink, + BranchName, + Caret, + CaretBox, + CircleOcticon, + CounterLabel, + Details, + DonutChart, + DonutSlice, + Dropdown, + Flash, + Heading, + TextInput, + Label, + Link, + MergeStatus, + StateLabel, + Text, + Tooltip, + theme +} + +const code = ` + + Hello World! + To get started with the Sandbox, start adding some primer-react components + ` + +const SandboxPage = () => ( + + + + + + + +) + +export default SandboxPage diff --git a/examples/index.js b/examples/index.js index e7a39bea058..5838ee98f4e 100644 --- a/examples/index.js +++ b/examples/index.js @@ -9,6 +9,7 @@ import { import Page from './Page' import DemoPage from './DemoPage' import ComponentPage from './ComponentPage' +import SandboxPage from './SandboxPage' const Index = props => ( @@ -18,10 +19,12 @@ const Index = props => (
+
diff --git a/package-lock.json b/package-lock.json index 19b9d66c958..96e3ad154f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -782,14 +782,12 @@ "acorn": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz", - "integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==", - "dev": true + "integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==" }, "acorn-dynamic-import": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz", "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==", - "dev": true, "requires": { "acorn": "5.4.1" } @@ -807,7 +805,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-4.1.1.tgz", "integrity": "sha512-JY+iV6r+cO21KtntVvFkD+iqjtdpRUpGqKWgfkCdZq1R+kbreEl8EcdcJR4SmiIgsIQT33s6QzheQ9a275Q8xw==", - "dev": true, "requires": { "acorn": "5.4.1" } @@ -2651,7 +2648,6 @@ "version": "0.19.3", "resolved": "https://registry.npmjs.org/buble/-/buble-0.19.3.tgz", "integrity": "sha512-3B0Lcy2u6x6km0BqTz/FS3UnrOJlnIlBWsyjvtqzdtmWkqiS0+Sg4hc6L9Mmm63hZKTACpYS9vUeIoKSi1vcrQ==", - "dev": true, "requires": { "acorn": "5.4.1", "acorn-dynamic-import": "3.0.0", @@ -2666,8 +2662,7 @@ "minimist": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", - "dev": true + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" } } }, @@ -2858,7 +2853,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==", - "dev": true, "requires": { "ansi-styles": "3.2.0", "escape-string-regexp": "1.0.5", @@ -2869,7 +2863,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, "requires": { "color-convert": "1.9.1" } @@ -2878,7 +2871,6 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz", "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==", - "dev": true, "requires": { "has-flag": "3.0.0" } @@ -3192,7 +3184,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.1.tgz", "integrity": "sha512-7yhQBmtN+uYZmfRjjVjKa0dZdWuabzpSKGtyQZN+9C8xlC788SSJjOHWh7tzurfwTqTD5UDYAhIv5fRJg3sHjQ==", - "dev": true, "optional": true, "requires": { "good-listener": "1.2.2", @@ -3298,7 +3289,6 @@ "version": "1.9.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", - "dev": true, "requires": { "color-name": "1.1.3" } @@ -3306,8 +3296,7 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, "color-string": { "version": "0.2.4", @@ -3382,14 +3371,12 @@ "component-props": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/component-props/-/component-props-1.1.1.tgz", - "integrity": "sha1-+bffm5kntubZfJvScqqGdnDzSUQ=", - "dev": true + "integrity": "sha1-+bffm5kntubZfJvScqqGdnDzSUQ=" }, "component-xor": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/component-xor/-/component-xor-0.0.4.tgz", - "integrity": "sha1-xV2DzMG5TNUImk6T+niRxyY+Wao=", - "dev": true + "integrity": "sha1-xV2DzMG5TNUImk6T+niRxyY+Wao=" }, "concat-map": { "version": "0.0.1", @@ -3495,8 +3482,7 @@ "core-js": { "version": "2.5.3", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", - "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=", - "dev": true + "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=" }, "core-util-is": { "version": "1.0.2", @@ -3892,7 +3878,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==", - "dev": true, "optional": true }, "delegates": { @@ -3978,7 +3963,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/dom-iterator/-/dom-iterator-1.0.0.tgz", "integrity": "sha512-7dsMOQI07EMU98gQM8NSB3GsAiIeBYIPKpnxR3c9xOvdvBjChAcOM0iJ222I3p5xyiZO9e5oggkNaCusuTdYig==", - "dev": true, "requires": { "component-props": "1.1.1", "component-xor": "0.0.4" @@ -4280,8 +4264,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { "version": "1.9.1", @@ -5496,7 +5479,6 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=", - "dev": true, "optional": true, "requires": { "delegate": "3.2.0" @@ -5641,8 +5623,7 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "has-id-selector": { "version": "0.0.1", @@ -7684,7 +7665,6 @@ "version": "0.22.5", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", - "dev": true, "requires": { "vlq": "0.2.3" }, @@ -7692,8 +7672,7 @@ "vlq": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", - "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", - "dev": true + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==" } } }, @@ -8603,8 +8582,7 @@ "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" }, "os-locale": { "version": "2.1.0", @@ -9071,10 +9049,9 @@ } }, "prismjs": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.14.0.tgz", - "integrity": "sha512-sa2s4m60bXs+kU3jcuUwx3ZCrUH7o0kuqnOOINbODqlRrDB7KY8SRx+xR/D7nHLlgfDdG7zXbRO8wJ+su5Ls0A==", - "dev": true, + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.15.0.tgz", + "integrity": "sha512-Lf2JrFYx8FanHrjoV5oL8YHCclLQgbJcVZR+gikGGMqz6ub5QVWDTM6YIwm3BuPxM/LOV+rKns3LssXNLIf+DA==", "requires": { "clipboard": "2.0.1" } @@ -9413,12 +9390,11 @@ "version": "1.10.1", "resolved": "https://registry.npmjs.org/react-live/-/react-live-1.10.1.tgz", "integrity": "sha1-Nza+PoKB5FWzzKeBUGgTxVq+0BE=", - "dev": true, "requires": { "buble": "0.19.3", "core-js": "2.5.3", "dom-iterator": "1.0.0", - "prismjs": "1.14.0", + "prismjs": "1.15.0", "prop-types": "15.6.0", "unescape": "0.2.0" } @@ -11103,7 +11079,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=", - "dev": true, "optional": true }, "semver": { @@ -12361,7 +12336,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz", "integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow==", - "dev": true, "optional": true }, "tmp": { @@ -12674,8 +12648,7 @@ "unescape": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/unescape/-/unescape-0.2.0.tgz", - "integrity": "sha1-t4ubYMhvFinfGBv1Pu47yNY2fd8=", - "dev": true + "integrity": "sha1-t4ubYMhvFinfGBv1Pu47yNY2fd8=" }, "unherit": { "version": "1.1.1", @@ -13161,8 +13134,7 @@ "vlq": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/vlq/-/vlq-1.0.0.tgz", - "integrity": "sha512-o3WmXySo+oI5thgqr7Qy8uBkT/v9Zr+sRyrh1lr8aWPUkgDWdWt4Nae2WKBrLsocgE8BuWWD0jLc+VW8LeU+2g==", - "dev": true + "integrity": "sha512-o3WmXySo+oI5thgqr7Qy8uBkT/v9Zr+sRyrh1lr8aWPUkgDWdWt4Nae2WKBrLsocgE8BuWWD0jLc+VW8LeU+2g==" }, "vm-browserify": { "version": "0.0.4", diff --git a/package.json b/package.json index 89170798be1..82c57b0098b 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "classnames": "^2.2.5", "d3-shape": "^1.2.0", "react": "^16.2.0", + "react-live": "^1.10.1", "react-router-dom": "^4.3.1", "system-classnames": "^1.0.0-3" }, From 9a60e749d19ef0fe30dfb52a3825cfafd89895a5 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 11:38:50 -0700 Subject: [PATCH 06/38] =?UTF-8?q?lol=20read=20the=20kit=20docs=20and=20rea?= =?UTF-8?q?lized=20LiveEditor=20is=20built=20in=20=F0=9F=A4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/SandboxPage.js | 13 ++--------- package-lock.json | 52 +++++++++++++++++++++++++++++++---------- package.json | 1 - 3 files changed, 42 insertions(+), 24 deletions(-) diff --git a/examples/SandboxPage.js b/examples/SandboxPage.js index 6812cda128d..03d840debce 100644 --- a/examples/SandboxPage.js +++ b/examples/SandboxPage.js @@ -1,10 +1,5 @@ import React from 'react' -import { - LiveProvider, - LiveEditor, - LiveError, - LivePreview -} from 'react-live' +import { LiveEditor } from '@compositor/kit' import Page from './Page' import { Avatar, @@ -74,11 +69,7 @@ const code = ` const SandboxPage = () => ( - - - - - + ) diff --git a/package-lock.json b/package-lock.json index 96e3ad154f1..2dc5ac43ae8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -782,12 +782,14 @@ "acorn": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.4.1.tgz", - "integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==" + "integrity": "sha512-XLmq3H/BVvW6/GbxKryGxWORz1ebilSsUDlyC27bXhWGWAZWkGwS6FLHjOlwFXNFoWFQEO/Df4u0YYd0K3BQgQ==", + "dev": true }, "acorn-dynamic-import": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz", "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==", + "dev": true, "requires": { "acorn": "5.4.1" } @@ -805,6 +807,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-4.1.1.tgz", "integrity": "sha512-JY+iV6r+cO21KtntVvFkD+iqjtdpRUpGqKWgfkCdZq1R+kbreEl8EcdcJR4SmiIgsIQT33s6QzheQ9a275Q8xw==", + "dev": true, "requires": { "acorn": "5.4.1" } @@ -2648,6 +2651,7 @@ "version": "0.19.3", "resolved": "https://registry.npmjs.org/buble/-/buble-0.19.3.tgz", "integrity": "sha512-3B0Lcy2u6x6km0BqTz/FS3UnrOJlnIlBWsyjvtqzdtmWkqiS0+Sg4hc6L9Mmm63hZKTACpYS9vUeIoKSi1vcrQ==", + "dev": true, "requires": { "acorn": "5.4.1", "acorn-dynamic-import": "3.0.0", @@ -2662,7 +2666,8 @@ "minimist": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true } } }, @@ -2853,6 +2858,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==", + "dev": true, "requires": { "ansi-styles": "3.2.0", "escape-string-regexp": "1.0.5", @@ -2863,6 +2869,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", + "dev": true, "requires": { "color-convert": "1.9.1" } @@ -2871,6 +2878,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz", "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==", + "dev": true, "requires": { "has-flag": "3.0.0" } @@ -3184,6 +3192,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.1.tgz", "integrity": "sha512-7yhQBmtN+uYZmfRjjVjKa0dZdWuabzpSKGtyQZN+9C8xlC788SSJjOHWh7tzurfwTqTD5UDYAhIv5fRJg3sHjQ==", + "dev": true, "optional": true, "requires": { "good-listener": "1.2.2", @@ -3289,6 +3298,7 @@ "version": "1.9.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", + "dev": true, "requires": { "color-name": "1.1.3" } @@ -3296,7 +3306,8 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true }, "color-string": { "version": "0.2.4", @@ -3371,12 +3382,14 @@ "component-props": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/component-props/-/component-props-1.1.1.tgz", - "integrity": "sha1-+bffm5kntubZfJvScqqGdnDzSUQ=" + "integrity": "sha1-+bffm5kntubZfJvScqqGdnDzSUQ=", + "dev": true }, "component-xor": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/component-xor/-/component-xor-0.0.4.tgz", - "integrity": "sha1-xV2DzMG5TNUImk6T+niRxyY+Wao=" + "integrity": "sha1-xV2DzMG5TNUImk6T+niRxyY+Wao=", + "dev": true }, "concat-map": { "version": "0.0.1", @@ -3482,7 +3495,8 @@ "core-js": { "version": "2.5.3", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", - "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=" + "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=", + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -3878,6 +3892,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==", + "dev": true, "optional": true }, "delegates": { @@ -3963,6 +3978,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/dom-iterator/-/dom-iterator-1.0.0.tgz", "integrity": "sha512-7dsMOQI07EMU98gQM8NSB3GsAiIeBYIPKpnxR3c9xOvdvBjChAcOM0iJ222I3p5xyiZO9e5oggkNaCusuTdYig==", + "dev": true, "requires": { "component-props": "1.1.1", "component-xor": "0.0.4" @@ -4264,7 +4280,8 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true }, "escodegen": { "version": "1.9.1", @@ -5479,6 +5496,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=", + "dev": true, "optional": true, "requires": { "delegate": "3.2.0" @@ -5623,7 +5641,8 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true }, "has-id-selector": { "version": "0.0.1", @@ -7665,6 +7684,7 @@ "version": "0.22.5", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, "requires": { "vlq": "0.2.3" }, @@ -7672,7 +7692,8 @@ "vlq": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", - "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==" + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", + "dev": true } } }, @@ -8582,7 +8603,8 @@ "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true }, "os-locale": { "version": "2.1.0", @@ -9052,6 +9074,7 @@ "version": "1.15.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.15.0.tgz", "integrity": "sha512-Lf2JrFYx8FanHrjoV5oL8YHCclLQgbJcVZR+gikGGMqz6ub5QVWDTM6YIwm3BuPxM/LOV+rKns3LssXNLIf+DA==", + "dev": true, "requires": { "clipboard": "2.0.1" } @@ -9390,6 +9413,7 @@ "version": "1.10.1", "resolved": "https://registry.npmjs.org/react-live/-/react-live-1.10.1.tgz", "integrity": "sha1-Nza+PoKB5FWzzKeBUGgTxVq+0BE=", + "dev": true, "requires": { "buble": "0.19.3", "core-js": "2.5.3", @@ -11079,6 +11103,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=", + "dev": true, "optional": true }, "semver": { @@ -12336,6 +12361,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz", "integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow==", + "dev": true, "optional": true }, "tmp": { @@ -12648,7 +12674,8 @@ "unescape": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/unescape/-/unescape-0.2.0.tgz", - "integrity": "sha1-t4ubYMhvFinfGBv1Pu47yNY2fd8=" + "integrity": "sha1-t4ubYMhvFinfGBv1Pu47yNY2fd8=", + "dev": true }, "unherit": { "version": "1.1.1", @@ -13134,7 +13161,8 @@ "vlq": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/vlq/-/vlq-1.0.0.tgz", - "integrity": "sha512-o3WmXySo+oI5thgqr7Qy8uBkT/v9Zr+sRyrh1lr8aWPUkgDWdWt4Nae2WKBrLsocgE8BuWWD0jLc+VW8LeU+2g==" + "integrity": "sha512-o3WmXySo+oI5thgqr7Qy8uBkT/v9Zr+sRyrh1lr8aWPUkgDWdWt4Nae2WKBrLsocgE8BuWWD0jLc+VW8LeU+2g==", + "dev": true }, "vm-browserify": { "version": "0.0.4", diff --git a/package.json b/package.json index 82c57b0098b..89170798be1 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "classnames": "^2.2.5", "d3-shape": "^1.2.0", "react": "^16.2.0", - "react-live": "^1.10.1", "react-router-dom": "^4.3.1", "system-classnames": "^1.0.0-3" }, From 1168618c84e1cc38cb65d0892445e234ca8a6fc7 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 12:18:33 -0700 Subject: [PATCH 07/38] add PropBox --- examples/ComponentPage.js | 40 ++-- package-lock.json | 379 ++++++++++++++++++++++++++++++++++++++ package.json | 1 + 3 files changed, 405 insertions(+), 15 deletions(-) diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index 7127575dd19..ab6a2dbdd82 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -1,4 +1,11 @@ import React from 'react' +import { + Detail, + Example, + Library, + PropsForm +} from '@compositor/kit' +import Octicon from '@github/octicons-react' import { Avatar, Block, @@ -28,12 +35,6 @@ import { Tooltip, theme } from '../src' -import { - Detail, - Example, - Library -} from '@compositor/kit' -import Octicon from '@github/octicons-react' import Swatch from './Swatch' import Page from './Page' import GitHubAvatar from './GitHubAvatar' @@ -161,15 +162,24 @@ const ComponentPage = () => {
- CaretBox with shadow - gray-light CaretBox with red border - green CaretBox - - Location, Location, Location - {Caret.locations.map((loc, i) => ( - location='{loc}' - ))} - + CaretBox + + CaretBox + + {Caret.locations.map((loc, i) => ( + ))} + + + {Object.keys(theme.colors.border).map(borderColor => ( + + ))} + + + {Object.keys(theme.colors.bg).map(bgColor => ( + + ))} + + diff --git a/package-lock.json b/package-lock.json index 2dc5ac43ae8..24e9d518ce6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1339,6 +1339,12 @@ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", "dev": true }, + "ast-types": { + "version": "0.8.15", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.8.15.tgz", + "integrity": "sha1-ju8IJ/BN/w7IhXupJavj/qYZTlI=", + "dev": true + }, "astral-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", @@ -2822,6 +2828,12 @@ "integrity": "sha512-qxUOHr5mTaadWH1ap0ueivHd8x42Bnemcn+JutVr7GWmm2bU4zoBhjuv5QdXgALQnnT626lOQros7cCDf8PwCg==", "dev": true }, + "capitalize": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/capitalize/-/capitalize-1.0.0.tgz", + "integrity": "sha1-3IAsWAruEBkpAg0soUtMqKCuRL4=", + "dev": true + }, "capture-exit": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-1.2.0.tgz", @@ -3182,6 +3194,24 @@ "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==", "dev": true }, + "cli-table2": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/cli-table2/-/cli-table2-0.1.9.tgz", + "integrity": "sha1-xlKED2QSpDi5QNjgXPKzDkXczNE=", + "dev": true, + "requires": { + "colors": "1.0.3", + "lodash": "2.4.1" + }, + "dependencies": { + "lodash": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz", + "integrity": "sha1-W3cjA03aTSYuWkb7LFjXzCL3FCA=", + "dev": true + } + } + }, "cli-width": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", @@ -3346,6 +3376,13 @@ } } }, + "colors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", + "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", + "dev": true, + "optional": true + }, "combined-stream": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", @@ -3409,6 +3446,16 @@ "typedarray": "0.0.6" } }, + "config-chain": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.11.tgz", + "integrity": "sha1-q6CXR9++TD5w52am5BWG4YWfxvI=", + "dev": true, + "requires": { + "ini": "1.3.5", + "proto-list": "1.2.4" + } + }, "configstore": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", @@ -5638,6 +5685,12 @@ "integrity": "sha1-amAYqK3yWMgyZmgLYp1XZCwvbUw=", "dev": true }, + "has-color": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", + "integrity": "sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=", + "dev": true + }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -5862,6 +5915,18 @@ } } }, + "html-tableify": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/html-tableify/-/html-tableify-0.0.2.tgz", + "integrity": "sha1-0rIxgVR/bWdNoV5ULAPE3UBn9vQ=", + "dev": true, + "requires": { + "capitalize": "1.0.0", + "lodash.defaults": "3.1.2", + "lodash.foreach": "3.0.3", + "pretty": "1.0.0" + } + }, "html-tokenize": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/html-tokenize/-/html-tokenize-2.0.0.tgz", @@ -6013,6 +6078,15 @@ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", "dev": true }, + "humanize-proptype": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/humanize-proptype/-/humanize-proptype-0.0.3.tgz", + "integrity": "sha1-HH6TQb0H5whWaDv7OpQlolFAVDY=", + "dev": true, + "requires": { + "capitalize": "1.0.0" + } + }, "hyphenate-style-name": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.2.tgz", @@ -7236,6 +7310,28 @@ "integrity": "sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=", "dev": true }, + "js-beautify": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.5.10.tgz", + "integrity": "sha1-TZU3FwJpk0SlFsomv1nwonu3Vxk=", + "dev": true, + "requires": { + "config-chain": "1.1.11", + "mkdirp": "0.5.1", + "nopt": "3.0.6" + }, + "dependencies": { + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1.1.1" + } + } + } + }, "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", @@ -7597,6 +7693,128 @@ "integrity": "sha512-svL3uiZf1RwhH+cWrfZn3A4+U58wbP0tGVTLQPbjplZxZ8ROD9VLuNgsRniTlLe7OlSqR79RUehXgpBW/s0IQw==", "dev": true }, + "lodash._arrayeach": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._arrayeach/-/lodash._arrayeach-3.0.0.tgz", + "integrity": "sha1-urFWsqkNPxu9XGU0AzSeXlkz754=", + "dev": true + }, + "lodash._baseassign": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", + "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=", + "dev": true, + "requires": { + "lodash._basecopy": "3.0.1", + "lodash.keys": "3.1.2" + } + }, + "lodash._basecopy": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", + "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=", + "dev": true + }, + "lodash._baseeach": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash._baseeach/-/lodash._baseeach-3.0.4.tgz", + "integrity": "sha1-z4cGVyyhROjZ11InyZDamC+TKvM=", + "dev": true, + "requires": { + "lodash.keys": "3.1.2" + } + }, + "lodash._bindcallback": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz", + "integrity": "sha1-5THCdkTPi1epnhftlbNcdIeJOS4=", + "dev": true + }, + "lodash._createassigner": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz", + "integrity": "sha1-g4pbri/aymOsIt7o4Z+k5taXCxE=", + "dev": true, + "requires": { + "lodash._bindcallback": "3.0.1", + "lodash._isiterateecall": "3.0.9", + "lodash.restparam": "3.6.1" + } + }, + "lodash._getnative": { + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", + "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=", + "dev": true + }, + "lodash._isiterateecall": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", + "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=", + "dev": true + }, + "lodash.assign": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-3.2.0.tgz", + "integrity": "sha1-POnwI0tLIiPilrj6CsH+6OvKZPo=", + "dev": true, + "requires": { + "lodash._baseassign": "3.2.0", + "lodash._createassigner": "3.1.1", + "lodash.keys": "3.1.2" + } + }, + "lodash.defaults": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-3.1.2.tgz", + "integrity": "sha1-xzCLGNv4vJNy1wGnNJPGEZK9Liw=", + "dev": true, + "requires": { + "lodash.assign": "3.2.0", + "lodash.restparam": "3.6.1" + } + }, + "lodash.foreach": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-3.0.3.tgz", + "integrity": "sha1-b9fvt5aRrs1n/erCdhyY5wHWw5o=", + "dev": true, + "requires": { + "lodash._arrayeach": "3.0.0", + "lodash._baseeach": "3.0.4", + "lodash._bindcallback": "3.0.1", + "lodash.isarray": "3.0.4" + } + }, + "lodash.isarguments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", + "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=", + "dev": true + }, + "lodash.isarray": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", + "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=", + "dev": true + }, + "lodash.keys": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", + "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=", + "dev": true, + "requires": { + "lodash._getnative": "3.9.1", + "lodash.isarguments": "3.1.0", + "lodash.isarray": "3.0.4" + } + }, + "lodash.restparam": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz", + "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=", + "dev": true + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -7748,6 +7966,17 @@ "integrity": "sha512-lbRZ2mE3Q9RtLjxZBZ9+IMl68DKIXaVAhwvwn9pmjnPLS0h/6kyBMgNhqi1xFJ/2yv6cSyv0jbiZavZv93JkkA==", "dev": true }, + "markdown-tableify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/markdown-tableify/-/markdown-tableify-0.0.4.tgz", + "integrity": "sha1-pYdmcIij7gACop6PzOl7nzyu43U=", + "dev": true, + "requires": { + "capitalize": "1.0.0", + "lodash.defaults": "3.1.2", + "lodash.foreach": "3.0.3" + } + }, "md5.js": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.4.tgz", @@ -8239,6 +8468,15 @@ "lower-case": "1.1.4" } }, + "node-dir": { + "version": "0.1.17", + "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", + "integrity": "sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=", + "dev": true, + "requires": { + "minimatch": "3.0.4" + } + }, "node-fetch": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", @@ -8314,6 +8552,41 @@ "which": "1.3.0" } }, + "nomnom": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.8.1.tgz", + "integrity": "sha1-IVH3Ikcrp55Qp2/BJbuMjy5Nwqc=", + "dev": true, + "requires": { + "chalk": "0.4.0", + "underscore": "1.6.0" + }, + "dependencies": { + "ansi-styles": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", + "integrity": "sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=", + "dev": true + }, + "chalk": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", + "integrity": "sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8=", + "dev": true, + "requires": { + "ansi-styles": "1.0.0", + "has-color": "0.1.7", + "strip-ansi": "0.1.1" + } + }, + "strip-ansi": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", + "integrity": "sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE=", + "dev": true + } + } + }, "nopt": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", @@ -9043,6 +9316,15 @@ "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", "dev": true }, + "pretty": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pretty/-/pretty-1.0.0.tgz", + "integrity": "sha1-Og7jQ9xtmqcf9FWCFmuxVXndJZM=", + "dev": true, + "requires": { + "js-beautify": "1.5.10" + } + }, "pretty-format": { "version": "22.4.3", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-22.4.3.tgz", @@ -9121,6 +9403,12 @@ "object-assign": "4.1.1" } }, + "proto-list": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", + "integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=", + "dev": true + }, "prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -9385,6 +9673,49 @@ } } }, + "react-docgen": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-2.4.0.tgz", + "integrity": "sha1-ZJJXL69CsxBXhmHV2faoAVyC5w0=", + "dev": true, + "requires": { + "async": "1.5.2", + "babel-runtime": "5.8.38", + "babylon": "5.8.38", + "node-dir": "0.1.17", + "nomnom": "1.8.1", + "recast": "0.10.43" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "babel-runtime": { + "version": "5.8.38", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-5.8.38.tgz", + "integrity": "sha1-HAsC62MxL18If/IEUIJ7QlydTBk=", + "dev": true, + "requires": { + "core-js": "1.2.7" + } + }, + "babylon": { + "version": "5.8.38", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-5.8.38.tgz", + "integrity": "sha1-7JsSCxG/bM1Bc6GL8hfmC3mFn/0=", + "dev": true + }, + "core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=", + "dev": true + } + } + }, "react-dom": { "version": "16.4.0", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.0.tgz", @@ -9423,6 +9754,28 @@ "unescape": "0.2.0" } }, + "react-prop-table": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/react-prop-table/-/react-prop-table-0.1.1.tgz", + "integrity": "sha1-DZONCS88gcIGOnc5qezYX6kIgYU=", + "dev": true, + "requires": { + "cli-table2": "0.1.9", + "html-tableify": "0.0.2", + "humanize-proptype": "0.0.3", + "lodash": "3.10.1", + "markdown-tableify": "0.0.4", + "react-docgen": "2.4.0" + }, + "dependencies": { + "lodash": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", + "dev": true + } + } + }, "react-router": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/react-router/-/react-router-4.3.1.tgz", @@ -9633,6 +9986,26 @@ "util.promisify": "1.0.0" } }, + "recast": { + "version": "0.10.43", + "resolved": "https://registry.npmjs.org/recast/-/recast-0.10.43.tgz", + "integrity": "sha1-uV1Q9tYHYaX2JS4V2AZ4FoSRzn8=", + "dev": true, + "requires": { + "ast-types": "0.8.15", + "esprima-fb": "15001.1001.0-dev-harmony-fb", + "private": "0.1.8", + "source-map": "0.5.7" + }, + "dependencies": { + "esprima-fb": { + "version": "15001.1001.0-dev-harmony-fb", + "resolved": "https://registry.npmjs.org/esprima-fb/-/esprima-fb-15001.1001.0-dev-harmony-fb.tgz", + "integrity": "sha1-Q761fsJujPI3092LM+QlM1d/Jlk=", + "dev": true + } + } + }, "recursive-readdir": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.1.tgz", @@ -12671,6 +13044,12 @@ } } }, + "underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", + "dev": true + }, "unescape": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/unescape/-/unescape-0.2.0.tgz", diff --git a/package.json b/package.json index 89170798be1..a5573543dc9 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "jest": "^22.4.3", + "react-prop-table": "^0.1.1", "react-test-renderer": "^16.3.2", "styled-components": "3.3.2", "styled-system": "^2.0.2" From 15bd514bbaade4b7a31e8cbccb1d25e64353e06f Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 15:32:59 -0700 Subject: [PATCH 08/38] add live editor examples --- examples/ComponentPage.js | 36 +-- examples/DemoPage.js | 9 +- package-lock.json | 604 +++++++++++++++++++------------------- package.json | 2 +- 4 files changed, 320 insertions(+), 331 deletions(-) diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index ab6a2dbdd82..2fe8df62dd8 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -162,24 +162,24 @@ const ComponentPage = () => { - CaretBox - - CaretBox - - {Caret.locations.map((loc, i) => ( - ))} - - - {Object.keys(theme.colors.border).map(borderColor => ( - - ))} - - - {Object.keys(theme.colors.bg).map(bgColor => ( - - ))} - - + CaretBox + + CaretBox + + {Caret.locations.map((loc, i) => ( + ))} + + + {Object.keys(theme.colors.border).map(borderColor => ( + + ))} + + + {Object.keys(theme.colors.bg).map(bgColor => ( + + ))} + + diff --git a/examples/DemoPage.js b/examples/DemoPage.js index 6dac2404e75..1a73bfb2d73 100644 --- a/examples/DemoPage.js +++ b/examples/DemoPage.js @@ -1,23 +1,26 @@ import React from 'react' import { Example, - Library + Library, + LiveEditor } from '@compositor/kit' import Page from './Page' import MergeBox from './demos/MergeBox' import MergeButton from './demos/MergeButton' + + const DemoPage = () => { return ( - + `} scope={{MergeBox}}/> - + `} scope={{MergeButton}}/> diff --git a/package-lock.json b/package-lock.json index 24e9d518ce6..baebac99192 100644 --- a/package-lock.json +++ b/package-lock.json @@ -152,9 +152,9 @@ } }, "@compositor/x0": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@compositor/x0/-/x0-5.0.4.tgz", - "integrity": "sha512-oaT+Y/xZhwYOAYGZcgPOLlCSA+0ToMo+cDpZfx3wi1CKIcN1O2gMevt5qRYiwhM74oXw+fqFgu9PmY6/w46aug==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@compositor/x0/-/x0-5.0.0.tgz", + "integrity": "sha512-Dg1pRdl7laBuzRaFYaOH76n0hmw1MW0Y8IjYQu79wricA14Ii+kcoLtDtOVIbULBzQC9uMpUcsGv6GL3OAyCeA==", "dev": true, "requires": { "@compositor/jsx-loader": "1.0.0-4", @@ -172,8 +172,8 @@ "chalk": "2.4.1", "clipboardy": "1.2.3", "connect-history-api-fallback": "1.5.0", - "emotion": "9.2.1", - "emotion-server": "9.2.1", + "emotion": "9.2.3", + "emotion-server": "9.2.3", "find-up": "2.1.0", "fs-extra": "6.0.1", "glamor": "2.20.40", @@ -184,15 +184,15 @@ "pkg-conf": "2.1.0", "react": "16.4.0", "react-dev-utils": "5.0.1", - "react-dom": "16.4.0", + "react-dom": "16.4.1", "react-router": "4.3.1", "react-router-dom": "4.3.1", "read-pkg-up": "3.0.0", "semver": "5.5.0", "update-notifier": "2.5.0", - "webpack": "4.11.1", - "webpack-merge": "4.1.2", - "webpack-serve": "1.0.3" + "webpack": "4.12.0", + "webpack-merge": "4.1.3", + "webpack-serve": "1.0.4" }, "dependencies": { "ansi-styles": { @@ -272,9 +272,9 @@ "dev": true }, "@emotion/stylis": { - "version": "0.6.8", - "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.6.8.tgz", - "integrity": "sha1-atTo0ysZtEDvpEgbu8uYqMEnZbs=", + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.6.9.tgz", + "integrity": "sha1-IUXBecwP2hjlVEvWXiSdNgGSCZc=", "dev": true }, "@emotion/unitless": { @@ -371,14 +371,14 @@ "dev": true }, "@webassemblyjs/ast": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.5.10.tgz", - "integrity": "sha512-4BObuKRfeAnKdz5PfTp6MqSoCdj0z9EXu00PsQLzqcC55Htw5r9OXebS+sPF8T5tRTRI5/2w0CR52s/4vJ2fkw==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.5.12.tgz", + "integrity": "sha512-bmTBEKuuhSU6dC95QIW250xO769cdYGx9rWn3uBLTw2pUpud0Z5kVuMw9m9fqbNzGeuOU2HpyuZa+yUt2CTEDA==", "dev": true, "requires": { - "@webassemblyjs/helper-module-context": "1.5.10", - "@webassemblyjs/helper-wasm-bytecode": "1.5.10", - "@webassemblyjs/wast-parser": "1.5.10", + "@webassemblyjs/helper-module-context": "1.5.12", + "@webassemblyjs/helper-wasm-bytecode": "1.5.12", + "@webassemblyjs/wast-parser": "1.5.12", "debug": "3.1.0", "mamacro": "0.0.3" }, @@ -395,21 +395,21 @@ } }, "@webassemblyjs/floating-point-hex-parser": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.5.10.tgz", - "integrity": "sha512-ns6H/06BTnk7thnN8O6MK9xMqodgaVKkjBaC8nXGLeAtX2ONHxQL2NnY4XgUzyo7yRwGVAPBxdl7yxzc0iy9Eg==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.5.12.tgz", + "integrity": "sha512-epTvkdwOIPpTE9edHS+V+shetYzpTbd91XOzUli1zAS0+NSgSe6ZsNggIqUNzhma1s4bN2f/m8c6B1NMdCERAg==", "dev": true }, "@webassemblyjs/helper-api-error": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.5.10.tgz", - "integrity": "sha512-OeWjB1Ie44sg5Nr8GVot5l+uclK4fWEQGH1b+HQ7x9GN9UxcJUIG3+u5dj2MTkthneQT1hUo09Wtpb/bY7zfXA==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.5.12.tgz", + "integrity": "sha512-Goxag86JvLq8ucHLXFNSLYzf9wrR+CJr37DsESTAzSnGoqDTgw5eqiXSQVd/D9Biih7+DIn8UIQCxMs8emRRwg==", "dev": true }, "@webassemblyjs/helper-buffer": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.5.10.tgz", - "integrity": "sha512-soggPYDku3gDl+zV1TVle3zLWgiU1Kli4QJdWCoeyX95RhGtF2A5tP7U3ypLlBb74SdoYYFVn3Fm7HXIWj1wzA==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.5.12.tgz", + "integrity": "sha512-tJNUjttL5CxiiS/KLxT4/Zk0Nbl/poFhztFxktb46zoQEUWaGHR9ZJ0SnvE7DbFX5PY5JNJDMZ0Li4lm246fWw==", "dev": true, "requires": { "debug": "3.1.0" @@ -427,45 +427,57 @@ } }, "@webassemblyjs/helper-code-frame": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.5.10.tgz", - "integrity": "sha512-1mNetGdoMMSW+spR7eC5kJZCA8g9aK7G0t2Mc5Q0p9Kw8p+gFgf9dO7fbThHP/+tNLHM6+SwUQ+S8s4BLhBtZQ==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.5.12.tgz", + "integrity": "sha512-0FrJgiST+MQDMvPigzs+UIk1vslLIqGadkEWdn53Lr0NsUC2JbheG9QaO3Zf6ycK2JwsHiUpGaMFcHYXStTPMA==", "dev": true, "requires": { - "@webassemblyjs/wast-printer": "1.5.10" + "@webassemblyjs/wast-printer": "1.5.12" } }, "@webassemblyjs/helper-fsm": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.5.10.tgz", - "integrity": "sha512-ekKmiumHOJrlzZhrigZ19COsCbqNeHtnRN2wktMIaCHGobW/FW+d4Qv1svc0BetjoXo/DhSgVvhHoxaKSO3yPw==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.5.12.tgz", + "integrity": "sha512-QBHZ45VPUJ7UyYKvUFoaxrSS9H5hbkC9U7tdWgFHmnTMutkXSEgDg2gZg3I/QTsiKOCIwx4qJUJwPd7J4D5CNQ==", "dev": true }, "@webassemblyjs/helper-module-context": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.5.10.tgz", - "integrity": "sha512-ce2KTWDlSCHhJZMOX+bgHGIKwYsx27MWySqffl8pqu9K+M1G4TlZCfRlN1dV85rAhn5OknOAHRBmRtceklY2/g==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.5.12.tgz", + "integrity": "sha512-SCXR8hPI4JOG3cdy9HAO8W5/VQ68YXG/Hfs7qDf1cd64zWuMNshyEour5NYnLMVkrrtc0XzfVS/MdeV94woFHA==", "dev": true, "requires": { + "debug": "3.1.0", "mamacro": "0.0.3" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "@webassemblyjs/helper-wasm-bytecode": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.5.10.tgz", - "integrity": "sha512-0noYMZDkkUZvHNpcOp9+ElMTwPxIyEWVc1bdjJ38qZTIX9ytCgRifs2DrF/1FfUxzI3d3xXFqrqCFfp+amAOaA==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.5.12.tgz", + "integrity": "sha512-0Gz5lQcyvElNVbOTKwjEmIxGwdWf+zpAW/WGzGo95B7IgMEzyyfZU+PrGHDwiSH9c0knol9G7smQnY0ljrSA6g==", "dev": true }, "@webassemblyjs/helper-wasm-section": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.5.10.tgz", - "integrity": "sha512-rXH6br9w+CYY/tN+N7MFmnUD5J/D4sBsl1K8liqKGpAXlsGp9SmEeqXy8yBWJ1wH3J3rNGaxQNbk9VR3qZgn0w==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.5.12.tgz", + "integrity": "sha512-ge/CKVKBGpiJhFN9PIOQ7sPtGYJhxm/mW1Y3SpG1L6XBunfRz0YnLjW3TmhcOEFozIVyODPS1HZ9f7VR3GBGow==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/helper-buffer": "1.5.10", - "@webassemblyjs/helper-wasm-bytecode": "1.5.10", - "@webassemblyjs/wasm-gen": "1.5.10", + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/helper-buffer": "1.5.12", + "@webassemblyjs/helper-wasm-bytecode": "1.5.12", + "@webassemblyjs/wasm-gen": "1.5.12", "debug": "3.1.0" }, "dependencies": { @@ -481,43 +493,43 @@ } }, "@webassemblyjs/ieee754": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.5.10.tgz", - "integrity": "sha512-WWlO5quQd3qOUT4wJiuodh5E1A8BfXYkOueuZZjEPL3budH5snqdWsPDieTqkBJnfCZGwRkRSn14OH4OPY1hsw==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.5.12.tgz", + "integrity": "sha512-F+PEv9QBzPi1ThLBouUJbuxhEr+Sy/oua1ftXFKHiaYYS5Z9tKPvK/hgCxlSdq+RY4MSG15jU2JYb/K5pkoybg==", "dev": true, "requires": { "ieee754": "1.1.11" } }, "@webassemblyjs/leb128": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.5.10.tgz", - "integrity": "sha512-b+DWTy6RsRznpCKvsP3V5yNkk6YWs+7kLOJ3GU1ITyz846VIzVJda+K0mr31fgXzob/QWToWEx8ajk+PrOegkQ==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.5.12.tgz", + "integrity": "sha512-cCOx/LVGiWyCwVrVlvGmTdnwHzIP4+zflLjGkZxWpYCpdNax9krVIJh1Pm7O86Ox/c5PrJpbvZU1cZLxndlPEw==", "dev": true, "requires": { "leb": "0.3.0" } }, "@webassemblyjs/utf8": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.5.10.tgz", - "integrity": "sha512-MQM04pZd0DoxukOPBJD4uaeVQ4iaWzRqsq7iDvJQBqcxIIEwi2iAPv+xjL2PbVwosCvwkh7FzKK3FHVQUjTlTQ==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.5.12.tgz", + "integrity": "sha512-FX8NYQMiTRU0TfK/tJVntsi9IEKsedSsna8qtsndWVE0x3zLndugiApxdNMIOoElBV9o4j0BUqR+iwU58QfPxQ==", "dev": true }, "@webassemblyjs/wasm-edit": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.5.10.tgz", - "integrity": "sha512-mrMZw5A0+p6A58iquzq/d0SJej481H4pNwPO65rEjzDsHs+yykT6de26VQD2GtaCTThfSNcw3JJXWJ1biqO/+g==", - "dev": true, - "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/helper-buffer": "1.5.10", - "@webassemblyjs/helper-wasm-bytecode": "1.5.10", - "@webassemblyjs/helper-wasm-section": "1.5.10", - "@webassemblyjs/wasm-gen": "1.5.10", - "@webassemblyjs/wasm-opt": "1.5.10", - "@webassemblyjs/wasm-parser": "1.5.10", - "@webassemblyjs/wast-printer": "1.5.10", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.5.12.tgz", + "integrity": "sha512-r/oZAyC4EZl0ToOYJgvj+b0X6gVEKQMLT34pNNbtvWBehQOnaSXvVUA5FIYlH8ubWjFNAFqYaVGgQTjR1yuJdQ==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/helper-buffer": "1.5.12", + "@webassemblyjs/helper-wasm-bytecode": "1.5.12", + "@webassemblyjs/helper-wasm-section": "1.5.12", + "@webassemblyjs/wasm-gen": "1.5.12", + "@webassemblyjs/wasm-opt": "1.5.12", + "@webassemblyjs/wasm-parser": "1.5.12", + "@webassemblyjs/wast-printer": "1.5.12", "debug": "3.1.0" }, "dependencies": { @@ -533,28 +545,28 @@ } }, "@webassemblyjs/wasm-gen": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.5.10.tgz", - "integrity": "sha512-MXYoZg7zaRGmU2h2FBa6Oo+y0etuDZycx0h7nrBD4LzVqhufenoWY4Be6K4IMU0L/fRb/GMp17Vfqg4m/J8EuQ==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.5.12.tgz", + "integrity": "sha512-LTu+cr1YRxGGiVIXWhei/35lXXEwTnQU18x4V/gE+qCSJN21QcVTMjJuasTUh8WtmBZtOlqJbOQIeN7fGnHWhg==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/helper-wasm-bytecode": "1.5.10", - "@webassemblyjs/ieee754": "1.5.10", - "@webassemblyjs/leb128": "1.5.10", - "@webassemblyjs/utf8": "1.5.10" + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/helper-wasm-bytecode": "1.5.12", + "@webassemblyjs/ieee754": "1.5.12", + "@webassemblyjs/leb128": "1.5.12", + "@webassemblyjs/utf8": "1.5.12" } }, "@webassemblyjs/wasm-opt": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.5.10.tgz", - "integrity": "sha512-1A1rVPa1URgjCmEVZupRgrrbqwfCh6hJVkogK22JNygS+wn1gg1jgjN82Zd3NDhm738TwY61936n3y25GC+mfQ==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.5.12.tgz", + "integrity": "sha512-LBwG5KPA9u/uigZVyTsDpS3CVxx3AePCnTItVL+OPkRCp5LqmLsOp4a3/c5CQE0Lecm0Ss9hjUTDcbYFZkXlfQ==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/helper-buffer": "1.5.10", - "@webassemblyjs/wasm-gen": "1.5.10", - "@webassemblyjs/wasm-parser": "1.5.10", + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/helper-buffer": "1.5.12", + "@webassemblyjs/wasm-gen": "1.5.12", + "@webassemblyjs/wasm-parser": "1.5.12", "debug": "3.1.0" }, "dependencies": { @@ -570,42 +582,42 @@ } }, "@webassemblyjs/wasm-parser": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.5.10.tgz", - "integrity": "sha512-VWSi7NWmfEuMpZ0+CTnBzz8qhxw7R17CwmbcJ+QJ0wfqReWEgP/J5yI4mN/C/lEoYuroFUF+sTWoDQqzH4FNdQ==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.5.12.tgz", + "integrity": "sha512-xset3+1AtoFYEfMg30nzCGBnhKmTBzbIKvMyLhqJT06TvYV+kA884AOUpUvhSmP6XPF3G+HVZPm/PbCGxH4/VQ==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/helper-api-error": "1.5.10", - "@webassemblyjs/helper-wasm-bytecode": "1.5.10", - "@webassemblyjs/ieee754": "1.5.10", - "@webassemblyjs/leb128": "1.5.10", - "@webassemblyjs/wasm-parser": "1.5.10" + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/helper-api-error": "1.5.12", + "@webassemblyjs/helper-wasm-bytecode": "1.5.12", + "@webassemblyjs/ieee754": "1.5.12", + "@webassemblyjs/leb128": "1.5.12", + "@webassemblyjs/utf8": "1.5.12" } }, "@webassemblyjs/wast-parser": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.5.10.tgz", - "integrity": "sha512-RORXT40qjkFgowmFzqGFGBW3fuNd7UKJwyuYXeXLzqQOoPBySE1lsSrku0aQIcVl086dy297A+De5vPCfF/Rfg==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.5.12.tgz", + "integrity": "sha512-QWUtzhvfY7Ue9GlJ3HeOB6w5g9vNYUUnG+Y96TWPkFHJTxZlcvGfNrUoACCw6eDb9gKaHrjt77aPq41a7y8svg==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/floating-point-hex-parser": "1.5.10", - "@webassemblyjs/helper-api-error": "1.5.10", - "@webassemblyjs/helper-code-frame": "1.5.10", - "@webassemblyjs/helper-fsm": "1.5.10", + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/floating-point-hex-parser": "1.5.12", + "@webassemblyjs/helper-api-error": "1.5.12", + "@webassemblyjs/helper-code-frame": "1.5.12", + "@webassemblyjs/helper-fsm": "1.5.12", "long": "3.2.0", "mamacro": "0.0.3" } }, "@webassemblyjs/wast-printer": { - "version": "1.5.10", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.5.10.tgz", - "integrity": "sha512-n4zZJmnETVc4RRs9wAZQr3dXUwC+Yyx+xwkaWdTk36NqgM89CPVLBpw8htKyKG+BX/tgk+VOXRwO+1x5Cf3J8Q==", + "version": "1.5.12", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.5.12.tgz", + "integrity": "sha512-XF9RTeckFgDyl196uRKZWHFFfbkzsMK96QTXp+TC0R9gsV9DMiDGMSIllgy/WdrZ3y3dsQp4fTA5r4GoaOBchA==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/wast-parser": "1.5.10", + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/wast-parser": "1.5.12", "long": "3.2.0" } }, @@ -621,7 +633,7 @@ "loud-rejection": "1.6.0", "merge-options": "1.0.1", "minimist": "1.2.0", - "resolve": "1.7.1", + "resolve": "1.8.1", "webpack-log": "1.2.0" }, "dependencies": { @@ -653,9 +665,9 @@ } }, "resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "dev": true, "requires": { "path-parse": "1.0.5" @@ -669,7 +681,7 @@ "integrity": "sha512-LonryJP+FxQQHsjGBi6W786TQB1Oym+agTpY0c+Kj8alnIw+DLUJb6SI8Y1GHGhLCH1yPRrucjObUmxNICQ1pg==", "dev": true, "requires": { - "ajv": "6.5.0", + "ajv": "6.5.1", "ajv-keywords": "3.2.0", "chalk": "2.4.1", "strip-ansi": "4.0.0", @@ -678,14 +690,14 @@ }, "dependencies": { "ajv": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.0.tgz", - "integrity": "sha512-VDUX1oSajablmiyFyED9L1DFndg0P9h7p1F+NO8FkIzei6EPrR6Zu1n18rd5P8PqaSRd/FrWv3G1TVBqpM83gA==", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.1.tgz", + "integrity": "sha512-pgZos1vgOHDiC7gKNbZW8eKvCnNXARv2oqrGQT7Hzbq5Azp7aZG6DJzADnkuSq7RH6qkXp4J/m68yPX/2uBHyQ==", "dev": true, "requires": { "fast-deep-equal": "2.0.1", "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1", + "json-schema-traverse": "0.4.1", "uri-js": "4.2.2" } }, @@ -721,6 +733,12 @@ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", "dev": true }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", @@ -1196,9 +1214,9 @@ "dev": true }, "arch": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/arch/-/arch-2.1.0.tgz", - "integrity": "sha1-NhOqRhSQZLPB8GB5Gb8dR4boKIk=", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/arch/-/arch-2.1.1.tgz", + "integrity": "sha512-BLM56aPo9vLLFVa8+/+pJLnrZ7QGGTVHWsCwieAWT9o9K8UeGaQbzZbGoabWLOo2ksBCztoXdqBZBplqLDDCSg==", "dev": true }, "argparse": { @@ -1693,7 +1711,7 @@ "@emotion/babel-utils": "0.5.3", "@emotion/hash": "0.6.3", "@emotion/memoize": "0.6.2", - "@emotion/stylis": "0.6.8", + "@emotion/stylis": "0.6.9", "babel-plugin-macros": "2.2.2", "babel-plugin-syntax-jsx": "6.18.0", "convert-source-map": "1.5.1", @@ -2943,9 +2961,9 @@ } }, "chokidar": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.3.tgz", - "integrity": "sha512-zW8iXYZtXMx4kux/nuZVXjkLP+CyIK5Al5FHnj1OgTKGZfp4Oy6/ymtMSKFv3GD8DviEmUPmJg9eFdJ/JzudMg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.4.tgz", + "integrity": "sha512-z9n7yt9rOvIJrMhvDtDictKrkFHeihkNl6uWMmZlmL6tJtX9Cs+87oK+teBx+JIgzvbX3yZHT3eF8vpbDxHJXQ==", "dev": true, "requires": { "anymatch": "2.0.0", @@ -2956,6 +2974,7 @@ "inherits": "2.0.3", "is-binary-path": "1.0.1", "is-glob": "4.0.0", + "lodash.debounce": "4.0.8", "normalize-path": "2.1.1", "path-is-absolute": "1.0.1", "readdirp": "2.1.0", @@ -3058,10 +3077,13 @@ "dev": true }, "chrome-trace-event": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-0.1.3.tgz", - "integrity": "sha512-sjndyZHrrWiu4RY7AkHgjn80GfAM2ZSzUkZLV/Js59Ldmh6JDThf0SUmOHU53rFu2rVxxfCzJ30Ukcfch3Gb/A==", - "dev": true + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.0.tgz", + "integrity": "sha512-xDbVgyfDTT2piup/h8dK/y4QZfJRSa73bw1WZ8b4XM1o7fsFubUVGYcE+1ANtOzJJELGpYoG2961z0Z6OAld9A==", + "dev": true, + "requires": { + "tslib": "1.9.2" + } }, "ci-info": { "version": "1.1.3", @@ -3236,7 +3258,7 @@ "integrity": "sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA==", "dev": true, "requires": { - "arch": "2.1.0", + "arch": "2.1.1", "execa": "0.8.0" }, "dependencies": { @@ -3593,7 +3615,7 @@ "requires": { "@emotion/hash": "0.6.3", "@emotion/memoize": "0.6.2", - "@emotion/stylis": "0.6.8", + "@emotion/stylis": "0.6.9", "@emotion/unitless": "0.6.3", "csstype": "2.5.3", "stylis": "3.5.0", @@ -3601,9 +3623,9 @@ } }, "create-emotion-server": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/create-emotion-server/-/create-emotion-server-9.2.1.tgz", - "integrity": "sha1-btMRXzs92ASPSsWQFzJqFnqMRnA=", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/create-emotion-server/-/create-emotion-server-9.2.3.tgz", + "integrity": "sha1-VrfTa25oiNZNPKsK3CDZmQ3AXJY=", "dev": true, "requires": { "html-tokenize": "2.0.0", @@ -4166,7 +4188,7 @@ "requires": { "bn.js": "4.11.8", "brorand": "1.1.0", - "hash.js": "1.1.3", + "hash.js": "1.1.4", "hmac-drbg": "1.0.1", "inherits": "2.0.3", "minimalistic-assert": "1.0.1", @@ -4180,9 +4202,9 @@ "dev": true }, "emotion": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/emotion/-/emotion-9.2.1.tgz", - "integrity": "sha1-0qp3silF2fQOqbWsa9rELOw1YQo=", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/emotion/-/emotion-9.2.3.tgz", + "integrity": "sha1-yTuaIi35LmKBA2r6ArO1uM+54Ek=", "dev": true, "requires": { "babel-plugin-emotion": "9.2.0", @@ -4190,12 +4212,12 @@ } }, "emotion-server": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/emotion-server/-/emotion-server-9.2.1.tgz", - "integrity": "sha1-SYOnGAivx00MqOBruHVBRqofg60=", + "version": "9.2.3", + "resolved": "https://registry.npmjs.org/emotion-server/-/emotion-server-9.2.3.tgz", + "integrity": "sha1-V9W0tvcTFMgjYh0vfMD0vLKO2WI=", "dev": true, "requires": { - "create-emotion-server": "9.2.1" + "create-emotion-server": "9.2.3" } }, "encoding": { @@ -4796,28 +4818,24 @@ "dependencies": { "abbrev": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "bundled": true, "dev": true, "optional": true }, "ansi-regex": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "bundled": true, "dev": true }, "aproba": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "bundled": true, "dev": true, "optional": true }, "are-we-there-yet": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", - "integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4827,14 +4845,12 @@ }, "balanced-match": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "bundled": true, "dev": true }, "brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "bundled": true, "dev": true, "requires": { "balanced-match": "1.0.0", @@ -4843,40 +4859,34 @@ }, "chownr": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", - "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=", + "bundled": true, "dev": true, "optional": true }, "code-point-at": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "bundled": true, "dev": true }, "concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "bundled": true, "dev": true }, "console-control-strings": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "bundled": true, "dev": true }, "core-util-is": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "bundled": true, "dev": true, "optional": true }, "debug": { "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4885,29 +4895,25 @@ }, "deep-extend": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz", - "integrity": "sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w==", + "bundled": true, "dev": true, "optional": true }, "delegates": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "bundled": true, "dev": true, "optional": true }, "detect-libc": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "bundled": true, "dev": true, "optional": true }, "fs-minipass": { "version": "1.2.5", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.5.tgz", - "integrity": "sha512-JhBl0skXjUPCFH7x6x61gQxrKyXsxB5gcgePLZCwfyCGGsTISMoIeObbrvVeP6Xmyaudw4TT43qV2Gz+iyd2oQ==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4916,15 +4922,13 @@ }, "fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "bundled": true, "dev": true, "optional": true }, "gauge": { "version": "2.7.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", - "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4940,8 +4944,7 @@ }, "glob": { "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4955,15 +4958,13 @@ }, "has-unicode": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "bundled": true, "dev": true, "optional": true }, "iconv-lite": { "version": "0.4.21", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.21.tgz", - "integrity": "sha512-En5V9za5mBt2oUA03WGD3TwDv0MKAruqsuxstbMUZaj9W9k/m1CV/9py3l0L5kw9Bln8fdHQmzHSYtvpvTLpKw==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4972,8 +4973,7 @@ }, "ignore-walk": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", - "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4982,8 +4982,7 @@ }, "inflight": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -4993,21 +4992,18 @@ }, "inherits": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "bundled": true, "dev": true }, "ini": { "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", + "bundled": true, "dev": true, "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "bundled": true, "dev": true, "requires": { "number-is-nan": "1.0.1" @@ -5015,15 +5011,13 @@ }, "isarray": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "bundled": true, "dev": true, "optional": true }, "minimatch": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "bundled": true, "dev": true, "requires": { "brace-expansion": "1.1.11" @@ -5031,14 +5025,12 @@ }, "minimist": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "bundled": true, "dev": true }, "minipass": { "version": "2.2.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.2.4.tgz", - "integrity": "sha512-hzXIWWet/BzWhYs2b+u7dRHlruXhwdgvlTMDKC6Cb1U7ps6Ac6yQlR39xsbjWJE377YTCtKwIXIpJ5oP+j5y8g==", + "bundled": true, "dev": true, "requires": { "safe-buffer": "5.1.1", @@ -5047,8 +5039,7 @@ }, "minizlib": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.1.0.tgz", - "integrity": "sha512-4T6Ur/GctZ27nHfpt9THOdRZNgyJ9FZchYO1ceg5S8Q3DNLCKYy44nCZzgCJgcvx2UM8czmqak5BCxJMrq37lA==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5057,8 +5048,7 @@ }, "mkdirp": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "bundled": true, "dev": true, "requires": { "minimist": "0.0.8" @@ -5066,15 +5056,13 @@ }, "ms": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "bundled": true, "dev": true, "optional": true }, "needle": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/needle/-/needle-2.2.0.tgz", - "integrity": "sha512-eFagy6c+TYayorXw/qtAdSvaUpEbBsDwDyxYFgLZ0lTojfH7K+OdBqAF7TAFwDokJaGpubpSGG0wO3iC0XPi8w==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5085,8 +5073,7 @@ }, "node-pre-gyp": { "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz", - "integrity": "sha512-G7kEonQLRbcA/mOoFoxvlMrw6Q6dPf92+t/l0DFSMuSlDoWaI9JWIyPwK0jyE1bph//CUEL65/Fz1m2vJbmjQQ==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5104,8 +5091,7 @@ }, "nopt": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", - "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5115,15 +5101,13 @@ }, "npm-bundled": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.3.tgz", - "integrity": "sha512-ByQ3oJ/5ETLyglU2+8dBObvhfWXX8dtPZDMePCahptliFX2iIuhyEszyFk401PZUNQH20vvdW5MLjJxkwU80Ow==", + "bundled": true, "dev": true, "optional": true }, "npm-packlist": { "version": "1.1.10", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.10.tgz", - "integrity": "sha512-AQC0Dyhzn4EiYEfIUjCdMl0JJ61I2ER9ukf/sLxJUcZHfo+VyEfz2rMJgLZSS1v30OxPQe1cN0LZA1xbcaVfWA==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5133,8 +5117,7 @@ }, "npmlog": { "version": "4.1.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", - "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5146,21 +5129,18 @@ }, "number-is-nan": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "bundled": true, "dev": true }, "object-assign": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "bundled": true, "dev": true, "optional": true }, "once": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "bundled": true, "dev": true, "requires": { "wrappy": "1.0.2" @@ -5168,22 +5148,19 @@ }, "os-homedir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "bundled": true, "dev": true, "optional": true }, "os-tmpdir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "bundled": true, "dev": true, "optional": true }, "osenv": { "version": "0.1.5", - "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", - "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5193,22 +5170,19 @@ }, "path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "bundled": true, "dev": true, "optional": true }, "process-nextick-args": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", - "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "bundled": true, "dev": true, "optional": true }, "rc": { "version": "1.2.7", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.7.tgz", - "integrity": "sha512-LdLD8xD4zzLsAT5xyushXDNscEjB7+2ulnl8+r1pnESlYtlJtVSoCMBGr30eDRJ3+2Gq89jK9P9e4tCEH1+ywA==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5220,8 +5194,7 @@ "dependencies": { "minimist": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "bundled": true, "dev": true, "optional": true } @@ -5229,8 +5202,7 @@ }, "readable-stream": { "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5245,8 +5217,7 @@ }, "rimraf": { "version": "2.6.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", - "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5255,49 +5226,42 @@ }, "safe-buffer": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "bundled": true, "dev": true }, "safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "bundled": true, "dev": true, "optional": true }, "sax": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "bundled": true, "dev": true, "optional": true }, "semver": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "bundled": true, "dev": true, "optional": true }, "set-blocking": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "bundled": true, "dev": true, "optional": true }, "signal-exit": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "bundled": true, "dev": true, "optional": true }, "string-width": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "bundled": true, "dev": true, "requires": { "code-point-at": "1.1.0", @@ -5307,8 +5271,7 @@ }, "string_decoder": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5317,8 +5280,7 @@ }, "strip-ansi": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "bundled": true, "dev": true, "requires": { "ansi-regex": "2.1.1" @@ -5326,15 +5288,13 @@ }, "strip-json-comments": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "bundled": true, "dev": true, "optional": true }, "tar": { "version": "4.4.1", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.1.tgz", - "integrity": "sha512-O+v1r9yN4tOsvl90p5HAP4AEqbYhx4036AGMm075fH9F8Qwi3oJ+v4u50FkT/KkvywNGtwkk0zRI+8eYm1X/xg==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5349,15 +5309,13 @@ }, "util-deprecate": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "bundled": true, "dev": true, "optional": true }, "wide-align": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", - "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", + "bundled": true, "dev": true, "optional": true, "requires": { @@ -5366,14 +5324,12 @@ }, "wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "bundled": true, "dev": true }, "yallist": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.2.tgz", - "integrity": "sha1-hFK0u36Dx8GI2AQcGoN8dz1ti7k=", + "bundled": true, "dev": true } } @@ -5805,9 +5761,9 @@ } }, "hash.js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.4.tgz", + "integrity": "sha512-A6RlQvvZEtFS5fLU43IDu0QUmBy+fDO9VMdTXvufKwIkt/rFfvICAViCax5fbDO4zdNzaC3/27ZhKUok5bAJyw==", "dev": true, "requires": { "inherits": "2.0.3", @@ -5838,7 +5794,7 @@ "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "dev": true, "requires": { - "hash.js": "1.1.3", + "hash.js": "1.1.4", "minimalistic-assert": "1.0.1", "minimalistic-crypto-utils": "1.0.1" } @@ -7764,6 +7720,12 @@ "lodash.keys": "3.1.2" } }, + "lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "dev": true + }, "lodash.defaults": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-3.1.2.tgz", @@ -9717,9 +9679,9 @@ } }, "react-dom": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.0.tgz", - "integrity": "sha512-bbLd+HYpBEnYoNyxDe9XpSG2t9wypMohwQPvKw8Hov3nF7SJiJIgK56b46zHpBUpHb06a1iEuw7G3rbrsnNL6w==", + "version": "16.4.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.1.tgz", + "integrity": "sha512-1Gin+wghF/7gl4Cqcvr1DxFX2Osz7ugxSwl6gBqCMpdrxHjIFUS7GYxrFftZ9Ln44FHw0JxCFD9YtZsrbR5/4A==", "dev": true, "requires": { "fbjs": "0.8.16", @@ -11430,19 +11392,19 @@ "integrity": "sha512-yYrjb9TX2k/J1Y5UNy3KYdZq10xhYcF8nMpAW6o3hy6Q8WSIEf9lJHG/ePnOBfziPM3fvQwfOwa13U/Fh8qTfA==", "dev": true, "requires": { - "ajv": "6.5.0", + "ajv": "6.5.1", "ajv-keywords": "3.2.0" }, "dependencies": { "ajv": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.0.tgz", - "integrity": "sha512-VDUX1oSajablmiyFyED9L1DFndg0P9h7p1F+NO8FkIzei6EPrR6Zu1n18rd5P8PqaSRd/FrWv3G1TVBqpM83gA==", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.1.tgz", + "integrity": "sha512-pgZos1vgOHDiC7gKNbZW8eKvCnNXARv2oqrGQT7Hzbq5Azp7aZG6DJzADnkuSq7RH6qkXp4J/m68yPX/2uBHyQ==", "dev": true, "requires": { "fast-deep-equal": "2.0.1", "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1", + "json-schema-traverse": "0.4.1", "uri-js": "4.2.2" } }, @@ -11451,6 +11413,12 @@ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true } } }, @@ -12918,6 +12886,12 @@ "integrity": "sha512-FHkoUZvG6Egrv9XZAyYGKEyb1JMsFphgPjoczkZC2y6W93U1jswcVURB8MUvtsahEPEVACyxD47JAL63vF4JsQ==", "dev": true }, + "tslib": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.2.tgz", + "integrity": "sha512-AVP5Xol3WivEr7hnssHDsaM+lVrVXWUvd1cfXTRkTj80b//6g2wIFEH6hZG0muGZRnHGrfttpdzRk3YlBkWjKw==", + "dev": true + }, "tty-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", @@ -13602,7 +13576,7 @@ "integrity": "sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA==", "dev": true, "requires": { - "chokidar": "2.0.3", + "chokidar": "2.0.4", "graceful-fs": "4.1.11", "neo-async": "2.5.1" } @@ -13614,21 +13588,21 @@ "dev": true }, "webpack": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.11.1.tgz", - "integrity": "sha512-8HGSxsLm9LTVgYiyfjY849c3Rgtb0bI0fPpdQsMmO6Hg8JXUOCudGD3j6sPfo6DaAdti1icUUZNh8XpY3igHqQ==", + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.12.0.tgz", + "integrity": "sha512-EJj2FfhgtjrTbJbJaNulcVpDxi9vsQVvTahHN7xJvIv6W+k4r/E6Hxy4eyOrj+IAFWqYgaUtnpxmSGYP8MSZJw==", "dev": true, "requires": { - "@webassemblyjs/ast": "1.5.10", - "@webassemblyjs/helper-module-context": "1.5.10", - "@webassemblyjs/wasm-edit": "1.5.10", - "@webassemblyjs/wasm-opt": "1.5.10", - "@webassemblyjs/wasm-parser": "1.5.10", - "acorn": "5.4.1", + "@webassemblyjs/ast": "1.5.12", + "@webassemblyjs/helper-module-context": "1.5.12", + "@webassemblyjs/wasm-edit": "1.5.12", + "@webassemblyjs/wasm-opt": "1.5.12", + "@webassemblyjs/wasm-parser": "1.5.12", + "acorn": "5.7.1", "acorn-dynamic-import": "3.0.0", - "ajv": "6.5.0", + "ajv": "6.5.1", "ajv-keywords": "3.2.0", - "chrome-trace-event": "0.1.3", + "chrome-trace-event": "1.0.0", "enhanced-resolve": "4.0.0", "eslint-scope": "3.7.1", "json-parse-better-errors": "1.0.2", @@ -13646,15 +13620,21 @@ "webpack-sources": "1.1.0" }, "dependencies": { + "acorn": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.1.tgz", + "integrity": "sha512-d+nbxBUGKg7Arpsvbnlq61mc12ek3EY8EQldM3GPAhWJ1UVxC6TDGbIvUMNU6obBX3i1+ptCIzV4vq0gFPEGVQ==", + "dev": true + }, "ajv": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.0.tgz", - "integrity": "sha512-VDUX1oSajablmiyFyED9L1DFndg0P9h7p1F+NO8FkIzei6EPrR6Zu1n18rd5P8PqaSRd/FrWv3G1TVBqpM83gA==", + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.5.1.tgz", + "integrity": "sha512-pgZos1vgOHDiC7gKNbZW8eKvCnNXARv2oqrGQT7Hzbq5Azp7aZG6DJzADnkuSq7RH6qkXp4J/m68yPX/2uBHyQ==", "dev": true, "requires": { "fast-deep-equal": "2.0.1", "fast-json-stable-stringify": "2.0.0", - "json-schema-traverse": "0.3.1", + "json-schema-traverse": "0.4.1", "uri-js": "4.2.2" } }, @@ -13907,6 +13887,12 @@ } } }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", @@ -14003,18 +13989,18 @@ } }, "webpack-merge": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.2.tgz", - "integrity": "sha512-/0QYwW/H1N/CdXYA2PNPVbsxO3u2Fpz34vs72xm03SRfg6bMNGfMJIQEpQjKRvkG2JvT6oRJFpDtSrwbX8Jzvw==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.3.tgz", + "integrity": "sha512-zxwAIGK7nKdu5CIZL0BjTQoq3elV0t0MfB7rUC1zj668geid52abs6hN/ACwZdK6LeMS8dC9B6WmtF978zH5mg==", "dev": true, "requires": { "lodash": "4.17.5" } }, "webpack-serve": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.3.tgz", - "integrity": "sha512-AALSkRq8vJ+2TIsbPV/qdZ0IT9WfCoJ4e+sbygBQWN2f5q4nT0EtXwjBVyZbtkHEB2FjpstDe7/VofxmA+WoiA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/webpack-serve/-/webpack-serve-1.0.4.tgz", + "integrity": "sha512-WhI9PMY2YLFliZhDsQFE5Os/On5Py6DGZpeBJyDM8xl0cspxgvXmWFywACn2YWWDgowqIxRqveyGh2RwdFWTNQ==", "dev": true, "requires": { "@shellscape/koa-static": "4.0.5", @@ -14034,7 +14020,7 @@ "meow": "5.0.0", "nanobus": "4.3.3", "opn": "5.2.0", - "resolve": "1.7.1", + "resolve": "1.8.1", "time-fix-plugin": "2.0.3", "update-notifier": "2.5.0", "url-join": "3.0.0", @@ -14074,9 +14060,9 @@ } }, "resolve": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", - "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", + "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "dev": true, "requires": { "path-parse": "1.0.5" diff --git a/package.json b/package.json index a5573543dc9..9d38118aca3 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@compositor/kit": "^1.0.26", - "@compositor/x0": "5.0.4", + "@compositor/x0": "5.0.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "jest": "^22.4.3", From c51d7c2f7cf9ece147233324dfa9eb03b0269895 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 18 Jun 2018 16:59:47 -0700 Subject: [PATCH 09/38] fix HMR YASSSSSS !!!! --- examples/ComponentPage.js | 943 +++++++++++++++++++------------------- examples/DemoPage.js | 4 +- examples/docs.js | 33 ++ examples/index.js | 33 -- package.json | 2 +- 5 files changed, 506 insertions(+), 509 deletions(-) create mode 100644 examples/docs.js delete mode 100644 examples/index.js diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index 2fe8df62dd8..847c29d3ed5 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -43,498 +43,495 @@ const ExampleHeading = props => ( ) - const ComponentPage = () => { return ( - - - - - - - - - - - - {' '} - - - - - - - {[ - // 'black', - 'white', - 'gray-dark', - 'gray', - 'gray-light', - 'blue', - 'blue-light', - 'green', - 'green-light', - 'red', - 'red-light', - 'yellow', - 'yellow-light', - 'purple', - 'purple-light', - // 'shade-gradient' - ].map((bg, i, style) => ( - - ))} - - - -
- -
-
- - - CaretBox - - CaretBox - - {Caret.locations.map((loc, i) => ( - ))} - - - {Object.keys(theme.colors.border).map(borderColor => ( - - ))} - - - {Object.keys(theme.colors.bg).map(bgColor => ( - - ))} - - - - - - {['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map((hue, i) => ( -
- {theme.colors[hue].map((color, j) => ( - - ))} -
+
+
- {`bg='${bg}'`} + + + + + + + + + + + {' '} + + + + + + + {[ + // 'black', + 'white', + 'gray-dark', + 'gray', + 'gray-light', + 'blue', + 'blue-light', + 'green', + 'green-light', + 'red', + 'red-light', + 'yellow', + 'yellow-light', + 'purple', + 'purple-light', + // 'shade-gradient' + ].map((bg, i, style) => ( + + + {['white', 'gray', 'black'].map((fg, j) => ( + - {['white', 'gray', 'black'].map((fg, j) => ( - - ))} - - ))} - -
+ {`bg='${bg}'`} + + + {fg} + - - {fg} - -
-
- - This is a box. - This is a box with padding. - This is a box with shadow. - This is a box with a medium shadow. - This is a box with a large shadow. - This is a box with an extra-large shadow. - This is a box with a green border. - - - a_new_feature_branch - - Linked BranchName - a_new_feature_branch - BranchName with Octicon - a_new_feature_branch - - - - - - - - - - - - - - ButtonDanger - - - ButtonPrimary - - - ButtonOutline - - - - - - - - - This is an {''} styled as a button - - - - - {Caret.locations.map((loc, i) => ( - - location='{loc}' - - + ))} +
+
+ + This is a box + This is a box with padding. + This is a box with shadow. + This is a box with a medium shadow. + This is a box with a large shadow. + This is a box with an extra-large shadow. + This is a box with a green border. + + + a_new_feature_branch + + Linked BranchName + a_new_feature_branch + BranchName with Octicon + a_new_feature_branch + + + + + + + + + + + + + + ButtonDanger + + + ButtonPrimary + + + ButtonOutline + + + + + + + + + This is an {'
'} styled as a button + + + + + {Caret.locations.map((loc, i) => ( + + location='{loc}' + + ))} -
- - - - - - - - - - - + + + +
+ +
+
+ + + CaretBox + + CaretBox + + {Caret.locations.map((loc, i) => ( + ))} + + + {Object.keys(theme.colors.border).map(borderColor => ( + + ))} + + + {Object.keys(theme.colors.bg).map(bgColor => ( + + ))} + + + + + + {['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map((hue, i) => ( +
+ {theme.colors[hue].map((color, j) => ( + + ))}
-
- - - 12 - - - 13 - - - 13 - - - - - With static children -
- Click me + ))} +
+ + + + + + + + + + + +
+ + + + 12 + + + 13 + + + 13 + + + + + With static children +
+ Click me +

This should show and hide

+
+
+ + With children as a function +
{({open, toggle}) => ( + + {open ? 'Hide' : 'Show'}

This should show and hide

-
-
- - With children as a function -
{({open, toggle}) => ( - - {open ? 'Hide' : 'Show'} -

This should show and hide

-
- )} -
-
- - With render prop -
'hi'}/> - - - - - Dropdown Primary - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
- - Dropdown - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
- - Dropdown with title - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
-
- - - With data prop - - {' '} - - {' '} - - {' '} - - {' '} - - {' '} - - - - With DonutSlice children - - - - - - {' '} - - - - - - {' '} - - - - - {' '} - - - - - {' '} - - - - - {' '} - - - - - - With custom fill colors - - - - - - - - - - - - Flash - - - Flash yellow - - - Flash red - - - Flash green - - - Flash full - - - - {[/* 7, 6, */ 5, 4, 3, 2, 1, 0].map((fontSize, i) => ( - fontSize {fontSize} + + )} +
+
+ + With render prop +
'hi'}/> + + + + + Dropdown Primary + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+ + Dropdown + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+ + Dropdown with title + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+
+ + + With data prop + + {' '} + + {' '} + + {' '} + + {' '} + + {' '} + + + + With DonutSlice children + + + + + + {' '} + + + + + + {' '} + + + + + {' '} + + + + + {' '} + + + + + {' '} + + + + + + With custom fill colors + + + + + + + + + + + + Flash + + + Flash yellow + + + Flash red + + + Flash green + + + Flash full + + + + {[/* 7, 6, */ 5, 4, 3, 2, 1, 0].map((fontSize, i) => ( + fontSize {fontSize} + ))} + + + Input + + Input Sizes + + + + + + + Block input + + + + Default Heading + + {[0, 1, 2, 3, 4, 5, /* 6, 7, */ '00-light', '0-light', '1-light', '2-light', '3-light'].map((fontSize, i) => ( + With fontSize={fontSize} ))} - - - Input - - Input Sizes - - - - - - - Block input - - - - Default Heading - - {[0, 1, 2, 3, 4, 5, /* 6, 7, */ '00-light', '0-light', '1-light', '2-light', '3-light'].map((fontSize, i) => ( - With fontSize={fontSize} - ))} - - - - - - - - - - - - - - - - - Link - - - Link muted - - - Link gray - - - Link graydark - - - - - Open - - - Closed - + + + + + + + + + + + + + + + + + Link + + + Link muted + + + Link gray + + + Link graydark + + + + + Open + + + Closed + + + Merged + + - Merged - - - - By state (Octicons built in) - - Unknown - - - Open - - - Closed - - - Merged - - - Reopened - + By state (Octicons built in) + + Unknown - - By color - - Invalid - - - Green - - - Red - - - Purple - + + Open - - Small, by state - - - Unknown - - - Open - - - Closed - - - Merged - - - Reopened - - + + Closed - - Small, by color - - - Invalid - - - Green - - - Red - - - Purple - - - }> - Custom Octicon - - - + + Merged + + + Reopened - - - - - - - + + By color + + Invalid + + + Green + + + Red + + + Purple + - - + + Small, by state + + + Unknown + + + Open + + + Closed + + + Merged + + + Reopened + + - - + + Small, by color + + + Invalid + + + Green + + + Red + + + Purple + + + }> + Custom Octicon + + + - - - Text - Text bold - Text green - Text lineHeight 'condensed' - Text fontSize 4 - Text padding 4 - - + + + + + + + + + + + + + + + + + + Text + Text bold + Text green + Text lineHeight 'condensed' + Text fontSize 4 + Text padding 4 + + + + Text with a tooltip + + + Directions + {Tooltip.directions.map((d, i) => ( + + Tooltip direction={d} + + ))} + Alignment - Text with a tooltip + Tooltip align left - - Directions - {Tooltip.directions.map((d, i) => ( - - Tooltip direction={d} - - ))} - Alignment - - Tooltip align left - - Word wrap - - Word wrapping tooltip - - No Delay - - Text with a tooltip - - - - - + Word wrap + + Word wrapping tooltip + + No Delay + + Text with a tooltip + + + + ) } diff --git a/examples/DemoPage.js b/examples/DemoPage.js index 1a73bfb2d73..c5ea7370f57 100644 --- a/examples/DemoPage.js +++ b/examples/DemoPage.js @@ -12,10 +12,10 @@ import MergeButton from './demos/MergeButton' const DemoPage = () => { return ( - + - `} scope={{MergeBox}}/> + `} scope={{MergeBox}}/> diff --git a/examples/docs.js b/examples/docs.js new file mode 100644 index 00000000000..10b243a4fdd --- /dev/null +++ b/examples/docs.js @@ -0,0 +1,33 @@ +import React from 'react' +import classnames from 'classnames' +import { + BrowserRouter as Router, + Route, + NavLink +} from 'react-router-dom' + +import Page from './Page' +import DemoPage from './DemoPage' +import ComponentPage from './ComponentPage' +import SandboxPage from './SandboxPage' + +const Index = props => ( + + +
+
+ +
+ + + +
+
+
+) + +export default Index diff --git a/examples/index.js b/examples/index.js deleted file mode 100644 index 5838ee98f4e..00000000000 --- a/examples/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import React from 'react' -import classnames from 'classnames' -import { - BrowserRouter as Router, - Route, - NavLink -} from 'react-router-dom' - -import Page from './Page' -import DemoPage from './DemoPage' -import ComponentPage from './ComponentPage' -import SandboxPage from './SandboxPage' - -const Index = props => ( - - -
-
- -
- - - -
-
-
-) - -export default Index diff --git a/package.json b/package.json index 9d38118aca3..453ef8f462e 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/primer-react" + "basename": "/docs" }, "dependencies": { "@github/octicons-react": "1.2.0-alpha.0a0d8862", From 2f0c4e7d9fc766ed01d8219451a442df77ae87c1 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 12:43:33 -0700 Subject: [PATCH 10/38] customize sidebar navigation --- examples/ComponentPage.js | 544 +------------------------------- examples/DemoPage.js | 43 ++- examples/Navigation.js | 15 + examples/examples.js | 639 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 697 insertions(+), 544 deletions(-) create mode 100644 examples/Navigation.js create mode 100644 examples/examples.js diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index 847c29d3ed5..bf0dc87961e 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -1,537 +1,21 @@ import React from 'react' -import { - Detail, - Example, - Library, - PropsForm -} from '@compositor/kit' -import Octicon from '@github/octicons-react' -import { - Avatar, - Block, - Box, - Button, - ButtonDanger, - ButtonPrimary, - ButtonOutline, - ButtonLink, - BranchName, - Caret, - CaretBox, - CircleOcticon, - CounterLabel, - Details, - DonutChart, - DonutSlice, - Dropdown, - Flash, - Heading, - TextInput, - Label, - Link, - MergeStatus, - StateLabel, - Text, - Tooltip, - theme -} from '../src' -import Swatch from './Swatch' -import Page from './Page' -import GitHubAvatar from './GitHubAvatar' - -const ExampleHeading = props => ( - -) +import { Library } from '@compositor/kit' +import { NavLink } from 'react-router-dom' +import Navigation from './Navigation' +import examples from './examples' const ComponentPage = () => { return ( - - - - - - - - - - - {' '} - - - - - - - {[ - // 'black', - 'white', - 'gray-dark', - 'gray', - 'gray-light', - 'blue', - 'blue-light', - 'green', - 'green-light', - 'red', - 'red-light', - 'yellow', - 'yellow-light', - 'purple', - 'purple-light', - // 'shade-gradient' - ].map((bg, i, style) => ( - - - {['white', 'gray', 'black'].map((fg, j) => ( - - ))} - - ))} - -
- {`bg='${bg}'`} - - - {fg} - -
-
- - This is a box - This is a box with padding. - This is a box with shadow. - This is a box with a medium shadow. - This is a box with a large shadow. - This is a box with an extra-large shadow. - This is a box with a green border. - - - a_new_feature_branch - - Linked BranchName - a_new_feature_branch - BranchName with Octicon - a_new_feature_branch - - - - - - - - - - - - - - ButtonDanger - - - ButtonPrimary - - - ButtonOutline - - - - - - - - - This is an {'
'} styled as a button - - - - - {Caret.locations.map((loc, i) => ( - - location='{loc}' - - - ))} - - - -
- -
-
- - - CaretBox - - CaretBox - - {Caret.locations.map((loc, i) => ( - ))} - - - {Object.keys(theme.colors.border).map(borderColor => ( - - ))} - - - {Object.keys(theme.colors.bg).map(bgColor => ( - - ))} - - - - - - {['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map((hue, i) => ( -
- {theme.colors[hue].map((color, j) => ( - - ))} -
- ))} -
- - - - - - - - - - - -
-
- - - 12 - - - 13 - - - 13 - - - - - With static children -
- Click me -

This should show and hide

-
-
- - With children as a function -
{({open, toggle}) => ( - - {open ? 'Hide' : 'Show'} -

This should show and hide

-
- )} -
-
- - With render prop -
'hi'}/> - - - - - Dropdown Primary - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
- - Dropdown - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
- - Dropdown with title - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
-
-
-
- - - With data prop - - {' '} - - {' '} - - {' '} - - {' '} - - {' '} - - - - With DonutSlice children - - - - - - {' '} - - - - - - {' '} - - - - - {' '} - - - - - {' '} - - - - - {' '} - - - - - - With custom fill colors - - - - - - - - - - - - Flash - - - Flash yellow - - - Flash red - - - Flash green - - - Flash full - - - - {[/* 7, 6, */ 5, 4, 3, 2, 1, 0].map((fontSize, i) => ( - fontSize {fontSize} - ))} - - - Input - - Input Sizes - - - - - - - Block input - - - - Default Heading - - {[0, 1, 2, 3, 4, 5, /* 6, 7, */ '00-light', '0-light', '1-light', '2-light', '3-light'].map((fontSize, i) => ( - With fontSize={fontSize} - ))} - - - - - - - - - - - - - - - - - Link - - - Link muted - - - Link gray - - - Link graydark - - - - - Open - - - Closed - - - Merged - - - - By state (Octicons built in) - - Unknown - - - Open - - - Closed - - - Merged - - - Reopened - - - - By color - - Invalid - - - Green - - - Red - - - Purple - - - - Small, by state - - - Unknown - - - Open - - - Closed - - - Merged - - - Reopened - - - - - Small, by color - - - Invalid - - - Green - - - Red - - - Purple - - - }> - Custom Octicon - - - - - - - - - - - - - - - - - - - - - - Text - Text bold - Text green - Text lineHeight 'condensed' - Text fontSize 4 - Text padding 4 - - - - Text with a tooltip - - - Directions - {Tooltip.directions.map((d, i) => ( - - Tooltip direction={d} - - ))} - Alignment - - Tooltip align left - - Word wrap - - Word wrapping tooltip - - No Delay - - Text with a tooltip - - - - + ( + + )}/> ) } diff --git a/examples/DemoPage.js b/examples/DemoPage.js index c5ea7370f57..5dc312ec0c5 100644 --- a/examples/DemoPage.js +++ b/examples/DemoPage.js @@ -4,26 +4,41 @@ import { Library, LiveEditor } from '@compositor/kit' -import Page from './Page' +import Navigation from './Navigation' import MergeBox from './demos/MergeBox' import MergeButton from './demos/MergeButton' - +const examples = [ + { + name: 'MergeBox', + element: ( + + `} scope={{MergeBox}}/> + + ) + }, + { + name: 'MergeButton', + element: ( + + `} scope={{MergeButton}}/> + + ) + } +] const DemoPage = () => { return ( - - - - `} scope={{MergeBox}}/> - - - - - `} scope={{MergeButton}}/> - - - + ( + + )}/> ) } diff --git a/examples/Navigation.js b/examples/Navigation.js new file mode 100644 index 00000000000..f84cb20a6b2 --- /dev/null +++ b/examples/Navigation.js @@ -0,0 +1,15 @@ +import React from 'react' +import { NavLink } from 'react-router-dom' + +const Navigation = ({ title, examples }) => ( + +) + +export default Navigation diff --git a/examples/examples.js b/examples/examples.js new file mode 100644 index 00000000000..e437ab2db86 --- /dev/null +++ b/examples/examples.js @@ -0,0 +1,639 @@ +import React from 'react' +import { + Detail, + Example, + PropsForm +} from '@compositor/kit' +import Octicon from '@github/octicons-react' +import { + Avatar, + Block, + Box, + Button, + ButtonDanger, + ButtonPrimary, + ButtonOutline, + ButtonLink, + BranchName, + Caret, + CaretBox, + CircleOcticon, + CounterLabel, + Details, + DonutChart, + DonutSlice, + Dropdown, + Flash, + Heading, + TextInput, + Label, + Link, + MergeStatus, + StateLabel, + Text, + Tooltip, + theme +} from '../src' +import Swatch from './Swatch' +import GitHubAvatar from './GitHubAvatar' + +const ExampleHeading = props => ( + +) + +const examples = [ + { + name: 'Avatar', + element: ( +
+ + + + + + + + + {' '} + + +
+ ) + }, + { + name: 'Block', + element: ( + + + {[ + // 'black', + 'white', + 'gray-dark', + 'gray', + 'gray-light', + 'blue', + 'blue-light', + 'green', + 'green-light', + 'red', + 'red-light', + 'yellow', + 'yellow-light', + 'purple', + 'purple-light', + // 'shade-gradient' + ].map((bg, i, style) => ( + + + {['white', 'gray', 'black'].map((fg, j) => ( + + ))} + + ))} + +
+ {`bg='${bg}'`} + + + {fg} + +
+ ) + }, + { + name: 'Box', + element: ( +
+ This is a box + This is a box with padding. + This is a box with shadow. + This is a box with a medium shadow. + This is a box with a large shadow. + This is a box with an extra-large shadow. + This is a box with a green border. +
+ ) + }, + { + name: 'BranchName', + element: ( +
+ a_new_feature_branch + + Linked BranchName + a_new_feature_branch + BranchName with Octicon + a_new_feature_branch + +
+ ) + }, + { + name: 'Buttons', + element: ( +
+ ) + }, + { + name: 'Caret', + element: ( + + {Caret.locations.map((loc, i) => ( + + location='{loc}' + + + ))} + + ) + }, + { + name: 'CircleOcticon', + element: ( +
+ +
+ ) + }, + { + name: 'CaretBox', + element: ( + + CaretBox + + CaretBox + + {Caret.locations.map((loc, i) => ( + ))} + + + {Object.keys(theme.colors.border).map(borderColor => ( + + ))} + + + {Object.keys(theme.colors.bg).map(bgColor => ( + + ))} + + + + ) + }, + { + name: 'Colors', + element: ( +
+ {['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map((hue, i) => ( +
+ {theme.colors[hue].map((color, j) => ( + + ))} +
+ ))} +
+ + + + + + + + + + + +
+
+ ) + }, + { + name: 'CounterLabel', + element: ( +
+ + 12 + + + 13 + + + 13 + +
+ ) + }, + { + name: 'Details', + element: ( +
+ + With static children +
+ Click me +

This should show and hide

+
+
+ + With children as a function +
{({open, toggle}) => ( + + {open ? 'Hide' : 'Show'} +

This should show and hide

+
+ )} +
+
+ + With render prop +
'hi'}/> + +
+ ) + }, + { + name: 'Dropdown', + element: ( +
+ + Dropdown Primary + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+ + Dropdown + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+ + Dropdown with title + +
    +
  • Item 1
  • +
  • Item 2
  • +
  • Item 3
  • +
+
+
+
+ ) + }, + { + name: 'DonutChart', + element: ( +
+ + With data prop + + {' '} + + {' '} + + {' '} + + {' '} + + {' '} + + + + With DonutSlice children + + + + + + {' '} + + + + + + {' '} + + + + + {' '} + + + + + {' '} + + + + + {' '} + + + + + + With custom fill colors + + + + + + + + +
+ ) + }, + { + name: 'Flash', + element: ( +
+ + Flash + + + Flash yellow + + + Flash red + + + Flash green + + + Flash full + +
+ ) + }, + { + name: 'Font sizes', + element: ( +
+ {[/* 7, 6, */ 5, 4, 3, 2, 1, 0].map((fontSize, i) => ( + fontSize {fontSize} + ))} +
+ ) + }, + { + name: 'Form elements', + element: ( +
+ Input + + Input Sizes + + + + + + + Block input + +
+ ) + }, + { + name: 'Heading', + element: ( +
+ Default Heading + + {[0, 1, 2, 3, 4, 5, /* 6, 7, */ '00-light', '0-light', '1-light', '2-light', '3-light'].map((fontSize, i) => ( + With fontSize={fontSize} + ))} + +
+ ) + }, + { + name: 'Label', + element: ( +
+ + + + + + + + + + +
+ ) + }, + { + name: 'Link', + element: ( +
+ + Link + + + Link muted + + + Link gray + + + Link graydark + +
+ ) + }, + { + name: 'StateLabel', + element: ( +
+ + Open + + + Closed + + + Merged + + + + By state (Octicons built in) + + Unknown + + + Open + + + Closed + + + Merged + + + Reopened + + + + By color + + Invalid + + + Green + + + Red + + + Purple + + + + Small, by state + + + Unknown + + + Open + + + Closed + + + Merged + + + Reopened + + + + + Small, by color + + + Invalid + + + Green + + + Red + + + Purple + + + }> + Custom Octicon + + + + + +
+ ) + }, + { + name: 'MergeStatus', + element: ( +
+ + + + + + + + + + + + +
+ ) + }, + { + name: 'Text', + element: ( +
+ Text + Text bold + Text green + Text lineHeight 'condensed' + Text fontSize 4 + Text padding 4 +
+ ) + }, + { + name: 'Tooltip', + element: ( +
+ + Text with a tooltip + + + Directions + {Tooltip.directions.map((d, i) => ( + + Tooltip direction={d} + + ))} + Alignment + + Tooltip align left + + Word wrap + + Word wrapping tooltip + + No Delay + + Text with a tooltip + + +
+ ) + } +] + +export default examples From 992058ffdb472546709f293a82e87a339954e390 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 13:03:23 -0700 Subject: [PATCH 11/38] move navigation into it's own component --- examples/Navigation.js | 19 +++++++++++-------- examples/SandboxPage.js | 2 +- examples/docs.js | 14 +++++++------- 3 files changed, 19 insertions(+), 16 deletions(-) diff --git a/examples/Navigation.js b/examples/Navigation.js index f84cb20a6b2..a0f48062951 100644 --- a/examples/Navigation.js +++ b/examples/Navigation.js @@ -1,15 +1,18 @@ import React from 'react' import { NavLink } from 'react-router-dom' +import { Block } from '../src' const Navigation = ({ title, examples }) => ( - + + + ) export default Navigation diff --git a/examples/SandboxPage.js b/examples/SandboxPage.js index 03d840debce..7794dadeb27 100644 --- a/examples/SandboxPage.js +++ b/examples/SandboxPage.js @@ -62,7 +62,7 @@ const scope = { } const code = ` - + Hello World! To get started with the Sandbox, start adding some primer-react components ` diff --git a/examples/docs.js b/examples/docs.js index 10b243a4fdd..ed87956a499 100644 --- a/examples/docs.js +++ b/examples/docs.js @@ -15,13 +15,13 @@ const Index = props => (
-
- -
+ From ec5444a0c6a2a6dd925f4719be3f9b5e4843b739 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 13:41:46 -0700 Subject: [PATCH 12/38] set x0 base path to / --- examples/docs.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/docs.js b/examples/docs.js index ed87956a499..bca667a0e67 100644 --- a/examples/docs.js +++ b/examples/docs.js @@ -5,7 +5,7 @@ import { Route, NavLink } from 'react-router-dom' - +import { Heading } from '../src' import Page from './Page' import DemoPage from './DemoPage' import ComponentPage from './ComponentPage' @@ -22,6 +22,7 @@ const Index = props => ( Sandbox
+ primer-react Documentation diff --git a/package.json b/package.json index 453ef8f462e..48f9adff814 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/docs" + "basename": "/" }, "dependencies": { "@github/octicons-react": "1.2.0-alpha.0a0d8862", From 533f0a2762fa5279af410122e667bfc58100c4e5 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 13:42:58 -0700 Subject: [PATCH 13/38] build docs --- docs/CSS/index.html | 7 +------ docs/ComponentPage/index.html | 1 + docs/DemoPage/index.html | 1 + docs/GitHubAvatar/index.html | 2 +- docs/Meta/index.html | 2 +- docs/Navigation/index.html | 1 + docs/Page/index.html | 7 +------ docs/SandboxPage/index.html | 1 + docs/Swatch/index.html | 2 +- docs/bundle.js | 32 ++++++++++++++++---------------- docs/docs/index.html | 1 + 11 files changed, 26 insertions(+), 31 deletions(-) create mode 100644 docs/ComponentPage/index.html create mode 100644 docs/DemoPage/index.html create mode 100644 docs/Navigation/index.html create mode 100644 docs/SandboxPage/index.html create mode 100644 docs/docs/index.html diff --git a/docs/CSS/index.html b/docs/CSS/index.html index a379776d497..722efadc409 100644 --- a/docs/CSS/index.html +++ b/docs/CSS/index.html @@ -1,6 +1 @@ -primer-react
\ No newline at end of file +primer-react
\ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/ComponentPage/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/DemoPage/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index ad4472948ec..722efadc409 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -1 +1 @@ -primer-react
\ No newline at end of file +primer-react \ No newline at end of file diff --git a/docs/Meta/index.html b/docs/Meta/index.html index eacf1c5330e..722efadc409 100644 --- a/docs/Meta/index.html +++ b/docs/Meta/index.html @@ -1 +1 @@ -primer-react
\ No newline at end of file +primer-react \ No newline at end of file diff --git a/docs/Navigation/index.html b/docs/Navigation/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Navigation/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Page/index.html b/docs/Page/index.html index 6fbb95c7bba..722efadc409 100644 --- a/docs/Page/index.html +++ b/docs/Page/index.html @@ -1,6 +1 @@ -primer-react
\ No newline at end of file +primer-react \ No newline at end of file diff --git a/docs/SandboxPage/index.html b/docs/SandboxPage/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/SandboxPage/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index a1e726fef1b..722efadc409 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -1 +1 @@ -primer-react

.

\ No newline at end of file +primer-react \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 583e814ef69..02e6ae230b8 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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="/primer-react/",n(n.s=681)}([function(e,t,n){"use strict";e.exports=n(633)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r=n(22);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";t.__esModule=!0;t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e};var r=t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};t.stripBasename=function(e,t){return r(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(c,l,f){if("string"!=typeof l){if(s){var h=o(l);h&&h!==s&&u(c,h,f)}var p=r(l);i&&(p=p.concat(i(l)));for(var d=0;d=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){l+=encodeURIComponent(e[a]+e[a+1]),a++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[a]);return l}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r=n(24);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var c=0,l=r.length;l>=0;l--){var f=r[l];"."===f?d(r,l):".."===f?(d(r,l),c++):c&&(d(r,l),c--)}if(!o)for(;c--;c)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,c=e.keyLength,f=void 0===c?6:c,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return l()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){l()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),c=B.slice(0,-1===u?0:u+1);c.push(i.key),B=c,g({action:"PUSH",location:i})}else l()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){l()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else l()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],c=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return l()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=c(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=c(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){l()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+c(s+E(e))},push:function(e,t){l()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=c(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else l()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){l()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=c(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),c=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?c({action:"POP",location:r,index:n}):c()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){l()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){l()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,c({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(9),G=n.n(W),X=n(17),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(117),ce=n.n(ue),le=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);ce()(this.context.router,"You should not use outside a "),ce()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",le({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(70),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,c=r.sensitive,l=void 0!==c&&c;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:l}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,c=(r||u.location).pathname;return _e(c,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,c=a.staticContext,l={match:e,location:this.props.location||u.location,history:s,staticContext:c};return r?e?o.a.createElement(r,l):null:i?e?i(l):null:"function"==typeof n?n(l):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(l?l(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},c,u):c,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,c=a.strict,l=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:c,sensitive:l},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(54),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r=n(35);e.exports=new r({include:[n(152)],implicit:[n(388),n(387)],explicit:[n(386),n(382),n(381),n(380)]})},function(e,t,n){"use strict";function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s(n(0));var r=s(n(3)),i=s(n(94)),a=n(164),o=s(a);function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.classifier)({color:function(e){return"text-"+e},fontSize:(0,a.valueMapper)({0:"6",1:"5",2:"4",3:"3",4:"2",5:"1",6:"0"},function(e){return"f"+e},!0),fontWeight:function(e){return"text-"+e},lineHeight:function(e){return"lh-"+e},mono:"text-mono",nowrap:"no-wrap"}),c=(0,i.default)("span",function(e){return u((0,o.default)(e))},!0);c.propTypes={color:r.default.string,fontSize:r.default.oneOfType([r.default.number,r.default.string]),fontWeight:r.default.oneOf(["normal","bold"]),lineHeight:r.default.oneOf(["normal","condensed","condensed-ultra"]),mono:r.default.bool,tag:r.default.string},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bodytext:"#24292e",black:"#1b1f23",white:"#fff",gray:["#fafbfc","#f6f8fa","#e1e4e8","#d1d5da","#959da5","#6a737d","#586069","#444d56","#2f363d","#24292e"],blue:["#f1f8ff","#dbedff","#c8e1ff","#79b8ff","#2188ff","#0366d6","#005cc5","#044289","#032f62","#05264c"],green:["#f0fff4","#dcffe4","#bef5cb","#85e89d","#34d058","#28a745","#22863a","#176f2c","#165c26","#144620"],yellow:["#fffdef","#fffbdd","#fff5b1","#ffea7f","#ffdf5d","#ffd33d","#f9c513","#dbab09","#b08800","#735c0f"],orange:["#fff8f2","#ffebda","#ffd1ac","#ffab70","#fb8532","#f66a0a","#e36209","#d15704","#c24e00","#a04100"],red:["#ffeef0","#ffdce0","#fdaeb7","#f97583","#ea4a5a","#d73a49","#cb2431","#b31d28","#9e1c23","#86181d"],purple:["#f5f0ff","#e6dcfd","#d1bcf9","#b392f0","#8a63d2","#6f42c1","#5a32a3","#4c2889","#3a1d6e","#29134e"],blackfade15:"rgba(27, 31 ,35, 0.15)",blackfade20:"rgba(27, 31 ,35, 0.20)",whitefade15:"rgba(255, 255 ,255, 0.15)"},i=r.blue,a=r.gray,o=r.green,s=r.orange,u=r.purple,c=r.red,l=r.yellow;r.border={"black-fade":r.blackfade15,blue:i[5],"blue-light":i[2],green:o[4],"green-light":o[3],red:c[5],"red-light":c[3],purple:u[5],yellow:l[3],gray:a[2],"gray-light":a[2],"gray-dark":a[3],"gray-darker":a[7]},r.bg={"blue-light":i[0],blue:i[5],"gray-dark":a[9],"gray-light":a[0],gray:a[1],green:o[5],"green-light":o[1],orange:s[7],purple:u[5],"purple-light":u[0],red:c[5],"red-light":c[1],white:r.white,yellow:l[5],"yellow-light":l[2]};var f={breakpoints:["544px","768px","1012px","1280px"],maxWidths:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},fonts:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],lineHeight:1.5,colors:r,radii:[0,3,6],space:[0,4,8,16,24,32,40,48],fontSizes:[12,14,16,20,24,32,40,48]};t.default=f,t.colors=r},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(c,l,f){if("string"!=typeof l){if(s){var h=o(l);h&&h!==s&&u(c,h,f)}var p=r(l);i&&(p=p.concat(i(l)));for(var d=0;d=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){l+=encodeURIComponent(e[a]+e[a+1]),a++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[a]);return l}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(124),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,c,l){var f;return c=c||(l?0:null),t&&e.type!==t&&!r(t,e,c,l||null)||(f=n(e,c,l||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,c=(s?e.length:-1)+a;for(;c>-1&&c=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(30);e.exports=r.DEFAULT=new r({include:[n(38)],explicit:[n(375),n(374),n(373)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(141),i=n(76);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(7)),i=f(n(0)),a=f(n(2)),o=f(n(80)),s=f(n(25)),u=f(n(82)),c=f(n(40)),l=f(n(33));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){var t=e.primary,n=e.onClick,a=e.numCommits,f=(e.children,{content:"",border:"4px solid",borderRightColor:"transparent",borderLeftColor:"transparent",borderBottomColor:"transparent",width:"0",height:"0"}),h={borderTopLeftRadius:"0",borderBottomLeftRadius:"0"},p={};return t&&(p.scheme="primary"),i.default.createElement("div",{className:"BtnGroup"},i.default.createElement(s.default,(0,r.default)({},p,{grouped:!0,onClick:n,style:{borderRight:0}}),"Merge Pull Request"),i.default.createElement(o.default,{className:"details-reset d-flex float-right"},function(e){e.open;var t=e.toggle;return i.default.createElement(i.default.Fragment,null,i.default.createElement(s.default,(0,r.default)({tag:"summary"},p,{onClick:t,style:h}),i.default.createElement("div",{className:"d-inline-block v-align-middle",style:f})),i.default.createElement(l.default,{position:"absolute",width:300,mt:1,style:{zIndex:99999}},i.default.createElement(u.default,{caret:"top-left"},i.default.createElement("ul",{className:"list-style-none p-0 m-0"},i.default.createElement("li",{className:"border-bottom py-2 pl-4 pr-2"},i.default.createElement(c.default,{tag:"p",m:0,fontSize:1,fontWeight:"bold"},"Create a merge commit"),i.default.createElement(c.default,{tag:"p",m:0,fontSize:0},"All commits from this branch will be added to the base branch via a merge commit.")),i.default.createElement("li",{className:"border-bottom py-2 pl-4 pr-2"},i.default.createElement(c.default,{tag:"p",m:0,fontSize:1,fontWeight:"bold"},"Squash and merge"),i.default.createElement(c.default,{tag:"p",m:0,fontSize:0},"The ",a," from this branch will be combined into one commit in the base branch.")),i.default.createElement("li",{className:"py-2 pl-4 pr-2"},i.default.createElement(c.default,{tag:"p",m:0,fontSize:1,fontWeight:"bold"},"Rebase and merge"),i.default.createElement(c.default,{tag:"p",fontSize:0,m:0},"The ",a," from this branch will be rebased and added to the base branch"))))))}))};h.propTypes={primary:a.default.bool,onClick:a.default.func.isRequired,numCommits:a.default.number.isRequired},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkExternalOcticon=t.LightBulbOcticon=t.PlusSmallOcticon=t.GrabberOcticon=t.KeyOcticon=t.ZapOcticon=t.XOcticon=t.WatchOcticon=t.VersionsOcticon=t.VerifiedOcticon=t.UnverifiedOcticon=t.ScreenNormalOcticon=t.ScreenFullOcticon=t.NoteOcticon=t.ReportOcticon=t.KebabVerticalOcticon=t.KebabHorizontalOcticon=t.ProjectOcticon=t.UnmuteOcticon=t.UnfoldOcticon=t.TriangleUpOcticon=t.TriangleRightOcticon=t.TriangleLeftOcticon=t.TriangleDownOcticon=t.TrashcanOcticon=t.ToolsOcticon=t.ThumbsupOcticon=t.ThumbsdownOcticon=t.ThreeBarsOcticon=t.TextSizeOcticon=t.TerminalOcticon=t.TelescopeOcticon=t.TasklistOcticon=t.TagOcticon=t.SyncOcticon=t.StopOcticon=t.StarOcticon=t.SquirrelOcticon=t.SmileyOcticon=t.SignOutOcticon=t.SignInOcticon=t.ShieldOcticon=t.SettingsOcticon=t.ServerOcticon=t.SearchOcticon=t.RubyOcticon=t.RssOcticon=t.RocketOcticon=t.RepoOcticon=t.RepoPushOcticon=t.RepoPullOcticon=t.RepoForkedOcticon=t.RepoForcePushOcticon=t.RepoCloneOcticon=t.RadioTowerOcticon=t.QuoteOcticon=t.QuestionOcticon=t.PulseOcticon=t.PrimitiveSquareOcticon=t.PrimitiveDotOcticon=t.PlusOcticon=t.PlugOcticon=t.PinOcticon=t.PersonOcticon=t.PencilOcticon=t.PaintcanOcticon=t.PackageOcticon=t.OrganizationOcticon=t.OctofaceOcticon=t.NoNewlineOcticon=t.MuteOcticon=t.MortarBoardOcticon=t.MirrorOcticon=t.MilestoneOcticon=t.MentionOcticon=t.MegaphoneOcticon=void 0,t.MarkdownOcticon=t.MarkGithubOcticon=t.MailOcticon=t.ReplyOcticon=t.MailReadOcticon=t.LogoGithubOcticon=t.LogoGistOcticon=t.LockOcticon=t.LocationOcticon=t.ListUnorderedOcticon=t.ListOrderedOcticon=t.LinkOcticon=t.LawOcticon=t.KeyboardOcticon=t.JerseyOcticon=t.ItalicOcticon=t.IssueReopenedOcticon=t.IssueOpenedOcticon=t.IssueClosedOcticon=t.InfoOcticon=t.InboxOcticon=t.HubotOcticon=t.HorizontalRuleOcticon=t.HomeOcticon=t.HistoryOcticon=t.HeartOcticon=t.GraphOcticon=t.GlobeOcticon=t.GitPullRequestOcticon=t.GitMergeOcticon=t.GitCompareOcticon=t.GitCommitOcticon=t.GitBranchOcticon=t.GistOcticon=t.GistSecretOcticon=t.GiftOcticon=t.GearOcticon=t.FoldOcticon=t.FlameOcticon=t.FileZipOcticon=t.FileOcticon=t.FileSymlinkFileOcticon=t.FileSymlinkDirectoryOcticon=t.FileSubmoduleOcticon=t.FilePdfOcticon=t.FileMediaOcticon=t.FileDirectoryOcticon=t.FileCodeOcticon=t.FileBinaryOcticon=t.EyeOcticon=t.EllipsisOcticon=t.DiffOcticon=t.DiffRenamedOcticon=t.DiffRemovedOcticon=t.DiffModifiedOcticon=t.DiffIgnoredOcticon=t.DiffAddedOcticon=t.DeviceMobileOcticon=t.DeviceDesktopOcticon=t.DeviceCameraOcticon=t.DeviceCameraVideoOcticon=t.DesktopDownloadOcticon=t.DatabaseOcticon=t.DashboardOcticon=t.DashOcticon=t.CreditCardOcticon=t.CommentOcticon=t.CommentDiscussionOcticon=t.CodeOcticon=t.CloudUploadOcticon=t.CloudDownloadOcticon=t.ClockOcticon=t.ClippyOcticon=t.CircuitBoardOcticon=t.CircleSlashOcticon=t.ChevronUpOcticon=t.ChevronRightOcticon=t.ChevronLeftOcticon=t.ChevronDownOcticon=t.ChecklistOcticon=t.CheckOcticon=t.CalendarOcticon=t.BugOcticon=t.BrowserOcticon=t.BroadcastOcticon=t.BriefcaseOcticon=t.BookmarkOcticon=t.BookOcticon=t.BoldOcticon=t.BellOcticon=t.BeakerOcticon=t.ArrowSmallUpOcticon=t.ArrowSmallRightOcticon=t.ArrowSmallLeftOcticon=t.ArrowSmallDownOcticon=t.ArrowUpOcticon=t.ArrowRightOcticon=t.ArrowLeftOcticon=t.ArrowDownOcticon=t.AlertOcticon=void 0;var r,i=function(){function e(e,t){for(var n=0;n=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=l((A-=65536)>>>10|55296),A=56320|1023&A),A=T+l(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var c={}.hasOwnProperty,l=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(71)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(370),i=n(75);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(77).Buffer)},function(e,t,n){"use strict";(function(e){ + */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(136),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,c,l){var f;return c=c||(l?0:null),t&&e.type!==t&&!r(t,e,c,l||null)||(f=n(e,c,l||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,c=(s?e.length:-1)+a;for(;c>-1&&c=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(35);e.exports=r.DEFAULT=new r({include:[n(44)],explicit:[n(379),n(378),n(377)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(153),i=n(85);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(416);Object.defineProperty(t,"Library",{enumerable:!0,get:function(){return r.Library}}),Object.defineProperty(t,"Example",{enumerable:!0,get:function(){return r.Example}}),Object.defineProperty(t,"Detail",{enumerable:!0,get:function(){return r.Detail}});var i=n(406);Object.defineProperty(t,"LiveEditor",{enumerable:!0,get:function(){return w(i).default}});var a=n(139);Object.defineProperty(t,"Frame",{enumerable:!0,get:function(){return w(a).default}});var o=n(140);Object.defineProperty(t,"Catch",{enumerable:!0,get:function(){return w(o).default}});var s=n(336);Object.defineProperty(t,"XRay",{enumerable:!0,get:function(){return w(s).default}});var u=n(334);Object.defineProperty(t,"PropsForm",{enumerable:!0,get:function(){return w(u).default}});var c=n(333);Object.defineProperty(t,"Responsive",{enumerable:!0,get:function(){return w(c).default}});var l=n(332);Object.defineProperty(t,"Cartesian",{enumerable:!0,get:function(){return w(l).default}});var f=n(330);Object.defineProperty(t,"Matrix",{enumerable:!0,get:function(){return w(f).default}});var h=n(329);Object.defineProperty(t,"Markdown",{enumerable:!0,get:function(){return w(h).default}});var p=n(224);Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return w(p).default}});var d=n(223);Object.defineProperty(t,"Debug",{enumerable:!0,get:function(){return d.Debug}}),Object.defineProperty(t,"withDebug",{enumerable:!0,get:function(){return d.withDebug}});var m=n(222);Object.defineProperty(t,"TypeScale",{enumerable:!0,get:function(){return w(m).default}});var v=n(221);Object.defineProperty(t,"Style",{enumerable:!0,get:function(){return w(v).default}});var g=n(220);Object.defineProperty(t,"Font",{enumerable:!0,get:function(){return w(g).default}});var y=n(22);Object.defineProperty(t,"UI",{enumerable:!0,get:function(){return w(y).default}});var b=n(217);Object.defineProperty(t,"State",{enumerable:!0,get:function(){return w(b).default}});var x=n(216);function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Colorable",{enumerable:!0,get:function(){return w(x).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkExternalOcticon=t.LightBulbOcticon=t.PlusSmallOcticon=t.GrabberOcticon=t.KeyOcticon=t.ZapOcticon=t.XOcticon=t.WatchOcticon=t.VersionsOcticon=t.VerifiedOcticon=t.UnverifiedOcticon=t.ScreenNormalOcticon=t.ScreenFullOcticon=t.NoteOcticon=t.ReportOcticon=t.KebabVerticalOcticon=t.KebabHorizontalOcticon=t.ProjectOcticon=t.UnmuteOcticon=t.UnfoldOcticon=t.TriangleUpOcticon=t.TriangleRightOcticon=t.TriangleLeftOcticon=t.TriangleDownOcticon=t.TrashcanOcticon=t.ToolsOcticon=t.ThumbsupOcticon=t.ThumbsdownOcticon=t.ThreeBarsOcticon=t.TextSizeOcticon=t.TerminalOcticon=t.TelescopeOcticon=t.TasklistOcticon=t.TagOcticon=t.SyncOcticon=t.StopOcticon=t.StarOcticon=t.SquirrelOcticon=t.SmileyOcticon=t.SignOutOcticon=t.SignInOcticon=t.ShieldOcticon=t.SettingsOcticon=t.ServerOcticon=t.SearchOcticon=t.RubyOcticon=t.RssOcticon=t.RocketOcticon=t.RepoOcticon=t.RepoPushOcticon=t.RepoPullOcticon=t.RepoForkedOcticon=t.RepoForcePushOcticon=t.RepoCloneOcticon=t.RadioTowerOcticon=t.QuoteOcticon=t.QuestionOcticon=t.PulseOcticon=t.PrimitiveSquareOcticon=t.PrimitiveDotOcticon=t.PlusOcticon=t.PlugOcticon=t.PinOcticon=t.PersonOcticon=t.PencilOcticon=t.PaintcanOcticon=t.PackageOcticon=t.OrganizationOcticon=t.OctofaceOcticon=t.NoNewlineOcticon=t.MuteOcticon=t.MortarBoardOcticon=t.MirrorOcticon=t.MilestoneOcticon=t.MentionOcticon=t.MegaphoneOcticon=void 0,t.MarkdownOcticon=t.MarkGithubOcticon=t.MailOcticon=t.ReplyOcticon=t.MailReadOcticon=t.LogoGithubOcticon=t.LogoGistOcticon=t.LockOcticon=t.LocationOcticon=t.ListUnorderedOcticon=t.ListOrderedOcticon=t.LinkOcticon=t.LawOcticon=t.KeyboardOcticon=t.JerseyOcticon=t.ItalicOcticon=t.IssueReopenedOcticon=t.IssueOpenedOcticon=t.IssueClosedOcticon=t.InfoOcticon=t.InboxOcticon=t.HubotOcticon=t.HorizontalRuleOcticon=t.HomeOcticon=t.HistoryOcticon=t.HeartOcticon=t.GraphOcticon=t.GlobeOcticon=t.GitPullRequestOcticon=t.GitMergeOcticon=t.GitCompareOcticon=t.GitCommitOcticon=t.GitBranchOcticon=t.GistOcticon=t.GistSecretOcticon=t.GiftOcticon=t.GearOcticon=t.FoldOcticon=t.FlameOcticon=t.FileZipOcticon=t.FileOcticon=t.FileSymlinkFileOcticon=t.FileSymlinkDirectoryOcticon=t.FileSubmoduleOcticon=t.FilePdfOcticon=t.FileMediaOcticon=t.FileDirectoryOcticon=t.FileCodeOcticon=t.FileBinaryOcticon=t.EyeOcticon=t.EllipsisOcticon=t.DiffOcticon=t.DiffRenamedOcticon=t.DiffRemovedOcticon=t.DiffModifiedOcticon=t.DiffIgnoredOcticon=t.DiffAddedOcticon=t.DeviceMobileOcticon=t.DeviceDesktopOcticon=t.DeviceCameraOcticon=t.DeviceCameraVideoOcticon=t.DesktopDownloadOcticon=t.DatabaseOcticon=t.DashboardOcticon=t.DashOcticon=t.CreditCardOcticon=t.CommentOcticon=t.CommentDiscussionOcticon=t.CodeOcticon=t.CloudUploadOcticon=t.CloudDownloadOcticon=t.ClockOcticon=t.ClippyOcticon=t.CircuitBoardOcticon=t.CircleSlashOcticon=t.ChevronUpOcticon=t.ChevronRightOcticon=t.ChevronLeftOcticon=t.ChevronDownOcticon=t.ChecklistOcticon=t.CheckOcticon=t.CalendarOcticon=t.BugOcticon=t.BrowserOcticon=t.BroadcastOcticon=t.BriefcaseOcticon=t.BookmarkOcticon=t.BookOcticon=t.BoldOcticon=t.BellOcticon=t.BeakerOcticon=t.ArrowSmallUpOcticon=t.ArrowSmallRightOcticon=t.ArrowSmallLeftOcticon=t.ArrowSmallDownOcticon=t.ArrowUpOcticon=t.ArrowRightOcticon=t.ArrowLeftOcticon=t.ArrowDownOcticon=t.AlertOcticon=void 0;var r,i=function(){function e(e,t){for(var n=0;n=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=l((A-=65536)>>>10|55296),A=56320|1023&A),A=T+l(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var c={}.hasOwnProperty,l=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(80)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(374),i=n(84);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(86).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(381),i=n(380),a=n(379);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(57))},function(e,t,n){"use strict";var r=n(30);e.exports=new r({explicit:[n(391),n(390),n(389)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(61))},function(e,t,n){"use strict";var r=n(35);e.exports=new r({explicit:[n(395),n(394),n(393)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(16),i=n(677),a=n(95),o=n(97)("IE_PROTO"),s=function(){},u=function(){var e,t=n(101)("iframe"),r=a.length;for(t.style.display="none",n(183).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file From f7384b2d4f4ced5db4f71ff34b47c21e1fff0aa6 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 14:03:45 -0700 Subject: [PATCH 14/38] update x0 and kit --- examples/docs.js | 3 +- package-lock.json | 160 ++++++++++++++++++++++++++++++++++++---------- package.json | 6 +- 3 files changed, 132 insertions(+), 37 deletions(-) diff --git a/examples/docs.js b/examples/docs.js index bca667a0e67..ed87956a499 100644 --- a/examples/docs.js +++ b/examples/docs.js @@ -5,7 +5,7 @@ import { Route, NavLink } from 'react-router-dom' -import { Heading } from '../src' + import Page from './Page' import DemoPage from './DemoPage' import ComponentPage from './ComponentPage' @@ -22,7 +22,6 @@ const Index = props => ( Sandbox
- primer-react Documentation diff --git a/package-lock.json b/package-lock.json index baebac99192..91d57fd1f5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,33 +66,35 @@ } }, "@compositor/kit": { - "version": "1.0.26", - "resolved": "https://registry.npmjs.org/@compositor/kit/-/kit-1.0.26.tgz", - "integrity": "sha512-M9fT5FaMacv73ivxrMyNhOWDpLm6ciI+2BlwDPlm46qop+ViapBGpI/mqPPLiBlQOBlFoRtrJtOP5p0wfpkKJA==", + "version": "1.0.43", + "resolved": "https://registry.npmjs.org/@compositor/kit/-/kit-1.0.43.tgz", + "integrity": "sha512-ppKlaa+sI0Kz9wUy9fSER2XZWutqtdFVA7+PTQu0aAuKu49PaIzZFLzRj4Kvq8NMKmYlqz5nuuaFpNkQ0LYXoQ==", "dev": true, "requires": { - "@compositor/webfont": "1.0.11", + "@compositor/webfont": "1.0.37", "@mdx-js/mdx": "0.9.0", "@mdx-js/tag": "0.7.2", "buble": "0.19.3", "chroma-js": "1.3.7", "colorable": "1.0.5", + "get-contrast": "2.0.0", "gray-matter": "4.0.1", + "isomorphic-fetch": "2.2.1", "nano-style": "1.0.0", - "prop-types": "15.6.1", + "prop-types": "15.6.2", "ramda": "0.25.0", + "react-dom": "16.4.1", "react-live": "1.10.1", "react-router-dom": "4.3.1", "styled-system": "2.2.5" }, "dependencies": { "prop-types": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", - "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "dev": true, "requires": { - "fbjs": "0.8.16", "loose-envify": "1.3.1", "object-assign": "4.1.1" } @@ -142,9 +144,9 @@ } }, "@compositor/webfont": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@compositor/webfont/-/webfont-1.0.11.tgz", - "integrity": "sha512-I1K8wfTYGef1yk4MAEYH2aoZH0UhvbWM37Q+yNnIq6KGbtD21IbUmQsJuRN7MOPKyCKos0riPQAREzz5N3iQrw==", + "version": "1.0.37", + "resolved": "https://registry.npmjs.org/@compositor/webfont/-/webfont-1.0.37.tgz", + "integrity": "sha512-0M4NYD0CGoRcLkGQT6sAkxY6R5pekBY4UR8HsPWKmL8myL7bsvGaTubnVl0Lp7+2ibDwv6dI9RNocrRWPiNZAQ==", "dev": true, "requires": { "dotenv": "5.0.1", @@ -152,9 +154,9 @@ } }, "@compositor/x0": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@compositor/x0/-/x0-5.0.0.tgz", - "integrity": "sha512-Dg1pRdl7laBuzRaFYaOH76n0hmw1MW0Y8IjYQu79wricA14Ii+kcoLtDtOVIbULBzQC9uMpUcsGv6GL3OAyCeA==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/@compositor/x0/-/x0-5.0.8.tgz", + "integrity": "sha512-E6YFlZ66aad8NX8Kr2HPTBTDvXdYdc13Drwhdk6kFqcklN/o09guzcfx1KwKwCTRAYdYDyaX+2MpX6aix9k1gw==", "dev": true, "requires": { "@compositor/jsx-loader": "1.0.0-4", @@ -304,7 +306,7 @@ "dev": true, "requires": { "@mdx-js/mdxast": "0.7.2", - "mdast-util-to-hast": "3.0.0", + "mdast-util-to-hast": "3.0.1", "remark-parse": "5.0.0", "remark-squeeze-paragraphs": "3.0.1", "unified": "6.2.0", @@ -326,16 +328,15 @@ "integrity": "sha512-DNGtzX/YdOT8OSxSdEwvgQYrQrTDmd3BErOG+dQ0m/x/Mq7zIUcWMzGnWK6erW26FGZqvu8uVBcrnd5AMFXyrQ==", "dev": true, "requires": { - "prop-types": "15.6.1" + "prop-types": "15.6.2" }, "dependencies": { "prop-types": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.1.tgz", - "integrity": "sha512-4ec7bY1Y66LymSUOH/zARVYObB23AT2h8cf6e/O6ZALB/N0sqZFEx7rq6EYPX2MkOdKORuooI/H5k9TlR4q7kQ==", + "version": "15.6.2", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", + "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", "dev": true, "requires": { - "fbjs": "0.8.16", "loose-envify": "1.3.1", "object-assign": "4.1.1" } @@ -3617,7 +3618,7 @@ "@emotion/memoize": "0.6.2", "@emotion/stylis": "0.6.9", "@emotion/unitless": "0.6.3", - "csstype": "2.5.3", + "csstype": "2.5.5", "stylis": "3.5.0", "stylis-rule-sheet": "0.0.10" } @@ -3711,6 +3712,29 @@ "integrity": "sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU=", "dev": true }, + "css-color-list": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/css-color-list/-/css-color-list-0.0.1.tgz", + "integrity": "sha1-hxjoaVrnosyHh76HFfHACKfyixU=", + "dev": true, + "requires": { + "css-color-names": "0.0.1" + }, + "dependencies": { + "css-color-names": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.1.tgz", + "integrity": "sha1-XQVI+iVkVu3kqaDCrHqxnT6xrYE=", + "dev": true + } + } + }, + "css-color-names": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.3.tgz", + "integrity": "sha1-3gzvFvTYqoIioyDVttfpu62nufY=", + "dev": true + }, "css-in-js-utils": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/css-in-js-utils/-/css-in-js-utils-2.0.1.tgz", @@ -3789,9 +3813,9 @@ } }, "csstype": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.5.3.tgz", - "integrity": "sha512-G5HnoK8nOiAq3DXIEoY2n/8Vb7Lgrms+jGJl8E4EJpQEeVONEnPFJSl8IK505wPBoxxtrtHhrRm4WX2GgdqarA==", + "version": "2.5.5", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.5.5.tgz", + "integrity": "sha512-EGMjeoiN3aqEX5u/cyH5mSdGBDGdLcCQvcEcBWNGFSPXKd9uOTIeVG91YQ22OxI44DKpvI+4C7VUSmEpsHWJaA==", "dev": true }, "currently-unhandled": { @@ -5346,6 +5370,19 @@ "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", "dev": true }, + "get-contrast": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-contrast/-/get-contrast-2.0.0.tgz", + "integrity": "sha1-yWVJfSWNTCPQOgZZVIWsw9Ue1vs=", + "dev": true, + "requires": { + "css-color-names": "0.0.3", + "is-blank": "1.1.0", + "is-named-css-color": "1.0.0", + "rgb": "0.1.0", + "wcag-contrast": "0.1.0" + } + }, "get-css": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/get-css/-/get-css-0.2.0.tgz", @@ -5776,6 +5813,12 @@ "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", "dev": true }, + "hex-rgb": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/hex-rgb/-/hex-rgb-1.0.0.tgz", + "integrity": "sha1-UyJ1aXy5gj4FJCmxhMZ4HUbP30k=", + "dev": true + }, "history": { "version": "4.7.2", "resolved": "https://registry.npmjs.org/history/-/history-4.7.2.tgz", @@ -6249,6 +6292,16 @@ "binary-extensions": "1.11.0" } }, + "is-blank": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-blank/-/is-blank-1.1.0.tgz", + "integrity": "sha1-knTdvUY2PLdnB1w4XUq4jGpk3Bc=", + "dev": true, + "requires": { + "is-empty": "0.0.1", + "is-whitespace": "0.3.0" + } + }, "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", @@ -6339,6 +6392,12 @@ "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", "dev": true }, + "is-empty": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/is-empty/-/is-empty-0.0.1.tgz", + "integrity": "sha1-Cf3D1kndpZaRVsCFOpt2vXgcWjM=", + "dev": true + }, "is-equal-shallow": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", @@ -6412,6 +6471,15 @@ "is-path-inside": "1.0.1" } }, + "is-named-css-color": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-named-css-color/-/is-named-css-color-1.0.0.tgz", + "integrity": "sha1-O1+JvcSlFf9O0lcU/8ZBKaJVmbc=", + "dev": true, + "requires": { + "css-color-list": "0.0.1" + } + }, "is-npm": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", @@ -6569,6 +6637,12 @@ "vendor-prefixes": "0.0.1" } }, + "is-whitespace": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-whitespace/-/is-whitespace-0.3.0.tgz", + "integrity": "sha1-Fjnssb4DauxppUy7QBz77XEUq38=", + "dev": true + }, "is-whitespace-character": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz", @@ -7955,7 +8029,7 @@ "integrity": "sha512-1oThnRGjImr9lmxofQLgpf9kxJ1lgJITy7WVU3wqNddhrvJOz4vo34hCmozy6wMaI3jbOTlkvJVpjJxE+EfQMg==", "dev": true, "requires": { - "unist-util-remove": "1.0.0" + "unist-util-remove": "1.0.1" } }, "mdast-util-definitions": { @@ -7968,9 +8042,9 @@ } }, "mdast-util-to-hast": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-3.0.0.tgz", - "integrity": "sha512-zvEXH2AUevWfKuBqtEPNcDUPI8UC6yIVvgEgNi1v1dLnzb5Pfm+PZjnZn0FhW1WmHcrGMX059MAoqicEauzjcw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-3.0.1.tgz", + "integrity": "sha512-+eimV/12kdg0/T0EEfcK7IsDbSu2auVm92z5jdSEQ3DHF2HiU4OHmX9ir5wpQajr73nwabdxrUoxREvW2zVFFw==", "dev": true, "requires": { "collapse-white-space": "1.0.4", @@ -10098,6 +10172,12 @@ "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", "dev": true }, + "relative-luminance": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/relative-luminance/-/relative-luminance-0.0.0.tgz", + "integrity": "sha1-XFb3VofqciAj/k2W6kRoPM3x+/4=", + "dev": true + }, "remark-parse": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-5.0.0.tgz", @@ -10329,6 +10409,12 @@ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", "dev": true }, + "rgb": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/rgb/-/rgb-0.1.0.tgz", + "integrity": "sha1-vieykej+/+rBvZlylyG/pA/AN7U=", + "dev": true + }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", @@ -13135,9 +13221,9 @@ "dev": true }, "unist-util-remove": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-1.0.0.tgz", - "integrity": "sha1-1gCwmE6JqwaeSbIgPdmCFoGVjJ0=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-1.0.1.tgz", + "integrity": "sha512-nL+3O0nBB2Oi8ixVzIfJQLtNOMPIFzwoAIKvhDzEL8B15Nq7EY0KBQPYULjNrEmrwYMCkWp5XGTQiAlYZAL/rw==", "dev": true, "requires": { "unist-util-is": "2.1.2" @@ -13581,6 +13667,16 @@ "neo-async": "2.5.1" } }, + "wcag-contrast": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/wcag-contrast/-/wcag-contrast-0.1.0.tgz", + "integrity": "sha1-auN5VOQElBcY7aGh2OJw2bVnGTQ=", + "dev": true, + "requires": { + "hex-rgb": "1.0.0", + "relative-luminance": "0.0.0" + } + }, "webidl-conversions": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", diff --git a/package.json b/package.json index 48f9adff814..d8403ac33ba 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/" + "basename": "/docs" }, "dependencies": { "@github/octicons-react": "1.2.0-alpha.0a0d8862", @@ -34,8 +34,8 @@ "system-classnames": "^1.0.0-3" }, "devDependencies": { - "@compositor/kit": "^1.0.26", - "@compositor/x0": "5.0.0", + "@compositor/kit": "1.0.43", + "@compositor/x0": "5.0.8", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "jest": "^22.4.3", From f86e0c28167f3f5acd710b4105a76cb3e8c35e1f Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 14:20:58 -0700 Subject: [PATCH 15/38] change path --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d8403ac33ba..37586ddc7dd 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/docs" + "basename": "/" }, "dependencies": { "@github/octicons-react": "1.2.0-alpha.0a0d8862", From 083a7786153bdd06cae823198643755a023d1dde Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 19 Jun 2018 14:43:39 -0700 Subject: [PATCH 16/38] change path back --- docs/bundle.js | 58 +++++++++++++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/docs/bundle.js b/docs/bundle.js index 02e6ae230b8..fdf6a884ac7 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=687)}([function(e,t,n){"use strict";e.exports=n(639)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r=n(24);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var c=0,l=r.length;l>=0;l--){var f=r[l];"."===f?d(r,l):".."===f?(d(r,l),c++):c&&(d(r,l),c--)}if(!o)for(;c--;c)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,c=e.keyLength,f=void 0===c?6:c,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return l()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){l()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),c=B.slice(0,-1===u?0:u+1);c.push(i.key),B=c,g({action:"PUSH",location:i})}else l()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){l()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else l()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],c=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return l()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=c(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=c(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){l()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+c(s+E(e))},push:function(e,t){l()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=c(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else l()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){l()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=c(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),c=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?c({action:"POP",location:r,index:n}):c()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){l()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){l()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,c({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(9),G=n.n(W),X=n(17),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(117),ce=n.n(ue),le=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);ce()(this.context.router,"You should not use outside a "),ce()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",le({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(70),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,c=r.sensitive,l=void 0!==c&&c;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:l}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,c=(r||u.location).pathname;return _e(c,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,c=a.staticContext,l={match:e,location:this.props.location||u.location,history:s,staticContext:c};return r?e?o.a.createElement(r,l):null:i?e?i(l):null:"function"==typeof n?n(l):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(l?l(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},c,u):c,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,c=a.strict,l=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:c,sensitive:l},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(54),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r=n(35);e.exports=new r({include:[n(152)],implicit:[n(388),n(387)],explicit:[n(386),n(382),n(381),n(380)]})},function(e,t,n){"use strict";function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s(n(0));var r=s(n(3)),i=s(n(94)),a=n(164),o=s(a);function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.classifier)({color:function(e){return"text-"+e},fontSize:(0,a.valueMapper)({0:"6",1:"5",2:"4",3:"3",4:"2",5:"1",6:"0"},function(e){return"f"+e},!0),fontWeight:function(e){return"text-"+e},lineHeight:function(e){return"lh-"+e},mono:"text-mono",nowrap:"no-wrap"}),c=(0,i.default)("span",function(e){return u((0,o.default)(e))},!0);c.propTypes={color:r.default.string,fontSize:r.default.oneOfType([r.default.number,r.default.string]),fontWeight:r.default.oneOf(["normal","bold"]),lineHeight:r.default.oneOf(["normal","condensed","condensed-ultra"]),mono:r.default.bool,tag:r.default.string},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bodytext:"#24292e",black:"#1b1f23",white:"#fff",gray:["#fafbfc","#f6f8fa","#e1e4e8","#d1d5da","#959da5","#6a737d","#586069","#444d56","#2f363d","#24292e"],blue:["#f1f8ff","#dbedff","#c8e1ff","#79b8ff","#2188ff","#0366d6","#005cc5","#044289","#032f62","#05264c"],green:["#f0fff4","#dcffe4","#bef5cb","#85e89d","#34d058","#28a745","#22863a","#176f2c","#165c26","#144620"],yellow:["#fffdef","#fffbdd","#fff5b1","#ffea7f","#ffdf5d","#ffd33d","#f9c513","#dbab09","#b08800","#735c0f"],orange:["#fff8f2","#ffebda","#ffd1ac","#ffab70","#fb8532","#f66a0a","#e36209","#d15704","#c24e00","#a04100"],red:["#ffeef0","#ffdce0","#fdaeb7","#f97583","#ea4a5a","#d73a49","#cb2431","#b31d28","#9e1c23","#86181d"],purple:["#f5f0ff","#e6dcfd","#d1bcf9","#b392f0","#8a63d2","#6f42c1","#5a32a3","#4c2889","#3a1d6e","#29134e"],blackfade15:"rgba(27, 31 ,35, 0.15)",blackfade20:"rgba(27, 31 ,35, 0.20)",whitefade15:"rgba(255, 255 ,255, 0.15)"},i=r.blue,a=r.gray,o=r.green,s=r.orange,u=r.purple,c=r.red,l=r.yellow;r.border={"black-fade":r.blackfade15,blue:i[5],"blue-light":i[2],green:o[4],"green-light":o[3],red:c[5],"red-light":c[3],purple:u[5],yellow:l[3],gray:a[2],"gray-light":a[2],"gray-dark":a[3],"gray-darker":a[7]},r.bg={"blue-light":i[0],blue:i[5],"gray-dark":a[9],"gray-light":a[0],gray:a[1],green:o[5],"green-light":o[1],orange:s[7],purple:u[5],"purple-light":u[0],red:c[5],"red-light":c[1],white:r.white,yellow:l[5],"yellow-light":l[2]};var f={breakpoints:["544px","768px","1012px","1280px"],maxWidths:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},fonts:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],lineHeight:1.5,colors:r,radii:[0,3,6],space:[0,4,8,16,24,32,40,48],fontSizes:[12,14,16,20,24,32,40,48]};t.default=f,t.colors=r},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,c=[],l=!1,f=-1;function h(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=s(h);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(c,l,f){if("string"!=typeof l){if(s){var h=o(l);h&&h!==s&&u(c,h,f)}var p=r(l);i&&(p=p.concat(i(l)));for(var d=0;d=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){l+=encodeURIComponent(e[a]+e[a+1]),a++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[a]);return l}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){N(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(d(e.state))},k=function(){j(d(F()))},C=!1,j=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(F()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},N=B(),F=l(N);N!==F&&I(F);var j=p(),z=[E(j)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:j,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(10),G=n.n(W),X=n(18),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(131),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(79),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var Ne=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);Ne.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},Ne.defaultProps={when:!0},Ne.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Fe=Ne,je={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=je[t]||(je[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(61),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Fe}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r=n(38);e.exports=new r({include:[n(166)],implicit:[n(410),n(409)],explicit:[n(408),n(404),n(403),n(402)]})},function(e,t,n){"use strict";function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(443);Object.defineProperty(t,"Library",{enumerable:!0,get:function(){return r.Library}}),Object.defineProperty(t,"Example",{enumerable:!0,get:function(){return r.Example}}),Object.defineProperty(t,"Detail",{enumerable:!0,get:function(){return r.Detail}}),Object.defineProperty(t,"Head",{enumerable:!0,get:function(){return r.Head}});var i=n(428);Object.defineProperty(t,"LiveEditor",{enumerable:!0,get:function(){return E(i).default}});var a=n(99);Object.defineProperty(t,"Frame",{enumerable:!0,get:function(){return E(a).default}});var o=n(98);Object.defineProperty(t,"Catch",{enumerable:!0,get:function(){return E(o).default}});var s=n(359);Object.defineProperty(t,"XRay",{enumerable:!0,get:function(){return E(s).default}});var u=n(357);Object.defineProperty(t,"PropsForm",{enumerable:!0,get:function(){return E(u).default}});var l=n(356);Object.defineProperty(t,"Responsive",{enumerable:!0,get:function(){return E(l).default}});var c=n(355);Object.defineProperty(t,"Cartesian",{enumerable:!0,get:function(){return E(c).default}});var f=n(354);Object.defineProperty(t,"Matrix",{enumerable:!0,get:function(){return E(f).default}});var h=n(353);Object.defineProperty(t,"Markdown",{enumerable:!0,get:function(){return E(h).default}});var p=n(248);Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return E(p).default}});var d=n(247);Object.defineProperty(t,"Debug",{enumerable:!0,get:function(){return d.Debug}}),Object.defineProperty(t,"withDebug",{enumerable:!0,get:function(){return d.withDebug}});var m=n(245);Object.defineProperty(t,"TypeScale",{enumerable:!0,get:function(){return E(m).default}});var v=n(244);Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return E(v).default}});var g=n(231);Object.defineProperty(t,"Style",{enumerable:!0,get:function(){return E(g).default}});var y=n(230);Object.defineProperty(t,"Font",{enumerable:!0,get:function(){return E(y).default}});var b=n(24);Object.defineProperty(t,"UI",{enumerable:!0,get:function(){return E(b).default}});var x=n(227);Object.defineProperty(t,"State",{enumerable:!0,get:function(){return E(x).default}});var w=n(226);Object.defineProperty(t,"Colorable",{enumerable:!0,get:function(){return E(w).default}});var _=n(218);function E(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Fetch",{enumerable:!0,get:function(){return E(_).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s(n(0));var r=s(n(3)),i=s(n(107)),a=n(177),o=s(a);function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.classifier)({color:function(e){return"text-"+e},fontSize:(0,a.valueMapper)({0:"6",1:"5",2:"4",3:"3",4:"2",5:"1",6:"0"},function(e){return"f"+e},!0),fontWeight:function(e){return"text-"+e},lineHeight:function(e){return"lh-"+e},mono:"text-mono",nowrap:"no-wrap"}),l=(0,i.default)("span",function(e){return u((0,o.default)(e))},!0);l.propTypes={color:r.default.string,fontSize:r.default.oneOfType([r.default.number,r.default.string]),fontWeight:r.default.oneOf(["normal","bold"]),lineHeight:r.default.oneOf(["normal","condensed","condensed-ultra"]),mono:r.default.bool,tag:r.default.string},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bodytext:"#24292e",black:"#1b1f23",white:"#fff",gray:["#fafbfc","#f6f8fa","#e1e4e8","#d1d5da","#959da5","#6a737d","#586069","#444d56","#2f363d","#24292e"],blue:["#f1f8ff","#dbedff","#c8e1ff","#79b8ff","#2188ff","#0366d6","#005cc5","#044289","#032f62","#05264c"],green:["#f0fff4","#dcffe4","#bef5cb","#85e89d","#34d058","#28a745","#22863a","#176f2c","#165c26","#144620"],yellow:["#fffdef","#fffbdd","#fff5b1","#ffea7f","#ffdf5d","#ffd33d","#f9c513","#dbab09","#b08800","#735c0f"],orange:["#fff8f2","#ffebda","#ffd1ac","#ffab70","#fb8532","#f66a0a","#e36209","#d15704","#c24e00","#a04100"],red:["#ffeef0","#ffdce0","#fdaeb7","#f97583","#ea4a5a","#d73a49","#cb2431","#b31d28","#9e1c23","#86181d"],purple:["#f5f0ff","#e6dcfd","#d1bcf9","#b392f0","#8a63d2","#6f42c1","#5a32a3","#4c2889","#3a1d6e","#29134e"],blackfade15:"rgba(27, 31 ,35, 0.15)",blackfade20:"rgba(27, 31 ,35, 0.20)",whitefade15:"rgba(255, 255 ,255, 0.15)"},i=r.blue,a=r.gray,o=r.green,s=r.orange,u=r.purple,l=r.red,c=r.yellow;r.border={"black-fade":r.blackfade15,blue:i[5],"blue-light":i[2],green:o[4],"green-light":o[3],red:l[5],"red-light":l[3],purple:u[5],yellow:c[3],gray:a[2],"gray-light":a[2],"gray-dark":a[3],"gray-darker":a[7]},r.bg={"blue-light":i[0],blue:i[5],"gray-dark":a[9],"gray-light":a[0],gray:a[1],green:o[5],"green-light":o[1],orange:s[7],purple:u[5],"purple-light":u[0],red:l[5],"red-light":l[1],white:r.white,yellow:c[5],"yellow-light":c[2]};var f={breakpoints:["544px","768px","1012px","1280px"],maxWidths:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},fonts:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],lineHeight:1.5,colors:r,radii:[0,3,6],space:[0,4,8,16,24,32,40,48],fontSizes:[12,14,16,20,24,32,40,48]};t.default=f,t.colors=r},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!c){var e=s(h);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(136),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,c,l){var f;return c=c||(l?0:null),t&&e.type!==t&&!r(t,e,c,l||null)||(f=n(e,c,l||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,c=(s?e.length:-1)+a;for(;c>-1&&c=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(35);e.exports=r.DEFAULT=new r({include:[n(44)],explicit:[n(379),n(378),n(377)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(153),i=n(85);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(416);Object.defineProperty(t,"Library",{enumerable:!0,get:function(){return r.Library}}),Object.defineProperty(t,"Example",{enumerable:!0,get:function(){return r.Example}}),Object.defineProperty(t,"Detail",{enumerable:!0,get:function(){return r.Detail}});var i=n(406);Object.defineProperty(t,"LiveEditor",{enumerable:!0,get:function(){return w(i).default}});var a=n(139);Object.defineProperty(t,"Frame",{enumerable:!0,get:function(){return w(a).default}});var o=n(140);Object.defineProperty(t,"Catch",{enumerable:!0,get:function(){return w(o).default}});var s=n(336);Object.defineProperty(t,"XRay",{enumerable:!0,get:function(){return w(s).default}});var u=n(334);Object.defineProperty(t,"PropsForm",{enumerable:!0,get:function(){return w(u).default}});var c=n(333);Object.defineProperty(t,"Responsive",{enumerable:!0,get:function(){return w(c).default}});var l=n(332);Object.defineProperty(t,"Cartesian",{enumerable:!0,get:function(){return w(l).default}});var f=n(330);Object.defineProperty(t,"Matrix",{enumerable:!0,get:function(){return w(f).default}});var h=n(329);Object.defineProperty(t,"Markdown",{enumerable:!0,get:function(){return w(h).default}});var p=n(224);Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return w(p).default}});var d=n(223);Object.defineProperty(t,"Debug",{enumerable:!0,get:function(){return d.Debug}}),Object.defineProperty(t,"withDebug",{enumerable:!0,get:function(){return d.withDebug}});var m=n(222);Object.defineProperty(t,"TypeScale",{enumerable:!0,get:function(){return w(m).default}});var v=n(221);Object.defineProperty(t,"Style",{enumerable:!0,get:function(){return w(v).default}});var g=n(220);Object.defineProperty(t,"Font",{enumerable:!0,get:function(){return w(g).default}});var y=n(22);Object.defineProperty(t,"UI",{enumerable:!0,get:function(){return w(y).default}});var b=n(217);Object.defineProperty(t,"State",{enumerable:!0,get:function(){return w(b).default}});var x=n(216);function w(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Colorable",{enumerable:!0,get:function(){return w(x).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkExternalOcticon=t.LightBulbOcticon=t.PlusSmallOcticon=t.GrabberOcticon=t.KeyOcticon=t.ZapOcticon=t.XOcticon=t.WatchOcticon=t.VersionsOcticon=t.VerifiedOcticon=t.UnverifiedOcticon=t.ScreenNormalOcticon=t.ScreenFullOcticon=t.NoteOcticon=t.ReportOcticon=t.KebabVerticalOcticon=t.KebabHorizontalOcticon=t.ProjectOcticon=t.UnmuteOcticon=t.UnfoldOcticon=t.TriangleUpOcticon=t.TriangleRightOcticon=t.TriangleLeftOcticon=t.TriangleDownOcticon=t.TrashcanOcticon=t.ToolsOcticon=t.ThumbsupOcticon=t.ThumbsdownOcticon=t.ThreeBarsOcticon=t.TextSizeOcticon=t.TerminalOcticon=t.TelescopeOcticon=t.TasklistOcticon=t.TagOcticon=t.SyncOcticon=t.StopOcticon=t.StarOcticon=t.SquirrelOcticon=t.SmileyOcticon=t.SignOutOcticon=t.SignInOcticon=t.ShieldOcticon=t.SettingsOcticon=t.ServerOcticon=t.SearchOcticon=t.RubyOcticon=t.RssOcticon=t.RocketOcticon=t.RepoOcticon=t.RepoPushOcticon=t.RepoPullOcticon=t.RepoForkedOcticon=t.RepoForcePushOcticon=t.RepoCloneOcticon=t.RadioTowerOcticon=t.QuoteOcticon=t.QuestionOcticon=t.PulseOcticon=t.PrimitiveSquareOcticon=t.PrimitiveDotOcticon=t.PlusOcticon=t.PlugOcticon=t.PinOcticon=t.PersonOcticon=t.PencilOcticon=t.PaintcanOcticon=t.PackageOcticon=t.OrganizationOcticon=t.OctofaceOcticon=t.NoNewlineOcticon=t.MuteOcticon=t.MortarBoardOcticon=t.MirrorOcticon=t.MilestoneOcticon=t.MentionOcticon=t.MegaphoneOcticon=void 0,t.MarkdownOcticon=t.MarkGithubOcticon=t.MailOcticon=t.ReplyOcticon=t.MailReadOcticon=t.LogoGithubOcticon=t.LogoGistOcticon=t.LockOcticon=t.LocationOcticon=t.ListUnorderedOcticon=t.ListOrderedOcticon=t.LinkOcticon=t.LawOcticon=t.KeyboardOcticon=t.JerseyOcticon=t.ItalicOcticon=t.IssueReopenedOcticon=t.IssueOpenedOcticon=t.IssueClosedOcticon=t.InfoOcticon=t.InboxOcticon=t.HubotOcticon=t.HorizontalRuleOcticon=t.HomeOcticon=t.HistoryOcticon=t.HeartOcticon=t.GraphOcticon=t.GlobeOcticon=t.GitPullRequestOcticon=t.GitMergeOcticon=t.GitCompareOcticon=t.GitCommitOcticon=t.GitBranchOcticon=t.GistOcticon=t.GistSecretOcticon=t.GiftOcticon=t.GearOcticon=t.FoldOcticon=t.FlameOcticon=t.FileZipOcticon=t.FileOcticon=t.FileSymlinkFileOcticon=t.FileSymlinkDirectoryOcticon=t.FileSubmoduleOcticon=t.FilePdfOcticon=t.FileMediaOcticon=t.FileDirectoryOcticon=t.FileCodeOcticon=t.FileBinaryOcticon=t.EyeOcticon=t.EllipsisOcticon=t.DiffOcticon=t.DiffRenamedOcticon=t.DiffRemovedOcticon=t.DiffModifiedOcticon=t.DiffIgnoredOcticon=t.DiffAddedOcticon=t.DeviceMobileOcticon=t.DeviceDesktopOcticon=t.DeviceCameraOcticon=t.DeviceCameraVideoOcticon=t.DesktopDownloadOcticon=t.DatabaseOcticon=t.DashboardOcticon=t.DashOcticon=t.CreditCardOcticon=t.CommentOcticon=t.CommentDiscussionOcticon=t.CodeOcticon=t.CloudUploadOcticon=t.CloudDownloadOcticon=t.ClockOcticon=t.ClippyOcticon=t.CircuitBoardOcticon=t.CircleSlashOcticon=t.ChevronUpOcticon=t.ChevronRightOcticon=t.ChevronLeftOcticon=t.ChevronDownOcticon=t.ChecklistOcticon=t.CheckOcticon=t.CalendarOcticon=t.BugOcticon=t.BrowserOcticon=t.BroadcastOcticon=t.BriefcaseOcticon=t.BookmarkOcticon=t.BookOcticon=t.BoldOcticon=t.BellOcticon=t.BeakerOcticon=t.ArrowSmallUpOcticon=t.ArrowSmallRightOcticon=t.ArrowSmallLeftOcticon=t.ArrowSmallDownOcticon=t.ArrowUpOcticon=t.ArrowRightOcticon=t.ArrowLeftOcticon=t.ArrowDownOcticon=t.AlertOcticon=void 0;var r,i=function(){function e(e,t){for(var n=0;n=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=l((A-=65536)>>>10|55296),A=56320|1023&A),A=T+l(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var c={}.hasOwnProperty,l=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(80)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(374),i=n(84);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(86).Buffer)},function(e,t,n){"use strict";(function(e){ + */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(151),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(38);e.exports=r.DEFAULT=new r({include:[n(50)],explicit:[n(401),n(400),n(399)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(167),i=n(95);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkExternalOcticon=t.LightBulbOcticon=t.PlusSmallOcticon=t.GrabberOcticon=t.KeyOcticon=t.ZapOcticon=t.XOcticon=t.WatchOcticon=t.VersionsOcticon=t.VerifiedOcticon=t.UnverifiedOcticon=t.ScreenNormalOcticon=t.ScreenFullOcticon=t.NoteOcticon=t.ReportOcticon=t.KebabVerticalOcticon=t.KebabHorizontalOcticon=t.ProjectOcticon=t.UnmuteOcticon=t.UnfoldOcticon=t.TriangleUpOcticon=t.TriangleRightOcticon=t.TriangleLeftOcticon=t.TriangleDownOcticon=t.TrashcanOcticon=t.ToolsOcticon=t.ThumbsupOcticon=t.ThumbsdownOcticon=t.ThreeBarsOcticon=t.TextSizeOcticon=t.TerminalOcticon=t.TelescopeOcticon=t.TasklistOcticon=t.TagOcticon=t.SyncOcticon=t.StopOcticon=t.StarOcticon=t.SquirrelOcticon=t.SmileyOcticon=t.SignOutOcticon=t.SignInOcticon=t.ShieldOcticon=t.SettingsOcticon=t.ServerOcticon=t.SearchOcticon=t.RubyOcticon=t.RssOcticon=t.RocketOcticon=t.RepoOcticon=t.RepoPushOcticon=t.RepoPullOcticon=t.RepoForkedOcticon=t.RepoForcePushOcticon=t.RepoCloneOcticon=t.RadioTowerOcticon=t.QuoteOcticon=t.QuestionOcticon=t.PulseOcticon=t.PrimitiveSquareOcticon=t.PrimitiveDotOcticon=t.PlusOcticon=t.PlugOcticon=t.PinOcticon=t.PersonOcticon=t.PencilOcticon=t.PaintcanOcticon=t.PackageOcticon=t.OrganizationOcticon=t.OctofaceOcticon=t.NoNewlineOcticon=t.MuteOcticon=t.MortarBoardOcticon=t.MirrorOcticon=t.MilestoneOcticon=t.MentionOcticon=t.MegaphoneOcticon=void 0,t.MarkdownOcticon=t.MarkGithubOcticon=t.MailOcticon=t.ReplyOcticon=t.MailReadOcticon=t.LogoGithubOcticon=t.LogoGistOcticon=t.LockOcticon=t.LocationOcticon=t.ListUnorderedOcticon=t.ListOrderedOcticon=t.LinkOcticon=t.LawOcticon=t.KeyboardOcticon=t.JerseyOcticon=t.ItalicOcticon=t.IssueReopenedOcticon=t.IssueOpenedOcticon=t.IssueClosedOcticon=t.InfoOcticon=t.InboxOcticon=t.HubotOcticon=t.HorizontalRuleOcticon=t.HomeOcticon=t.HistoryOcticon=t.HeartOcticon=t.GraphOcticon=t.GlobeOcticon=t.GitPullRequestOcticon=t.GitMergeOcticon=t.GitCompareOcticon=t.GitCommitOcticon=t.GitBranchOcticon=t.GistOcticon=t.GistSecretOcticon=t.GiftOcticon=t.GearOcticon=t.FoldOcticon=t.FlameOcticon=t.FileZipOcticon=t.FileOcticon=t.FileSymlinkFileOcticon=t.FileSymlinkDirectoryOcticon=t.FileSubmoduleOcticon=t.FilePdfOcticon=t.FileMediaOcticon=t.FileDirectoryOcticon=t.FileCodeOcticon=t.FileBinaryOcticon=t.EyeOcticon=t.EllipsisOcticon=t.DiffOcticon=t.DiffRenamedOcticon=t.DiffRemovedOcticon=t.DiffModifiedOcticon=t.DiffIgnoredOcticon=t.DiffAddedOcticon=t.DeviceMobileOcticon=t.DeviceDesktopOcticon=t.DeviceCameraOcticon=t.DeviceCameraVideoOcticon=t.DesktopDownloadOcticon=t.DatabaseOcticon=t.DashboardOcticon=t.DashOcticon=t.CreditCardOcticon=t.CommentOcticon=t.CommentDiscussionOcticon=t.CodeOcticon=t.CloudUploadOcticon=t.CloudDownloadOcticon=t.ClockOcticon=t.ClippyOcticon=t.CircuitBoardOcticon=t.CircleSlashOcticon=t.ChevronUpOcticon=t.ChevronRightOcticon=t.ChevronLeftOcticon=t.ChevronDownOcticon=t.ChecklistOcticon=t.CheckOcticon=t.CalendarOcticon=t.BugOcticon=t.BrowserOcticon=t.BroadcastOcticon=t.BriefcaseOcticon=t.BookmarkOcticon=t.BookOcticon=t.BoldOcticon=t.BellOcticon=t.BeakerOcticon=t.ArrowSmallUpOcticon=t.ArrowSmallRightOcticon=t.ArrowSmallLeftOcticon=t.ArrowSmallDownOcticon=t.ArrowUpOcticon=t.ArrowRightOcticon=t.ArrowLeftOcticon=t.ArrowDownOcticon=t.AlertOcticon=void 0;var r,i=function(){function e(e,t){for(var n=0;n=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):j!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-F+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(F-1,z)),R=B):(s=e.slice(F-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(73)),i=l(n(104)),a=l(n(7)),o=l(n(110)),s=l(n(40)),u=n(211);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(55))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(90)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(396),i=n(94);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(96).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(385),i=n(384),a=n(383);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var l=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&c)<<6|63&a)>127&&(l=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),c=this.slice(r,i),l=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(61))},function(e,t,n){"use strict";var r=n(35);e.exports=new r({explicit:[n(395),n(394),n(393)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(19),i=n(683),a=n(103),o=n(105)("IE_PROTO"),s=function(){},u=function(){var e,t=n(109)("iframe"),r=a.length;for(t.style.display="none",n(187).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file +primer-react
\ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html index 722efadc409..13172f8f14e 100644 --- a/docs/ComponentPage/index.html +++ b/docs/ComponentPage/index.html @@ -1 +1,6 @@ -primer-react \ No newline at end of file +primer-react
\ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html index 722efadc409..13172f8f14e 100644 --- a/docs/DemoPage/index.html +++ b/docs/DemoPage/index.html @@ -1 +1,6 @@ -primer-react \ No newline at end of file +primer-react
\ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index 722efadc409..13172f8f14e 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -1 +1,6 @@ -primer-react \ No newline at end of file +primer-react
\ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html new file mode 100644 index 00000000000..13172f8f14e --- /dev/null +++ b/docs/Sandbox/index.html @@ -0,0 +1,6 @@ +primer-react
\ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html new file mode 100644 index 00000000000..13172f8f14e --- /dev/null +++ b/docs/SideNav/index.html @@ -0,0 +1,6 @@ +primer-react
\ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index 722efadc409..13172f8f14e 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -1 +1,6 @@ -primer-react \ No newline at end of file +primer-react
\ No newline at end of file diff --git a/docs/TEMP/App.js b/docs/TEMP/App.js deleted file mode 100644 index 465561823cf..00000000000 --- a/docs/TEMP/App.js +++ /dev/null @@ -1,13729 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); - else { - var a = factory(); - for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i]; - } -})(global, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./node_modules/@compositor/x0/lib/entry.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./examples sync \\.(js|mdx|jsx)$": -/*!****************************************************!*\ - !*** ./examples sync nonrecursive \.(js|mdx|jsx)$ ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var map = {\n\t\"./CSS.js\": \"./examples/CSS.js\",\n\t\"./ComponentPage.js\": \"./examples/ComponentPage.js\",\n\t\"./DemoPage.js\": \"./examples/DemoPage.js\",\n\t\"./GitHubAvatar.js\": \"./examples/GitHubAvatar.js\",\n\t\"./Navigation.js\": \"./examples/Navigation.js\",\n\t\"./SandboxPage.js\": \"./examples/SandboxPage.js\",\n\t\"./Swatch.js\": \"./examples/Swatch.js\",\n\t\"./_app.js\": \"./examples/_app.js\",\n\t\"./docs.js\": \"./examples/docs.js\",\n\t\"./examples.js\": \"./examples/examples.js\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) { // check for number or string\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn id;\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./examples sync \\\\.(js|mdx|jsx)$\";\n\n//# sourceURL=webpack:///./examples_sync_nonrecursive_\\.(js%7Cmdx%7Cjsx)$?"); - -/***/ }), - -/***/ "./examples/CSS.js": -/*!*************************!*\ - !*** ./examples/CSS.js ***! - \*************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _src = __webpack_require__(/*! ../src */ \"./src/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CSS = function CSS(_ref) {\n var css = _ref.css;\n return _react2.default.createElement('style', { dangerouslySetInnerHTML: { __html: css } });\n};\n\nvar fonts = _src.theme.fonts.map(function (name) {\n return name.indexOf(' ') > -1 ? '\"' + name + '\"' : name;\n}).join(', ');\n\nCSS.defaultProps = {\n css: '\\n * { box-sizing: border-box; }\\n body {\\n margin: 0;\\n font-family: ' + fonts + ';\\n line-height: ' + _src.theme.lineHeight + ';\\n }\\n '\n};\n\nexports.default = CSS;\n\n//# sourceURL=webpack:///./examples/CSS.js?"); - -/***/ }), - -/***/ "./examples/ComponentPage.js": -/*!***********************************!*\ - !*** ./examples/ComponentPage.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _kit = __webpack_require__(/*! @compositor/kit */ \"./node_modules/@compositor/kit/dist/index.js\");\n\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"./node_modules/react-router-dom/es/index.js\");\n\nvar _Navigation = __webpack_require__(/*! ./Navigation */ \"./examples/Navigation.js\");\n\nvar _Navigation2 = _interopRequireDefault(_Navigation);\n\nvar _examples = __webpack_require__(/*! ./examples */ \"./examples/examples.js\");\n\nvar _examples2 = _interopRequireDefault(_examples);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ComponentPage = function ComponentPage() {\n return _react2.default.createElement(_kit.Library, {\n basename: '/docs/primer-react',\n title: 'Primer-react Library',\n examples: _examples2.default,\n renderSideNav: function renderSideNav(_ref) {\n var title = _ref.title,\n examples = _ref.examples;\n return _react2.default.createElement(_Navigation2.default, { title: title, examples: examples });\n } });\n};\n\nexports.default = ComponentPage;\n\n//# sourceURL=webpack:///./examples/ComponentPage.js?"); - -/***/ }), - -/***/ "./examples/DemoPage.js": -/*!******************************!*\ - !*** ./examples/DemoPage.js ***! - \******************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _kit = __webpack_require__(/*! @compositor/kit */ \"./node_modules/@compositor/kit/dist/index.js\");\n\nvar _Navigation = __webpack_require__(/*! ./Navigation */ \"./examples/Navigation.js\");\n\nvar _Navigation2 = _interopRequireDefault(_Navigation);\n\nvar _MergeBox = __webpack_require__(/*! ./demos/MergeBox */ \"./examples/demos/MergeBox.js\");\n\nvar _MergeBox2 = _interopRequireDefault(_MergeBox);\n\nvar _MergeButton = __webpack_require__(/*! ./demos/MergeButton */ \"./examples/demos/MergeButton.js\");\n\nvar _MergeButton2 = _interopRequireDefault(_MergeButton);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar examples = [{\n name: 'MergeBox',\n element: _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(_kit.LiveEditor, { code: '', scope: { MergeBox: _MergeBox2.default } })\n )\n}, {\n name: 'MergeButton',\n element: _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(_kit.LiveEditor, { code: '', scope: { MergeButton: _MergeButton2.default } })\n )\n}];\n\nvar DemoPage = function DemoPage() {\n return _react2.default.createElement(_kit.Library, {\n basename: '/docs/demos',\n title: 'Demo Library',\n examples: examples,\n renderSideNav: function renderSideNav(_ref) {\n var title = _ref.title,\n examples = _ref.examples;\n return _react2.default.createElement(_Navigation2.default, { title: title, examples: examples });\n } });\n};\n\nexports.default = DemoPage;\n\n//# sourceURL=webpack:///./examples/DemoPage.js?"); - -/***/ }), - -/***/ "./examples/GitHubAvatar.js": -/*!**********************************!*\ - !*** ./examples/GitHubAvatar.js ***! - \**********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nexports.default = GitHubAvatar;\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _src = __webpack_require__(/*! ../src */ \"./src/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction GitHubAvatar(_ref) {\n var username = _ref.username,\n _ref$size = _ref.size,\n size = _ref$size === undefined ? 20 : _ref$size,\n rest = (0, _objectWithoutProperties3.default)(_ref, ['username', 'size']);\n\n return _react2.default.createElement(_src.Avatar, (0, _extends3.default)({\n src: 'https://avatars.githubusercontent.com/' + username + '?v=3&s=' + size * 2,\n size: size\n }, rest));\n}\n\n//# sourceURL=webpack:///./examples/GitHubAvatar.js?"); - -/***/ }), - -/***/ "./examples/Navigation.js": -/*!********************************!*\ - !*** ./examples/Navigation.js ***! - \********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"./node_modules/react-router-dom/es/index.js\");\n\nvar _src = __webpack_require__(/*! ../src */ \"./src/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Navigation = function Navigation(_ref) {\n var title = _ref.title,\n examples = _ref.examples;\n return _react2.default.createElement(\n _src.Block,\n null,\n _react2.default.createElement(\n 'nav',\n { className: 'menu' },\n _react2.default.createElement(\n _reactRouterDom.NavLink,\n { to: '/', className: 'menu-heading no-underline link-gray-dark' },\n title\n ),\n examples.map(function (example) {\n return _react2.default.createElement(\n _reactRouterDom.NavLink,\n { className: 'menu-item no-underline link-gray-dark', activeClassName: 'selected', to: '/' + example.name },\n example.name\n );\n })\n )\n );\n};\n\nexports.default = Navigation;\n\n//# sourceURL=webpack:///./examples/Navigation.js?"); - -/***/ }), - -/***/ "./examples/SandboxPage.js": -/*!*********************************!*\ - !*** ./examples/SandboxPage.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _kit = __webpack_require__(/*! @compositor/kit */ \"./node_modules/@compositor/kit/dist/index.js\");\n\nvar _src = __webpack_require__(/*! ../src */ \"./src/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar scope = {\n Avatar: _src.Avatar,\n Block: _src.Block,\n Box: _src.Box,\n Button: _src.Button,\n ButtonDanger: _src.ButtonDanger,\n ButtonPrimary: _src.ButtonPrimary,\n ButtonOutline: _src.ButtonOutline,\n ButtonLink: _src.ButtonLink,\n BranchName: _src.BranchName,\n Caret: _src.Caret,\n CaretBox: _src.CaretBox,\n CircleOcticon: _src.CircleOcticon,\n CounterLabel: _src.CounterLabel,\n Details: _src.Details,\n DonutChart: _src.DonutChart,\n DonutSlice: _src.DonutSlice,\n Dropdown: _src.Dropdown,\n Flash: _src.Flash,\n Heading: _src.Heading,\n TextInput: _src.TextInput,\n Label: _src.Label,\n Link: _src.Link,\n MergeStatus: _src.MergeStatus,\n StateLabel: _src.StateLabel,\n Text: _src.Text,\n Tooltip: _src.Tooltip,\n theme: _src.theme\n};\n\nvar code = '\\n \\n Hello World!\\n To get started with the Sandbox, start adding some primer-react components\\n ';\n\nvar SandboxPage = function SandboxPage() {\n return _react2.default.createElement(_kit.LiveEditor, { code: code, scope: scope });\n};\n\nexports.default = SandboxPage;\n\n//# sourceURL=webpack:///./examples/SandboxPage.js?"); - -/***/ }), - -/***/ "./examples/Swatch.js": -/*!****************************!*\ - !*** ./examples/Swatch.js ***! - \****************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nexports.default = Swatch;\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _src = __webpack_require__(/*! ../src/ */ \"./src/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction Swatch(_ref) {\n var name = _ref.name,\n index = _ref.index,\n color = _ref.color,\n rest = (0, _objectWithoutProperties3.default)(_ref, ['name', 'index', 'color']);\n\n return _react2.default.createElement(\n 'div',\n rest,\n _react2.default.createElement('div', { className: 'm-1 mt-3 p-6', style: { background: color } }),\n _react2.default.createElement(\n _src.Heading,\n { tag: 'h3', fontSize: 2, px: 1 },\n name,\n '.',\n index\n ),\n _react2.default.createElement(\n _src.Text,\n { px: 1 },\n color\n )\n );\n}\n\n//# sourceURL=webpack:///./examples/Swatch.js?"); - -/***/ }), - -/***/ "./examples/_app.js": -/*!**************************!*\ - !*** ./examples/_app.js ***! - \**************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _CSS = __webpack_require__(/*! ./CSS */ \"./examples/CSS.js\");\n\nvar _CSS2 = _interopRequireDefault(_CSS);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _docs = __webpack_require__(/*! ./docs */ \"./examples/docs.js\");\n\nvar _docs2 = _interopRequireDefault(_docs);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Generic page wrapper component\nvar Page = function Page(_ref) {\n var render = _ref.render;\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(_CSS2.default, null),\n _react2.default.createElement(\n 'div',\n { className: 'text-dark-gray' },\n _react2.default.createElement(_docs2.default, null),\n render()\n )\n );\n};\n\nexports.default = Page;\n\n//# sourceURL=webpack:///./examples/_app.js?"); - -/***/ }), - -/***/ "./examples/demos/MergeActions.js": -/*!****************************************!*\ - !*** ./examples/demos/MergeActions.js ***! - \****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _CircleOcticon = __webpack_require__(/*! ../../src/CircleOcticon */ \"./src/CircleOcticon.js\");\n\nvar _CircleOcticon2 = _interopRequireDefault(_CircleOcticon);\n\nvar _Text = __webpack_require__(/*! ../../src/Text */ \"./src/Text.js\");\n\nvar _Text2 = _interopRequireDefault(_Text);\n\nvar _Block = __webpack_require__(/*! ../../src/Block */ \"./src/Block.js\");\n\nvar _Block2 = _interopRequireDefault(_Block);\n\nvar _Link = __webpack_require__(/*! ../../src/Link */ \"./src/Link.js\");\n\nvar _Link2 = _interopRequireDefault(_Link);\n\nvar _ButtonLink = __webpack_require__(/*! ../../src/ButtonLink */ \"./src/ButtonLink.js\");\n\nvar _ButtonLink2 = _interopRequireDefault(_ButtonLink);\n\nvar _MergeButton = __webpack_require__(/*! ./MergeButton */ \"./examples/demos/MergeButton.js\");\n\nvar _MergeButton2 = _interopRequireDefault(_MergeButton);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MergeActions = function MergeActions(_ref) {\n var numCommits = _ref.numCommits,\n repoUrl = _ref.repoUrl,\n branchName = _ref.branchName,\n state = _ref.state;\n\n return _react2.default.createElement(\n _Block2.default,\n { py: 3, px: 4, bg: 'gray-light', style: { borderBottomLeftRadius: '3px', borderBottomRightRadius: '3px' } },\n _react2.default.createElement(_MergeButton2.default, { primary: state === 'ready', numCommits: numCommits }),\n _react2.default.createElement(\n _Text2.default,\n { ml: 2 },\n 'You can also '\n ),\n _react2.default.createElement(\n _Link2.default,\n { nounderline: true, href: 'x-github-client://openRepo/' + repoUrl + '?branch=' + branchName },\n 'open this in Github Desktop'\n ),\n _react2.default.createElement(\n _Text2.default,\n null,\n ' or view '\n ),\n _react2.default.createElement(\n _ButtonLink2.default,\n null,\n 'command line instructions.'\n )\n );\n};\n\nMergeActions.propTypes = {\n numCommits: _propTypes2.default.number.isRequired,\n repoUrl: _propTypes2.default.string.isRequired,\n branchName: _propTypes2.default.string.isRequired\n};\n\nexports.default = MergeActions;\n\n//# sourceURL=webpack:///./examples/demos/MergeActions.js?"); - -/***/ }), - -/***/ "./examples/demos/MergeBox.js": -/*!************************************!*\ - !*** ./examples/demos/MergeBox.js ***! - \************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _MergeStatus = __webpack_require__(/*! ../../src/MergeStatus */ \"./src/MergeStatus.js\");\n\nvar _MergeStatus2 = _interopRequireDefault(_MergeStatus);\n\nvar _CaretBox = __webpack_require__(/*! ../../src/CaretBox */ \"./src/CaretBox.js\");\n\nvar _CaretBox2 = _interopRequireDefault(_CaretBox);\n\nvar _MergeButton = __webpack_require__(/*! ./MergeButton */ \"./examples/demos/MergeButton.js\");\n\nvar _MergeButton2 = _interopRequireDefault(_MergeButton);\n\nvar _MergeDetail = __webpack_require__(/*! ./MergeDetail */ \"./examples/demos/MergeDetail.js\");\n\nvar _MergeDetail2 = _interopRequireDefault(_MergeDetail);\n\nvar _MergeActions = __webpack_require__(/*! ./MergeActions */ \"./examples/demos/MergeActions.js\");\n\nvar _MergeActions2 = _interopRequireDefault(_MergeActions);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar stateColorMap = {\n ready: 'green',\n invalid: 'invalid',\n merged: 'purple',\n pending: 'yellow'\n};\n\nvar MergeBox = function MergeBox(_ref) {\n var state = _ref.state,\n repoUrl = _ref.repoUrl,\n branchName = _ref.branchName,\n numCommits = _ref.numCommits;\n\n return _react2.default.createElement(\n 'div',\n { className: 'd-flex flex-items-start' },\n _react2.default.createElement(_MergeStatus2.default, { state: state }),\n _react2.default.createElement(\n _CaretBox2.default,\n { ml: 3, border: [true, stateColorMap[state]], caret: 'left-top' },\n _react2.default.createElement(_MergeDetail2.default, { state: state }),\n _react2.default.createElement(_MergeActions2.default, { state: state, numCommits: numCommits, repoUrl: repoUrl, branchName: branchName })\n )\n );\n};\n\nMergeBox.propTypes = {\n state: _propTypes2.default.oneOf(['ready', 'invalid', 'merged', 'pending']).isRequired,\n repoUrl: _propTypes2.default.string.isRequired,\n branchName: _propTypes2.default.string.isRequired,\n numCommits: _propTypes2.default.number.isRequired\n};\n\nexports.default = MergeBox;\n\n//# sourceURL=webpack:///./examples/demos/MergeBox.js?"); - -/***/ }), - -/***/ "./examples/demos/MergeButton.js": -/*!***************************************!*\ - !*** ./examples/demos/MergeButton.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _Details = __webpack_require__(/*! ../../src/Details */ \"./src/Details.js\");\n\nvar _Details2 = _interopRequireDefault(_Details);\n\nvar _Button = __webpack_require__(/*! ../../src/Button */ \"./src/Button.js\");\n\nvar _Button2 = _interopRequireDefault(_Button);\n\nvar _CaretBox = __webpack_require__(/*! ../../src/CaretBox */ \"./src/CaretBox.js\");\n\nvar _CaretBox2 = _interopRequireDefault(_CaretBox);\n\nvar _Text = __webpack_require__(/*! ../../src/Text */ \"./src/Text.js\");\n\nvar _Text2 = _interopRequireDefault(_Text);\n\nvar _Block = __webpack_require__(/*! ../../src/Block */ \"./src/Block.js\");\n\nvar _Block2 = _interopRequireDefault(_Block);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MergeButton = function MergeButton(_ref) {\n var primary = _ref.primary,\n onClick = _ref.onClick,\n numCommits = _ref.numCommits,\n children = _ref.children;\n\n var arrowStyles = {\n content: '',\n border: '4px solid',\n borderRightColor: 'transparent',\n borderLeftColor: 'transparent',\n borderBottomColor: 'transparent',\n width: '0',\n height: '0'\n };\n\n var borderStyles = {\n borderTopLeftRadius: '0',\n borderBottomLeftRadius: '0'\n };\n\n var buttonSchemeProps = {};\n if (primary) {\n buttonSchemeProps.scheme = 'primary';\n }\n\n return _react2.default.createElement(\n 'div',\n { className: 'BtnGroup' },\n _react2.default.createElement(\n _Button2.default,\n (0, _extends3.default)({}, buttonSchemeProps, { grouped: true, onClick: onClick, style: { borderRight: 0 } }),\n 'Merge Pull Request'\n ),\n _react2.default.createElement(\n _Details2.default,\n { className: 'details-reset d-flex float-right' },\n function (_ref2) {\n var open = _ref2.open,\n toggle = _ref2.toggle;\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(\n _Button2.default,\n (0, _extends3.default)({ tag: 'summary' }, buttonSchemeProps, { onClick: toggle, style: borderStyles }),\n _react2.default.createElement('div', { className: 'd-inline-block v-align-middle', style: arrowStyles })\n ),\n _react2.default.createElement(\n _Block2.default,\n { position: 'absolute', width: 300, mt: 1, style: { zIndex: 99999 } },\n _react2.default.createElement(\n _CaretBox2.default,\n { caret: 'top-left' },\n _react2.default.createElement(\n 'ul',\n { className: 'list-style-none p-0 m-0' },\n _react2.default.createElement(\n 'li',\n { className: 'border-bottom py-2 pl-4 pr-2' },\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', m: 0, fontSize: 1, fontWeight: 'bold' },\n 'Create a merge commit'\n ),\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', m: 0, fontSize: 0 },\n 'All commits from this branch will be added to the base branch via a merge commit.'\n )\n ),\n _react2.default.createElement(\n 'li',\n { className: 'border-bottom py-2 pl-4 pr-2' },\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', m: 0, fontSize: 1, fontWeight: 'bold' },\n 'Squash and merge'\n ),\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', m: 0, fontSize: 0 },\n 'The ',\n numCommits,\n ' from this branch will be combined into one commit in the base branch.'\n )\n ),\n _react2.default.createElement(\n 'li',\n { className: 'py-2 pl-4 pr-2' },\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', m: 0, fontSize: 1, fontWeight: 'bold' },\n 'Rebase and merge'\n ),\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', fontSize: 0, m: 0 },\n 'The ',\n numCommits,\n ' from this branch will be rebased and added to the base branch'\n )\n )\n )\n )\n )\n );\n }\n )\n );\n};\n\nMergeButton.propTypes = {\n primary: _propTypes2.default.bool,\n onClick: _propTypes2.default.func.isRequired,\n numCommits: _propTypes2.default.number.isRequired\n};\n\nexports.default = MergeButton;\n\n//# sourceURL=webpack:///./examples/demos/MergeButton.js?"); - -/***/ }), - -/***/ "./examples/demos/MergeDetail.js": -/*!***************************************!*\ - !*** ./examples/demos/MergeDetail.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _CircleOcticon = __webpack_require__(/*! ../../src/CircleOcticon */ \"./src/CircleOcticon.js\");\n\nvar _CircleOcticon2 = _interopRequireDefault(_CircleOcticon);\n\nvar _Text = __webpack_require__(/*! ../../src/Text */ \"./src/Text.js\");\n\nvar _Text2 = _interopRequireDefault(_Text);\n\nvar _Block = __webpack_require__(/*! ../../src/Block */ \"./src/Block.js\");\n\nvar _Block2 = _interopRequireDefault(_Block);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar stateColorMap = {\n ready: 'green',\n invalid: 'invalid',\n merged: 'purple',\n pending: 'yellow'\n};\n\nvar MergeDetail = function MergeDetail(_ref) {\n var state = _ref.state;\n\n return _react2.default.createElement(\n 'div',\n { className: 'p-2 d-flex border-bottom' },\n _react2.default.createElement(\n _Block2.default,\n { mt: 2 },\n _react2.default.createElement(_CircleOcticon2.default, { name: 'check', size: 32, bg: stateColorMap[state], color: 'white' })\n ),\n _react2.default.createElement(\n _Block2.default,\n { p: 2, display: 'inline' },\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', p: 0, m: 0, fontSize: 2, fontWeight: 'bold' },\n 'This branch has no conflicts with the base branch'\n ),\n _react2.default.createElement(\n _Text2.default,\n { tag: 'p', pt: 1, m: 0, fontSize: 0 },\n 'Merging can be performed automatically'\n )\n )\n );\n};\n\nMergeDetail.propTypes = {\n state: _propTypes2.default.oneOf(['ready', 'invalid', 'merged', 'pending']).isRequired\n};\n\nexports.default = MergeDetail;\n\n//# sourceURL=webpack:///./examples/demos/MergeDetail.js?"); - -/***/ }), - -/***/ "./examples/docs.js": -/*!**************************!*\ - !*** ./examples/docs.js ***! - \**************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _classnames = __webpack_require__(/*! classnames */ \"./node_modules/classnames/index.js\");\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"./node_modules/react-router-dom/es/index.js\");\n\nvar _DemoPage = __webpack_require__(/*! ./DemoPage */ \"./examples/DemoPage.js\");\n\nvar _DemoPage2 = _interopRequireDefault(_DemoPage);\n\nvar _ComponentPage = __webpack_require__(/*! ./ComponentPage */ \"./examples/ComponentPage.js\");\n\nvar _ComponentPage2 = _interopRequireDefault(_ComponentPage);\n\nvar _SandboxPage = __webpack_require__(/*! ./SandboxPage */ \"./examples/SandboxPage.js\");\n\nvar _SandboxPage2 = _interopRequireDefault(_SandboxPage);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Index = function Index(props) {\n return _react2.default.createElement(\n _reactRouterDom.BrowserRouter,\n null,\n _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n 'nav',\n { className: 'UnderlineNav' },\n _react2.default.createElement(\n 'div',\n { className: 'UnderlineNav-body' },\n _react2.default.createElement(\n _reactRouterDom.NavLink,\n { to: '/docs/primer-react', className: 'UnderlineNav-item no-underline', activeClassName: 'selected' },\n 'primer-react'\n ),\n _react2.default.createElement(\n _reactRouterDom.NavLink,\n { to: '/docs/demos', className: 'UnderlineNav-item no-underline', activeClassName: 'selected' },\n 'Demos'\n ),\n _react2.default.createElement(\n _reactRouterDom.NavLink,\n { to: '/docs/sandbox', className: 'UnderlineNav-item no-underline', activeClassName: 'selected' },\n 'Sandbox'\n )\n )\n ),\n _react2.default.createElement(_reactRouterDom.Route, { path: '/docs/demos', component: _DemoPage2.default }),\n _react2.default.createElement(_reactRouterDom.Route, { path: '/docs/primer-react', component: _ComponentPage2.default }),\n _react2.default.createElement(_reactRouterDom.Route, { path: '/docs/sandbox', component: _SandboxPage2.default })\n )\n );\n};\n\nexports.default = Index;\n\n//# sourceURL=webpack:///./examples/docs.js?"); - -/***/ }), - -/***/ "./examples/examples.js": -/*!******************************!*\ - !*** ./examples/examples.js ***! - \******************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _kit = __webpack_require__(/*! @compositor/kit */ \"./node_modules/@compositor/kit/dist/index.js\");\n\nvar _octiconsReact = __webpack_require__(/*! @github/octicons-react */ \"./node_modules/@github/octicons-react/build/index.js\");\n\nvar _octiconsReact2 = _interopRequireDefault(_octiconsReact);\n\nvar _src = __webpack_require__(/*! ../src */ \"./src/index.js\");\n\nvar _Swatch = __webpack_require__(/*! ./Swatch */ \"./examples/Swatch.js\");\n\nvar _Swatch2 = _interopRequireDefault(_Swatch);\n\nvar _GitHubAvatar = __webpack_require__(/*! ./GitHubAvatar */ \"./examples/GitHubAvatar.js\");\n\nvar _GitHubAvatar2 = _interopRequireDefault(_GitHubAvatar);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ExampleHeading = function ExampleHeading(props) {\n return _react2.default.createElement(_src.Heading, (0, _extends3.default)({ tag: 'h3', fontSize: 3, mb: 2 }, props));\n};\n\nvar examples = [{\n name: 'Avatar',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(_GitHubAvatar2.default, { username: 'primer', size: 128 })\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(_GitHubAvatar2.default, { username: 'github', size: 64 })\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(_GitHubAvatar2.default, { username: 'reactjs', size: 32 }),\n ' ',\n _react2.default.createElement(_GitHubAvatar2.default, { username: 'npm' })\n )\n )\n}, {\n name: 'Block',\n element: _react2.default.createElement(\n 'table',\n null,\n _react2.default.createElement(\n 'tbody',\n null,\n [\n // 'black',\n 'white', 'gray-dark', 'gray', 'gray-light', 'blue', 'blue-light', 'green', 'green-light', 'red', 'red-light', 'yellow', 'yellow-light', 'purple', 'purple-light'].map(function (bg, i, style) {\n return _react2.default.createElement(\n 'tr',\n { key: i },\n _react2.default.createElement(\n 'td',\n null,\n _react2.default.createElement(\n _src.Text,\n { mono: true, nowrap: true },\n 'bg=\\'' + bg + '\\''\n )\n ),\n ['white', 'gray', 'black'].map(function (fg, j) {\n return _react2.default.createElement(\n 'td',\n { key: j },\n _react2.default.createElement(\n _src.Block,\n { p: 3, mb: 2, bg: bg, border: bg === 'white' },\n _react2.default.createElement(\n _src.Text,\n { color: fg },\n fg\n )\n )\n );\n })\n );\n })\n )\n )\n}, {\n name: 'Box',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Box,\n { m: 2 },\n 'This is a box'\n ),\n _react2.default.createElement(\n _src.Box,\n { p: 2, m: 2 },\n 'This is a box with padding.'\n ),\n _react2.default.createElement(\n _src.Box,\n { shadow: true, p: 2, m: 2 },\n 'This is a box with shadow.'\n ),\n _react2.default.createElement(\n _src.Box,\n { shadow: 'medium', p: 2, m: 2 },\n 'This is a box with a medium shadow.'\n ),\n _react2.default.createElement(\n _src.Box,\n { shadow: 'large', p: 2, m: 2 },\n 'This is a box with a large shadow.'\n ),\n _react2.default.createElement(\n _src.Box,\n { shadow: 'extra-large', p: 2, m: 2 },\n 'This is a box with an extra-large shadow.'\n ),\n _react2.default.createElement(\n _src.Box,\n { border: [true, 'green'], p: 2, m: 2 },\n 'This is a box with a green border.'\n )\n )\n}, {\n name: 'BranchName',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.BranchName,\n null,\n 'a_new_feature_branch'\n ),\n _react2.default.createElement(\n _kit.Detail,\n null,\n _react2.default.createElement(\n ExampleHeading,\n { mt: 3 },\n 'Linked BranchName'\n ),\n _react2.default.createElement(\n _src.BranchName,\n { tag: 'a', href: '/' },\n 'a_new_feature_branch'\n ),\n _react2.default.createElement(\n ExampleHeading,\n { mt: 3 },\n 'BranchName with Octicon'\n ),\n _react2.default.createElement(\n _src.BranchName,\n null,\n _react2.default.createElement(_octiconsReact2.default, { name: 'git-branch' }),\n ' a_new_feature_branch'\n )\n )\n )\n}, {\n name: 'Buttons',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.Button,\n null,\n ' Button '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.Button,\n { size: 'sm' },\n ' Button small '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.Button,\n { size: 'large' },\n ' Button large '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.ButtonDanger,\n null,\n ' ButtonDanger '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.ButtonPrimary,\n null,\n ' ButtonPrimary '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.ButtonOutline,\n null,\n ' ButtonOutline '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.Button,\n { block: true },\n ' Button block '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.Button,\n { linkStyle: true },\n ' Button linkStyle '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.ButtonLink,\n { href: 'https://www.goatslive.com/' },\n 'This is an ',\n '',\n ' styled as a button'\n )\n )\n )\n}, {\n name: 'Caret',\n element: _react2.default.createElement(\n _src.Block,\n { p: 4 },\n _src.Caret.locations.map(function (loc, i) {\n return _react2.default.createElement(\n _src.Box,\n { p: 2, mb: 4, position: 'relative', maxWidth: 300, minHeight: 96, shadow: true, key: i },\n _react2.default.createElement(\n _src.Text,\n { fontSize: 1, mono: true },\n 'location=\\'',\n loc,\n '\\''\n ),\n _react2.default.createElement(_src.Caret, { location: loc })\n );\n })\n )\n}, {\n name: 'CircleOcticon',\n element: _react2.default.createElement(\n 'div',\n { className: 'd-flex' },\n _react2.default.createElement(_src.CircleOcticon, { name: 'check', size: '32', bg: 'green', color: 'white' })\n )\n}, {\n name: 'CaretBox',\n element: _react2.default.createElement(\n _src.Block,\n { p: 2 },\n _react2.default.createElement(\n ExampleHeading,\n { mt: 2 },\n 'CaretBox'\n ),\n _react2.default.createElement(\n _kit.PropsForm,\n null,\n _react2.default.createElement(\n _src.CaretBox,\n { my: 4, p: 2, minHeight: 100, border: [true, 'purple'] },\n 'CaretBox'\n ),\n _react2.default.createElement(\n _kit.PropsForm.Select,\n { name: 'caret' },\n _src.Caret.locations.map(function (loc, i) {\n return _react2.default.createElement(\n 'option',\n null,\n loc\n );\n })\n ),\n _react2.default.createElement(\n _kit.PropsForm.Select,\n { name: 'border' },\n (0, _keys2.default)(_src.theme.colors.border).map(function (borderColor) {\n return _react2.default.createElement(\n 'option',\n null,\n '[true, borderColor]'\n );\n })\n ),\n _react2.default.createElement(\n _kit.PropsForm.Select,\n { name: 'bg' },\n (0, _keys2.default)(_src.theme.colors.bg).map(function (bgColor) {\n return _react2.default.createElement(\n 'option',\n null,\n bgColor\n );\n })\n )\n )\n )\n}, {\n name: 'Colors',\n element: _react2.default.createElement(\n 'div',\n null,\n ['gray', 'blue', 'green', 'purple', 'yellow', 'orange'].map(function (hue, i) {\n return _react2.default.createElement(\n 'div',\n { className: 'd-flex', key: i },\n _src.theme.colors[hue].map(function (color, j) {\n return _react2.default.createElement(_Swatch2.default, { name: hue, index: j, key: j, color: color });\n })\n );\n }),\n _react2.default.createElement(\n 'div',\n { className: 'd-flex' },\n _react2.default.createElement(_src.Block, { bg: 'blue', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'green', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'purple', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'yellow', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'red', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'white', p: 4, m: 1, border: true }),\n _react2.default.createElement(_src.Block, { bg: 'gray', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'gray-light', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'blue-light', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'purple-light', p: 4, m: 1 }),\n _react2.default.createElement(_src.Block, { bg: 'red-light', p: 4, m: 1 })\n )\n )\n}, {\n name: 'CounterLabel',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.CounterLabel,\n null,\n '12'\n ),\n _react2.default.createElement(\n _src.CounterLabel,\n { theme: 'gray' },\n '13'\n ),\n _react2.default.createElement(\n _src.CounterLabel,\n { theme: 'gray-light' },\n '13'\n )\n )\n}, {\n name: 'Details',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 4 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'With static children'\n ),\n _react2.default.createElement(\n _src.Details,\n null,\n _react2.default.createElement(\n 'summary',\n { className: 'btn' },\n 'Click me'\n ),\n _react2.default.createElement(\n 'p',\n null,\n 'This should show and hide'\n )\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { my: 4 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'With children as a function'\n ),\n _react2.default.createElement(\n _src.Details,\n null,\n function (_ref) {\n var open = _ref.open,\n toggle = _ref.toggle;\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(\n 'summary',\n { className: 'btn', onClick: toggle },\n open ? 'Hide' : 'Show'\n ),\n _react2.default.createElement(\n 'p',\n null,\n 'This should show and hide'\n )\n );\n }\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { my: 4 },\n _react2.default.createElement(\n _src.Heading,\n { tag: 'h2' },\n 'With render prop'\n ),\n _react2.default.createElement(_src.Details, { render: function render() {\n return 'hi';\n } })\n )\n )\n}, {\n name: 'Dropdown',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { my: 4 },\n _react2.default.createElement(\n _src.Heading,\n { tag: 'h2' },\n 'Dropdown Primary'\n ),\n _react2.default.createElement(\n _src.Dropdown,\n { scheme: 'primary' },\n _react2.default.createElement(\n 'ul',\n null,\n _react2.default.createElement(\n 'li',\n null,\n 'Item 1'\n ),\n _react2.default.createElement(\n 'li',\n null,\n 'Item 2'\n ),\n _react2.default.createElement(\n 'li',\n null,\n 'Item 3'\n )\n )\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { my: 4 },\n _react2.default.createElement(\n _src.Heading,\n { tag: 'h2' },\n 'Dropdown'\n ),\n _react2.default.createElement(\n _src.Dropdown,\n null,\n _react2.default.createElement(\n 'ul',\n null,\n _react2.default.createElement(\n 'li',\n null,\n 'Item 1'\n ),\n _react2.default.createElement(\n 'li',\n null,\n 'Item 2'\n ),\n _react2.default.createElement(\n 'li',\n null,\n 'Item 3'\n )\n )\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { my: 4 },\n _react2.default.createElement(\n _src.Heading,\n { tag: 'h2' },\n 'Dropdown with title'\n ),\n _react2.default.createElement(\n _src.Dropdown,\n { title: 'Options' },\n _react2.default.createElement(\n 'ul',\n null,\n _react2.default.createElement(\n 'li',\n null,\n 'Item 1'\n ),\n _react2.default.createElement(\n 'li',\n null,\n 'Item 2'\n ),\n _react2.default.createElement(\n 'li',\n null,\n 'Item 3'\n )\n )\n )\n )\n )\n}, {\n name: 'DonutChart',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'With ',\n _react2.default.createElement(\n _src.Text,\n { mono: true },\n 'data'\n ),\n ' prop'\n ),\n _react2.default.createElement(_src.DonutChart, { data: { error: 2, pending: 3, success: 5 } }),\n ' ',\n _react2.default.createElement(_src.DonutChart, { data: { error: 1, pending: 4, success: 2 } }),\n ' ',\n _react2.default.createElement(_src.DonutChart, { data: { pending: 2, success: 6 } }),\n ' ',\n _react2.default.createElement(_src.DonutChart, { data: { pending: 0, success: 1 } }),\n ' ',\n _react2.default.createElement(_src.DonutChart, { data: { pending: 1, queued: 1 } }),\n ' ',\n _react2.default.createElement(_src.DonutChart, { data: { unknown: 1 } })\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'With ',\n _react2.default.createElement(\n _src.Text,\n { mono: true },\n 'DonutSlice'\n ),\n ' children'\n ),\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'pending' }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'success' }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'error' })\n ),\n ' ',\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'error' }),\n _react2.default.createElement(_src.DonutSlice, { value: 4, state: 'pending' }),\n _react2.default.createElement(_src.DonutSlice, { value: 2, state: 'success' })\n ),\n ' ',\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 2, state: 'pending' }),\n _react2.default.createElement(_src.DonutSlice, { value: 6, state: 'success' })\n ),\n ' ',\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 0, state: 'pending' }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'success' })\n ),\n ' ',\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'pending' }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'queued' })\n ),\n ' ',\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 1, state: 'queued' })\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'With custom ',\n _react2.default.createElement(\n _src.Text,\n { mono: true },\n 'fill'\n ),\n ' colors'\n ),\n _react2.default.createElement(\n _src.DonutChart,\n null,\n _react2.default.createElement(_src.DonutSlice, { value: 1, fill: _src.theme.colors.purple[0] }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, fill: _src.theme.colors.purple[1] }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, fill: _src.theme.colors.purple[2] }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, fill: _src.theme.colors.purple[3] }),\n _react2.default.createElement(_src.DonutSlice, { value: 1, fill: _src.theme.colors.purple[4] })\n )\n )\n )\n}, {\n name: 'Flash',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Flash,\n null,\n ' Flash '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Flash,\n { yellow: true },\n ' Flash yellow '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Flash,\n { red: true },\n ' Flash red '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Flash,\n { green: true },\n ' Flash green '\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Flash,\n { full: true },\n ' Flash full '\n )\n )\n )\n}, {\n name: 'Font sizes',\n element: _react2.default.createElement(\n 'div',\n null,\n [/* 7, 6, */5, 4, 3, 2, 1, 0].map(function (fontSize, i) {\n return _react2.default.createElement(\n _src.Text,\n { tag: 'div', key: i, fontSize: fontSize },\n 'fontSize ',\n fontSize\n );\n })\n )\n}, {\n name: 'Form elements',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Heading,\n { mb: 2 },\n 'Input'\n ),\n _react2.default.createElement(_src.TextInput, { name: 'zipcode' }),\n _react2.default.createElement(\n _src.Heading,\n { mb: 2 },\n 'Input Sizes'\n ),\n _react2.default.createElement(\n _src.Box,\n null,\n _react2.default.createElement(_src.TextInput, { name: 'zipcode', size: 'small', placeholder: 'Small input' })\n ),\n _react2.default.createElement(\n _src.Box,\n null,\n _react2.default.createElement(_src.TextInput, { name: 'zipcode', size: 'large', placeholder: 'Large input' })\n ),\n _react2.default.createElement(\n _src.Heading,\n { mb: 2 },\n 'Block input'\n ),\n _react2.default.createElement(_src.TextInput, { block: true, placeholder: 'Full width block input' })\n )\n}, {\n name: 'Heading',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Heading,\n { mb: 2 },\n 'Default Heading'\n ),\n _react2.default.createElement(\n _kit.Detail,\n null,\n [0, 1, 2, 3, 4, 5, /* 6, 7, */'00-light', '0-light', '1-light', '2-light', '3-light'].map(function (fontSize, i) {\n return _react2.default.createElement(\n _src.Heading,\n { key: i, fontSize: fontSize, mb: 2 },\n 'With fontSize=',\n fontSize\n );\n })\n )\n )\n}, {\n name: 'Label',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Label,\n null,\n 'Default label'\n ),\n _react2.default.createElement(\n _src.Label,\n { scheme: 'gray-darker' },\n 'Darker gray label'\n ),\n _react2.default.createElement(\n _src.Label,\n { scheme: 'orange' },\n 'Orange label'\n ),\n _react2.default.createElement(\n _src.Label,\n { scheme: 'green' },\n 'Green label'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 3 },\n _react2.default.createElement(\n _src.Label,\n { outline: true },\n 'Default outline label'\n ),\n _react2.default.createElement(\n _src.Label,\n { outline: true, scheme: 'green' },\n 'Green outline label'\n )\n )\n )\n}, {\n name: 'Link',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 1 },\n _react2.default.createElement(\n _src.Link,\n { href: 'https://github.com' },\n 'Link'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 1 },\n _react2.default.createElement(\n _src.Link,\n { muted: true, href: 'https://github.com' },\n 'Link muted'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 1 },\n _react2.default.createElement(\n _src.Link,\n { gray: true, href: 'https://github.com' },\n 'Link gray'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 1 },\n _react2.default.createElement(\n _src.Link,\n { graydark: true, href: 'https://github.com' },\n 'Link graydark'\n )\n )\n )\n}, {\n name: 'StateLabel',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'open' },\n 'Open'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'closed' },\n 'Closed'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 4 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'merged' },\n 'Merged'\n )\n ),\n _react2.default.createElement(\n _kit.Detail,\n null,\n _react2.default.createElement(\n _src.Block,\n { mb: 4 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'By state (Octicons built in)'\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n null,\n 'Unknown'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'open' },\n 'Open'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'closed' },\n 'Closed'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'merged' },\n 'Merged'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { state: 'reopened' },\n 'Reopened'\n )\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 4 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'By color'\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { scheme: 'invalid' },\n 'Invalid'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { scheme: 'green' },\n 'Green'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { scheme: 'red' },\n 'Red'\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n _src.StateLabel,\n { scheme: 'purple' },\n 'Purple'\n )\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 4 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'Small, by state'\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true },\n 'Unknown'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, state: 'open' },\n 'Open'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, state: 'closed' },\n 'Closed'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, state: 'merged' },\n 'Merged'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, state: 'reopened' },\n 'Reopened'\n )\n )\n )\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 4 },\n _react2.default.createElement(\n ExampleHeading,\n null,\n 'Small, by color'\n ),\n _react2.default.createElement(\n _src.Block,\n { mb: 2 },\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, scheme: 'invalid' },\n 'Invalid'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, scheme: 'green' },\n 'Green'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, scheme: 'red' },\n 'Red'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, scheme: 'purple' },\n 'Purple'\n )\n ),\n _react2.default.createElement(\n 'span',\n { className: 'mr-2' },\n _react2.default.createElement(\n _src.StateLabel,\n { small: true, scheme: 'green', icon: _react2.default.createElement(_octiconsReact2.default, { name: 'git-branch' }) },\n 'Custom Octicon'\n )\n )\n )\n )\n )\n )\n}, {\n name: 'MergeStatus',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Block,\n { m: 2 },\n _react2.default.createElement(_src.MergeStatus, { state: 'pending' })\n ),\n _react2.default.createElement(\n _src.Block,\n { m: 2 },\n _react2.default.createElement(_src.MergeStatus, { state: 'invalid' })\n ),\n _react2.default.createElement(\n _src.Block,\n { m: 2 },\n _react2.default.createElement(_src.MergeStatus, { state: 'merged' })\n ),\n _react2.default.createElement(\n _src.Block,\n { m: 2 },\n _react2.default.createElement(_src.MergeStatus, { state: 'ready' })\n )\n )\n}, {\n name: 'Text',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Text,\n { tag: 'div' },\n 'Text'\n ),\n _react2.default.createElement(\n _src.Text,\n { tag: 'div', fontWeight: 'bold' },\n 'Text bold'\n ),\n _react2.default.createElement(\n _src.Text,\n { tag: 'div', color: 'green' },\n 'Text green'\n ),\n _react2.default.createElement(\n _src.Text,\n { tag: 'div', lineHeight: 'condensed' },\n 'Text lineHeight \\'condensed\\''\n ),\n _react2.default.createElement(\n _src.Text,\n { tag: 'div', fontSize: 4 },\n 'Text fontSize 4'\n ),\n _react2.default.createElement(\n _src.Text,\n { tag: 'div', p: 4 },\n 'Text padding 4'\n )\n )\n}, {\n name: 'Tooltip',\n element: _react2.default.createElement(\n 'div',\n null,\n _react2.default.createElement(\n _src.Box,\n { p: 3 },\n _react2.default.createElement(\n _src.Tooltip,\n { text: 'Hello, Tooltip!' },\n 'Text with a tooltip'\n )\n ),\n _react2.default.createElement(\n _kit.Detail,\n null,\n _react2.default.createElement(\n ExampleHeading,\n { mt: 3 },\n 'Directions'\n ),\n _src.Tooltip.directions.map(function (d, i) {\n return _react2.default.createElement(\n _src.Box,\n { p: 3, key: i },\n _react2.default.createElement(\n _src.Tooltip,\n { text: 'Hello, Tooltip!', direction: d },\n 'Tooltip direction=',\n d\n )\n );\n }),\n _react2.default.createElement(\n ExampleHeading,\n { mt: 3 },\n 'Alignment'\n ),\n _react2.default.createElement(\n _src.Box,\n { p: 3 },\n _react2.default.createElement(\n _src.Tooltip,\n { text: 'Hello, Tooltip!', direction: 'ne', align: 'left' },\n 'Tooltip align left'\n )\n ),\n _react2.default.createElement(\n ExampleHeading,\n { mt: 3 },\n 'Word wrap'\n ),\n _react2.default.createElement(\n _src.Box,\n { p: 3 },\n _react2.default.createElement(\n _src.Tooltip,\n { text: 'Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.', wrap: true, direction: 'ne', align: 'left' },\n 'Word wrapping tooltip'\n )\n ),\n _react2.default.createElement(\n ExampleHeading,\n { mt: 3 },\n 'No Delay'\n ),\n _react2.default.createElement(\n _src.Box,\n { p: 3 },\n _react2.default.createElement(\n _src.Tooltip,\n { noDelay: true, text: 'Hello, Tooltip!' },\n 'Text with a tooltip'\n )\n )\n )\n )\n}];\n\nexports.default = examples;\n\n//# sourceURL=webpack:///./examples/examples.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Cartesian.js": -/*!********************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Cartesian.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _util = __webpack_require__(/*! ./util */ \"./node_modules/@compositor/kit/dist/util.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (_ref) {\n var component = _ref.component,\n props = (0, _objectWithoutProperties3.default)(_ref, ['component']);\n\n var combinations = (0, _util.cartesianProduct)(props);\n var Component = component;\n\n return _react2.default.createElement(\n _react.Fragment,\n null,\n combinations.map(function (props, i) {\n return _react2.default.createElement(Component, (0, _extends3.default)({ key: i }, props));\n })\n );\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Cartesian.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Catch.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Catch.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Catch = function (_React$Component) {\n (0, _inherits3.default)(Catch, _React$Component);\n\n function Catch() {\n (0, _classCallCheck3.default)(this, Catch);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, (Catch.__proto__ || (0, _getPrototypeOf2.default)(Catch)).call(this));\n\n _this.state = {};\n return _this;\n }\n\n (0, _createClass3.default)(Catch, [{\n key: 'componentDidCatch',\n value: function componentDidCatch(err) {\n this.setState({ err: err });\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(next) {\n if (next.children !== this.props.children) {\n this.setState({ err: null });\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var err = this.state.err;\n\n\n if (err) return _react2.default.createElement(\n 'pre',\n null,\n err.toString()\n );\n\n return this.props.children;\n }\n }]);\n return Catch;\n}(_react2.default.Component);\n\nexports.default = Catch;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Catch.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Color.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Color.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Contrast = exports.Group = exports.Swatch = undefined;\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _getContrast = __webpack_require__(/*! get-contrast */ \"./node_modules/get-contrast/index.js\");\n\nvar _getContrast2 = _interopRequireDefault(_getContrast);\n\nvar _ = __webpack_require__(/*! . */ \"./node_modules/@compositor/kit/dist/index.js\");\n\nvar _util = __webpack_require__(/*! ./util */ \"./node_modules/@compositor/kit/dist/util.js\");\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Swatch = function Swatch(_ref) {\n var name = _ref.name,\n value = _ref.value,\n props = (0, _objectWithoutProperties3.default)(_ref, ['name', 'value']);\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(\n _ui.Box,\n (0, _extends3.default)({ p: 3 }, props),\n _react2.default.createElement(_ui.Box, { bg: value, p: [3, 4, 5] }),\n _react2.default.createElement(\n _ui.Text,\n null,\n name\n ),\n _react2.default.createElement(\n _ui.Code,\n { f: 0 },\n value\n )\n )\n );\n};\n\nexports.Swatch = Swatch;\nvar Group = function Group(_ref2) {\n var colors = _ref2.colors,\n prefix = _ref2.prefix,\n _ref2$lightText = _ref2.lightText,\n lightText = _ref2$lightText === undefined ? 'white' : _ref2$lightText,\n _ref2$darkText = _ref2.darkText,\n darkText = _ref2$darkText === undefined ? 'black' : _ref2$darkText,\n props = (0, _objectWithoutProperties3.default)(_ref2, ['colors', 'prefix', 'lightText', 'darkText']);\n return _react2.default.createElement(\n _ui.Flex,\n props,\n colors.map(function (c, i) {\n var name = null;\n var value = null;\n if ((typeof c === 'undefined' ? 'undefined' : (0, _typeof3.default)(c)) === 'object') {\n name = (0, _keys2.default)(c)[0];\n value = c[name];\n } else {\n name = prefix ? prefix + '.' + i : c;\n value = c;\n }\n\n var color = _getContrast2.default.isAccessible(value, 'white') ? lightText : darkText;\n\n return _react2.default.createElement(\n _ui.Box,\n { key: name, bg: value, color: color, p: 3 },\n _react2.default.createElement(\n _ui.Text,\n null,\n name\n )\n );\n })\n );\n};\n\nexports.Group = Group;\nvar Contrast = exports.Contrast = function Contrast(_ref3) {\n var color = _ref3.color,\n bg = _ref3.bg,\n children = _ref3.children;\n return _react2.default.createElement(\n _ui.Box,\n { p: [3, 4, 5], bg: bg, color: color },\n _react2.default.createElement(\n _ui.Text,\n { f: [5, 6, 128], fontWeight: 'bold' },\n 'Aa'\n ),\n _react2.default.createElement(\n _ui.Flex,\n { alignItems: 'baseline' },\n _react2.default.createElement(\n _ui.Code,\n { f: 6 },\n _getContrast2.default.ratio(bg, color).toFixed(2)\n ),\n _react2.default.createElement(\n _ui.Text,\n { f: 4, fontWeight: 'bold' },\n _getContrast2.default.score(bg, color)\n )\n ),\n children\n );\n};\n\nvar Color = function Color(_ref4) {\n var colors = _ref4.colors;\n\n var colorsObj = (0, _util.flatten)(colors);\n var colorsArr = (0, _keys2.default)(colorsObj).reduce(function (acc, key) {\n return acc.concat([{ key: key, name: key, value: colorsObj[key] }]);\n }, []);\n\n return _react2.default.createElement(_ui.Flex, {\n flexWrap: 'wrap',\n children: colorsArr.map(function (color) {\n return _react2.default.createElement(Swatch, (0, _extends3.default)({\n width: [1 / 2, 1 / 3, 1 / 5]\n }, color));\n })\n });\n};\n\nColor.Group = Group;\nColor.Swatch = Swatch;\nColor.Contrast = Contrast;\n\nexports.default = Color;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Color.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Colorable.js": -/*!********************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Colorable.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _colorable = __webpack_require__(/*! colorable */ \"./node_modules/colorable/index.js\");\n\nvar _colorable2 = _interopRequireDefault(_colorable);\n\nvar _util = __webpack_require__(/*! ./util */ \"./node_modules/@compositor/kit/dist/util.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (_ref) {\n var colors = _ref.colors,\n children = _ref.children,\n opts = (0, _objectWithoutProperties3.default)(_ref, ['colors', 'children']);\n\n var allColors = Array.isArray(colors) ? colors : (0, _util.flatten)(colors);\n\n return children((0, _colorable2.default)(allColors, opts));\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Colorable.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Debug.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Debug.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.withDebug = exports.Debug = undefined;\n\nvar _stringify = __webpack_require__(/*! babel-runtime/core-js/json/stringify */ \"./node_modules/babel-runtime/core-js/json/stringify.js\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Debug = exports.Debug = function Debug(_ref) {\n var children = _ref.children,\n log = _ref.log;\n\n if (log) {\n console.log(children);\n }\n\n return _react2.default.createElement('pre', {\n style: {\n maxHeight: '400px',\n backgroundColor: '#fafafa',\n padding: '20px',\n overflowX: 'scroll',\n whiteSpace: 'pre-wrap'\n },\n children: (0, _stringify2.default)(children, null, 2)\n });\n};\n\nvar withDebug = exports.withDebug = function withDebug(Component) {\n return function (props) {\n console.log(props);\n\n return _react2.default.createElement(Component, props);\n };\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Debug.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Diff.js": -/*!***************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Diff.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffBox = (0, _nanoStyle2.default)(_ui.Box)(function (_ref) {\n var blendMode = _ref.blendMode;\n return {\n position: 'relative',\n mixBlendMode: blendMode || 'multiply'\n };\n});\n\nvar ComponentBox = (0, _nanoStyle2.default)(_ui.Box)(function (_ref2) {\n var blendMode = _ref2.blendMode;\n return {\n position: 'absolute',\n mixBlendMode: blendMode || 'multiply'\n };\n});\n\nexports.default = function (_ref3) {\n var blendMode = _ref3.blendMode,\n children = _ref3.children;\n\n var diffs = _react2.default.Children.toArray(children);\n return _react2.default.createElement(\n DiffBox,\n null,\n diffs.map(function (el) {\n return _react2.default.createElement(\n ComponentBox,\n { key: el.key, blendMode: blendMode },\n el\n );\n })\n );\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Diff.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Fetch.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Fetch.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _regenerator = __webpack_require__(/*! babel-runtime/regenerator */ \"./node_modules/babel-runtime/regenerator/index.js\");\n\nvar _regenerator2 = _interopRequireDefault(_regenerator);\n\nvar _asyncToGenerator2 = __webpack_require__(/*! babel-runtime/helpers/asyncToGenerator */ \"./node_modules/babel-runtime/helpers/asyncToGenerator.js\");\n\nvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _stringify = __webpack_require__(/*! babel-runtime/core-js/json/stringify */ \"./node_modules/babel-runtime/core-js/json/stringify.js\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactLive = __webpack_require__(/*! react-live */ \"./node_modules/react-live/dist/react-live.es.js\");\n\nvar _isomorphicFetch = __webpack_require__(/*! isomorphic-fetch */ \"./node_modules/isomorphic-fetch/fetch-npm-node.js\");\n\nvar _isomorphicFetch2 = _interopRequireDefault(_isomorphicFetch);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FetchEditor = function FetchEditor(_ref) {\n var onDataChange = _ref.onDataChange,\n onFetchStateChange = _ref.onFetchStateChange,\n fetchState = _ref.fetchState,\n _ref$data = _ref.data,\n data = _ref$data === undefined ? {} : _ref$data;\n\n var fetchStates = ['loading', 'fetched', 'error'];\n var code = (0, _stringify2.default)(data, null, 2);\n\n return _react2.default.createElement(\n _react.Fragment,\n null,\n _react2.default.createElement(_ui.Divider, null),\n _react2.default.createElement(\n _ui.Box,\n { p: 3 },\n _react2.default.createElement(\n _ui.Label,\n null,\n 'Fetch State'\n ),\n _react2.default.createElement(_ui.Select, {\n mt: 1,\n value: fetchState,\n onChange: onFetchStateChange,\n children: fetchStates.map(function (state) {\n return _react2.default.createElement('option', {\n key: state,\n value: state,\n children: state\n });\n })\n })\n ),\n _react2.default.createElement(_ui.Divider, null),\n _react2.default.createElement(_reactLive.Editor, {\n code: code,\n onChange: onDataChange,\n lang: 'jsx'\n })\n );\n};\n\nvar Fetch = function (_Component) {\n (0, _inherits3.default)(Fetch, _Component);\n\n function Fetch() {\n var _this2 = this;\n\n (0, _classCallCheck3.default)(this, Fetch);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, (Fetch.__proto__ || (0, _getPrototypeOf2.default)(Fetch)).call(this));\n\n _this.fetchData = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee() {\n var url, res, data;\n return _regenerator2.default.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n url = _this.props.url;\n _context.prev = 1;\n _context.next = 4;\n return (0, _isomorphicFetch2.default)(url);\n\n case 4:\n res = _context.sent;\n _context.next = 7;\n return res.json();\n\n case 7:\n data = _context.sent;\n\n\n _this.setState({\n fetchState: 'fetched',\n // this might be duplicative state?\n code: (0, _stringify2.default)(data, null, 2),\n data: data\n });\n _context.next = 14;\n break;\n\n case 11:\n _context.prev = 11;\n _context.t0 = _context['catch'](1);\n\n _this.setState({\n error: _context.t0,\n fetchState: 'error'\n });\n\n case 14:\n\n _this.setState({\n loading: false,\n fetching: false,\n fetched: true\n });\n\n case 15:\n case 'end':\n return _context.stop();\n }\n }\n }, _callee, _this2, [[1, 11]]);\n }));\n\n _this.handleDataChange = function (value) {\n if (_this.state.fetching) {\n return;\n }\n\n try {\n var data = JSON.parse(value);\n _this.setState({ data: data });\n } catch (e) {\n _this.setState({ code: value });\n }\n };\n\n _this.handleFetchStateChange = function (e) {\n if (_this.state.fetching) {\n return;\n }\n\n var value = e.target.value;\n\n\n _this.setState({\n fetchState: value,\n loading: value === 'loading',\n error: value === 'error'\n });\n };\n\n _this.render = function () {\n return _react2.default.createElement(\n _react.Fragment,\n null,\n _this.props.children(_this.state),\n _this.props.renderEditor((0, _extends3.default)({\n onDataChange: _this.handleDataChange,\n onFetchStateChange: _this.handleFetchStateChange\n }, _this.state))\n );\n };\n\n _this.state = {\n fetchState: 'loading',\n data: null,\n error: null,\n loading: true,\n fetching: true,\n fetched: false\n };\n return _this;\n }\n\n (0, _createClass3.default)(Fetch, [{\n key: 'componentDidMount',\n value: function () {\n var _ref3 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {\n return _regenerator2.default.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n this.fetchData();\n\n case 1:\n case 'end':\n return _context2.stop();\n }\n }\n }, _callee2, this);\n }));\n\n function componentDidMount() {\n return _ref3.apply(this, arguments);\n }\n\n return componentDidMount;\n }()\n }]);\n return Fetch;\n}(_react.Component);\n\nFetch.defaultProps = {\n renderEditor: FetchEditor\n};\nexports.default = Fetch;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Fetch.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Font.js": -/*!***************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Font.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _webfont = __webpack_require__(/*! @compositor/webfont */ \"./node_modules/@compositor/webfont/index.js\");\n\nvar _webfont2 = _interopRequireDefault(_webfont);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Font = function (_React$Component) {\n (0, _inherits3.default)(Font, _React$Component);\n\n function Font() {\n (0, _classCallCheck3.default)(this, Font);\n return (0, _possibleConstructorReturn3.default)(this, (Font.__proto__ || (0, _getPrototypeOf2.default)(Font)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(Font, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n fontFamily = _props.fontFamily,\n lineHeight = _props.lineHeight,\n color = _props.color,\n props = (0, _objectWithoutProperties3.default)(_props, ['fontFamily', 'lineHeight', 'color']);\n\n var url = _webfont2.default.getURL(fontFamily);\n\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n url && _react2.default.createElement('link', { rel: 'stylesheet', href: url }),\n _react2.default.createElement('div', (0, _extends3.default)({}, props, {\n style: {\n fontFamily: fontFamily,\n lineHeight: lineHeight,\n color: color,\n '--color': color\n }\n }))\n );\n }\n }]);\n return Font;\n}(_react2.default.Component);\n\nFont.defaultProps = {\n fontFamily: 'system-ui, sans-serif',\n lineHeight: 1.5,\n color: '#000'\n};\nexports.default = Font;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Font.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Frame.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Frame.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactDom = __webpack_require__(/*! react-dom */ \"./node_modules/react-dom/index.js\");\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _server = __webpack_require__(/*! react-dom/server */ \"./node_modules/react-dom/server.js\");\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Frame = function (_React$Component) {\n (0, _inherits3.default)(Frame, _React$Component);\n\n function Frame() {\n (0, _classCallCheck3.default)(this, Frame);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, (Frame.__proto__ || (0, _getPrototypeOf2.default)(Frame)).call(this));\n\n _this.doc = null;\n _this.win = null;\n _this.div = null;\n\n _this.getSrc = function () {\n var _this$props = _this.props,\n _this$props$zoom = _this$props.zoom,\n zoom = _this$props$zoom === undefined ? 1 : _this$props$zoom,\n _this$props$css = _this$props.css,\n css = _this$props$css === undefined ? '' : _this$props$css,\n head = _this$props.head;\n\n var headHTML = '';\n if (head) {\n headHTML = (0, _server.renderToStaticMarkup)(head);\n }\n return '' + headHTML + '\\n
';\n };\n\n _this.onLoad = function (e) {\n _this.doc = _this.root.contentDocument;\n _this.win = _this.root.contentWindow;\n _this.update(_this.props);\n };\n\n _this.update = function (_ref) {\n var render = _ref.render,\n children = _ref.children;\n\n if (!_this.doc) return;\n var div = _this.doc.getElementById('app');\n if (typeof render === 'function') {\n _reactDom2.default.render(render({\n document: _this.doc,\n window: _this.win\n }), div);\n } else {\n _reactDom2.default.render(children, div);\n }\n };\n return _this;\n }\n\n (0, _createClass3.default)(Frame, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(next) {\n if (next.children !== this.props.children) {\n this.update(next);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var _props = this.props,\n width = _props.width,\n height = _props.height,\n zoom = _props.zoom,\n children = _props.children;\n\n\n return _react2.default.createElement('iframe', {\n ref: function ref(_ref2) {\n return _this2.root = _ref2;\n },\n style: {\n width: width,\n height: height,\n zoom: zoom,\n pointerEvents: 'none',\n display: 'block',\n margin: 0,\n overflow: 'scroll',\n backgroundColor: '#fff',\n opacity: !!children ? 1 : 0.25,\n border: 0\n },\n srcDoc: this.getSrc(),\n scrolling: 'yes',\n onLoad: this.onLoad\n });\n }\n }]);\n return Frame;\n}(_react2.default.Component);\n\nFrame.propTypes = {\n head: _propTypes2.default.node,\n zoom: _propTypes2.default.number,\n width: _propTypes2.default.string,\n height: _propTypes2.default.string,\n css: _propTypes2.default.string\n};\nFrame.defaultProps = {\n zoom: 1,\n width: '100%',\n height: '100%',\n css: 'body{font-family:system-ui,sans-serif;line-height:1.5}'\n};\nexports.default = Frame;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Frame.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Library.js": -/*!******************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Library.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Head = exports.Detail = exports.Example = exports.Library = undefined;\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _slicedToArray2 = __webpack_require__(/*! babel-runtime/helpers/slicedToArray */ \"./node_modules/babel-runtime/helpers/slicedToArray.js\");\n\nvar _slicedToArray3 = _interopRequireDefault(_slicedToArray2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _class, _temp2;\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"./node_modules/react-router-dom/es/index.js\");\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nvar _Frame = __webpack_require__(/*! ./Frame */ \"./node_modules/@compositor/kit/dist/Frame.js\");\n\nvar _Frame2 = _interopRequireDefault(_Frame);\n\nvar _Catch = __webpack_require__(/*! ./Catch */ \"./node_modules/@compositor/kit/dist/Catch.js\");\n\nvar _Catch2 = _interopRequireDefault(_Catch);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Root = (0, _nanoStyle2.default)('div')({\n display: 'flex',\n alignItems: 'flex-start',\n height: '100vh'\n});\n\nvar Main = (0, _nanoStyle2.default)('div')({\n flex: '1 1 auto',\n height: '100vh',\n overflowY: 'auto',\n WebkitOverflowScrolling: 'touch'\n});\n\nvar Card = (0, _nanoStyle2.default)(_reactRouterDom.Link)({\n display: 'block',\n color: 'inherit',\n textDecoration: 'none',\n overflow: 'hidden',\n border: '1px solid #f6f6f6',\n '&:hover': {\n borderColor: '#ddd'\n }\n});\n\nvar SideBar = (0, _nanoStyle2.default)('div')({\n width: '192px',\n flex: 'none',\n height: '100vh',\n overflowY: 'auto',\n WebkitOverflowScrolling: 'touch',\n borderRight: '1px solid #f6f6f6'\n});\n\nvar NavItem = (0, _nanoStyle2.default)(_reactRouterDom.NavLink)({\n display: 'block',\n paddingLeft: '8px',\n paddingRight: '8px',\n paddingTop: '4px',\n paddingBottom: '4px',\n fontSize: '12px',\n fontWeight: 'bold',\n textDecoration: 'none',\n color: 'inherit',\n WebkitUserSelect: 'none',\n userSelect: 'none',\n '&.active': {\n color: 'white',\n backgroundColor: 'black'\n }\n});\n\nvar Router = typeof document !== 'undefined' ? _reactRouterDom.BrowserRouter : _reactRouterDom.StaticRouter;\n\nvar Library = exports.Library = function (_React$Component) {\n (0, _inherits3.default)(Library, _React$Component);\n\n function Library() {\n (0, _classCallCheck3.default)(this, Library);\n return (0, _possibleConstructorReturn3.default)(this, (Library.__proto__ || (0, _getPrototypeOf2.default)(Library)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(Library, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n basename = _props.basename,\n props = (0, _objectWithoutProperties3.default)(_props, ['basename']);\n\n\n return _react2.default.createElement(\n Router,\n { basename: basename, context: {} },\n _react2.default.createElement(LibraryApp, props)\n );\n }\n }]);\n return Library;\n}(_react2.default.Component);\n\nvar LibraryApp = (0, _reactRouterDom.withRouter)((_temp2 = _class = function (_React$Component2) {\n (0, _inherits3.default)(_class, _React$Component2);\n\n function _class() {\n var _ref;\n\n var _temp, _this2, _ret;\n\n (0, _classCallCheck3.default)(this, _class);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this2 = (0, _possibleConstructorReturn3.default)(this, (_ref = _class.__proto__ || (0, _getPrototypeOf2.default)(_class)).call.apply(_ref, [this].concat(args))), _this2), _this2.getExampleChildren = function (_ref2) {\n var children = _ref2.children;\n return _react2.default.Children.toArray(children).filter(function (c) {\n return c.type._kitLibraryExample;\n }).filter(function (c) {\n return !!c.props.name;\n }).map(function (c) {\n return {\n name: c.props.name,\n element: c.props.children\n };\n });\n }, _this2.getHead = function (_ref3) {\n var children = _ref3.children;\n\n var _React$Children$toArr = _react2.default.Children.toArray(children).filter(function (c) {\n return c.type === Head;\n }),\n _React$Children$toArr2 = (0, _slicedToArray3.default)(_React$Children$toArr, 1),\n head = _React$Children$toArr2[0];\n\n if (!head || !head.props) return null;\n return head.props.children;\n }, _temp), (0, _possibleConstructorReturn3.default)(_this2, _ret);\n }\n\n (0, _createClass3.default)(_class, [{\n key: 'render',\n value: function render() {\n var _props2 = this.props,\n title = _props2.title,\n renderSideNav = _props2.renderSideNav,\n renderCard = _props2.renderCard;\n\n\n var examples = this.props.examples || this.getExampleChildren(this.props);\n var head = this.getHead(this.props);\n\n var sidenav = typeof renderSideNav === 'function' ? renderSideNav((0, _extends3.default)({}, this.state, { title: title, examples: examples })) : _react2.default.createElement(SideNav, { title: title, examples: examples });\n\n return _react2.default.createElement(\n Root,\n null,\n _react2.default.createElement(\n SideBar,\n null,\n sidenav\n ),\n _react2.default.createElement(\n Main,\n null,\n _react2.default.createElement(_reactRouterDom.Route, {\n exact: true,\n path: '/',\n render: function render() {\n return _react2.default.createElement(\n _ui.Grid,\n null,\n examples.map(function (example) {\n return typeof renderCard === 'function' ? renderCard({ example: example, Card: Card, Link: _reactRouterDom.Link }) : _react2.default.createElement(\n Card,\n { key: example.name, to: '/' + example.name },\n _react2.default.createElement(\n _Catch2.default,\n null,\n _react2.default.createElement(\n _ui.Box,\n { p: 2 },\n _react2.default.createElement(ExampleFrame, {\n head: head,\n example: example\n })\n )\n )\n );\n })\n );\n }\n }),\n examples.map(function (example) {\n return _react2.default.createElement(_reactRouterDom.Route, {\n key: example.name,\n path: '/' + example.name,\n render: function render() {\n return _react2.default.createElement(\n _ui.Box,\n null,\n _react2.default.createElement(\n _Catch2.default,\n null,\n _react2.default.createElement(ExampleFrame, {\n head: head,\n example: example,\n height: '100vh'\n })\n )\n );\n }\n });\n })\n )\n );\n }\n }]);\n return _class;\n}(_react2.default.Component), _class.propTypes = {\n title: _propTypes2.default.string,\n examples: _propTypes2.default.array,\n renderSideNav: _propTypes2.default.func,\n renderCard: _propTypes2.default.func,\n useFrame: _propTypes2.default.bool\n}, _temp2));\n\nvar ExampleFrame = function ExampleFrame(_ref4) {\n var example = _ref4.example,\n useFrame = _ref4.useFrame,\n head = _ref4.head;\n\n if (!useFrame) {\n return example.element;\n }\n return _react2.default.createElement(\n _Frame2.default,\n (0, _extends3.default)({ head: head }, props),\n example.element\n );\n};\n\nvar SideNav = function (_React$Component3) {\n (0, _inherits3.default)(SideNav, _React$Component3);\n\n function SideNav() {\n (0, _classCallCheck3.default)(this, SideNav);\n return (0, _possibleConstructorReturn3.default)(this, (SideNav.__proto__ || (0, _getPrototypeOf2.default)(SideNav)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(SideNav, [{\n key: 'render',\n value: function render() {\n var _props3 = this.props,\n examples = _props3.examples,\n title = _props3.title;\n\n\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(\n NavItem,\n { exact: true, to: '/' },\n title\n ),\n examples.map(function (example) {\n return _react2.default.createElement(\n NavItem,\n { key: example.name, to: '/' + example.name },\n example.name\n );\n })\n );\n }\n }]);\n return SideNav;\n}(_react2.default.Component);\n\nSideNav.propTypes = {\n title: _propTypes2.default.string,\n examples: _propTypes2.default.array\n};\nSideNav.defaultProps = {\n title: 'Kit',\n examples: []\n};\n\nvar Example = exports.Example = function (_React$Component4) {\n (0, _inherits3.default)(Example, _React$Component4);\n\n function Example() {\n (0, _classCallCheck3.default)(this, Example);\n return (0, _possibleConstructorReturn3.default)(this, (Example.__proto__ || (0, _getPrototypeOf2.default)(Example)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(Example, [{\n key: 'render',\n value: function render() {\n return _react2.default.createElement(_react2.default.Fragment, this.props);\n }\n }]);\n return Example;\n}(_react2.default.Component);\n\nExample._kitLibraryExample = true;\nExample.propTypes = {\n name: _propTypes2.default.string.isRequired\n};\nvar Detail = exports.Detail = (0, _reactRouterDom.withRouter)(function (_React$Component5) {\n (0, _inherits3.default)(_class2, _React$Component5);\n\n function _class2() {\n (0, _classCallCheck3.default)(this, _class2);\n return (0, _possibleConstructorReturn3.default)(this, (_class2.__proto__ || (0, _getPrototypeOf2.default)(_class2)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(_class2, [{\n key: 'render',\n value: function render() {\n var location = this.props.location;\n\n if (location.pathname === '/') return false;\n\n return _react2.default.createElement('div', this.props);\n }\n }]);\n return _class2;\n}(_react2.default.Component));\n\nvar Head = exports.Head = function (_React$Component6) {\n (0, _inherits3.default)(Head, _React$Component6);\n\n function Head() {\n (0, _classCallCheck3.default)(this, Head);\n return (0, _possibleConstructorReturn3.default)(this, (Head.__proto__ || (0, _getPrototypeOf2.default)(Head)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(Head, [{\n key: 'render',\n value: function render() {\n return false;\n }\n }]);\n return Head;\n}(_react2.default.Component);\n\nexports.default = Library;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Library.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/LiveEditor.js": -/*!*********************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/LiveEditor.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _grayMatter = __webpack_require__(/*! gray-matter */ \"./node_modules/gray-matter/index.js\");\n\nvar _grayMatter2 = _interopRequireDefault(_grayMatter);\n\nvar _styledComponents = __webpack_require__(/*! styled-components */ \"./node_modules/styled-components/dist/styled-components.es.js\");\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _reactLive = __webpack_require__(/*! react-live */ \"./node_modules/react-live/dist/react-live.es.js\");\n\nvar _Catch = __webpack_require__(/*! ./Catch */ \"./node_modules/@compositor/kit/dist/Catch.js\");\n\nvar _Catch2 = _interopRequireDefault(_Catch);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Editor = (0, _nanoStyle2.default)(_reactLive.LiveEditor)({\n fontFamily: 'Menlo, monospace',\n fontSize: '14px',\n padding: '8px',\n backgroundColor: '#f6f6f6',\n outline: 'none'\n});\n\nvar KitEditor = function (_Component) {\n (0, _inherits3.default)(KitEditor, _Component);\n\n function KitEditor() {\n (0, _classCallCheck3.default)(this, KitEditor);\n return (0, _possibleConstructorReturn3.default)(this, (KitEditor.__proto__ || (0, _getPrototypeOf2.default)(KitEditor)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(KitEditor, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n code = _props.code,\n scope = _props.scope,\n _props$theme = _props.theme,\n theme = _props$theme === undefined ? {} : _props$theme;\n\n var _matter = (0, _grayMatter2.default)(code),\n content = _matter.content,\n _matter$data = _matter.data,\n data = _matter$data === undefined ? {} : _matter$data;\n\n return _react2.default.createElement(\n _Catch2.default,\n null,\n _react2.default.createElement(\n _reactLive.LiveProvider,\n {\n mountStylesheet: false,\n scope: (0, _extends3.default)({\n ThemeProvider: _styledComponents.ThemeProvider,\n theme: theme\n }, scope),\n code: content,\n transformCode: function transformCode(code) {\n return '\\n \\n
' + code + '
\\n
\\n ';\n }\n },\n _react2.default.createElement(\n _ui.Box,\n null,\n _react2.default.createElement(_reactLive.LivePreview, null),\n _react2.default.createElement(\n _ui.Box,\n { mt: 2 },\n _react2.default.createElement(Editor, null)\n ),\n _react2.default.createElement(\n _ui.Box,\n { w: 1 },\n _react2.default.createElement(_reactLive.LiveError, {\n style: {\n backgroundColor: 'red',\n color: 'white',\n padding: '.5rem',\n height: 'auto'\n }\n })\n )\n )\n )\n );\n }\n }]);\n return KitEditor;\n}(_react.Component);\n\nKitEditor.propTypes = {\n code: _propTypes2.default.string.isRequired,\n scope: _propTypes2.default.object,\n theme: _propTypes2.default.object\n};\nexports.default = KitEditor;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/LiveEditor.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Markdown.js": -/*!*******************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Markdown.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _buble = __webpack_require__(/*! buble */ \"./node_modules/buble/dist/buble.es.js\");\n\nvar _mdx = __webpack_require__(/*! @mdx-js/mdx */ \"./node_modules/@mdx-js/mdx/index.js\");\n\nvar _mdx2 = _interopRequireDefault(_mdx);\n\nvar _tag = __webpack_require__(/*! @mdx-js/tag */ \"./node_modules/@mdx-js/tag/dist/index.js\");\n\nvar _styledComponents = __webpack_require__(/*! styled-components */ \"./node_modules/styled-components/dist/styled-components.es.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (_ref) {\n var children = _ref.children,\n components = _ref.components,\n _ref$theme = _ref.theme,\n theme = _ref$theme === undefined ? {} : _ref$theme;\n\n var jsx = _mdx2.default.sync(children).replace('export default ({components}) =>', '');\n\n var _transform = (0, _buble.transform)('\\n \\n \\n ' + jsx + '\\n \\n \\n '),\n code = _transform.code;\n\n var scope = (0, _extends3.default)({ ThemeProvider: _styledComponents.ThemeProvider, MDXTag: _tag.MDXTag }, components, { components: components, theme: theme });\n var keys = (0, _keys2.default)(scope);\n var values = keys.map(function (k) {\n return scope[k];\n });\n\n var fn = new (Function.prototype.bind.apply(Function, [null].concat(['React'], (0, _toConsumableArray3.default)(keys), ['return (' + code + ')'])))();\n\n return fn.apply(undefined, [_react2.default].concat((0, _toConsumableArray3.default)(values)));\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Markdown.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Matrix.js": -/*!*****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Matrix.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Root = (0, _nanoStyle2.default)(_ui.Flex)({\n overflowX: 'auto'\n});\n\nexports.default = function (_ref) {\n var component = _ref.component,\n _ref$x = _ref.x,\n x = _ref$x === undefined ? [] : _ref$x,\n _ref$y = _ref.y,\n y = _ref$y === undefined ? [] : _ref$y,\n _ref$width = _ref.width,\n width = _ref$width === undefined ? 512 : _ref$width;\n\n var Component = component;\n\n return _react2.default.createElement(\n _react.Fragment,\n null,\n y.map(function (row, i) {\n return _react2.default.createElement(\n Root,\n { key: i },\n x.map(function (col, j) {\n return _react2.default.createElement(\n _ui.Box,\n { key: [i, j].join(), w: width },\n _react2.default.createElement(Component, (0, _extends3.default)({}, row, col))\n );\n })\n );\n })\n );\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Matrix.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/PropsForm.js": -/*!********************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/PropsForm.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _defineProperty2 = __webpack_require__(/*! babel-runtime/helpers/defineProperty */ \"./node_modules/babel-runtime/helpers/defineProperty.js\");\n\nvar _defineProperty3 = _interopRequireDefault(_defineProperty2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _slicedToArray2 = __webpack_require__(/*! babel-runtime/helpers/slicedToArray */ \"./node_modules/babel-runtime/helpers/slicedToArray.js\");\n\nvar _slicedToArray3 = _interopRequireDefault(_slicedToArray2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PropsForm = function (_React$Component) {\n (0, _inherits3.default)(PropsForm, _React$Component);\n\n function PropsForm(props) {\n (0, _classCallCheck3.default)(this, PropsForm);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, (PropsForm.__proto__ || (0, _getPrototypeOf2.default)(PropsForm)).call(this));\n\n var _React$Children$toArr = _react2.default.Children.toArray(props.children),\n _React$Children$toArr2 = (0, _slicedToArray3.default)(_React$Children$toArr, 1),\n child = _React$Children$toArr2[0];\n\n var initialState = child ? child.props : {};\n _this.state = initialState;\n _this.update = function (fn) {\n return _this.setState(fn);\n };\n return _this;\n }\n\n (0, _createClass3.default)(PropsForm, [{\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(next) {\n if (next.children !== this.props.children) {\n var _React$Children$toArr3 = _react2.default.Children.toArray(next.children),\n _React$Children$toArr4 = (0, _slicedToArray3.default)(_React$Children$toArr3, 1),\n child = _React$Children$toArr4[0];\n\n this.update(child.props);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n var children = _react2.default.Children.toArray(this.props.children);\n\n var _children = (0, _slicedToArray3.default)(children, 1),\n child = _children[0];\n\n var clone = _react2.default.cloneElement(child, this.state);\n\n var controls = children.filter(function (c) {\n return c.type.isForm === true;\n }).map(function (c) {\n return _react2.default.cloneElement(c, { props: _this2.state, update: _this2.update });\n });\n\n return _react2.default.createElement(\n _ui.Flex,\n { flexDirection: 'column' },\n _react2.default.createElement(\n _ui.Box,\n { pb: 4, flex: '1 1 auto' },\n _react2.default.cloneElement(child, this.state)\n ),\n _react2.default.createElement(_ui.Divider, null),\n _react2.default.createElement(\n _ui.Box,\n { flex: 'none', py: 2, mt: 2 },\n controls\n )\n );\n }\n }]);\n return PropsForm;\n}(_react2.default.Component);\n\nPropsForm.Input = function (_ref) {\n var update = _ref.update,\n name = _ref.name,\n _ref$props = _ref.props,\n props = _ref$props === undefined ? {} : _ref$props,\n rest = (0, _objectWithoutProperties3.default)(_ref, ['update', 'name', 'props']);\n return _react2.default.createElement(\n _ui.Box,\n { mb: 2 },\n _react2.default.createElement(\n _ui.Label,\n null,\n name\n ),\n _react2.default.createElement(_ui.Input, (0, _extends3.default)({}, rest, {\n name: name,\n value: props[name] || '',\n onChange: function onChange(e) {\n var value = e.target.value;\n\n update((0, _defineProperty3.default)({}, name, value));\n }\n }))\n );\n};\nPropsForm.Input.isForm = true;\n\nPropsForm.Select = function (_ref2) {\n var update = _ref2.update,\n name = _ref2.name,\n _ref2$props = _ref2.props,\n props = _ref2$props === undefined ? {} : _ref2$props,\n rest = (0, _objectWithoutProperties3.default)(_ref2, ['update', 'name', 'props']);\n return _react2.default.createElement(\n _ui.Box,\n { mb: 2 },\n _react2.default.createElement(\n _ui.Label,\n null,\n name\n ),\n _react2.default.createElement(_ui.Select, (0, _extends3.default)({}, rest, {\n name: name,\n value: props[name] || '',\n onChange: function onChange(e) {\n var value = e.target.value;\n\n update((0, _defineProperty3.default)({}, name, value));\n }\n }))\n );\n};\nPropsForm.Select.isForm = true;\n\nexports.default = PropsForm;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/PropsForm.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Responsive.js": -/*!*********************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Responsive.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _Frame = __webpack_require__(/*! ./Frame */ \"./node_modules/@compositor/kit/dist/Frame.js\");\n\nvar _Frame2 = _interopRequireDefault(_Frame);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Root = (0, _nanoStyle2.default)(_ui.Flex)({\n overflowX: 'auto'\n});\n\nvar Card = (0, _nanoStyle2.default)(_ui.Box)({\n border: '1px solid #f6f6f6'\n});\n\nvar Label = (0, _nanoStyle2.default)('div')({\n fontSize: '10px'\n});\n\nvar Responsive = function (_React$Component) {\n (0, _inherits3.default)(Responsive, _React$Component);\n\n function Responsive() {\n (0, _classCallCheck3.default)(this, Responsive);\n return (0, _possibleConstructorReturn3.default)(this, (Responsive.__proto__ || (0, _getPrototypeOf2.default)(Responsive)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(Responsive, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n viewports = _props.viewports,\n zoom = _props.zoom,\n children = _props.children;\n\n\n return _react2.default.createElement(\n Root,\n null,\n viewports.map(function (viewport) {\n return _react2.default.createElement(\n _ui.Box,\n { key: viewport.width + 'x' + viewport.height, p: 3 },\n _react2.default.createElement(\n Card,\n null,\n _react2.default.createElement(_Frame2.default, (0, _extends3.default)({}, viewport, { zoom: zoom, children: children }))\n ),\n _react2.default.createElement(\n Label,\n null,\n viewport.width,\n ' x ',\n viewport.height,\n ' @',\n zoom,\n 'x'\n )\n );\n })\n );\n }\n }]);\n return Responsive;\n}(_react2.default.Component);\n\nResponsive.defaultProps = {\n viewports: [{ width: 375, height: 667 }, { width: 414, height: 736 }, { width: 1024, height: 768 }, { width: 1366, height: 1024 }]\n};\nexports.default = Responsive;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Responsive.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/State.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/State.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar State = function (_React$Component) {\n (0, _inherits3.default)(State, _React$Component);\n\n function State() {\n var _ref;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, State);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref = State.__proto__ || (0, _getPrototypeOf2.default)(State)).call.apply(_ref, [this].concat(args))), _this), _initialiseProps.call(_this), _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(State, [{\n key: 'render',\n value: function render() {\n var _props = this.props,\n render = _props.render,\n Component = _props.component,\n children = _props.children,\n props = (0, _objectWithoutProperties3.default)(_props, ['render', 'component', 'children']);\n\n\n var renderProps = (0, _extends3.default)({}, this.state, {\n update: this.update\n });\n\n if (typeof Component === 'function') {\n return _react2.default.createElement(Component, renderProps);\n }\n\n if (typeof render === 'function') {\n return render(renderProps);\n }\n\n if (typeof children === 'function') {\n return children(renderProps);\n }\n\n return false;\n }\n }]);\n return State;\n}(_react2.default.Component);\n\nState.displayName = 'State';\nState.propTypes = {\n render: _propTypes2.default.func,\n component: _propTypes2.default.func,\n children: _propTypes2.default.func\n};\n\nvar _initialiseProps = function _initialiseProps() {\n var _this2 = this;\n\n this.state = this.props;\n\n this.update = function () {\n return _this2.setState.apply(_this2, arguments);\n };\n};\n\nState.displayName = 'State';\n\nexports.default = State;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/State.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/Style.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/Style.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (_ref) {\n var children = _ref.children;\n return _react2.default.createElement('style', {\n dangerouslySetInnerHTML: {\n __html: children\n }\n });\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/Style.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/TypeScale.js": -/*!********************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/TypeScale.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Specimen = exports.StepLabel = exports.Step = undefined;\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Row = (0, _nanoStyle2.default)(_ui.Flex)({ minHeight: '64px' });\n\nvar Step = exports.Step = (0, _nanoStyle2.default)(_ui.Text)({\n fontWeight: 'normal',\n lineHeight: 1.25,\n minWidth: '0px',\n flex: 1,\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis'\n});\n\nvar StepLabel = exports.StepLabel = (0, _nanoStyle2.default)(_ui.Text)({\n display: 'inline-block',\n fontWeight: 'normal'\n});\n\nvar Specimen = exports.Specimen = function Specimen(_ref) {\n var text = _ref.text,\n value = _ref.value,\n n = _ref.n,\n fontFamily = _ref.fontFamily,\n color = _ref.color;\n return _react2.default.createElement(\n _react.Fragment,\n null,\n _react2.default.createElement(\n Row,\n { mb: 2, align: 'baseline' },\n _react2.default.createElement(\n Step,\n {\n style: {\n fontFamily: fontFamily,\n fontSize: value,\n color: color\n }\n },\n _react2.default.createElement(StepLabel, { f: 0, mr: 2, children: n }),\n ' ',\n text\n ),\n _react2.default.createElement(\n _ui.Flex,\n { w: 96, style: { alignSelf: 'baseline' }, align: 'baseline', ml: 'auto' },\n _react2.default.createElement(\n _ui.Text,\n { mr: 1 },\n value\n ),\n _react2.default.createElement(\n _ui.Text,\n { f: 0 },\n 'px'\n )\n )\n )\n );\n};\n\nvar TypeScale = function TypeScale(_ref2) {\n var text = _ref2.text,\n value = _ref2.value,\n fontFamily = _ref2.fontFamily,\n color = _ref2.color;\n return _react2.default.createElement(\n _react.Fragment,\n null,\n [].concat((0, _toConsumableArray3.default)(value)).reverse().map(function (fontSize, i) {\n return _react2.default.createElement(Specimen, {\n key: fontSize,\n n: value.length - 1 - i,\n value: fontSize,\n text: text,\n fontFamily: fontFamily,\n color: color\n });\n })\n );\n};\nTypeScale.defaultProps = {\n text: 'Aa The quick brown fox jumps over the lazy dog'\n};\n\nexports.default = TypeScale;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/TypeScale.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/XRay.js": -/*!***************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/XRay.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = exports.gradient = undefined;\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@compositor/kit/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _chromaJs = __webpack_require__(/*! chroma-js */ \"./node_modules/chroma-js/chroma.js\");\n\nvar _chromaJs2 = _interopRequireDefault(_chromaJs);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar gradient = exports.gradient = function gradient() {\n var angle = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var size = arguments[1];\n var color = arguments[2];\n return 'linear-gradient(' + angle + 'deg, transparent, transparent ' + (size - 1) + 'px, ' + color + ' ' + (size - 1) + 'px)';\n};\n\nvar alpha = exports.alpha = function alpha(val, a) {\n try {\n return (0, _chromaJs2.default)(val).alpha(a).css();\n } catch (e) {\n return val;\n }\n};\n\nvar XRay = (0, _nanoStyle2.default)('div')(function (_ref) {\n var padding = _ref.padding,\n color = _ref.color,\n backgroundColor = _ref.backgroundColor,\n outline = _ref.outline,\n grid = _ref.grid,\n center = _ref.center,\n disabled = _ref.disabled,\n style = _ref.style;\n return disabled ? (0, _extends3.default)({}, style, { padding: padding }) : (0, _extends3.default)({}, style, {\n padding: padding,\n color: color,\n backgroundColor: backgroundColor,\n backgroundPosition: center ? 'center center' : 'left top',\n '& *': {\n color: outline ? color + ' !important' : null,\n outline: outline ? '1px solid ' + alpha(color, 1 / 2) + ' !important' : null,\n backgroundColor: outline ? alpha(color, 1 / 8) + ' !important' : null\n }\n }, getGrid(grid, alpha(color, 1 / 4)));\n});\n\nvar getGrid = function getGrid(grid, color) {\n if (!grid) return null;\n var size = grid && typeof grid === 'number' ? grid : 8;\n return {\n backgroundImage: gradient(0, size, color) + ', ' + gradient(90, size, color),\n backgroundSize: size + 'px ' + size + 'px'\n };\n};\n\nXRay.propTypes = {\n padding: (0, _propTypes.oneOfType)([_propTypes.string, _propTypes.number]),\n color: _propTypes.string,\n backgroundColor: _propTypes.string,\n outline: _propTypes.bool,\n grid: (0, _propTypes.oneOfType)([_propTypes.number, _propTypes.bool]),\n center: _propTypes.bool\n};\n\nXRay.defaultProps = {\n padding: 0,\n outline: true,\n grid: 8,\n color: '#6bf',\n backgroundColor: '#001424',\n center: false\n};\n\nexports.default = XRay;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/XRay.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/index.js": -/*!****************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/index.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _Library = __webpack_require__(/*! ./Library */ \"./node_modules/@compositor/kit/dist/Library.js\");\n\nObject.defineProperty(exports, 'Library', {\n enumerable: true,\n get: function get() {\n return _Library.Library;\n }\n});\nObject.defineProperty(exports, 'Example', {\n enumerable: true,\n get: function get() {\n return _Library.Example;\n }\n});\nObject.defineProperty(exports, 'Detail', {\n enumerable: true,\n get: function get() {\n return _Library.Detail;\n }\n});\nObject.defineProperty(exports, 'Head', {\n enumerable: true,\n get: function get() {\n return _Library.Head;\n }\n});\n\nvar _LiveEditor = __webpack_require__(/*! ./LiveEditor */ \"./node_modules/@compositor/kit/dist/LiveEditor.js\");\n\nObject.defineProperty(exports, 'LiveEditor', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_LiveEditor).default;\n }\n});\n\nvar _Frame = __webpack_require__(/*! ./Frame */ \"./node_modules/@compositor/kit/dist/Frame.js\");\n\nObject.defineProperty(exports, 'Frame', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Frame).default;\n }\n});\n\nvar _Catch = __webpack_require__(/*! ./Catch */ \"./node_modules/@compositor/kit/dist/Catch.js\");\n\nObject.defineProperty(exports, 'Catch', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Catch).default;\n }\n});\n\nvar _XRay = __webpack_require__(/*! ./XRay */ \"./node_modules/@compositor/kit/dist/XRay.js\");\n\nObject.defineProperty(exports, 'XRay', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_XRay).default;\n }\n});\n\nvar _PropsForm = __webpack_require__(/*! ./PropsForm */ \"./node_modules/@compositor/kit/dist/PropsForm.js\");\n\nObject.defineProperty(exports, 'PropsForm', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_PropsForm).default;\n }\n});\n\nvar _Responsive = __webpack_require__(/*! ./Responsive */ \"./node_modules/@compositor/kit/dist/Responsive.js\");\n\nObject.defineProperty(exports, 'Responsive', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Responsive).default;\n }\n});\n\nvar _Cartesian = __webpack_require__(/*! ./Cartesian */ \"./node_modules/@compositor/kit/dist/Cartesian.js\");\n\nObject.defineProperty(exports, 'Cartesian', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Cartesian).default;\n }\n});\n\nvar _Matrix = __webpack_require__(/*! ./Matrix */ \"./node_modules/@compositor/kit/dist/Matrix.js\");\n\nObject.defineProperty(exports, 'Matrix', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Matrix).default;\n }\n});\n\nvar _Markdown = __webpack_require__(/*! ./Markdown */ \"./node_modules/@compositor/kit/dist/Markdown.js\");\n\nObject.defineProperty(exports, 'Markdown', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Markdown).default;\n }\n});\n\nvar _Diff = __webpack_require__(/*! ./Diff */ \"./node_modules/@compositor/kit/dist/Diff.js\");\n\nObject.defineProperty(exports, 'Diff', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Diff).default;\n }\n});\n\nvar _Debug = __webpack_require__(/*! ./Debug */ \"./node_modules/@compositor/kit/dist/Debug.js\");\n\nObject.defineProperty(exports, 'Debug', {\n enumerable: true,\n get: function get() {\n return _Debug.Debug;\n }\n});\nObject.defineProperty(exports, 'withDebug', {\n enumerable: true,\n get: function get() {\n return _Debug.withDebug;\n }\n});\n\nvar _TypeScale = __webpack_require__(/*! ./TypeScale */ \"./node_modules/@compositor/kit/dist/TypeScale.js\");\n\nObject.defineProperty(exports, 'TypeScale', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_TypeScale).default;\n }\n});\n\nvar _Color = __webpack_require__(/*! ./Color */ \"./node_modules/@compositor/kit/dist/Color.js\");\n\nObject.defineProperty(exports, 'Color', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Color).default;\n }\n});\n\nvar _Style = __webpack_require__(/*! ./Style */ \"./node_modules/@compositor/kit/dist/Style.js\");\n\nObject.defineProperty(exports, 'Style', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Style).default;\n }\n});\n\nvar _Font = __webpack_require__(/*! ./Font */ \"./node_modules/@compositor/kit/dist/Font.js\");\n\nObject.defineProperty(exports, 'Font', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Font).default;\n }\n});\n\nvar _ui = __webpack_require__(/*! ./ui */ \"./node_modules/@compositor/kit/dist/ui.js\");\n\nObject.defineProperty(exports, 'UI', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_ui).default;\n }\n});\n\nvar _State = __webpack_require__(/*! ./State */ \"./node_modules/@compositor/kit/dist/State.js\");\n\nObject.defineProperty(exports, 'State', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_State).default;\n }\n});\n\nvar _Colorable = __webpack_require__(/*! ./Colorable */ \"./node_modules/@compositor/kit/dist/Colorable.js\");\n\nObject.defineProperty(exports, 'Colorable', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Colorable).default;\n }\n});\n\nvar _Fetch = __webpack_require__(/*! ./Fetch */ \"./node_modules/@compositor/kit/dist/Fetch.js\");\n\nObject.defineProperty(exports, 'Fetch', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Fetch).default;\n }\n});\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/index.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/ui.js": -/*!*************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/ui.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Code = exports.Text = exports.Measure = exports.Divider = exports.Select = exports.Input = exports.Label = exports.Grid = exports.Flex = exports.Box = undefined;\n\nvar _nanoStyle = __webpack_require__(/*! nano-style */ \"./node_modules/nano-style/dist/index.js\");\n\nvar _nanoStyle2 = _interopRequireDefault(_nanoStyle);\n\nvar _styledSystem = __webpack_require__(/*! styled-system */ \"./node_modules/styled-system/dist/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar px = _styledSystem.util.px;\nvar Box = exports.Box = (0, _nanoStyle2.default)('div')(_styledSystem.color, _styledSystem.space, _styledSystem.width, _styledSystem.flex, _styledSystem.alignSelf);\nBox.displayName = 'Box';\n\nvar Flex = exports.Flex = (0, _nanoStyle2.default)(Box)({\n display: 'flex'\n}, _styledSystem.alignItems, _styledSystem.justifyContent, _styledSystem.flexWrap, _styledSystem.flexDirection);\nFlex.displayName = 'Flex';\n\nvar gridWidth = function gridWidth(props) {\n return props.width ? {\n gridTemplateColumns: 'repeat(auto-fit, minmax(' + px(props.width) + ', 1fr))'\n } : null;\n};\n\nvar gridGap = function gridGap(props) {\n return props.gap ? {\n gridGap: px(props.gap)\n } : null;\n};\n\nvar gridHeight = function gridHeight(props) {\n return props.height ? {\n gridAutoRows: px(props.height)\n } : null;\n};\n\nvar Grid = exports.Grid = (0, _nanoStyle2.default)('div')({\n display: 'grid'\n}, gridWidth, gridHeight, gridGap);\nGrid.displayName = 'Grid';\nGrid.defaultProps = {\n width: 256,\n height: 192\n};\n\nvar Label = exports.Label = (0, _nanoStyle2.default)('label')({\n display: 'block',\n fontSize: '10px'\n}, _styledSystem.space);\nLabel.displayName = 'Label';\n\nvar Input = exports.Input = (0, _nanoStyle2.default)('input')({\n display: 'block',\n width: '100%',\n fontFamily: 'inherit',\n fontSize: 'inherit',\n lineHeight: 1.25,\n appearance: 'none',\n padding: '4px',\n color: 'inherit',\n backgroundColor: 'transparent',\n border: '1px solid #ddd',\n borderRadius: '4px',\n '&:focus': {}\n}, _styledSystem.space);\nInput.displayName = 'Input';\nInput.defaultProps = {\n m: 0\n};\n\nvar Select = exports.Select = (0, _nanoStyle2.default)('select')({\n display: 'block',\n width: '100%',\n fontFamily: 'inherit',\n fontSize: 'inherit',\n lineHeight: 1.25,\n // appearance: 'none',\n padding: '4px',\n color: 'inherit',\n backgroundColor: 'transparent',\n border: '1px solid #ddd',\n borderRadius: '4px',\n '&:focus': {}\n}, _styledSystem.space);\nSelect.displayName = 'Select';\nSelect.defaultProps = {\n m: 0\n};\n\nvar Divider = exports.Divider = (0, _nanoStyle2.default)('hr')({\n width: '100%',\n margin: 0,\n border: 0,\n borderBottom: '1px solid #ddd'\n});\nDivider.displayName = 'Divider';\n\nvar Measure = exports.Measure = (0, _nanoStyle2.default)('p')({}, _styledSystem.fontSize, _styledSystem.lineHeight, _styledSystem.maxWidth);\nMeasure.displayName = 'Measure';\nMeasure.defaultProps = {\n fontSize: 3,\n lineHeight: 1.8,\n maxWidth: '30em'\n};\n\nvar Text = exports.Text = (0, _nanoStyle2.default)('div')({}, _styledSystem.fontSize, _styledSystem.fontWeight);\nText.displayName = 'Text';\n\nvar Code = exports.Code = (0, _nanoStyle2.default)(Text)({ fontFamily: 'monospace' });\nCode.displayName = 'Code';\n\nexports.default = {\n Box: Box,\n Flex: Flex,\n Grid: Grid,\n Label: Label,\n Input: Input,\n Select: Select,\n Divider: Divider\n};\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/ui.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/dist/util.js": -/*!***************************************************!*\ - !*** ./node_modules/@compositor/kit/dist/util.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.flatten = exports.cartesianProduct = exports.extendDefaultProps = exports.displayObj = exports.toSrcPath = exports.titleize = exports.isIndex = exports.introPage = exports.log = undefined;\n\nvar _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _defineProperty2 = __webpack_require__(/*! babel-runtime/helpers/defineProperty */ \"./node_modules/babel-runtime/helpers/defineProperty.js\");\n\nvar _defineProperty3 = _interopRequireDefault(_defineProperty2);\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _ramda = __webpack_require__(/*! ramda */ \"./node_modules/ramda/es/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar arr = function arr(v) {\n return Array.isArray(v) ? v : [v];\n};\nvar log = function log(msg) {\n return process.env.VERBOSE && console.log(msg);\n};\nvar toSrcPath = function toSrcPath(docsDir, path) {\n return path.replace(/\\md$/, 'js').replace(docsDir, 'src').replace('components/', '');\n};\n\nvar displayObj = function displayObj(obj) {\n return (0, _keys2.default)(obj).map(function (k) {\n return k + '=' + obj[k];\n }).join(',');\n};\n\n// Adapted from: https://github.com/sindresorhus/titleize/blob/master/index.js\nvar titleize = function titleize(str) {\n return str.replace(/(?:^|\\s|-)\\S/g, function (m) {\n return m.toUpperCase();\n }).replace(/(-|_)/g, ' ');\n};\n\nvar isIndex = function isIndex(path) {\n return (/index\\.md/.test(path)\n );\n};\nvar introPage = function introPage(nav) {\n return nav[ROOT_LEVEL_FILE] && nav[ROOT_LEVEL_FILE].find(function (n) {\n return n.name === 'introduction';\n });\n};\n\nvar extendDefaultProps = function extendDefaultProps(Component, props) {\n Component.defaultProps = (0, _assign2.default)({}, Component.defaultProps || {}, props);\n};\n\nvar cartesianProduct = function cartesianProduct(_ref) {\n var _ref$theme = _ref.theme,\n theme = _ref$theme === undefined ? {} : _ref$theme,\n props = (0, _objectWithoutProperties3.default)(_ref, ['theme']);\n\n var xproduct = (0, _ramda.reduce)((0, _ramda.pipe)(_ramda.xprod, (0, _ramda.map)(_ramda.unnest)), [[]]);\n\n var parsedProps = (0, _keys2.default)(props).reduce(function (acc, k) {\n return acc.concat([arr(props[k]).map(function (v) {\n return (0, _defineProperty3.default)({}, k, v);\n })]);\n }, []);\n\n return (0, _ramda.map)(_ramda.mergeAll, xproduct(parsedProps));\n};\n\nvar keyify = function keyify(keys) {\n return keys.join('.');\n};\nvar isString = function isString(s) {\n return typeof s === 'string';\n};\nvar isArray = function isArray(a) {\n return Array.isArray(a);\n};\nvar isObject = function isObject(o) {\n return (typeof o === 'undefined' ? 'undefined' : (0, _typeof3.default)(o)) === 'object' && !isArray(o);\n};\n\nvar flatten = function flatten(obj) {\n var parentKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return (0, _keys2.default)(obj).reduce(function (acc, key) {\n var val = obj[key];\n var keys = parentKeys.concat([key]);\n\n if (isString(val)) {\n acc[keyify(keys)] = val;\n return acc;\n } else if (isObject(val)) {\n return (0, _assign2.default)(acc, flatten(val, keys));\n }\n\n val.forEach(function (v, i) {\n var key = keyify(keys.concat([i]));\n acc[key] = v;\n });\n\n return acc;\n }, {});\n};\n\nexports.log = log;\nexports.introPage = introPage;\nexports.isIndex = isIndex;\nexports.titleize = titleize;\nexports.toSrcPath = toSrcPath;\nexports.displayObj = displayObj;\nexports.extendDefaultProps = extendDefaultProps;\nexports.cartesianProduct = cartesianProduct;\nexports.flatten = flatten;\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/dist/util.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/node_modules/prop-types/checkPropTypes.js": -/*!********************************************************************************!*\ - !*** ./node_modules/@compositor/kit/node_modules/prop-types/checkPropTypes.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar printWarning = function() {};\n\nif (true) {\n var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ \"./node_modules/@compositor/kit/node_modules/prop-types/lib/ReactPropTypesSecret.js\");\n var loggedTypeFailures = {};\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (true) {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n )\n\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\nmodule.exports = checkPropTypes;\n\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/node_modules/prop-types/checkPropTypes.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/node_modules/prop-types/factoryWithTypeCheckers.js": -/*!*****************************************************************************************!*\ - !*** ./node_modules/@compositor/kit/node_modules/prop-types/factoryWithTypeCheckers.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar assign = __webpack_require__(/*! object-assign */ \"./node_modules/object-assign/index.js\");\n\nvar ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ \"./node_modules/@compositor/kit/node_modules/prop-types/lib/ReactPropTypesSecret.js\");\nvar checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ \"./node_modules/@compositor/kit/node_modules/prop-types/checkPropTypes.js\");\n\nvar printWarning = function() {};\n\nif (true) {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (true) {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (\"development\" !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n true ? printWarning('Invalid argument supplied to oneOf, expected an instance of array.') : undefined;\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/node_modules/prop-types/factoryWithTypeCheckers.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/node_modules/prop-types/index.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@compositor/kit/node_modules/prop-types/index.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (true) {\n var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n Symbol.for &&\n Symbol.for('react.element')) ||\n 0xeac7;\n\n var isValidElement = function(object) {\n return typeof object === 'object' &&\n object !== null &&\n object.$$typeof === REACT_ELEMENT_TYPE;\n };\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ \"./node_modules/@compositor/kit/node_modules/prop-types/factoryWithTypeCheckers.js\")(isValidElement, throwOnDirectAccess);\n} else {}\n\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/node_modules/prop-types/index.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/kit/node_modules/prop-types/lib/ReactPropTypesSecret.js": -/*!******************************************************************************************!*\ - !*** ./node_modules/@compositor/kit/node_modules/prop-types/lib/ReactPropTypesSecret.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n//# sourceURL=webpack:///./node_modules/@compositor/kit/node_modules/prop-types/lib/ReactPropTypesSecret.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/webfont/fonts.json": -/*!*****************************************************!*\ - !*** ./node_modules/@compositor/webfont/fonts.json ***! - \*****************************************************/ -/*! exports provided: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, default */ -/***/ (function(module) { - -eval("module.exports = [\"Roboto\",\"Open Sans\",\"Lato\",\"Roboto Condensed\",\"Montserrat\",\"Oswald\",\"Slabo 27px\",\"Source Sans Pro\",\"Raleway\",\"PT Sans\",\"Roboto Slab\",\"Merriweather\",\"Open Sans Condensed\",\"Lora\",\"Ubuntu\",\"Playfair Display\",\"Noto Sans\",\"PT Serif\",\"Arimo\",\"Poppins\",\"Titillium Web\",\"Muli\",\"PT Sans Narrow\",\"Nunito\",\"Inconsolata\",\"Noto Serif\",\"Indie Flower\",\"Lobster\",\"Dosis\",\"Anton\",\"Bitter\",\"Fira Sans\",\"Arvo\",\"Oxygen\",\"Fjalla One\",\"Crimson Text\",\"Quicksand\",\"Josefin Sans\",\"Cabin\",\"Exo 2\",\"Roboto Mono\",\"Work Sans\",\"Libre Baskerville\",\"Pacifico\",\"Hind\",\"Abril Fatface\",\"Varela Round\",\"Yanone Kaffeesatz\",\"Rubik\",\"Abel\",\"Catamaran\",\"Karla\",\"Bree Serif\",\"Shadows Into Light\",\"Ubuntu Condensed\",\"Asap\",\"Merriweather Sans\",\"Gloria Hallelujah\",\"Acme\",\"Archivo Narrow\",\"Archivo Black\",\"Dancing Script\",\"Signika\",\"Play\",\"Questrial\",\"Source Serif Pro\",\"Libre Franklin\",\"Khula\",\"Crete Round\",\"Maven Pro\",\"Francois One\",\"Vollkorn\",\"Source Code Pro\",\"Rokkitt\",\"Cormorant Garamond\",\"Amatic SC\",\"Nunito Sans\",\"Cuprum\",\"PT Sans Caption\",\"EB Garamond\",\"Berkshire Swash\",\"Exo\",\"Comfortaa\",\"Domine\",\"Poiret One\",\"Cairo\",\"Pathway Gothic One\",\"Patua One\",\"Kanit\",\"Shrikhand\",\"Passion One\",\"Rajdhani\",\"Cinzel\",\"Alegreya\",\"Satisfy\",\"Josefin Slab\",\"Old Standard TT\",\"Ropa Sans\",\"News Cycle\",\"Teko\",\"Russo One\",\"Istok Web\",\"Monda\",\"Courgette\",\"Noticia Text\",\"Orbitron\",\"Cookie\",\"Hind Siliguri\",\"Permanent Marker\",\"Lobster Two\",\"Heebo\",\"Yantramanav\",\"Alegreya Sans\",\"Great Vibes\",\"Quattrocento Sans\",\"Righteous\",\"Sanchez\",\"Itim\",\"Kaushan Script\",\"ABeeZee\",\"Cardo\",\"Gudea\",\"Pontano Sans\",\"Philosopher\",\"Quattrocento\",\"Amaranth\",\"Tinos\",\"Economica\",\"Vidaloka\",\"Playfair Display SC\",\"Handlee\",\"Boogaloo\",\"Prompt\",\"Cabin Condensed\",\"Arapey\",\"Alfa Slab One\",\"BenchNine\",\"Didact Gothic\",\"Amiri\",\"Hammersmith One\",\"Sacramento\",\"Armata\",\"Volkhov\",\"Kalam\",\"VT323\",\"Khand\",\"Tangerine\",\"Fredoka One\",\"Yellowtail\",\"Audiowide\",\"Jura\",\"Prociono\",\"Caveat\",\"Architects Daughter\",\"Monoton\",\"Neuton\",\"Sarala\",\"Assistant\",\"Concert One\",\"Bangers\",\"Marck Script\",\"Shadows Into Light Two\",\"Ruda\",\"Coustard\",\"Glegoo\",\"Julius Sans One\",\"Cantarell\",\"Rambla\",\"Gentium Book Basic\",\"Adamina\",\"Neucha\",\"Arbutus Slab\",\"Playball\",\"Bevan\",\"Changa\",\"Kreon\",\"Varela\",\"Damion\",\"Fira Sans Condensed\",\"Antic Slab\",\"PT Mono\",\"Ovo\",\"Patrick Hand\",\"Prata\",\"Aldrich\",\"Cabin Sketch\",\"Sorts Mill Goudy\",\"Overpass\",\"Unica One\",\"Yrsa\",\"Bad Script\",\"Nothing You Could Do\",\"Homemade Apple\",\"Contrail One\",\"Rock Salt\",\"Prosto One\",\"Gochi Hand\",\"Hind Vadodara\",\"Luckiest Guy\",\"Actor\",\"Special Elite\",\"Pragati Narrow\",\"Sintony\",\"Forum\",\"Gentium Basic\",\"Magra\",\"Press Start 2P\",\"Paytone One\",\"Caveat Brush\",\"Arsenal\",\"Alice\",\"Martel\",\"Arima Madurai\",\"Chewy\",\"Signika Negative\",\"Advent Pro\",\"Enriqueta\",\"Fugaz One\",\"Average\",\"Syncopate\",\"Limelight\",\"Montserrat Alternates\",\"Oleo Script\",\"Frank Ruhl Libre\",\"Scada\",\"Chivo\",\"Covered By Your Grace\",\"Ubuntu Mono\",\"Share\",\"Days One\",\"Sigmar One\",\"Convergence\",\"Cantata One\",\"Merienda\",\"Fira Sans Extra Condensed\",\"Marmelad\",\"Rancho\",\"Jaldi\",\"PT Serif Caption\",\"Marcellus\",\"Hind Madurai\",\"Just Another Hand\",\"Michroma\",\"Coda\",\"Quantico\",\"Electrolize\",\"Kameron\",\"Lusitana\",\"Alex Brush\",\"Hind Guntur\",\"Allura\",\"Alegreya Sans SC\",\"Rufina\",\"Nobile\",\"Rozha One\",\"Molengo\",\"Overlock\",\"Lustria\",\"Lalezar\",\"Reenie Beanie\",\"Basic\",\"Copse\",\"Radley\",\"Carme\",\"Coming Soon\",\"Alef\",\"Pinyon Script\",\"Buenard\",\"Spinnaker\",\"Cousine\",\"Marcellus SC\",\"Slabo 13px\",\"Ceviche One\",\"Niconne\",\"Freckle Face\",\"Candal\",\"Squada One\",\"Ultra\",\"Oranienbaum\",\"Carter One\",\"Saira Extra Condensed\",\"Marvel\",\"Yesteryear\",\"Parisienne\",\"Bubblegum Sans\",\"Voltaire\",\"Spirax\",\"Fauna One\",\"Homenaje\",\"Telex\",\"Viga\",\"Changa One\",\"Grand Hotel\",\"Leckerli One\",\"Antic\",\"Carrois Gothic\",\"Black Ops One\",\"Norican\",\"Karma\",\"Bowlby One SC\",\"Fredericka the Great\",\"Cambay\",\"Rosario\",\"Goudy Bookletter 1911\",\"Kurale\",\"Anonymous Pro\",\"Love Ya Like A Sister\",\"Rochester\",\"Aclonica\",\"Nixie One\",\"Sue Ellen Francisco\",\"Jockey One\",\"Cinzel Decorative\",\"Rasa\",\"Alegreya SC\",\"Annie Use Your Telescope\",\"Italianno\",\"Archivo\",\"Tenor Sans\",\"Allerta\",\"Metrophobic\",\"Cutive Mono\",\"Fanwood Text\",\"Reem Kufi\",\"Cutive\",\"Martel Sans\",\"Tauri\",\"Graduate\",\"Chelsea Market\",\"Bungee\",\"Calligraffitti\",\"Allerta Stencil\",\"Palanquin\",\"Halant\",\"Barlow Condensed\",\"Caudex\",\"Mr Dafoe\",\"Doppio One\",\"Racing Sans One\",\"Six Caps\",\"Andada\",\"Biryani\",\"Inder\",\"Lateef\",\"Sumana\",\"GFS Didot\",\"Happy Monkey\",\"Kelly Slab\",\"Baloo\",\"Pompiere\",\"Lilita One\",\"Share Tech Mono\",\"Schoolbell\",\"Pridi\",\"Unna\",\"Petit Formal Script\",\"Aladin\",\"Space Mono\",\"Belleza\",\"Eczar\",\"Lekton\",\"Average Sans\",\"Judson\",\"Voces\",\"Saira Semi Condensed\",\"Londrina Solid\",\"Delius\",\"Yeseva One\",\"Bungee Inline\",\"Quando\",\"Capriola\",\"Mada\",\"Trirong\",\"Knewave\",\"The Girl Next Door\",\"Cormorant\",\"Give You Glory\",\"Zilla Slab\",\"Wire One\",\"Andika\",\"Taviraj\",\"Trocchi\",\"Balthazar\",\"Vast Shadow\",\"Asap Condensed\",\"Puritan\",\"Herr Von Muellerhoff\",\"Scheherazade\",\"Gabriela\",\"Gilda Display\",\"Abhaya Libre\",\"Gravitas One\",\"Lemon\",\"Merienda One\",\"Mr De Haviland\",\"Gruppo\",\"Allan\",\"Duru Sans\",\"Baumans\",\"Montez\",\"Arizonia\",\"Encode Sans Condensed\",\"Mitr\",\"Fontdiner Swanky\",\"Strait\",\"Short Stack\",\"Bowlby One\",\"Zeyada\",\"IM Fell Double Pica\",\"Mako\",\"Imprima\",\"La Belle Aurore\",\"Alike\",\"Rammetto One\",\"Mukta Vaani\",\"Megrim\",\"Rouge Script\",\"Lily Script One\",\"El Messiri\",\"Mukta\",\"Mate\",\"Gafata\",\"Oregano\",\"Crafty Girls\",\"Bilbo Swash Caps\",\"Fira Mono\",\"Baloo Paaji\",\"Qwigley\",\"Kristi\",\"Hanuman\",\"Titan One\",\"Clicker Script\",\"Brawler\",\"Unkempt\",\"IM Fell English\",\"Miriam Libre\",\"Walter Turncoat\",\"Federo\",\"Creepster\",\"Artifika\",\"Poly\",\"Waiting for the Sunrise\",\"Palanquin Dark\",\"Anaheim\",\"Kranky\",\"Patrick Hand SC\",\"Belgrano\",\"Oxygen Mono\",\"Stardos Stencil\",\"Baloo Bhaina\",\"Saira\",\"NTR\",\"Seaweed Script\",\"Fondamento\",\"Frijole\",\"Vesper Libre\",\"Carrois Gothic SC\",\"Cherry Swash\",\"Secular One\",\"Athiti\",\"Iceland\",\"Podkova\",\"Cedarville Cursive\",\"Loved by the King\",\"IM Fell DW Pica\",\"Crushed\",\"Mountains of Christmas\",\"Denk One\",\"Euphoria Script\",\"Orienta\",\"Pattaya\",\"Oleo Script Swash Caps\",\"Sniglet\",\"Tienne\",\"Dawning of a New Day\",\"Expletus Sans\",\"Just Me Again Down Here\",\"Sofia\",\"Engagement\",\"Stalemate\",\"UnifrakturMaguntia\",\"Londrina Outline\",\"Mouse Memoirs\",\"Life Savers\",\"Averia Serif Libre\",\"Emilys Candy\",\"Ranchers\",\"Port Lligat Slab\",\"Rye\",\"Bentham\",\"Amethysta\",\"Corben\",\"Holtwood One SC\",\"Nova Slim\",\"Raleway Dots\",\"Vampiro One\",\"Shojumaru\",\"Over the Rainbow\",\"Spectral\",\"Maitree\",\"Italiana\",\"Salsa\",\"Gurajada\",\"Barlow\",\"Skranji\",\"Amiko\",\"Ledger\",\"Delius Swash Caps\",\"Headland One\",\"Meddon\",\"Aguafina Script\",\"Kotta One\",\"Chau Philomene One\",\"Iceberg\",\"Barlow Semi Condensed\",\"Pangolin\",\"David Libre\",\"Codystar\",\"Metamorphous\",\"Wendy One\",\"Encode Sans\",\"Macondo\",\"Wallpoet\",\"Cantora One\",\"Medula One\",\"Geo\",\"Simonetta\",\"Averia Sans Libre\",\"Tulpen One\",\"Suranna\",\"Condiment\",\"Englebert\",\"Germania One\",\"Shanti\",\"Harmattan\",\"Cherry Cream Soda\",\"Sriracha\",\"Montserrat Subrayada\",\"Sancreek\",\"McLaren\",\"Cambo\",\"IM Fell English SC\",\"Finger Paint\",\"Slackey\",\"Nova Mono\",\"Poller One\",\"Mystery Quest\",\"Nova Square\",\"IM Fell French Canon\",\"Bungee Shade\",\"Suez One\",\"Milonga\",\"Faster One\",\"Ramabhadra\",\"Proza Libre\",\"Khmer\",\"Chonburi\",\"Quintessential\",\"Kite One\",\"Text Me One\",\"Della Respira\",\"Saira Condensed\",\"Inika\",\"Mirza\",\"Rationale\",\"Ramaraja\",\"Ruslan Display\",\"Katibeh\",\"Share Tech\",\"Jim Nightshade\",\"Baloo Tamma\",\"Mogra\",\"Pirata One\",\"Maiden Orange\",\"Amarante\",\"Stint Ultra Condensed\",\"UnifrakturCook\",\"Lemonada\",\"Dynalight\",\"Fjord One\",\"Mallanna\",\"Kadwa\",\"Mate SC\",\"Fascinate Inline\",\"Rubik Mono One\",\"Dorsa\",\"Flamenco\",\"Antic Didone\",\"Sail\",\"Fenix\",\"Henny Penny\",\"Rosarivo\",\"Sarpanch\",\"Numans\",\"Almendra\",\"Habibi\",\"Stint Ultra Expanded\",\"Alike Angular\",\"League Script\",\"Port Lligat Sans\",\"Buda\",\"Ruthie\",\"Krona One\",\"Averia Libre\",\"Vibur\",\"Fresca\",\"Stoke\",\"Delius Unicase\",\"Princess Sofia\",\"Trade Winds\",\"Akronim\",\"Aref Ruqaa\",\"Nova Round\",\"Mrs Saint Delafield\",\"Elsie\",\"Scope One\",\"Cagliostro\",\"Laila\",\"Junge\",\"Ruluko\",\"Nosifer\",\"Coda Caption\",\"Lovers Quarrel\",\"Cormorant SC\",\"Sansita\",\"Swanky and Moo Moo\",\"Donegal One\",\"Paprika\",\"Rhodium Libre\",\"Ribeye\",\"Asul\",\"Battambang\",\"Esteban\",\"Bilbo\",\"Miniver\",\"Spectral SC\",\"Griffy\",\"Amita\",\"Peralta\",\"Croissant One\",\"New Rocker\",\"Kavoon\",\"Mandali\",\"Sonsie One\",\"Cormorant Infant\",\"Arya\",\"Monsieur La Doulaise\",\"IM Fell Great Primer\",\"Overlock SC\",\"Bubbler One\",\"Diplomata SC\",\"Sarina\",\"Linden Hill\",\"Chicle\",\"IM Fell DW Pica SC\",\"Spicy Rice\",\"Baloo Thambi\",\"Margarine\",\"Dekko\",\"Bellefair\",\"MedievalSharp\",\"Glass Antiqua\",\"Baloo Chettan\",\"Julee\",\"Plaster\",\"Meie Script\",\"Londrina Shadow\",\"Nova Flat\",\"Angkor\",\"Baloo Bhaijaan\",\"Snowburst One\",\"Rakkas\",\"Redressed\",\"Monofett\",\"Offside\",\"Rum Raisin\",\"Autour One\",\"Snippet\",\"Joti One\",\"Asset\",\"Petrona\",\"Sunshiney\",\"Trykker\",\"Ribeye Marrow\",\"Bigelow Rules\",\"Lakki Reddy\",\"Marko One\",\"Wellfleet\",\"Bigshot One\",\"Galindo\",\"Averia Gruesa Libre\",\"Eagle Lake\",\"IM Fell Double Pica SC\",\"Macondo Swash Caps\",\"Diplomata\",\"Revalia\",\"Sura\",\"Dr Sugiyama\",\"Yatra One\",\"Montaga\",\"Geostar Fill\",\"Ewert\",\"Uncial Antiqua\",\"Molle\",\"Oldenburg\",\"Inknut Antiqua\",\"Underdog\",\"Lancelot\",\"BioRhyme\",\"Purple Purse\",\"Encode Sans Expanded\",\"Encode Sans Semi Condensed\",\"IM Fell French Canon SC\",\"Pavanam\",\"Miltonian Tattoo\",\"Caesar Dressing\",\"Farsan\",\"Irish Grover\",\"Modak\",\"Jomhuria\",\"Keania One\",\"Astloch\",\"Atomic Age\",\"Sahitya\",\"Modern Antiqua\",\"Miss Fajardose\",\"Koulen\",\"Almendra SC\",\"Tillana\",\"Odor Mean Chey\",\"Chango\",\"Smythe\",\"Elsie Swash Caps\",\"Gorditas\",\"IM Fell Great Primer SC\",\"Sedgwick Ave\",\"Atma\",\"Original Surfer\",\"Metal Mania\",\"Piedra\",\"Jacques Francois Shadow\",\"Devonshire\",\"Kenia\",\"Warnes\",\"Coiny\",\"Goblin One\",\"Miltonian\",\"Smokum\",\"Stalinist One\",\"Seymour One\",\"Ravi Prakash\",\"Baloo Bhai\",\"Cormorant Upright\",\"Galada\",\"Passero One\",\"Ruge Boogie\",\"Nova Oval\",\"Trochut\",\"Fascinate\",\"Risque\",\"Content\",\"Galdeano\",\"Romanesco\",\"Jolly Lodger\",\"Arbutus\",\"Nokora\",\"Asar\",\"Vollkorn SC\",\"Freehand\",\"Mrs Sheppards\",\"Bonbon\",\"Overpass Mono\",\"GFS Neohellenic\",\"Sree Krushnadevaraya\",\"Ranga\",\"Bokor\",\"Almendra Display\",\"Bayon\",\"Combo\",\"Barrio\",\"Manuale\",\"Jacques Francois\",\"Nova Cut\",\"Nova Script\",\"Timmana\",\"Felipa\",\"Erica One\",\"Suwannaphum\",\"Siemreap\",\"Flavors\",\"Moul\",\"Londrina Sketch\",\"Metal\",\"Padauk\",\"Sirin Stencil\",\"Butcherman\",\"Eater\",\"Hanalei Fill\",\"Fruktur\",\"Taprom\",\"Sofadi One\",\"Cormorant Unicase\",\"Geostar\",\"Butterfly Kids\",\"Aubrey\",\"Mr Bedfort\",\"Emblema One\",\"Chathura\",\"Bahiana\",\"Sevillana\",\"Meera Inimai\",\"Dangrek\",\"Chela One\",\"Hanalei\",\"Supermercado One\",\"Federant\",\"Faustina\",\"Baloo Da\",\"Kumar One\",\"Kantumruy\",\"Preahvihear\",\"Tenali Ramakrishna\",\"Baloo Tammudu\",\"Mukta Malar\",\"Zilla Slab Highlight\",\"Mukta Mahee\",\"Libre Barcode 39 Text\",\"Kavivanar\",\"Bungee Outline\",\"Gidugu\",\"Fasthand\",\"Chenla\",\"Peddana\",\"Sedgwick Ave Display\",\"Bungee Hairline\",\"Moulpali\",\"Kdam Thmor\",\"Unlock\",\"Dhurjati\",\"Suravaram\",\"Encode Sans Semi Expanded\",\"Libre Barcode 39 Extended\",\"Kumar One Outline\",\"Libre Barcode 39 Extended Text\",\"BioRhyme Expanded\",\"Libre Barcode 128 Text\",\"Libre Barcode 128\",\"Libre Barcode 39\"];\n\n//# sourceURL=webpack:///./node_modules/@compositor/webfont/fonts.json?"); - -/***/ }), - -/***/ "./node_modules/@compositor/webfont/index.js": -/*!***************************************************!*\ - !*** ./node_modules/@compositor/webfont/index.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("const fonts = __webpack_require__(/*! ./fonts.json */ \"./node_modules/@compositor/webfont/fonts.json\")\n\nconst apiURL = 'https://fonts.googleapis.com/css'\n\nconst getName = stack => stack.split(',')[0].replace(/[\"']/g, '')\n\nconst plusify = name => name.replace(/\\s/g, '+')\n\nconst isWebfont = name => fonts.includes(getName(name))\n\nconst getURL = (stack, weights = []) => {\n const name = getName(stack)\n if (!isWebfont(name)) return false\n\n const family = weights.length\n ? [plusify(name), ...weights].join(':')\n : plusify(name)\n\n return [apiURL, '?family=', family].join('')\n}\n\nconst getLinkTag = (stack, weights) => {\n const fontURL = getURL(stack, weights)\n if (!fontURL) return false\n\n return ``\n}\n\nmodule.exports = {\n fonts,\n apiURL,\n plusify,\n isWebfont,\n getURL,\n getLinkTag\n}\n\n\n//# sourceURL=webpack:///./node_modules/@compositor/webfont/index.js?"); - -/***/ }), - -/***/ "./node_modules/@compositor/x0/lib/entry.js": -/*!**************************************************!*\ - !*** ./node_modules/@compositor/x0/lib/entry.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(module) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getRoutes = undefined;\n\nvar _objectWithoutProperties2 = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ \"./node_modules/babel-runtime/helpers/objectWithoutProperties.js\");\n\nvar _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);\n\nvar _promise = __webpack_require__(/*! babel-runtime/core-js/promise */ \"./node_modules/babel-runtime/core-js/promise.js\");\n\nvar _promise2 = _interopRequireDefault(_promise);\n\nvar _regenerator = __webpack_require__(/*! babel-runtime/regenerator */ \"./node_modules/babel-runtime/regenerator/index.js\");\n\nvar _regenerator2 = _interopRequireDefault(_regenerator);\n\nvar _asyncToGenerator2 = __webpack_require__(/*! babel-runtime/helpers/asyncToGenerator */ \"./node_modules/babel-runtime/helpers/asyncToGenerator.js\");\n\nvar _asyncToGenerator3 = _interopRequireDefault(_asyncToGenerator2);\n\nvar _getPrototypeOf = __webpack_require__(/*! babel-runtime/core-js/object/get-prototype-of */ \"./node_modules/babel-runtime/core-js/object/get-prototype-of.js\");\n\nvar _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _path = __webpack_require__(/*! path */ \"path\");\n\nvar _path2 = _interopRequireDefault(_path);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = __webpack_require__(/*! react-dom */ \"./node_modules/react-dom/index.js\");\n\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"./node_modules/react-router-dom/es/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IS_CLIENT = typeof document !== 'undefined';\nvar req = __webpack_require__(\"./examples sync \\\\.(js|mdx|jsx)$\");\n\nvar _OPTIONS = {\"input\":\"/Users/emplums/primer-react/examples\",\"dirname\":\"/Users/emplums/primer-react/examples\",\"filename\":null,\"stats\":{\"dev\":16777220,\"mode\":16877,\"nlink\":13,\"uid\":499,\"gid\":20,\"rdev\":0,\"blksize\":4194304,\"ino\":4161146,\"size\":416,\"blocks\":0,\"atimeMs\":1529520450570.6667,\"mtimeMs\":1529516304939.8535,\"ctimeMs\":1529516304939.8535,\"birthtimeMs\":1529363602400.1438,\"atime\":\"2018-06-20T18:47:30.571Z\",\"mtime\":\"2018-06-20T17:38:24.940Z\",\"ctime\":\"2018-06-20T17:38:24.940Z\",\"birthtime\":\"2018-06-18T23:13:22.400Z\"},\"outDir\":\"/Users/emplums/primer-react/docs\",\"basename\":\"/\",\"scope\":{},\"pkg\":{\"name\":\"primer-react\",\"version\":\"0.0.4-beta\",\"description\":\"Primer react components\",\"main\":\"src/index.js\",\"scripts\":{\"start\":\"x0 dev examples -op 8888\",\"build\":\"x0 build examples --out-dir docs\",\"test\":\"jest\"},\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/primer/primer-react.git\"},\"keywords\":[\"react\",\"components\",\"library\",\"design-system\"],\"author\":{\"name\":\"GitHub, Inc.\"},\"license\":\"MIT\",\"x0\":{\"title\":\"primer-react\",\"cssLibrary\":\"styled-components\",\"basename\":\"/\",\"meta\":[{\"name\":\"og:title\",\"content\":\"Primer React\"},{\"name\":\"description\",\"content\":\"Primer components built with React.js.\"}],\"links\":[{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-buttons/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-forms/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-layout/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-navigation/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-product/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-tooltips/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-utilities/build/build.css\"},{\"rel\":\"icon\",\"href\":\"assets/favicon.png\"},{\"rel\":\"apple-touch-icon\",\"href\":\"assets/apple-touch-icon.png\"}]},\"dependencies\":{\"@github/octicons-react\":\"1.2.0-alpha.0a0d8862\",\"classnames\":\"^2.2.5\",\"d3-shape\":\"^1.2.0\",\"react\":\"^16.2.0\",\"react-router-dom\":\"^4.3.1\",\"system-classnames\":\"^1.0.0-3\"},\"devDependencies\":{\"@compositor/kit\":\"^1.0.43\",\"@compositor/x0\":\"^5.0.8\",\"babel-preset-env\":\"^1.6.1\",\"babel-preset-react\":\"^6.24.1\",\"jest\":\"^22.4.3\",\"react-prop-table\":\"^0.1.1\",\"react-test-renderer\":\"^16.3.2\",\"styled-components\":\"3.3.2\",\"styled-system\":\"^2.0.2\"},\"bugs\":{\"url\":\"https://github.com/primer/primer-react/issues\"},\"readme\":\"ERROR: No README data found!\",\"homepage\":\"https://github.com/primer/primer-react#readme\",\"_id\":\"primer-react@0.0.4-beta\"},\"title\":\"primer-react\",\"cssLibrary\":\"styled-components\",\"meta\":[{\"name\":\"og:title\",\"content\":\"Primer React\"},{\"name\":\"description\",\"content\":\"Primer components built with React.js.\"}],\"links\":[{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-buttons/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-forms/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-layout/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-navigation/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-product/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-tooltips/build/build.css\"},{\"rel\":\"stylesheet\",\"href\":\"https://unpkg.com/primer-utilities/build/build.css\"},{\"rel\":\"icon\",\"href\":\"assets/favicon.png\"},{\"rel\":\"apple-touch-icon\",\"href\":\"assets/apple-touch-icon.png\"}],\"open\":false,\"o\":false,\"static\":false,\"debug\":false,\"d\":\"docs\",\"app\":\"/Users/emplums/primer-react/examples/_app.js\"},\n filename = _OPTIONS.filename,\n _OPTIONS$basename = _OPTIONS.basename,\n basename = _OPTIONS$basename === undefined ? '' : _OPTIONS$basename,\n disableScroll = _OPTIONS.disableScroll;\n\nvar index = filename ? _path2.default.basename(filename, _path2.default.extname(filename)) : 'index';\n\nvar getComponents = function getComponents(req) {\n return req.keys().map(function (key) {\n return {\n key: key,\n name: _path2.default.basename(key, _path2.default.extname(key)),\n module: req(key),\n Component: req(key).default || req(key)\n };\n }).filter(function (component) {\n return !/^(\\.|_)/.test(component.name);\n }).filter(function (component) {\n return typeof component.Component === 'function';\n });\n};\n\nvar initialComponents = getComponents(req);\n\nvar Index = function Index(_ref) {\n var _ref$routes = _ref.routes,\n routes = _ref$routes === undefined ? [] : _ref$routes;\n return _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(\n 'pre',\n null,\n \"/Users/emplums/primer-react/examples\"\n ),\n _react2.default.createElement(\n 'ul',\n null,\n routes.map(function (route) {\n return _react2.default.createElement(\n 'li',\n { key: route.key },\n _react2.default.createElement(\n _reactRouterDom.Link,\n { to: route.path },\n route.name\n )\n );\n })\n )\n );\n};\n\nvar DefaultApp = function DefaultApp(_ref2) {\n var render = _ref2.render,\n routes = _ref2.routes;\n return _react2.default.createElement(\n _reactRouterDom.Switch,\n null,\n render(),\n _react2.default.createElement(_reactRouterDom.Route, { render: function render(props) {\n return _react2.default.createElement(Index, (0, _extends3.default)({}, props, {\n routes: routes\n }));\n } })\n );\n};\n\nvar Catch = function (_React$Component) {\n (0, _inherits3.default)(Catch, _React$Component);\n\n function Catch() {\n var _ref3;\n\n var _temp, _this, _ret;\n\n (0, _classCallCheck3.default)(this, Catch);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = (0, _possibleConstructorReturn3.default)(this, (_ref3 = Catch.__proto__ || (0, _getPrototypeOf2.default)(Catch)).call.apply(_ref3, [this].concat(args))), _this), _this.state = {\n err: null\n }, _temp), (0, _possibleConstructorReturn3.default)(_this, _ret);\n }\n\n (0, _createClass3.default)(Catch, [{\n key: 'componentDidCatch',\n value: function componentDidCatch(err) {\n this.setState({ err: err });\n }\n }, {\n key: 'render',\n value: function render() {\n var err = this.state.err;\n\n\n if (err) {\n return _react2.default.createElement('pre', {\n children: err.toString(),\n style: {\n color: 'white',\n backgroundColor: 'red',\n fontFamily: 'Menlo, monospace',\n fontSize: '14px',\n margin: 0,\n padding: '16px',\n minHeight: '128px',\n whiteSpace: 'prewrap'\n }\n });\n }\n\n return this.props.children;\n }\n }], [{\n key: 'getDerivedStateFromProps',\n value: function getDerivedStateFromProps(props, state) {\n if (!state.err) return null;\n return { err: null };\n }\n }]);\n return Catch;\n}(_react2.default.Component);\n\nvar ScrollTop = (0, _reactRouterDom.withRouter)(function (_React$Component2) {\n (0, _inherits3.default)(_class, _React$Component2);\n\n function _class() {\n (0, _classCallCheck3.default)(this, _class);\n return (0, _possibleConstructorReturn3.default)(this, (_class.__proto__ || (0, _getPrototypeOf2.default)(_class)).apply(this, arguments));\n }\n\n (0, _createClass3.default)(_class, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.location.pathname !== prevProps.location.pathname) {\n window.scrollTo(0, 0);\n }\n }\n }, {\n key: 'render',\n value: function render() {\n return false;\n }\n }]);\n return _class;\n}(_react2.default.Component));\n\nvar Router = IS_CLIENT ? _reactRouterDom.BrowserRouter : _reactRouterDom.StaticRouter;\nvar App = (0, _reactRouterDom.withRouter)( true ? __webpack_require__(/*! ./examples/_app.js */ \"./examples/_app.js\").default || __webpack_require__(/*! ./examples/_app.js */ \"./examples/_app.js\") : undefined);\n\nvar getRoutes = exports.getRoutes = function () {\n var _ref4 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {\n var components = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialComponents;\n var routes;\n return _regenerator2.default.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return components.map(function () {\n var _ref5 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(_ref6) {\n var key = _ref6.key,\n name = _ref6.name,\n module = _ref6.module,\n Component = _ref6.Component;\n var exact, pathname, props;\n return _regenerator2.default.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n exact = name === index;\n pathname = exact ? '/' : '/' + name;\n\n if (!Component.getInitialProps) {\n _context.next = 8;\n break;\n }\n\n _context.next = 5;\n return Component.getInitialProps({ path: pathname });\n\n case 5:\n _context.t0 = _context.sent;\n _context.next = 9;\n break;\n\n case 8:\n _context.t0 = {};\n\n case 9:\n props = _context.t0;\n\n pathname = props.path || pathname;\n return _context.abrupt('return', {\n key: name,\n name: name,\n path: pathname,\n exact: exact,\n module: module,\n Component: Component,\n props: props\n });\n\n case 12:\n case 'end':\n return _context.stop();\n }\n }\n }, _callee, undefined);\n }));\n\n return function (_x2) {\n return _ref5.apply(this, arguments);\n };\n }());\n\n case 2:\n routes = _context2.sent;\n return _context2.abrupt('return', _promise2.default.all(routes));\n\n case 4:\n case 'end':\n return _context2.stop();\n }\n }\n }, _callee2, undefined);\n }));\n\n return function getRoutes() {\n return _ref4.apply(this, arguments);\n };\n}();\n\nvar Root = function (_React$Component3) {\n (0, _inherits3.default)(Root, _React$Component3);\n\n function Root() {\n var _ref7;\n\n var _temp2, _this3, _ret2;\n\n (0, _classCallCheck3.default)(this, Root);\n\n for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _ret2 = (_temp2 = (_this3 = (0, _possibleConstructorReturn3.default)(this, (_ref7 = Root.__proto__ || (0, _getPrototypeOf2.default)(Root)).call.apply(_ref7, [this].concat(args))), _this3), _this3.state = _this3.props, _temp2), (0, _possibleConstructorReturn3.default)(_this3, _ret2);\n }\n\n (0, _createClass3.default)(Root, [{\n key: 'render',\n value: function render() {\n var _state = this.state,\n routes = _state.routes,\n basename = _state.basename,\n _state$path = _state.path,\n path = _state$path === undefined ? '/' : _state$path;\n\n\n return _react2.default.createElement(\n Router,\n {\n context: {},\n basename: basename,\n location: path },\n _react2.default.createElement(\n _react2.default.Fragment,\n null,\n _react2.default.createElement(\n Catch,\n null,\n _react2.default.createElement(App, {\n routes: routes,\n render: function render(appProps) {\n return routes.map(function (_ref8) {\n var Component = _ref8.Component,\n route = (0, _objectWithoutProperties3.default)(_ref8, ['Component']);\n return _react2.default.createElement(_reactRouterDom.Route, (0, _extends3.default)({}, route, {\n render: function render(props) {\n return _react2.default.createElement(\n Catch,\n null,\n _react2.default.createElement(Component, (0, _extends3.default)({}, props, appProps, route.props))\n );\n }\n }));\n });\n }\n })\n ),\n !disableScroll && _react2.default.createElement(ScrollTop, null)\n )\n );\n }\n }]);\n return Root;\n}(_react2.default.Component);\n\nRoot.defaultProps = {\n path: '/',\n basename: basename\n};\nexports.default = Root;\n\n\nvar app = void 0;\nif (IS_CLIENT) {\n var mount = false ? undefined : _reactDom.hydrate;\n var div = window.root || document.body.appendChild(document.createElement('div'));\n getRoutes().then(function (routes) {\n app = mount(_react2.default.createElement(Root, { routes: routes }), div);\n });\n}\n\nif (IS_CLIENT && module.hot) {\n module.hot.accept();\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/@compositor/x0/lib/entry.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/alert.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/alert.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar AlertOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nAlertOcticon.displayName = 'AlertOcticon';\nexports.default = AlertOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/alert.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-down.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-down.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowDownOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 7V3H3v4H0l5 6 5-6H7z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nArrowDownOcticon.displayName = 'ArrowDownOcticon';\nexports.default = ArrowDownOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-down.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-left.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-left.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowLeftOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 3L0 8l6 5v-3h4V6H6V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nArrowLeftOcticon.displayName = 'ArrowLeftOcticon';\nexports.default = ArrowLeftOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-left.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-right.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-right.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowRightOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 8L4 3v3H0v4h4v3l6-5z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nArrowRightOcticon.displayName = 'ArrowRightOcticon';\nexports.default = ArrowRightOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-right.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-small-down.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-small-down.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowSmallDownOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 7V5H2v2H0l3 4 3-4H4z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nArrowSmallDownOcticon.displayName = 'ArrowSmallDownOcticon';\nexports.default = ArrowSmallDownOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-small-down.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-small-left.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-small-left.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowSmallLeftOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 7V5L0 8l4 3V9h2V7H4z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nArrowSmallLeftOcticon.displayName = 'ArrowSmallLeftOcticon';\nexports.default = ArrowSmallLeftOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-small-left.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-small-right.js": -/*!******************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-small-right.js ***! - \******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowSmallRightOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 8L2 5v2H0v2h2v2l4-3z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nArrowSmallRightOcticon.displayName = 'ArrowSmallRightOcticon';\nexports.default = ArrowSmallRightOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-small-right.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-small-up.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-small-up.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowSmallUpOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M3 5L0 9h2v2h2V9h2L3 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nArrowSmallUpOcticon.displayName = 'ArrowSmallUpOcticon';\nexports.default = ArrowSmallUpOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-small-up.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/arrow-up.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/arrow-up.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ArrowUpOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M5 3L0 9h3v4h4V9h3L5 3z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nArrowUpOcticon.displayName = 'ArrowUpOcticon';\nexports.default = ArrowUpOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/arrow-up.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/beaker.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/beaker.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BeakerOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14.84 14.59L11.46 7V3h1V2h-9v1h1v4l-3.37 7.59A1 1 0 0 0 2 16h11.94c.72 0 1.2-.75.91-1.41h-.01zM4.21 10l1.25-3V3h5v4l1.25 3h-7.5zm4.25-2h1v1h-1V8zm-1-1h-1V6h1v1zm0-3h1v1h-1V4zm0-3h-1V0h1v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nBeakerOcticon.displayName = 'BeakerOcticon';\nexports.default = BeakerOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/beaker.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/bell.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/bell.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BellOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 12v1H0v-1l.73-.58c.77-.77.81-2.55 1.19-4.42C2.69 3.23 6 2 6 2c0-.55.45-1 1-1s1 .45 1 1c0 0 3.39 1.23 4.16 5 .38 1.88.42 3.66 1.19 4.42l.66.58H14zm-7 4c1.11 0 2-.89 2-2H5c0 1.11.89 2 2 2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nBellOcticon.displayName = 'BellOcticon';\nexports.default = BellOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/bell.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/bold.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/bold.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BoldOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M1 2h3.83c2.48 0 4.3.75 4.3 2.95 0 1.14-.63 2.23-1.67 2.61v.06c1.33.3 2.3 1.23 2.3 2.86 0 2.39-1.97 3.52-4.61 3.52H1V2zm3.66 4.95c1.67 0 2.38-.66 2.38-1.69 0-1.17-.78-1.61-2.34-1.61H3.13v3.3h1.53zm.27 5.39c1.77 0 2.75-.64 2.75-1.98 0-1.27-.95-1.81-2.75-1.81h-1.8v3.8h1.8v-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nBoldOcticon.displayName = 'BoldOcticon';\nexports.default = BoldOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/bold.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/book.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/book.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BookOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M3 5h4v1H3V5zm0 3h4V7H3v1zm0 2h4V9H3v1zm11-5h-4v1h4V5zm0 2h-4v1h4V7zm0 2h-4v1h4V9zm2-6v9c0 .55-.45 1-1 1H9.5l-1 1-1-1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h5.5l1 1 1-1H15c.55 0 1 .45 1 1zm-8 .5L7.5 3H2v9h6V3.5zm7-.5H9.5l-.5.5V12h6V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nBookOcticon.displayName = 'BookOcticon';\nexports.default = BookOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/book.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/bookmark.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/bookmark.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BookmarkOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9 0H1C.27 0 0 .27 0 1v15l5-3.09L10 16V1c0-.73-.27-1-1-1zm-.78 4.25L6.36 5.61l.72 2.16c.06.22-.02.28-.2.17L5 6.6 3.12 7.94c-.19.11-.25.05-.2-.17l.72-2.16-1.86-1.36c-.17-.16-.14-.23.09-.23l2.3-.03.7-2.16h.25l.7 2.16 2.3.03c.23 0 .27.08.09.23h.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nBookmarkOcticon.displayName = 'BookmarkOcticon';\nexports.default = BookmarkOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/bookmark.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/briefcase.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/briefcase.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BriefcaseOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9 4V3c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v1H1c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1H9zM6 3h2v1H6V3zm7 6H8v1H6V9H1V5h1v3h10V5h1v4z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nBriefcaseOcticon.displayName = 'BriefcaseOcticon';\nexports.default = BriefcaseOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/briefcase.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/broadcast.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/broadcast.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BroadcastOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9 9H8c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1H6c-.55 0-1 .45-1 1v2h1v3c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-3h1v-2c0-.55-.45-1-1-1zM7 7h1v1H7V7zm2 4H8v4H7v-4H6v-1h3v1zm2.09-3.5c0-1.98-1.61-3.59-3.59-3.59A3.593 3.593 0 0 0 4 8.31v1.98c-.61-.77-1-1.73-1-2.8 0-2.48 2.02-4.5 4.5-4.5S12 5.01 12 7.49c0 1.06-.39 2.03-1 2.8V8.31c.06-.27.09-.53.09-.81zm3.91 0c0 2.88-1.63 5.38-4 6.63v-1.05a6.553 6.553 0 0 0 3.09-5.58A6.59 6.59 0 0 0 7.5.91 6.59 6.59 0 0 0 .91 7.5c0 2.36 1.23 4.42 3.09 5.58v1.05A7.497 7.497 0 0 1 7.5 0C11.64 0 15 3.36 15 7.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nBroadcastOcticon.displayName = 'BroadcastOcticon';\nexports.default = BroadcastOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/broadcast.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/browser.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/browser.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BrowserOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M5 3h1v1H5V3zM3 3h1v1H3V3zM1 3h1v1H1V3zm12 10H1V5h12v8zm0-9H7V3h6v1zm1-1c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nBrowserOcticon.displayName = 'BrowserOcticon';\nexports.default = BrowserOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/browser.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/bug.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/bug.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BugOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11.17 10h3V9h-3V8l3.17-1.03-.34-.94-2.83.97V6c0-.55-.45-1-1-1V4c0-.48-.36-.88-.83-.97L10.37 2h1.8V1h-2.2l-2 2h-.59L5.37 1h-2.2v1h1.8L6 3.03c-.47.09-.83.48-.83.97v1c-.55 0-1 .45-1 1v1l-2.83-.97-.34.94L4.17 8v1h-3v1h3v1L1 12.03l.34.94L4.17 12v1c0 .55.45 1 1 1h1l1-1V6h1v7l1 1h1c.55 0 1-.45 1-1v-1l2.83.97.34-.94L11.17 11v-1zm-2-5h-3V4h3v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nBugOcticon.displayName = 'BugOcticon';\nexports.default = BugOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/bug.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/calendar.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/calendar.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CalendarOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 2h-1v1.5c0 .28-.22.5-.5.5h-2c-.28 0-.5-.22-.5-.5V2H6v1.5c0 .28-.22.5-.5.5h-2c-.28 0-.5-.22-.5-.5V2H2c-.55 0-1 .45-1 1v11c0 .55.45 1 1 1h11c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 12H2V5h11v9zM5 3H4V1h1v2zm6 0h-1V1h1v2zM6 7H5V6h1v1zm2 0H7V6h1v1zm2 0H9V6h1v1zm2 0h-1V6h1v1zM4 9H3V8h1v1zm2 0H5V8h1v1zm2 0H7V8h1v1zm2 0H9V8h1v1zm2 0h-1V8h1v1zm-8 2H3v-1h1v1zm2 0H5v-1h1v1zm2 0H7v-1h1v1zm2 0H9v-1h1v1zm2 0h-1v-1h1v1zm-8 2H3v-1h1v1zm2 0H5v-1h1v1zm2 0H7v-1h1v1zm2 0H9v-1h1v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nCalendarOcticon.displayName = 'CalendarOcticon';\nexports.default = CalendarOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/calendar.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/check.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/check.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CheckOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 5.5l-8 8-4-4L1.5 8 4 10.5 10.5 4 12 5.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nCheckOcticon.displayName = 'CheckOcticon';\nexports.default = CheckOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/check.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/checklist.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/checklist.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ChecklistOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M16 8.5l-6 6-3-3L8.5 10l1.5 1.5L14.5 7 16 8.5zM5.7 12.2l.8.8H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h7c.55 0 1 .45 1 1v6.5l-.8-.8c-.39-.39-1.03-.39-1.42 0L5.7 10.8a.996.996 0 0 0 0 1.41v-.01zM4 4h5V3H4v1zm0 2h5V5H4v1zm0 2h3V7H4v1zM3 9H2v1h1V9zm0-2H2v1h1V7zm0-2H2v1h1V5zm0-2H2v1h1V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nChecklistOcticon.displayName = 'ChecklistOcticon';\nexports.default = ChecklistOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/checklist.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/chevron-down.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/chevron-down.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ChevronDownOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M5 11.5l-5-5L1.5 5 5 8.75 8.5 5 10 6.5l-5 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nChevronDownOcticon.displayName = 'ChevronDownOcticon';\nexports.default = ChevronDownOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/chevron-down.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/chevron-left.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/chevron-left.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ChevronLeftOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 3l1.5 1.5L3.75 8l3.75 3.5L6 13 1 8l5-5z' })\n ), options: { \"version\": \"1.1\", \"width\": 8, \"height\": 16, \"viewBox\": \"0 0 8 16\", \"aria-hidden\": \"true\" } });\nChevronLeftOcticon.displayName = 'ChevronLeftOcticon';\nexports.default = ChevronLeftOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/chevron-left.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/chevron-right.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/chevron-right.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ChevronRightOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.5 8l-5 5L1 11.5 4.75 8 1 4.5 2.5 3l5 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 8, \"height\": 16, \"viewBox\": \"0 0 8 16\", \"aria-hidden\": \"true\" } });\nChevronRightOcticon.displayName = 'ChevronRightOcticon';\nexports.default = ChevronRightOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/chevron-right.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/chevron-up.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/chevron-up.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ChevronUpOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 10l-1.5 1.5L5 7.75 1.5 11.5 0 10l5-5 5 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nChevronUpOcticon.displayName = 'ChevronUpOcticon';\nexports.default = ChevronUpOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/chevron-up.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/circle-slash.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/circle-slash.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CircleSlashOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm0 1.3c1.3 0 2.5.44 3.47 1.17l-8 8A5.755 5.755 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zm0 11.41c-1.3 0-2.5-.44-3.47-1.17l8-8c.73.97 1.17 2.17 1.17 3.47 0 3.14-2.56 5.7-5.7 5.7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nCircleSlashOcticon.displayName = 'CircleSlashOcticon';\nexports.default = CircleSlashOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/circle-slash.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/circuit-board.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/circuit-board.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CircuitBoardOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M3 5c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1zm8 0c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 6c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm2-10H5v2.17c.36.19.64.47.83.83h2.34c.42-.78 1.33-1.28 2.34-1.05.75.19 1.36.8 1.53 1.55.31 1.38-.72 2.59-2.05 2.59-.8 0-1.48-.44-1.83-1.09H5.83c-.42.8-1.33 1.28-2.34 1.03-.73-.17-1.34-.78-1.52-1.52C1.72 4.49 2.2 3.59 3 3.17V1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1l5-5h2.17c.42-.78 1.33-1.28 2.34-1.05.75.19 1.36.8 1.53 1.55.31 1.38-.72 2.59-2.05 2.59-.8 0-1.48-.44-1.83-1.09H6.99L4 15h9c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nCircuitBoardOcticon.displayName = 'CircuitBoardOcticon';\nexports.default = CircuitBoardOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/circuit-board.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/clippy.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/clippy.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ClippyOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nClippyOcticon.displayName = 'ClippyOcticon';\nexports.default = ClippyOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/clippy.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/clock.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/clock.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ClockOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 8h3v2H7c-.55 0-1-.45-1-1V4h2v4zM7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nClockOcticon.displayName = 'ClockOcticon';\nexports.default = ClockOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/clock.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/cloud-download.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/cloud-download.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CloudDownloadOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9 12h2l-3 3-3-3h2V7h2v5zm3-8c0-.44-.91-3-4.5-3C5.08 1 3 2.92 3 5 1.02 5 0 6.52 0 8c0 1.53 1 3 3 3h3V9.7H3C1.38 9.7 1.3 8.28 1.3 8c0-.17.05-1.7 1.7-1.7h1.3V5c0-1.39 1.56-2.7 3.2-2.7 2.55 0 3.13 1.55 3.2 1.8v1.2H12c.81 0 2.7.22 2.7 2.2 0 2.09-2.25 2.2-2.7 2.2h-2V11h2c2.08 0 4-1.16 4-3.5C16 5.06 14.08 4 12 4z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nCloudDownloadOcticon.displayName = 'CloudDownloadOcticon';\nexports.default = CloudDownloadOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/cloud-download.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/cloud-upload.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/cloud-upload.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CloudUploadOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 9H5l3-3 3 3H9v5H7V9zm5-4c0-.44-.91-3-4.5-3C5.08 2 3 3.92 3 6 1.02 6 0 7.52 0 9c0 1.53 1 3 3 3h3v-1.3H3c-1.62 0-1.7-1.42-1.7-1.7 0-.17.05-1.7 1.7-1.7h1.3V6c0-1.39 1.56-2.7 3.2-2.7 2.55 0 3.13 1.55 3.2 1.8v1.2H12c.81 0 2.7.22 2.7 2.2 0 2.09-2.25 2.2-2.7 2.2h-2V12h2c2.08 0 4-1.16 4-3.5C16 6.06 14.08 5 12 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nCloudUploadOcticon.displayName = 'CloudUploadOcticon';\nexports.default = CloudUploadOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/cloud-upload.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/code.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/code.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CodeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nCodeOcticon.displayName = 'CodeOcticon';\nexports.default = CodeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/code.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/comment-discussion.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/comment-discussion.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CommentDiscussionOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15 1H6c-.55 0-1 .45-1 1v2H1c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h1v3l3-3h4c.55 0 1-.45 1-1V9h1l3 3V9h1c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM9 11H4.5L3 12.5V11H1V5h4v3c0 .55.45 1 1 1h3v2zm6-3h-2v1.5L11.5 8H6V2h9v6z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nCommentDiscussionOcticon.displayName = 'CommentDiscussionOcticon';\nexports.default = CommentDiscussionOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/comment-discussion.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/comment.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/comment.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CommentOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 1H2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2v3.5L7.5 11H14c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 9H7l-2 2v-2H2V2h12v8z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nCommentOcticon.displayName = 'CommentOcticon';\nexports.default = CommentOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/comment.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/credit-card.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/credit-card.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CreditCardOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 9H2V8h10v1zm4-6v9c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h14c.55 0 1 .45 1 1zm-1 3H1v6h14V6zm0-3H1v1h14V3zm-9 7H2v1h4v-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nCreditCardOcticon.displayName = 'CreditCardOcticon';\nexports.default = CreditCardOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/credit-card.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/dash.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/dash.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DashOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 7v2h8V7H0z' })\n ), options: { \"version\": \"1.1\", \"width\": 8, \"height\": 16, \"viewBox\": \"0 0 8 16\", \"aria-hidden\": \"true\" } });\nDashOcticon.displayName = 'DashOcticon';\nexports.default = DashOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/dash.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/dashboard.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/dashboard.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DashboardOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9 5H8V4h1v1zm4 3h-1v1h1V8zM6 5H5v1h1V5zM5 8H4v1h1V8zm11-5.5l-.5-.5L9 7c-.06-.02-1 0-1 0-.55 0-1 .45-1 1v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-.92l6-5.58zm-1.59 4.09c.19.61.3 1.25.3 1.91 0 3.42-2.78 6.2-6.2 6.2-3.42 0-6.21-2.78-6.21-6.2 0-3.42 2.78-6.2 6.2-6.2 1.2 0 2.31.34 3.27.94l.94-.94A7.459 7.459 0 0 0 8.51 1C4.36 1 1 4.36 1 8.5 1 12.64 4.36 16 8.5 16c4.14 0 7.5-3.36 7.5-7.5 0-1.03-.2-2.02-.59-2.91l-1 1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nDashboardOcticon.displayName = 'DashboardOcticon';\nexports.default = DashboardOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/dashboard.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/database.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/database.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DatabaseOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 15c-3.31 0-6-.9-6-2v-2c0-.17.09-.34.21-.5.67.86 3 1.5 5.79 1.5s5.12-.64 5.79-1.5c.13.16.21.33.21.5v2c0 1.1-2.69 2-6 2zm0-4c-3.31 0-6-.9-6-2V7c0-.11.04-.21.09-.31.03-.06.07-.13.12-.19C.88 7.36 3.21 8 6 8s5.12-.64 5.79-1.5c.05.06.09.13.12.19.05.1.09.21.09.31v2c0 1.1-2.69 2-6 2zm0-4c-3.31 0-6-.9-6-2V4 3c0-1.1 2.69-2 6-2s6 .9 6 2v2c0 1.1-2.69 2-6 2zm0-5c-2.21 0-4 .45-4 1s1.79 1 4 1 4-.45 4-1-1.79-1-4-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nDatabaseOcticon.displayName = 'DatabaseOcticon';\nexports.default = DatabaseOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/database.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/desktop-download.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/desktop-download.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DesktopDownloadOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 6h3V0h2v6h3l-4 4-4-4zm11-4h-4v1h4v8H1V3h4V2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nDesktopDownloadOcticon.displayName = 'DesktopDownloadOcticon';\nexports.default = DesktopDownloadOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/desktop-download.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/device-camera-video.js": -/*!********************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/device-camera-video.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DeviceCameraVideoOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.2 2.091L10 5.721v-2.72c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-2.72l5.2 3.63c.33.23.8 0 .8-.41v-10c0-.41-.47-.64-.8-.41z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nDeviceCameraVideoOcticon.displayName = 'DeviceCameraVideoOcticon';\nexports.default = DeviceCameraVideoOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/device-camera-video.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/device-camera.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/device-camera.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DeviceCameraOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15 3H7c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM6 5H2V4h4v1zm4.5 7C8.56 12 7 10.44 7 8.5S8.56 5 10.5 5 14 6.56 14 8.5 12.44 12 10.5 12zM13 8.5c0 1.38-1.13 2.5-2.5 2.5S8 9.87 8 8.5 9.13 6 10.5 6 13 7.13 13 8.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nDeviceCameraOcticon.displayName = 'DeviceCameraOcticon';\nexports.default = DeviceCameraOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/device-camera.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/device-desktop.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/device-desktop.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DeviceDesktopOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nDeviceDesktopOcticon.displayName = 'DeviceDesktopOcticon';\nexports.default = DeviceDesktopOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/device-desktop.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/device-mobile.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/device-mobile.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DeviceMobileOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M9 0H1C.45 0 0 .45 0 1v14c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zM5 15.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3zM9 12H1V2h8v10z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nDeviceMobileOcticon.displayName = 'DeviceMobileOcticon';\nexports.default = DeviceMobileOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/device-mobile.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/diff-added.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/diff-added.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffAddedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zM6 9H3V7h3V4h2v3h3v2H8v3H6V9z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nDiffAddedOcticon.displayName = 'DiffAddedOcticon';\nexports.default = DiffAddedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/diff-added.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/diff-ignored.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/diff-ignored.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffIgnoredOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zm-8.5-2H3v-1.5L9.5 4H11v1.5L4.5 12z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nDiffIgnoredOcticon.displayName = 'DiffIgnoredOcticon';\nexports.default = DiffIgnoredOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/diff-ignored.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/diff-modified.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/diff-modified.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffModifiedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nDiffModifiedOcticon.displayName = 'DiffModifiedOcticon';\nexports.default = DiffModifiedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/diff-modified.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/diff-removed.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/diff-removed.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffRemovedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zm0 13H1V2h12v12zm-2-5H3V7h8v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nDiffRemovedOcticon.displayName = 'DiffRemovedOcticon';\nexports.default = DiffRemovedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/diff-removed.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/diff-renamed.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/diff-renamed.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffRenamedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 9H3V7h3V4l5 4-5 4V9zm8-7v12c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h12c.55 0 1 .45 1 1zm-1 0H1v12h12V2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nDiffRenamedOcticon.displayName = 'DiffRenamedOcticon';\nexports.default = DiffRenamedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/diff-renamed.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/diff.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/diff.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DiffOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 7h2v1H6v2H5V8H3V7h2V5h1v2zm-3 6h5v-1H3v1zM7.5 2L11 5.5V15c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h6.5zM10 6L7 3H1v12h9V6zM8.5 0H3v1h5l4 4v8h1V4.5L8.5 0z' })\n ), options: { \"version\": \"1.1\", \"width\": 13, \"height\": 16, \"viewBox\": \"0 0 13 16\", \"aria-hidden\": \"true\" } });\nDiffOcticon.displayName = 'DiffOcticon';\nexports.default = DiffOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/diff.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/ellipsis.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/ellipsis.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EllipsisOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11 5H1c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM4 9H2V7h2v2zm3 0H5V7h2v2zm3 0H8V7h2v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nEllipsisOcticon.displayName = 'EllipsisOcticon';\nexports.default = EllipsisOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/ellipsis.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/eye.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/eye.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EyeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8.06 2C3 2 0 8 0 8s3 6 8.06 6C13 14 16 8 16 8s-3-6-7.94-6zM8 12c-2.2 0-4-1.78-4-4 0-2.2 1.8-4 4-4 2.22 0 4 1.8 4 4 0 2.22-1.78 4-4 4zm2-4c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 .89 2 2z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nEyeOcticon.displayName = 'EyeOcticon';\nexports.default = EyeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/eye.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-binary.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-binary.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileBinaryOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 12h1v1H2v-1h1v-2H2V9h2v3zm8-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5zM8 4H6v1h1v2H6v1h3V7H8V4zM2 4h3v4H2V4zm1 3h1V5H3v2zm3 2h3v4H6V9zm1 3h1v-2H7v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFileBinaryOcticon.displayName = 'FileBinaryOcticon';\nexports.default = FileBinaryOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-binary.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-code.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-code.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileCodeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFileCodeOcticon.displayName = 'FileCodeOcticon';\nexports.default = FileCodeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-code.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-directory.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-directory.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileDirectoryOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nFileDirectoryOcticon.displayName = 'FileDirectoryOcticon';\nexports.default = FileDirectoryOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-directory.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-media.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-media.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileMediaOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 5h2v2H6V5zm6-.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v11l3-5 2 4 2-2 3 3V5z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFileMediaOcticon.displayName = 'FileMediaOcticon';\nexports.default = FileMediaOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-media.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-pdf.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-pdf.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FilePdfOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8.5 1H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4.5L8.5 1zM1 2h4a.68.68 0 0 0-.31.2 1.08 1.08 0 0 0-.23.47 4.22 4.22 0 0 0-.09 1.47c.06.609.173 1.211.34 1.8A21.78 21.78 0 0 1 3.6 8.6c-.5 1-.8 1.66-.91 1.84a7.161 7.161 0 0 0-.69.3 4.19 4.19 0 0 0-1 .64V2zm4.42 4.8a5.65 5.65 0 0 0 1.17 2.09c.275.237.595.417.94.53-.64.09-1.23.2-1.81.33a12.22 12.22 0 0 0-1.81.59c-.587.243.22-.44.61-1.25.365-.74.67-1.51.91-2.3l-.01.01zM11 14H1.5a.743.743 0 0 1-.17 0 2.12 2.12 0 0 0 .73-.44 10.14 10.14 0 0 0 1.78-2.38c.31-.13.58-.23.81-.31l.42-.14c.45-.13.94-.23 1.44-.33s1-.16 1.48-.2c.447.216.912.394 1.39.53.403.11.814.188 1.23.23h.38V14H11zm0-4.86a3.74 3.74 0 0 0-.64-.28 4.22 4.22 0 0 0-.75-.11c-.411.003-.822.03-1.23.08a3 3 0 0 1-1-.64 6.07 6.07 0 0 1-1.29-2.33c.111-.662.178-1.33.2-2 .02-.25.02-.5 0-.75a1.05 1.05 0 0 0-.2-.88.82.82 0 0 0-.61-.23H8l3 3v4.14z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFilePdfOcticon.displayName = 'FilePdfOcticon';\nexports.default = FilePdfOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-pdf.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-submodule.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-submodule.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileSubmoduleOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 7H4v7h9c.55 0 1-.45 1-1V8h-4V7zM9 9H5V8h4v1zm4-5H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h2V7c0-.55.45-1 1-1h6c.55 0 1 .45 1 1h3V5c0-.55-.45-1-1-1zM6 4H1V3h5v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nFileSubmoduleOcticon.displayName = 'FileSubmoduleOcticon';\nexports.default = FileSubmoduleOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-submodule.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-symlink-directory.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-symlink-directory.js ***! - \***********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileSymlinkDirectoryOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 4H7V3c0-.66-.31-1-1-1H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zM1 3h5v1H1V3zm6 9v-2c-.98-.02-1.84.22-2.55.7-.71.48-1.19 1.25-1.45 2.3.02-1.64.39-2.88 1.13-3.73C4.86 8.43 5.82 8 7.01 8V6l4 3-4 3H7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nFileSymlinkDirectoryOcticon.displayName = 'FileSymlinkDirectoryOcticon';\nexports.default = FileSymlinkDirectoryOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-symlink-directory.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-symlink-file.js": -/*!******************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-symlink-file.js ***! - \******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileSymlinkFileOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM6 4.5l4 3-4 3v-2c-.98-.02-1.84.22-2.55.7-.71.48-1.19 1.25-1.45 2.3.02-1.64.39-2.88 1.13-3.73.73-.84 1.69-1.27 2.88-1.27v-2H6z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFileSymlinkFileOcticon.displayName = 'FileSymlinkFileOcticon';\nexports.default = FileSymlinkFileOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-symlink-file.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file-zip.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file-zip.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileZipOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8.5 1H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4.5L8.5 1zM11 14H1V2h3v1h1V2h3l3 3v9zM5 4V3h1v1H5zM4 4h1v1H4V4zm1 2V5h1v1H5zM4 6h1v1H4V6zm1 2V7h1v1H5zM4 9.28A2 2 0 0 0 3 11v1h4v-1a2 2 0 0 0-2-2V8H4v1.28zM6 10v1H4v-1h2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFileZipOcticon.displayName = 'FileZipOcticon';\nexports.default = FileZipOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file-zip.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/file.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/file.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FileOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 5H2V4h4v1zM2 8h7V7H2v1zm0 2h7V9H2v1zm0 2h7v-1H2v1zm10-7.5V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1h7.5L12 4.5zM11 5L8 2H1v12h10V5z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFileOcticon.displayName = 'FileOcticon';\nexports.default = FileOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/file.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/flame.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/flame.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FlameOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M5.05.01c.81 2.17.41 3.38-.52 4.31C3.55 5.37 1.98 6.15.9 7.68c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.01 8.68 2.15 5.05.02L5.03 0l.02.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nFlameOcticon.displayName = 'FlameOcticon';\nexports.default = FlameOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/flame.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/fold.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/fold.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FoldOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 9l3 3H8v3H6v-3H4l3-3zm3-6H8V0H6v3H4l3 3 3-3zm4 2c0-.55-.45-1-1-1h-2.5l-1 1h3l-2 2h-7l-2-2h3l-1-1H1c-.55 0-1 .45-1 1l2.5 2.5L0 10c0 .55.45 1 1 1h2.5l1-1h-3l2-2h7l2 2h-3l1 1H13c.55 0 1-.45 1-1l-2.5-2.5L14 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nFoldOcticon.displayName = 'FoldOcticon';\nexports.default = FoldOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/fold.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/gear.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/gear.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GearOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 8.76v-1.6l-1.94-.64-.45-1.09.88-1.84-1.13-1.13-1.81.91-1.09-.45L7.77 1h-1.6l-.63 1.94-1.11.45-1.84-.88-1.13 1.13.91 1.81-.45 1.09L0 7.22v1.59l1.94.64.45 1.09-.88 1.84 1.13 1.13 1.81-.91 1.09.45.69 1.92h1.59l.63-1.94 1.11-.45 1.84.88 1.13-1.13-.92-1.81.47-1.09L14 8.74v.02zm-7 2.23c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nGearOcticon.displayName = 'GearOcticon';\nexports.default = GearOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/gear.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/gift.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/gift.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GiftOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13.02 4h-1.38c.19-.33.33-.67.36-.91.06-.67-.11-1.22-.52-1.61-.36-.38-.81-.48-1.36-.48h-.11c-.53.02-1.11.25-1.53.58-.42.33-.73.72-.97 1.2-.23-.48-.55-.88-.97-1.2-.42-.32-1-.58-1.53-.58h-.03c-.56 0-1.06.09-1.44.48-.41.39-.58.94-.52 1.61.03.23.17.58.36.91H2c-.55 0-1 .45-1 1v3h1v5c0 .55.45 1 1 1h9c.55 0 1-.45 1-1V8h1V5c0-.55-.45-1-1-1h.02zm-4.78-.88c.17-.36.42-.67.75-.92.3-.23.72-.39 1.05-.41h.09c.45 0 .66.11.8.25s.33.39.3.95c-.05.19-.25.61-.5 1h-2.9l.41-.88v.01zM4.11 2.04c.13-.13.31-.25.91-.25.31 0 .72.17 1.03.41.33.25.58.55.75.92l.42.88h-2.9c-.25-.39-.45-.81-.5-1-.03-.56.16-.81.3-.95l-.01-.01zm2.91 10.95h-4V8h4v5-.01zm0-6h-5V5h5v2-.01zm5 6h-4V8h4v5-.01zm1-6h-5V5h5v2-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nGiftOcticon.displayName = 'GiftOcticon';\nexports.default = GiftOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/gift.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/gist-secret.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/gist-secret.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GistSecretOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.782 10.5l1 3.5h-4l1-3.5-.75-1.5h3.5l-.75 1.5zm2-4.5h-6l-2 1h10l-2-1zm-1-4l-2 1-2-1-1 3h6l-1-3zm4.03 7.75L9.782 9l1 2-2 3h3.22c.45 0 .86-.31.97-.75l.56-2.28c.14-.53-.19-1.08-.72-1.22zM3.782 9l-3.03.75c-.53.14-.86.69-.72 1.22l.56 2.28c.11.44.52.75.97.75h3.22l-2-3 1-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nGistSecretOcticon.displayName = 'GistSecretOcticon';\nexports.default = GistSecretOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/gist-secret.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/gist.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/gist.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GistOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.5 5L10 7.5 7.5 10l-.75-.75L8.5 7.5 6.75 5.75 7.5 5zm-3 0L2 7.5 4.5 10l.75-.75L3.5 7.5l1.75-1.75L4.5 5zM0 13V2c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v11c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1zm1 0h10V2H1v11z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nGistOcticon.displayName = 'GistOcticon';\nexports.default = GistOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/gist.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/git-branch.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/git-branch.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GitBranchOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 5c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v.3c-.02.52-.23.98-.63 1.38-.4.4-.86.61-1.38.63-.83.02-1.48.16-2 .45V4.72a1.993 1.993 0 0 0-1-3.72C.88 1 0 1.89 0 3a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2 1.11 0 2-.89 2-2 0-.53-.2-1-.53-1.36.09-.06.48-.41.59-.47.25-.11.56-.17.94-.17 1.05-.05 1.95-.45 2.75-1.25S8.95 7.77 9 6.73h-.02C9.59 6.37 10 5.73 10 5zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm0 12.41c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm6-8c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nGitBranchOcticon.displayName = 'GitBranchOcticon';\nexports.default = GitBranchOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/git-branch.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/git-commit.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/git-commit.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GitCommitOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10.86 7c-.45-1.72-2-3-3.86-3-1.86 0-3.41 1.28-3.86 3H0v2h3.14c.45 1.72 2 3 3.86 3 1.86 0 3.41-1.28 3.86-3H14V7h-3.14zM7 10.2c-1.22 0-2.2-.98-2.2-2.2 0-1.22.98-2.2 2.2-2.2 1.22 0 2.2.98 2.2 2.2 0 1.22-.98 2.2-2.2 2.2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nGitCommitOcticon.displayName = 'GitCommitOcticon';\nexports.default = GitCommitOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/git-commit.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/git-compare.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/git-compare.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GitCompareOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M5 12H4c-.27-.02-.48-.11-.69-.31-.21-.2-.3-.42-.31-.69V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V11c.03.78.34 1.47.94 2.06.6.59 1.28.91 2.06.94h1v2l3-3-3-3v2zM2 1.8c.66 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2C1.35 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2zm11 9.48V5c-.03-.78-.34-1.47-.94-2.06-.6-.59-1.28-.91-2.06-.94H9V0L6 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 12 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nGitCompareOcticon.displayName = 'GitCompareOcticon';\nexports.default = GitCompareOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/git-compare.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/git-merge.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/git-merge.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GitMergeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 7.01c-.73 0-1.38.41-1.73 1.02v-.02C7.22 7.99 6 7.65 5.14 6.99c-.75-.58-1.5-1.61-1.89-2.44A1.993 1.993 0 0 0 2 1C.89 1 0 1.9 0 3.01a2 2 0 0 0 1 1.72v6.56c-.59.35-1 .99-1 1.72 0 1.11.89 2 2 2a1.993 1.993 0 0 0 1-3.72V7.68c.67.7 1.44 1.27 2.3 1.69.86.42 2.03.63 2.97.64v-.02c.36.61 1 1.02 1.73 1.02 1.11 0 2-.89 2-2 0-1.11-.89-2-2-2zm-6.8 6c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.21c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm8 6c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nGitMergeOcticon.displayName = 'GitMergeOcticon';\nexports.default = GitMergeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/git-merge.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/git-pull-request.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/git-pull-request.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GitPullRequestOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nGitPullRequestOcticon.displayName = 'GitPullRequestOcticon';\nexports.default = GitPullRequestOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/git-pull-request.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/globe.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/globe.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GlobeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 1C3.14 1 0 4.14 0 8s3.14 7 7 7c.48 0 .94-.05 1.38-.14-.17-.08-.2-.73-.02-1.09.19-.41.81-1.45.2-1.8-.61-.35-.44-.5-.81-.91-.37-.41-.22-.47-.25-.58-.08-.34.36-.89.39-.94.02-.06.02-.27 0-.33 0-.08-.27-.22-.34-.23-.06 0-.11.11-.2.13-.09.02-.5-.25-.59-.33-.09-.08-.14-.23-.27-.34-.13-.13-.14-.03-.33-.11s-.8-.31-1.28-.48c-.48-.19-.52-.47-.52-.66-.02-.2-.3-.47-.42-.67-.14-.2-.16-.47-.2-.41-.04.06.25.78.2.81-.05.02-.16-.2-.3-.38-.14-.19.14-.09-.3-.95s.14-1.3.17-1.75c.03-.45.38.17.19-.13-.19-.3 0-.89-.14-1.11-.13-.22-.88.25-.88.25.02-.22.69-.58 1.16-.92.47-.34.78-.06 1.16.05.39.13.41.09.28-.05-.13-.13.06-.17.36-.13.28.05.38.41.83.36.47-.03.05.09.11.22s-.06.11-.38.3c-.3.2.02.22.55.61s.38-.25.31-.55c-.07-.3.39-.06.39-.06.33.22.27.02.5.08.23.06.91.64.91.64-.83.44-.31.48-.17.59.14.11-.28.3-.28.3-.17-.17-.19.02-.3.08-.11.06-.02.22-.02.22-.56.09-.44.69-.42.83 0 .14-.38.36-.47.58-.09.2.25.64.06.66-.19.03-.34-.66-1.31-.41-.3.08-.94.41-.59 1.08.36.69.92-.19 1.11-.09.19.1-.06.53-.02.55.04.02.53.02.56.61.03.59.77.53.92.55.17 0 .7-.44.77-.45.06-.03.38-.28 1.03.09.66.36.98.31 1.2.47.22.16.08.47.28.58.2.11 1.06-.03 1.28.31.22.34-.88 2.09-1.22 2.28-.34.19-.48.64-.84.92s-.81.64-1.27.91c-.41.23-.47.66-.66.8 3.14-.7 5.48-3.5 5.48-6.84 0-3.86-3.14-7-7-7L7 1zm1.64 6.56c-.09.03-.28.22-.78-.08-.48-.3-.81-.23-.86-.28 0 0-.05-.11.17-.14.44-.05.98.41 1.11.41.13 0 .19-.13.41-.05.22.08.05.13-.05.14zM6.34 1.7c-.05-.03.03-.08.09-.14.03-.03.02-.11.05-.14.11-.11.61-.25.52.03-.11.27-.58.3-.66.25zm1.23.89c-.19-.02-.58-.05-.52-.14.3-.28-.09-.38-.34-.38-.25-.02-.34-.16-.22-.19.12-.03.61.02.7.08.08.06.52.25.55.38.02.13 0 .25-.17.25zm1.47-.05c-.14.09-.83-.41-.95-.52-.56-.48-.89-.31-1-.41-.11-.1-.08-.19.11-.34.19-.15.69.06 1 .09.3.03.66.27.66.55.02.25.33.5.19.63h-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nGlobeOcticon.displayName = 'GlobeOcticon';\nexports.default = GlobeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/globe.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/grabber.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/grabber.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GrabberOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 4v1H0V4h8zM0 8h8V7H0v1zm0 3h8v-1H0v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 8, \"height\": 16, \"viewBox\": \"0 0 8 16\", \"aria-hidden\": \"true\" } });\nGrabberOcticon.displayName = 'GrabberOcticon';\nexports.default = GrabberOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/grabber.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/graph.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/graph.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar GraphOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M16 14v1H0V0h1v14h15zM5 13H3V8h2v5zm4 0H7V3h2v10zm4 0h-2V6h2v7z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nGraphOcticon.displayName = 'GraphOcticon';\nexports.default = GraphOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/graph.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/heart.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/heart.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HeartOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11.2 3c-.52-.63-1.25-.95-2.2-1-.97 0-1.69.42-2.2 1-.51.58-.78.92-.8 1-.02-.08-.28-.42-.8-1-.52-.58-1.17-1-2.2-1-.95.05-1.69.38-2.2 1-.52.61-.78 1.28-.8 2 0 .52.09 1.52.67 2.67C1.25 8.82 3.01 10.61 6 13c2.98-2.39 4.77-4.17 5.34-5.33C11.91 6.51 12 5.5 12 5c-.02-.72-.28-1.39-.8-2.02V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nHeartOcticon.displayName = 'HeartOcticon';\nexports.default = HeartOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/heart.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/history.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/history.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HistoryOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 13H6V6h5v2H8v5zM7 1C4.81 1 2.87 2.02 1.59 3.59L0 2v4h4L2.5 4.5C3.55 3.17 5.17 2.3 7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-.34.03-.67.09-1H.08C.03 7.33 0 7.66 0 8c0 3.86 3.14 7 7 7s7-3.14 7-7-3.14-7-7-7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nHistoryOcticon.displayName = 'HistoryOcticon';\nexports.default = HistoryOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/history.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/home.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/home.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HomeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M16 9l-3-3V2h-2v2L8 1 0 9h2l1 5c0 .55.45 1 1 1h8c.55 0 1-.45 1-1l1-5h2zm-4 5H9v-4H7v4H4L2.81 7.69 8 2.5l5.19 5.19L12 14z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nHomeOcticon.displayName = 'HomeOcticon';\nexports.default = HomeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/home.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/horizontal-rule.js": -/*!****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/horizontal-rule.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HorizontalRuleOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M1 7h2v2h1V3H3v3H1V3H0v6h1V7zm9 2V7H9v2h1zm0-3V4H9v2h1zM7 6V4h2V3H6v6h1V7h2V6H7zm-7 7h10v-2H0v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nHorizontalRuleOcticon.displayName = 'HorizontalRuleOcticon';\nexports.default = HorizontalRuleOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/horizontal-rule.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/hubot.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/hubot.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HubotOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M3 6c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1H3zm8 1.75L9.75 9h-1.5L7 7.75 5.75 9h-1.5L3 7.75V7h.75L5 8.25 6.25 7h1.5L9 8.25 10.25 7H11v.75zM5 11h4v1H5v-1zm2-9C3.14 2 0 4.91 0 8.5V13c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V8.5C14 4.91 10.86 2 7 2zm6 11H1V8.5c0-3.09 2.64-5.59 6-5.59s6 2.5 6 5.59V13z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nHubotOcticon.displayName = 'HubotOcticon';\nexports.default = HubotOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/hubot.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/inbox.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/inbox.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar InboxOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 9l-1.13-7.14c-.08-.48-.5-.86-1-.86H2.13c-.5 0-.92.38-1 .86L0 9v5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V9zm-3.28.55l-.44.89c-.17.34-.52.56-.91.56H4.61c-.38 0-.72-.22-.89-.55l-.44-.91c-.17-.33-.52-.55-.89-.55H1l1-7h10l1 7h-1.38c-.39 0-.73.22-.91.55l.01.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nInboxOcticon.displayName = 'InboxOcticon';\nexports.default = InboxOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/inbox.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/info.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/info.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar InfoOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6.3 5.71a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 8.01c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V8v.01zM7 2.32C3.86 2.32 1.3 4.86 1.3 8c0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 1c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nInfoOcticon.displayName = 'InfoOcticon';\nexports.default = InfoOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/info.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/issue-closed.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/issue-closed.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IssueClosedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 10h2v2H7v-2zm2-6H7v5h2V4zm1.5 1.5l-1 1L12 9l4-4.5-1-1L12 7l-1.5-1.5zM8 13.7A5.71 5.71 0 0 1 2.3 8c0-3.14 2.56-5.7 5.7-5.7 1.83 0 3.45.88 4.5 2.2l.92-.92A6.947 6.947 0 0 0 8 1C4.14 1 1 4.14 1 8s3.14 7 7 7 7-3.14 7-7l-1.52 1.52c-.66 2.41-2.86 4.19-5.48 4.19v-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nIssueClosedOcticon.displayName = 'IssueClosedOcticon';\nexports.default = IssueClosedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/issue-closed.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/issue-opened.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/issue-opened.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IssueOpenedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nIssueOpenedOcticon.displayName = 'IssueOpenedOcticon';\nexports.default = IssueOpenedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/issue-opened.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/issue-reopened.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/issue-reopened.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IssueReopenedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 9H6V4h2v5zm-2 3h2v-2H6v2zm6.33-2H10l1.5 1.5c-1.05 1.33-2.67 2.2-4.5 2.2A5.71 5.71 0 0 1 1.3 8c0-.34.03-.67.09-1H.08C.03 7.33 0 7.66 0 8c0 3.86 3.14 7 7 7 2.19 0 4.13-1.02 5.41-2.59L14 14v-4h-1.67zM1.67 6H4L2.5 4.5C3.55 3.17 5.17 2.3 7 2.3c3.14 0 5.7 2.56 5.7 5.7 0 .34-.03.67-.09 1h1.31c.05-.33.08-.66.08-1 0-3.86-3.14-7-7-7-2.19 0-4.13 1.02-5.41 2.59L0 2v4h1.67z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nIssueReopenedOcticon.displayName = 'IssueReopenedOcticon';\nexports.default = IssueReopenedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/issue-reopened.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/italic.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/italic.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ItalicOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M2.81 5h1.98L3 14H1l1.81-9zm.36-2.7c0-.7.58-1.3 1.33-1.3.56 0 1.13.38 1.13 1.03 0 .75-.59 1.3-1.33 1.3-.58 0-1.13-.38-1.13-1.03z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nItalicOcticon.displayName = 'ItalicOcticon';\nexports.default = ItalicOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/italic.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/jersey.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/jersey.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar JerseyOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4.5 6l-.5.5v5l.5.5h2l.5-.5v-5L6.5 6h-2zM6 11H5V7h1v4zm6.27-7.25C12.05 2.37 11.96 1.12 12 0H9.02c0 .27-.13.48-.39.69-.25.2-.63.3-1.13.3-.5 0-.88-.09-1.13-.3-.23-.2-.36-.42-.36-.69H3c.05 1.13-.03 2.38-.25 3.75C2.55 5.13 1.95 5.88 1 6v9c.02.27.11.48.31.69.2.21.42.3.69.31h11c.27-.02.48-.11.69-.31.21-.2.3-.42.31-.69V6c-.95-.13-1.53-.88-1.75-2.25h.02zM13 15H2V7c.89-.5 1.48-1.25 1.72-2.25S4.03 2.5 4 1h1c-.02.78.16 1.47.52 2.06.36.58 1.02.89 2 .94.98-.02 1.64-.33 2-.94.36-.59.5-1.28.48-2.06h1c.02 1.42.13 2.55.33 3.38.2.81.69 2 1.67 2.63v8V15zM8.5 6l-.5.5v5l.5.5h2l.5-.5v-5l-.5-.5h-2zm1.5 5H9V7h1v4z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nJerseyOcticon.displayName = 'JerseyOcticon';\nexports.default = JerseyOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/jersey.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/kebab-horizontal.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/kebab-horizontal.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar KebabHorizontalOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM13 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z' })\n ), options: { \"version\": \"1.1\", \"width\": 13, \"height\": 16, \"viewBox\": \"0 0 13 16\", \"aria-hidden\": \"true\" } });\nKebabHorizontalOcticon.displayName = 'KebabHorizontalOcticon';\nexports.default = KebabHorizontalOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/kebab-horizontal.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/kebab-vertical.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/kebab-vertical.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar KebabVerticalOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 2.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0zm0 5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0zM1.5 14a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z' })\n ), options: { \"version\": \"1.1\", \"width\": 3, \"height\": 16, \"viewBox\": \"0 0 3 16\", \"aria-hidden\": \"true\" } });\nKebabVerticalOcticon.displayName = 'KebabVerticalOcticon';\nexports.default = KebabVerticalOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/kebab-vertical.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/key.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/key.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar KeyOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12.83 2.17C12.08 1.42 11.14 1.03 10 1c-1.13.03-2.08.42-2.83 1.17S6.04 3.86 6.01 5c0 .3.03.59.09.89L0 12v1l1 1h2l1-1v-1h1v-1h1v-1h2l1.09-1.11c.3.08.59.11.91.11 1.14-.03 2.08-.42 2.83-1.17S13.97 6.14 14 5c-.03-1.14-.42-2.08-1.17-2.83zM11 5.38c-.77 0-1.38-.61-1.38-1.38 0-.77.61-1.38 1.38-1.38.77 0 1.38.61 1.38 1.38 0 .77-.61 1.38-1.38 1.38z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nKeyOcticon.displayName = 'KeyOcticon';\nexports.default = KeyOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/key.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/keyboard.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/keyboard.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar KeyboardOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 5H9V4h1v1zM3 6H2v1h1V6zm5-2H7v1h1V4zM4 4H2v1h2V4zm8 7h2v-1h-2v1zM8 7h1V6H8v1zm-4 3H2v1h2v-1zm8-6h-1v1h1V4zm2 0h-1v1h1V4zm-2 5h2V6h-2v3zm4-6v9c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h14c.55 0 1 .45 1 1zm-1 0H1v9h14V3zM6 7h1V6H6v1zm0-3H5v1h1V4zM4 7h1V6H4v1zm1 4h6v-1H5v1zm5-4h1V6h-1v1zM3 8H2v1h1V8zm5 0v1h1V8H8zM6 8v1h1V8H6zM5 8H4v1h1V8zm5 1h1V8h-1v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nKeyboardOcticon.displayName = 'KeyboardOcticon';\nexports.default = KeyboardOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/keyboard.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/law.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/law.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LawOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 4c-.83 0-1.5-.67-1.5-1.5S6.17 1 7 1s1.5.67 1.5 1.5S7.83 4 7 4zm7 6c0 1.11-.89 2-2 2h-1c-1.11 0-2-.89-2-2l2-4h-1c-.55 0-1-.45-1-1H8v8c.42 0 1 .45 1 1h1c.42 0 1 .45 1 1H3c0-.55.58-1 1-1h1c0-.55.58-1 1-1h.03L6 5H5c0 .55-.45 1-1 1H3l2 4c0 1.11-.89 2-2 2H2c-1.11 0-2-.89-2-2l2-4H1V5h3c0-.55.45-1 1-1h4c.55 0 1 .45 1 1h3v1h-1l2 4zM2.5 7L1 10h3L2.5 7zM13 10l-1.5-3-1.5 3h3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nLawOcticon.displayName = 'LawOcticon';\nexports.default = LawOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/law.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/light-bulb.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/light-bulb.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LightBulbOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nLightBulbOcticon.displayName = 'LightBulbOcticon';\nexports.default = LightBulbOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/light-bulb.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/link-external.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/link-external.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LinkExternalOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11 10h1v3c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3v1H1v10h10v-3zM6 2l2.25 2.25L5 7.5 6.5 9l3.25-3.25L12 8V2H6z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nLinkExternalOcticon.displayName = 'LinkExternalOcticon';\nexports.default = LinkExternalOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/link-external.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/link.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/link.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LinkOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nLinkOcticon.displayName = 'LinkOcticon';\nexports.default = LinkOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/link.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/list-ordered.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/list-ordered.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ListOrderedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12.01 13c0 .59 0 1-.59 1H4.6c-.59 0-.59-.41-.59-1 0-.59 0-1 .59-1h6.81c.59 0 .59.41.59 1h.01zM4.6 4h6.81C12 4 12 3.59 12 3c0-.59 0-1-.59-1H4.6c-.59 0-.59.41-.59 1 0 .59 0 1 .59 1zm6.81 3H4.6c-.59 0-.59.41-.59 1 0 .59 0 1 .59 1h6.81C12 9 12 8.59 12 8c0-.59 0-1-.59-1zm-9.4-6h-.72c-.3.19-.58.25-1.03.34V2h.75v2.14H.17V5h2.84v-.86h-1V1zm.25 8.13c-.17 0-.45.03-.66.06.53-.56 1.14-1.25 1.14-1.89C2.72 6.52 2.18 6 1.38 6c-.59 0-.97.2-1.38.64l.58.58c.19-.19.38-.38.64-.38.28 0 .48.16.48.52 0 .53-.77 1.2-1.7 2.06V10h3l-.09-.88h-.66l.01.01zm-.08 3.78v-.03c.44-.19.64-.47.64-.86 0-.7-.56-1.11-1.44-1.11-.48 0-.89.19-1.28.52l.55.64c.25-.2.44-.31.69-.31.27 0 .42.13.42.36 0 .27-.2.44-.86.44v.75c.83 0 .98.17.98.47 0 .25-.23.38-.58.38-.28 0-.56-.14-.81-.38l-.48.66c.3.36.77.56 1.41.56.83 0 1.53-.41 1.53-1.16 0-.5-.31-.81-.77-.94v.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nListOrderedOcticon.displayName = 'ListOrderedOcticon';\nexports.default = ListOrderedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/list-ordered.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/list-unordered.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/list-unordered.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ListUnorderedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M2 13c0 .59 0 1-.59 1H.59C0 14 0 13.59 0 13c0-.59 0-1 .59-1h.81c.59 0 .59.41.59 1H2zm2.59-9h6.81c.59 0 .59-.41.59-1 0-.59 0-1-.59-1H4.59C4 2 4 2.41 4 3c0 .59 0 1 .59 1zM1.41 7H.59C0 7 0 7.41 0 8c0 .59 0 1 .59 1h.81c.59 0 .59-.41.59-1 0-.59 0-1-.59-1h.01zm0-5H.59C0 2 0 2.41 0 3c0 .59 0 1 .59 1h.81c.59 0 .59-.41.59-1 0-.59 0-1-.59-1h.01zm10 5H4.59C4 7 4 7.41 4 8c0 .59 0 1 .59 1h6.81c.59 0 .59-.41.59-1 0-.59 0-1-.59-1h.01zm0 5H4.59C4 12 4 12.41 4 13c0 .59 0 1 .59 1h6.81c.59 0 .59-.41.59-1 0-.59 0-1-.59-1h.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nListUnorderedOcticon.displayName = 'ListUnorderedOcticon';\nexports.default = ListUnorderedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/list-unordered.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/location.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/location.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LocationOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 0C2.69 0 0 2.5 0 5.5 0 10.02 6 16 6 16s6-5.98 6-10.5C12 2.5 9.31 0 6 0zm0 14.55C4.14 12.52 1 8.44 1 5.5 1 3.02 3.25 1 6 1c1.34 0 2.61.48 3.56 1.36.92.86 1.44 1.97 1.44 3.14 0 2.94-3.14 7.02-5 9.05zM8 5.5c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 .89 2 2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nLocationOcticon.displayName = 'LocationOcticon';\nexports.default = LocationOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/location.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/lock.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/lock.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LockOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 13H3v-1h1v1zm8-6v7c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V7c0-.55.45-1 1-1h1V4c0-2.2 1.8-4 4-4s4 1.8 4 4v2h1c.55 0 1 .45 1 1zM3.8 6h4.41V4c0-1.22-.98-2.2-2.2-2.2-1.22 0-2.2.98-2.2 2.2v2H3.8zM11 7H2v7h9V7zM4 8H3v1h1V8zm0 2H3v1h1v-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nLockOcticon.displayName = 'LockOcticon';\nexports.default = LockOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/lock.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/logo-gist.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/logo-gist.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LogoGistOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4.7 8.73h2.45v4.02c-.55.27-1.64.34-2.53.34-2.56 0-3.47-2.2-3.47-5.05 0-2.85.91-5.06 3.48-5.06 1.28 0 2.06.23 3.28.73V2.66C7.27 2.33 6.25 2 4.63 2 1.13 2 0 4.69 0 8.03c0 3.34 1.11 6.03 4.63 6.03 1.64 0 2.81-.27 3.59-.64V7.73H4.7v1zm6.39 3.72V6.06h-1.05v6.28c0 1.25.58 1.72 1.72 1.72v-.89c-.48 0-.67-.16-.67-.7v-.02zm.25-8.72c0-.44-.33-.78-.78-.78s-.77.34-.77.78.33.78.77.78.78-.34.78-.78zm4.34 5.69c-1.5-.13-1.78-.48-1.78-1.17 0-.77.33-1.34 1.88-1.34 1.05 0 1.66.16 2.27.36v-.94c-.69-.3-1.52-.39-2.25-.39-2.2 0-2.92 1.2-2.92 2.31 0 1.08.47 1.88 2.73 2.08 1.55.13 1.77.63 1.77 1.34 0 .73-.44 1.42-2.06 1.42-1.11 0-1.86-.19-2.33-.36v.94c.5.2 1.58.39 2.33.39 2.38 0 3.14-1.2 3.14-2.41 0-1.28-.53-2.03-2.75-2.23h-.03zm8.58-2.47v-.86h-2.42v-2.5l-1.08.31v2.11l-1.56.44v.48h1.56v5c0 1.53 1.19 2.13 2.5 2.13.19 0 .52-.02.69-.05v-.89c-.19.03-.41.03-.61.03-.97 0-1.5-.39-1.5-1.34V6.94h2.42v.02-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 25, \"height\": 16, \"viewBox\": \"0 0 25 16\", \"aria-hidden\": \"true\" } });\nLogoGistOcticon.displayName = 'LogoGistOcticon';\nexports.default = LogoGistOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/logo-gist.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/logo-github.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/logo-github.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LogoGithubOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M18.53 12.03h-.02c.009 0 .015.01.024.011h.006l-.01-.01zm.004.011c-.093.001-.327.05-.574.05-.78 0-1.05-.36-1.05-.83V8.13h1.59c.09 0 .16-.08.16-.19v-1.7c0-.09-.08-.17-.16-.17h-1.59V3.96c0-.08-.05-.13-.14-.13h-2.16c-.09 0-.14.05-.14.13v2.17s-1.09.27-1.16.28c-.08.02-.13.09-.13.17v1.36c0 .11.08.19.17.19h1.11v3.28c0 2.44 1.7 2.69 2.86 2.69.53 0 1.17-.17 1.27-.22.06-.02.09-.09.09-.16v-1.5a.177.177 0 0 0-.146-.18zm23.696-2.2c0-1.81-.73-2.05-1.5-1.97-.6.04-1.08.34-1.08.34v3.52s.49.34 1.22.36c1.03.03 1.36-.34 1.36-2.25zm2.43-.16c0 3.43-1.11 4.41-3.05 4.41-1.64 0-2.52-.83-2.52-.83s-.04.46-.09.52c-.03.06-.08.08-.14.08h-1.48c-.1 0-.19-.08-.19-.17l.02-11.11c0-.09.08-.17.17-.17h2.13c.09 0 .17.08.17.17v3.77s.82-.53 2.02-.53l-.01-.02c1.2 0 2.97.45 2.97 3.88zm-8.72-3.61H33.84c-.11 0-.17.08-.17.19v5.44s-.55.39-1.3.39-.97-.34-.97-1.09V6.25c0-.09-.08-.17-.17-.17h-2.14c-.09 0-.17.08-.17.17v5.11c0 2.2 1.23 2.75 2.92 2.75 1.39 0 2.52-.77 2.52-.77s.05.39.08.45c.02.05.09.09.16.09h1.34c.11 0 .17-.08.17-.17l.02-7.47c0-.09-.08-.17-.19-.17zm-23.7-.01h-2.13c-.09 0-.17.09-.17.2v7.34c0 .2.13.27.3.27h1.92c.2 0 .25-.09.25-.27V6.23c0-.09-.08-.17-.17-.17zm-1.05-3.38c-.77 0-1.38.61-1.38 1.38 0 .77.61 1.38 1.38 1.38.75 0 1.36-.61 1.36-1.38 0-.77-.61-1.38-1.36-1.38zm16.49-.25h-2.11c-.09 0-.17.08-.17.17v4.09h-3.31V2.6c0-.09-.08-.17-.17-.17h-2.13c-.09 0-.17.08-.17.17v11.11c0 .09.09.17.17.17h2.13c.09 0 .17-.08.17-.17V8.96h3.31l-.02 4.75c0 .09.08.17.17.17h2.13c.09 0 .17-.08.17-.17V2.6c0-.09-.08-.17-.17-.17zM8.81 7.35v5.74c0 .04-.01.11-.06.13 0 0-1.25.89-3.31.89-2.49 0-5.44-.78-5.44-5.92S2.58 1.99 5.1 2c2.18 0 3.06.49 3.2.58.04.05.06.09.06.14L7.94 4.5c0 .09-.09.2-.2.17-.36-.11-.9-.33-2.17-.33-1.47 0-3.05.42-3.05 3.73s1.5 3.7 2.58 3.7c.92 0 1.25-.11 1.25-.11v-2.3H4.88c-.11 0-.19-.08-.19-.17V7.35c0-.09.08-.17.19-.17h3.74c.11 0 .19.08.19.17z' })\n ), options: { \"version\": \"1.1\", \"width\": 45, \"height\": 16, \"viewBox\": \"0 0 45 16\", \"aria-hidden\": \"true\" } });\nLogoGithubOcticon.displayName = 'LogoGithubOcticon';\nexports.default = LogoGithubOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/logo-github.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mail-read.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mail-read.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MailReadOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 5H4V4h2v1zm3 1H4v1h5V6zm5-.48V14c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V5.52c0-.33.16-.63.42-.81L2 3.58V3c0-.55.45-1 1-1h1.2L7 0l2.8 2H11c.55 0 1 .45 1 1v.58l1.58 1.13c.27.19.42.48.42.81zM3 7.5L7 10l4-2.5V3H3v4.5zm-2 6l4.5-3-4.5-3v6zm11 .5l-5-3-5 3h10zm1-6.5l-4.5 3 4.5 3v-6z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nMailReadOcticon.displayName = 'MailReadOcticon';\nexports.default = MailReadOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mail-read.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mail.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mail.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MailOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 4v8c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H1c-.55 0-1 .45-1 1zm13 0L7 9 1 4h12zM1 5.5l4 3-4 3v-6zM2 12l3.5-3L7 10.5 8.5 9l3.5 3H2zm11-.5l-4-3 4-3v6z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nMailOcticon.displayName = 'MailOcticon';\nexports.default = MailOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mail.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mark-github.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mark-github.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MarkGithubOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nMarkGithubOcticon.displayName = 'MarkGithubOcticon';\nexports.default = MarkGithubOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mark-github.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/markdown.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/markdown.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MarkdownOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7V8L5.5 9.92 4 8v3H2V5h2l1.5 2L7 5h2v6zm2.99.5L9.5 8H11V5h2v3h1.5l-2.51 3.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nMarkdownOcticon.displayName = 'MarkdownOcticon';\nexports.default = MarkdownOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/markdown.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/megaphone.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/megaphone.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MegaphoneOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 1c-.17 0-.36.05-.52.14C8.04 2.02 4.5 4.58 3 5c-1.38 0-3 .67-3 2.5S1.63 10 3 10c.3.08.64.23 1 .41V15h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V2c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V3.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V7zm0 2l4 2v1l-4-2V9zm4-6v1l-4 2V5l4-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nMegaphoneOcticon.displayName = 'MegaphoneOcticon';\nexports.default = MegaphoneOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/megaphone.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mention.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mention.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MentionOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6.58 15c1.25 0 2.52-.31 3.56-.94l-.42-.94c-.84.52-1.89.83-3.03.83-3.23 0-5.64-2.08-5.64-5.72 0-4.37 3.23-7.18 6.58-7.18 3.45 0 5.22 2.19 5.22 5.2 0 2.39-1.34 3.86-2.5 3.86-1.05 0-1.36-.73-1.05-2.19l.73-3.75H8.98l-.11.72c-.41-.63-.94-.83-1.56-.83-2.19 0-3.66 2.39-3.66 4.38 0 1.67.94 2.61 2.3 2.61.84 0 1.67-.53 2.3-1.25.11.94.94 1.45 1.98 1.45 1.67 0 3.77-1.67 3.77-5C14 2.61 11.59 0 7.83 0 3.66 0 0 3.33 0 8.33 0 12.71 2.92 15 6.58 15zm-.31-5c-.73 0-1.36-.52-1.36-1.67 0-1.45.94-3.22 2.41-3.22.52 0 .84.2 1.25.83l-.52 3.02c-.63.73-1.25 1.05-1.78 1.05V10z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nMentionOcticon.displayName = 'MentionOcticon';\nexports.default = MentionOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mention.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/milestone.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/milestone.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MilestoneOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 2H6V0h2v2zm4 5H2c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h10l2 2-2 2zM8 4H6v2h2V4zM6 16h2V8H6v8z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nMilestoneOcticon.displayName = 'MilestoneOcticon';\nexports.default = MilestoneOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/milestone.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mirror.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mirror.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MirrorOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.5 4.7L8.5 0l-7 4.7c-.3.19-.5.45-.5.8V16l7.5-4 7.5 4V5.5c0-.34-.2-.61-.5-.8zm-.5 9.8l-6-3.25V10H8v1.25L2 14.5v-9l6-4V6h1V1.5l6 4v9zM6 7h5V5l3 3-3 3V9H6v2L3 8l3-3v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nMirrorOcticon.displayName = 'MirrorOcticon';\nexports.default = MirrorOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mirror.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mortar-board.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mortar-board.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MortarBoardOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.808 9.405l-3.83-1.19c-4-8 0 1.5 0 2.5s1.8 1.5 4 1.5 4-.5 4-1.5v-2.5l-3.83 1.19a.73.73 0 0 1-.36 0h.02zm.28-6.39a.34.34 0 0 0-.2 0l-7.64 2.38a.35.35 0 0 0 0 .67l1.73.55v1.77c-.3.17-.5.5-.5.86 0 .19.05.36.14.5-.08.14-.14.31-.14.5v2.58c0 .55 2 .55 2 0v-2.58c0-.19-.05-.36-.14-.5.08-.14.14-.31.14-.5 0-.38-.2-.69-.5-.86v-1.45l4.89 1.53c.06.02.14.02.2 0l7.64-2.38a.35.35 0 0 0 0-.67l-7.63-2.39.01-.01zm-.09 3.2c-.55 0-1-.22-1-.5s.45-.5 1-.5 1 .22 1 .5-.45.5-1 .5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nMortarBoardOcticon.displayName = 'MortarBoardOcticon';\nexports.default = MortarBoardOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mortar-board.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/mute.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/mute.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MuteOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 2.75v10.38c0 .67-.81 1-1.28.53L3 9.94H1c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1h2l3.72-3.72C7.19 1.75 8 2.08 8 2.75zm7.53 3.22l-1.06-1.06-1.97 1.97-1.97-1.97-1.06 1.06 1.97 1.97-1.97 1.97 1.06 1.06L12.5 9l1.97 1.97 1.06-1.06-1.97-1.97 1.97-1.97z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nMuteOcticon.displayName = 'MuteOcticon';\nexports.default = MuteOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/mute.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/no-newline.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/no-newline.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar NoNewlineOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M16 5v3c0 .55-.45 1-1 1h-3v2L9 8l3-3v2h2V5h2zM8 8c0 2.2-1.8 4-4 4s-4-1.8-4-4 1.8-4 4-4 4 1.8 4 4zM1.5 9.66L5.66 5.5C5.18 5.19 4.61 5 4 5 2.34 5 1 6.34 1 8c0 .61.19 1.17.5 1.66zM7 8c0-.61-.19-1.17-.5-1.66L2.34 10.5c.48.31 1.05.5 1.66.5 1.66 0 3-1.34 3-3z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nNoNewlineOcticon.displayName = 'NoNewlineOcticon';\nexports.default = NoNewlineOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/no-newline.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/note.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/note.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar NoteOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M3 10h4V9H3v1zm0-2h6V7H3v1zm0-2h8V5H3v1zm10 6H1V3h12v9zM1 2c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1H1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nNoteOcticon.displayName = 'NoteOcticon';\nexports.default = NoteOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/note.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/octoface.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/octoface.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar OctofaceOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14.7 5.34c.13-.32.55-1.59-.13-3.31 0 0-1.05-.33-3.44 1.3-1-.28-2.07-.32-3.13-.32s-2.13.04-3.13.32c-2.39-1.64-3.44-1.3-3.44-1.3-.68 1.72-.26 2.99-.13 3.31C.49 6.21 0 7.33 0 8.69 0 13.84 3.33 15 7.98 15S16 13.84 16 8.69c0-1.36-.49-2.48-1.3-3.35zM8 14.02c-3.3 0-5.98-.15-5.98-3.35 0-.76.38-1.48 1.02-2.07 1.07-.98 2.9-.46 4.96-.46 2.07 0 3.88-.52 4.96.46.65.59 1.02 1.3 1.02 2.07 0 3.19-2.68 3.35-5.98 3.35zM5.49 9.01c-.66 0-1.2.8-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.54-1.78-1.2-1.78zm5.02 0c-.66 0-1.2.79-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.53-1.78-1.2-1.78z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nOctofaceOcticon.displayName = 'OctofaceOcticon';\nexports.default = OctofaceOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/octoface.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/organization.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/organization.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar OrganizationOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M16 12.999c0 .439-.45 1-1 1H7.995c-.539 0-.994-.447-.995-.999H1c-.54 0-1-.561-1-1 0-2.634 3-4 3-4s.229-.409 0-1c-.841-.621-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.442.58 2.5 3c.058 2.41-.159 2.379-1 3-.229.59 0 1 0 1s1.549.711 2.42 2.088A6.78 6.78 0 0 1 10 8.999s.229-.409 0-1c-.841-.62-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.437.581 2.495 3c.059 2.41-.158 2.38-1 3-.229.59 0 1 0 1s3.005 1.366 3.005 4z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nOrganizationOcticon.displayName = 'OrganizationOcticon';\nexports.default = OrganizationOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/organization.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/package.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/package.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PackageOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M1 4.732v7.47c0 .45.3.84.75.97l6.5 1.73c.16.05.34.05.5 0l6.5-1.73c.45-.13.75-.52.75-.97v-7.47c0-.45-.3-.84-.75-.97l-6.5-1.74a1.4 1.4 0 0 0-.5 0l-6.5 1.74c-.45.13-.75.52-.75.97zm7 9.09l-6-1.59v-6.77l6 1.61v6.75zm-6-9.36l2.5-.67 6.5 1.73-2.5.67L2 4.463zm13 7.77l-6 1.59v-6.75l2-.55v2.44l2-.53v-2.44l2-.53v6.77zm-2-7.24l-6.5-1.73 2-.53 6.5 1.73-2 .53z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nPackageOcticon.displayName = 'PackageOcticon';\nexports.default = PackageOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/package.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/paintcan.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/paintcan.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PaintcanOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 0C2.69 0 0 2.69 0 6v1c0 .55.45 1 1 1v5c0 1.1 2.24 2 5 2s5-.9 5-2V8c.55 0 1-.45 1-1V6c0-3.31-2.69-6-6-6zm3 10v.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V10c0-.28-.22-.5-.5-.5s-.5.22-.5.5v2.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5v-2c0-.28-.22-.5-.5-.5s-.5.22-.5.5v.5c0 .55-.45 1-1 1s-1-.45-1-1v-1c-.55 0-1-.45-1-1V7.2c.91.49 2.36.8 4 .8 1.64 0 3.09-.31 4-.8V9c0 .55-.45 1-1 1zM6 7c-1.68 0-3.12-.41-3.71-1C2.88 5.41 4.32 5 6 5c1.68 0 3.12.41 3.71 1-.59.59-2.03 1-3.71 1zm0-3c-2.76 0-5 .89-5 2 0-2.76 2.24-5 5-5s5 2.24 5 5c0-1.1-2.24-2-5-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nPaintcanOcticon.displayName = 'PaintcanOcticon';\nexports.default = PaintcanOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/paintcan.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/pencil.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/pencil.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PencilOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 11.592v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3l-1.3 1.3-3-3 1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nPencilOcticon.displayName = 'PencilOcticon';\nexports.default = PencilOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/pencil.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/person.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/person.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PersonOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 14.002a.998.998 0 0 1-.998.998H1.001A1 1 0 0 1 0 13.999V13c0-2.633 4-4 4-4s.229-.409 0-1c-.841-.62-.944-1.59-1-4 .173-2.413 1.867-3 3-3s2.827.586 3 3c-.056 2.41-.159 3.38-1 4-.229.59 0 1 0 1s4 1.367 4 4v1.002z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nPersonOcticon.displayName = 'PersonOcticon';\nexports.default = PersonOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/person.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/pin.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/pin.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PinOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 1.494v.8l.5 1-4.5 3H2.2c-.44 0-.67.53-.34.86L5 10.294l-4 5 5-4 3.14 3.14a.5.5 0 0 0 .86-.34v-3.8l3-4.5 1 .5h.8c.44 0 .67-.53.34-.86l-4.28-4.28a.5.5 0 0 0-.86.34z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nPinOcticon.displayName = 'PinOcticon';\nexports.default = PinOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/pin.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/plug.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/plug.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PlugOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 6V5h-4V3H8v1H6c-1.03 0-1.77.81-2 2L3 7c-1.66 0-3 1.34-3 3v2h1v-2c0-1.11.89-2 2-2l1 1c.25 1.16.98 2 2 2h2v1h2v-2h4V9h-4V6h4z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nPlugOcticon.displayName = 'PlugOcticon';\nexports.default = PlugOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/plug.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/plus-small.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/plus-small.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PlusSmallOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 4H3v3H0v1h3v3h1V8h3V7H4V4z' })\n ), options: { \"version\": \"1.1\", \"width\": 7, \"height\": 16, \"viewBox\": \"0 0 7 16\", \"aria-hidden\": \"true\" } });\nPlusSmallOcticon.displayName = 'PlusSmallOcticon';\nexports.default = PlusSmallOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/plus-small.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/plus.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/plus.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PlusOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 9H7v5H5V9H0V7h5V2h2v5h5v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nPlusOcticon.displayName = 'PlusOcticon';\nexports.default = PlusOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/plus.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/primitive-dot.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/primitive-dot.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PrimitiveDotOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 8c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 4-4-1.8-4-4z' })\n ), options: { \"version\": \"1.1\", \"width\": 8, \"height\": 16, \"viewBox\": \"0 0 8 16\", \"aria-hidden\": \"true\" } });\nPrimitiveDotOcticon.displayName = 'PrimitiveDotOcticon';\nexports.default = PrimitiveDotOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/primitive-dot.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/primitive-square.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/primitive-square.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PrimitiveSquareOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 12H0V4h8v8z' })\n ), options: { \"version\": \"1.1\", \"width\": 8, \"height\": 16, \"viewBox\": \"0 0 8 16\", \"aria-hidden\": \"true\" } });\nPrimitiveSquareOcticon.displayName = 'PrimitiveSquareOcticon';\nexports.default = PrimitiveSquareOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/primitive-square.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/project.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/project.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ProjectOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 15, \"height\": 16, \"viewBox\": \"0 0 15 16\", \"aria-hidden\": \"true\" } });\nProjectOcticon.displayName = 'ProjectOcticon';\nexports.default = ProjectOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/project.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/pulse.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/pulse.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PulseOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11.5 8.4L8.8 5.8 6.6 8.9 5.5 2 2.38 8.4H0v2h3.6l.9-1.8.9 5.4L9 8.9l1.6 1.5H14v-2h-2.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nPulseOcticon.displayName = 'PulseOcticon';\nexports.default = PulseOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/pulse.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/question.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/question.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar QuestionOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 10h2v2H6v-2zm4-3.5C10 8.64 8 9 8 9H6c0-.55.45-1 1-1h.5c.28 0 .5-.22.5-.5v-1c0-.28-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5V7H4c0-1.5 1.5-3 3-3s3 1 3 2.5zM7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nQuestionOcticon.displayName = 'QuestionOcticon';\nexports.default = QuestionOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/question.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/quote.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/quote.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar QuoteOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6.16 3.84C3.73 5.4 2.55 7.01 2.55 9.7c.16-.05.3-.05.44-.05 1.27 0 2.5.86 2.5 2.41 0 1.61-1.03 2.61-2.5 2.61-1.9 0-2.99-1.52-2.99-4.25C0 6.62 1.75 3.89 5.02 2l1.14 1.84zm7 0C10.73 5.4 9.55 7.01 9.55 9.7c.16-.05.3-.05.44-.05 1.27 0 2.5.86 2.5 2.41 0 1.61-1.03 2.61-2.5 2.61-1.89 0-2.98-1.52-2.98-4.25 0-3.8 1.75-6.53 5.02-8.42l1.14 1.84h-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nQuoteOcticon.displayName = 'QuoteOcticon';\nexports.default = QuoteOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/quote.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/radio-tower.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/radio-tower.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RadioTowerOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4.78 5.78c.25-.25.25-.67 0-.92-.32-.33-.48-.76-.48-1.19 0-.43.16-.86.48-1.19.25-.26.25-.67 0-.92a.613.613 0 0 0-.45-.19c-.16 0-.33.06-.45.19-.57.58-.85 1.35-.85 2.11 0 .76.29 1.53.85 2.11.25.25.66.25.9 0zM2.32.19a.651.651 0 0 0-.92 0C.47 1.15 0 2.41 0 3.66c0 1.26.47 2.52 1.4 3.48.25.26.66.26.91 0s.25-.68 0-.94c-.68-.7-1.02-1.62-1.02-2.54 0-.92.34-1.84 1.02-2.54a.66.66 0 0 0 .01-.93zm5.69 5.1a1.62 1.62 0 1 0-1.62-1.62c-.01.89.72 1.62 1.62 1.62zM14.58.2a.628.628 0 0 0-.91 0c-.25.26-.25.68 0 .94.68.7 1.02 1.62 1.02 2.54 0 .92-.34 1.83-1.02 2.54-.25.26-.25.68 0 .94a.651.651 0 0 0 .92 0c.93-.96 1.4-2.22 1.4-3.48A5.048 5.048 0 0 0 14.58.2zM8.01 6.59c-.41 0-.83-.1-1.2-.3l-3.15 8.37h1.49l.86-1h4l.84 1h1.49L9.2 6.29c-.38.2-.78.3-1.19.3zM8 7.07l1.01 3.6h-2L8 7.07zm-1.99 5.59l1-1h2l1 1h-4zm5.19-11.1c-.25.25-.25.67 0 .92.32.33.48.76.48 1.19 0 .43-.16.86-.48 1.19-.25.26-.25.67 0 .92a.63.63 0 0 0 .9 0c.57-.58.85-1.35.85-2.11 0-.76-.28-1.53-.85-2.11a.634.634 0 0 0-.9 0z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nRadioTowerOcticon.displayName = 'RadioTowerOcticon';\nexports.default = RadioTowerOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/radio-tower.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/reply.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/reply.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ReplyOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6.5 3.5c3.92.44 8 3.125 8 10-2.312-5.062-4.75-6-8-6V11L1 5.5 6.5 0v3.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nReplyOcticon.displayName = 'ReplyOcticon';\nexports.default = ReplyOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/reply.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/repo-clone.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/repo-clone.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RepoCloneOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15 0H9v7c0 .55.45 1 1 1h1v1h1V8h3c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-4 7h-1V6h1v1zm4 0h-3V6h3v1zm0-2h-4V1h4v4zM4 5H3V4h1v1zm0-2H3V2h1v1zM2 1h6V0H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h2v2l1.5-1.5L6 16v-2h5c.55 0 1-.45 1-1v-3H2V1zm9 10v2H6v-1H3v1H1v-2h10zM3 8h1v1H3V8zm1-1H3V6h1v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nRepoCloneOcticon.displayName = 'RepoCloneOcticon';\nexports.default = RepoCloneOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/repo-clone.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/repo-force-push.js": -/*!****************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/repo-force-push.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RepoForcePushOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 9H8v7H6V9H4l2.25-3H4l3-4 3 4H7.75L10 9zm1-9H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9v9H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nRepoForcePushOcticon.displayName = 'RepoForcePushOcticon';\nexports.default = RepoForcePushOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/repo-force-push.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/repo-forked.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/repo-forked.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RepoForkedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nRepoForkedOcticon.displayName = 'RepoForkedOcticon';\nexports.default = RepoForkedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/repo-forked.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/repo-pull.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/repo-pull.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RepoPullOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 8V6H7V4h6V2l3 3-3 3zM4 2H3v1h1V2zm7 5h1v6c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v2h-1V1H2v9h9V7zm0 4H1v2h2v-1h3v1h5v-2zM4 6H3v1h1V6zm0-2H3v1h1V4zM3 9h1V8H3v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nRepoPullOcticon.displayName = 'RepoPullOcticon';\nexports.default = RepoPullOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/repo-pull.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/repo-push.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/repo-push.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RepoPushOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 3H3V2h1v1zM3 5h1V4H3v1zm4 0L4 9h2v7h2V9h2L7 5zm4-5H1C.45 0 0 .45 0 1v12c0 .55.45 1 1 1h4v-1H1v-2h4v-1H2V1h9.02L11 10H9v1h2v2H9v1h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nRepoPushOcticon.displayName = 'RepoPushOcticon';\nexports.default = RepoPushOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/repo-push.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/repo.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/repo.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RepoOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nRepoOcticon.displayName = 'RepoOcticon';\nexports.default = RepoOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/repo.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/report.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/report.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ReportOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H7l-4 4v-4H1a1 1 0 0 1-1-1V2zm1 0h14v9H6.5L4 13.5V11H1V2zm6 6h2v2H7V8zm0-5h2v4H7V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nReportOcticon.displayName = 'ReportOcticon';\nexports.default = ReportOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/report.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/rocket.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/rocket.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RocketOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12.17 3.83c-.27-.27-.47-.55-.63-.88-.16-.31-.27-.66-.34-1.02-.58.33-1.16.7-1.73 1.13-.58.44-1.14.94-1.69 1.48-.7.7-1.33 1.81-1.78 2.45H3L0 10h3l2-2c-.34.77-1.02 2.98-1 3l1 1c.02.02 2.23-.64 3-1l-2 2v3l3-3v-3c.64-.45 1.75-1.09 2.45-1.78.55-.55 1.05-1.13 1.47-1.7.44-.58.81-1.16 1.14-1.72-.36-.08-.7-.19-1.03-.34a3.39 3.39 0 0 1-.86-.63zM16 0s-.09.38-.3 1.06c-.2.7-.55 1.58-1.06 2.66-.7-.08-1.27-.33-1.66-.72-.39-.39-.63-.94-.7-1.64C13.36.84 14.23.48 14.92.28 15.62.08 16 0 16 0z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nRocketOcticon.displayName = 'RocketOcticon';\nexports.default = RocketOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/rocket.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/rss.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/rss.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RssOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M2 13H0v-2c1.11 0 2 .89 2 2zM0 3v1a9 9 0 0 1 9 9h1C10 7.48 5.52 3 0 3zm0 4v1c2.75 0 5 2.25 5 5h1c0-3.31-2.69-6-6-6z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nRssOcticon.displayName = 'RssOcticon';\nexports.default = RssOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/rss.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/ruby.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/ruby.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar RubyOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 6l-5 5V4h3l2 2zm3 0l-8 8-8-8 4-4h8l4 4zm-8 6.5L14.5 6l-3-3h-7l-3 3L8 12.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nRubyOcticon.displayName = 'RubyOcticon';\nexports.default = RubyOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/ruby.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/screen-full.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/screen-full.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ScreenFullOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 10h1v3c0 .547-.453 1-1 1h-3v-1h3v-3zM1 10H0v3c0 .547.453 1 1 1h3v-1H1v-3zm0-7h3V2H1c-.547 0-1 .453-1 1v3h1V3zm1 1h10v8H2V4zm2 6h6V6H4v4zm6-8v1h3v3h1V3c0-.547-.453-1-1-1h-3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nScreenFullOcticon.displayName = 'ScreenFullOcticon';\nexports.default = ScreenFullOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/screen-full.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/screen-normal.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/screen-normal.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ScreenNormalOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M2 4H0V3h2V1h1v2c0 .547-.453 1-1 1zm0 8H0v1h2v2h1v-2c0-.547-.453-1-1-1zm9-2c0 .547-.453 1-1 1H4c-.547 0-1-.453-1-1V6c0-.547.453-1 1-1h6c.547 0 1 .453 1 1v4zM9 7H5v2h4V7zm2 6v2h1v-2h2v-1h-2c-.547 0-1 .453-1 1zm1-10V1h-1v2c0 .547.453 1 1 1h2V3h-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nScreenNormalOcticon.displayName = 'ScreenNormalOcticon';\nexports.default = ScreenNormalOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/screen-normal.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/search.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/search.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SearchOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nSearchOcticon.displayName = 'SearchOcticon';\nexports.default = SearchOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/search.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/server.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/server.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ServerOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11 6H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1zM2 9H1V7h1v2zm2 0H3V7h1v2zm2 0H5V7h1v2zm2 0H7V7h1v2zm3-8H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1zM2 4H1V2h1v2zm2 0H3V2h1v2zm2 0H5V2h1v2zm2 0H7V2h1v2zm3-1h-1V2h1v1zm0 8H1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h10c.55 0 1-.45 1-1v-2c0-.55-.45-1-1-1zm-9 3H1v-2h1v2zm2 0H3v-2h1v2zm2 0H5v-2h1v2zm2 0H7v-2h1v2z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nServerOcticon.displayName = 'ServerOcticon';\nexports.default = ServerOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/server.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/settings.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/settings.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SettingsOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4 7H3V2h1v5zm-1 7h1v-3H3v3zm5 0h1V8H8v6zm5 0h1v-2h-1v2zm1-12h-1v6h1V2zM9 2H8v2h1V2zM5 8H2c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1s-.45-1-1-1zm5-3H7c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1s-.45-1-1-1zm5 4h-3c-.55 0-1 .45-1 1s.45 1 1 1h3c.55 0 1-.45 1-1s-.45-1-1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nSettingsOcticon.displayName = 'SettingsOcticon';\nexports.default = SettingsOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/settings.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/shield.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/shield.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ShieldOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 0L0 2v6.02C0 12.69 5.31 16 7 16c1.69 0 7-3.31 7-7.98V2L7 0zM5 11l1.14-2.8a.568.568 0 0 0-.25-.59C5.33 7.25 5 6.66 5 6c0-1.09.89-2 1.98-2C8.06 4 9 4.91 9 6c0 .66-.33 1.25-.89 1.61-.19.13-.3.36-.25.59L9 11H5z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nShieldOcticon.displayName = 'ShieldOcticon';\nexports.default = ShieldOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/shield.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/sign-in.js": -/*!********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/sign-in.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SignInOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 6.75V12h4V8h1v4c0 .55-.45 1-1 1H7v3l-5.45-2.72c-.33-.17-.55-.52-.55-.91V1c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v3h-1V1H3l4 2v2.25L10 3v2h4v2h-4v2L7 6.75z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nSignInOcticon.displayName = 'SignInOcticon';\nexports.default = SignInOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/sign-in.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/sign-out.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/sign-out.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SignOutOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 9V7H8V5h4V3l4 3-4 3zm-2 3H6V3L2 1h8v3h1V1c0-.55-.45-1-1-1H1C.45 0 0 .45 0 1v11.38c0 .39.22.73.55.91L6 16.01V13h4c.55 0 1-.45 1-1V8h-1v4z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nSignOutOcticon.displayName = 'SignOutOcticon';\nexports.default = SignOutOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/sign-out.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/smiley.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/smiley.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SmileyOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm4.81 12.81a6.72 6.72 0 0 1-2.17 1.45c-.83.36-1.72.53-2.64.53-.92 0-1.81-.17-2.64-.53-.81-.34-1.55-.83-2.17-1.45a6.773 6.773 0 0 1-1.45-2.17A6.59 6.59 0 0 1 1.21 8c0-.92.17-1.81.53-2.64.34-.81.83-1.55 1.45-2.17.62-.62 1.36-1.11 2.17-1.45A6.59 6.59 0 0 1 8 1.21c.92 0 1.81.17 2.64.53.81.34 1.55.83 2.17 1.45.62.62 1.11 1.36 1.45 2.17.36.83.53 1.72.53 2.64 0 .92-.17 1.81-.53 2.64-.34.81-.83 1.55-1.45 2.17zM4 6.8v-.59c0-.66.53-1.19 1.2-1.19h.59c.66 0 1.19.53 1.19 1.19v.59c0 .67-.53 1.2-1.19 1.2H5.2C4.53 8 4 7.47 4 6.8zm5 0v-.59c0-.66.53-1.19 1.2-1.19h.59c.66 0 1.19.53 1.19 1.19v.59c0 .67-.53 1.2-1.19 1.2h-.59C9.53 8 9 7.47 9 6.8zm4 3.2c-.72 1.88-2.91 3-5 3s-4.28-1.13-5-3c-.14-.39.23-1 .66-1h8.59c.41 0 .89.61.75 1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nSmileyOcticon.displayName = 'SmileyOcticon';\nexports.default = SmileyOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/smiley.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/squirrel.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/squirrel.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SquirrelOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11.75 1c-2.21 0-4 1.31-4 2.92 0 1.94.5 3.03 0 6.08 0-4.5-2.77-6.34-4-6.34.05-.5-.48-.66-.48-.66s-.22.11-.3.34c-.27-.31-.56-.27-.56-.27l-.13.58S.45 4.29.43 6.87c.2.33 1.53.6 2.47.43.89.05.67.79.47.99C2.53 9.13 1.75 8 .75 8s-1 1 0 1 1 1 3 1c-3.09 1.2 0 4 0 4h-1c-1 0-1 1-1 1h6c3 0 5-1 5-3.47 0-.85-.43-1.79-1-2.53-1.11-1.46.23-2.68 1-2 .77.68 3 1 3-2 0-2.21-1.79-4-4-4zm-9.5 5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nSquirrelOcticon.displayName = 'SquirrelOcticon';\nexports.default = SquirrelOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/squirrel.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/star.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/star.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar StarOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nStarOcticon.displayName = 'StarOcticon';\nexports.default = StarOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/star.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/stop.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/stop.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar StopOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 1H4L0 5v6l4 4h6l4-4V5l-4-4zm3 9.5L9.5 14h-5L1 10.5v-5L4.5 2h5L13 5.5v5zM6 4h2v5H6V4zm0 6h2v2H6v-2z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nStopOcticon.displayName = 'StopOcticon';\nexports.default = StopOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/stop.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/sync.js": -/*!*****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/sync.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SyncOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10.236 7.4a4.15 4.15 0 0 1-1.2 3.6 4.346 4.346 0 0 1-5.41.54l1.17-1.14-4.3-.6.6 4.2 1.31-1.26c2.36 1.74 5.7 1.57 7.84-.54a5.876 5.876 0 0 0 1.74-4.46l-1.75-.34zM2.956 5a4.346 4.346 0 0 1 5.41-.54L7.196 5.6l4.3.6-.6-4.2-1.31 1.26c-2.36-1.74-5.7-1.57-7.85.54-1.24 1.23-1.8 2.85-1.73 4.46l1.75.35A4.17 4.17 0 0 1 2.956 5z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nSyncOcticon.displayName = 'SyncOcticon';\nexports.default = SyncOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/sync.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/tag.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/tag.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TagOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.73 1.73C7.26 1.26 6.62 1 5.96 1H3.5C2.13 1 1 2.13 1 3.5v2.47c0 .66.27 1.3.73 1.77l6.06 6.06c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41L7.73 1.73zM2.38 7.09c-.31-.3-.47-.7-.47-1.13V3.5c0-.88.72-1.59 1.59-1.59h2.47c.42 0 .83.16 1.13.47l6.14 6.13-4.73 4.73-6.13-6.15zM3.01 3h2v2H3V3h.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nTagOcticon.displayName = 'TagOcticon';\nexports.default = TagOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/tag.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/tasklist.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/tasklist.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TasklistOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.41 9H7.59C7 9 7 8.59 7 8c0-.59 0-1 .59-1h7.81c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zM9.59 4C9 4 9 3.59 9 3c0-.59 0-1 .59-1h5.81c.59 0 .59.41.59 1 0 .59 0 1-.59 1H9.59zM0 3.91l1.41-1.3L3 4.2 7.09 0 8.5 1.41 3 6.91l-3-3zM7.59 12h7.81c.59 0 .59.41.59 1 0 .59 0 1-.59 1H7.59C7 14 7 13.59 7 13c0-.59 0-1 .59-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nTasklistOcticon.displayName = 'TasklistOcticon';\nexports.default = TasklistOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/tasklist.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/telescope.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/telescope.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TelescopeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.59 9l3 6h-1l-2-4v5h-1v-6l-2 5h-1l2-5 2-1zm-1-9h-1v1h1V0zm-2 3h-1v1h1V3zm-3-2h-1v1h1V1zM.22 9a.52.52 0 0 0-.16.67l.55.92c.13.23.41.31.64.2l1.39-.66-1.16-2-1.27.86.01.01zm7.89-5.39l-5.8 3.95L3.54 9.7l6.33-3.03L8.1 3.61h.01zm4.22 1.28l-1.47-2.52a.51.51 0 0 0-.72-.17l-1.2.83 1.84 3.2 1.33-.64c.27-.13.36-.44.22-.7z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nTelescopeOcticon.displayName = 'TelescopeOcticon';\nexports.default = TelescopeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/telescope.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/terminal.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/terminal.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TerminalOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7 10h4v1H7v-1zm-3 1l3-3-3-3-.75.75L5.5 8l-2.25 2.25L4 11zm10-8v10c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h12c.55 0 1 .45 1 1zm-1 0H1v10h12V3z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nTerminalOcticon.displayName = 'TerminalOcticon';\nexports.default = TerminalOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/terminal.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/text-size.js": -/*!**********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/text-size.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TextSizeOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13.62 9.08L12.1 3.66h-.06l-1.5 5.42h3.08zM5.7 10.13S4.68 6.52 4.53 6.02h-.08l-1.13 4.11H5.7zM17.31 14h-2.25l-.95-3.25h-4.07L9.09 14H6.84l-.69-2.33H2.87L2.17 14H0l3.3-9.59h2.5l2.17 6.34L10.86 2h2.52l3.94 12h-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 18, \"height\": 16, \"viewBox\": \"0 0 18 16\", \"aria-hidden\": \"true\" } });\nTextSizeOcticon.displayName = 'TextSizeOcticon';\nexports.default = TextSizeOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/text-size.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/three-bars.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/three-bars.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ThreeBarsOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11.41 9H.59C0 9 0 8.59 0 8c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zm0-4H.59C0 5 0 4.59 0 4c0-.59 0-1 .59-1H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1h.01zM.59 11H11.4c.59 0 .59.41.59 1 0 .59 0 1-.59 1H.59C0 13 0 12.59 0 12c0-.59 0-1 .59-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nThreeBarsOcticon.displayName = 'ThreeBarsOcticon';\nexports.default = ThreeBarsOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/three-bars.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/thumbsdown.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/thumbsdown.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ThumbsdownOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.98 7.83l-.97-5.95C14.84.5 13.13 0 12 0H5.69c-.2 0-.38.05-.53.14L3.72 1H2C.94 1 0 1.94 0 3v4c0 1.06.94 2.02 2 2h2c.91 0 1.39.45 2.39 1.55.91 1 .88 1.8.63 3.27-.08.5.06 1 .42 1.42.39.47.98.77 1.56.77 1.83 0 3-3.72 3-5.02l-.02-.98h2.04c1.16 0 1.95-.8 1.98-1.97 0-.06.02-.13-.02-.2v-.01zm-1.97 1.19h-1.99c-.7 0-1.03.28-1.03.97l.03 1.03c0 1.27-1.17 4-2 4-.5 0-1.08-.5-1-1 .25-1.58.34-2.78-.89-4.14C6.11 8.75 5.36 8 4 8V2l1.67-1H12c.73 0 1.95.31 2 1l.02.02 1 6c-.03.64-.38 1-1 1h-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nThumbsdownOcticon.displayName = 'ThumbsdownOcticon';\nexports.default = ThumbsdownOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/thumbsdown.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/thumbsup.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/thumbsup.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ThumbsupOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M14 14c-.05.69-1.27 1-2 1H5.67L4 14V8c1.36 0 2.11-.75 3.13-1.88 1.23-1.36 1.14-2.56.88-4.13-.08-.5.5-1 1-1 .83 0 2 2.73 2 4l-.02 1.03c0 .69.33.97 1.02.97h2c.63 0 .98.36 1 1l-1 6L14 14zm0-8h-2.02l.02-.98C12 3.72 10.83 0 9 0c-.58 0-1.17.3-1.56.77-.36.41-.5.91-.42 1.41.25 1.48.28 2.28-.63 3.28-1 1.09-1.48 1.55-2.39 1.55H2C.94 7 0 7.94 0 9v4c0 1.06.94 2 2 2h1.72l1.44.86c.16.09.33.14.52.14h6.33c1.13 0 2.84-.5 3-1.88l.98-5.95c.02-.08.02-.14.02-.2-.03-1.17-.84-1.97-2-1.97H14z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nThumbsupOcticon.displayName = 'ThumbsupOcticon';\nexports.default = ThumbsupOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/thumbsup.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/tools.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/tools.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ToolsOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M4.48 7.27c.26.26 1.28 1.33 1.28 1.33l.56-.58-.88-.91 1.69-1.8s-.76-.74-.43-.45c.32-1.19.03-2.51-.87-3.44C4.93.5 3.66.2 2.52.51l1.93 2-.51 1.96-1.89.52-1.93-2C-.19 4.17.1 5.48 1 6.4c.94.98 2.29 1.26 3.48.87zm6.44 1.94l-2.33 2.3 3.84 3.98c.31.33.73.49 1.14.49.41 0 .82-.16 1.14-.49.63-.65.63-1.7 0-2.35l-3.79-3.93zM16 2.53L13.55 0 6.33 7.46l.88.91-4.31 4.46-.99.53-1.39 2.27.35.37 2.2-1.44.51-1.02L7.9 9.08l.88.91L16 2.53z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nToolsOcticon.displayName = 'ToolsOcticon';\nexports.default = ToolsOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/tools.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/trashcan.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/trashcan.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TrashcanOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nTrashcanOcticon.displayName = 'TrashcanOcticon';\nexports.default = TrashcanOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/trashcan.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/triangle-down.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/triangle-down.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TriangleDownOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 5l6 6 6-6H0z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nTriangleDownOcticon.displayName = 'TriangleDownOcticon';\nexports.default = TriangleDownOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/triangle-down.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/triangle-left.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/triangle-left.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TriangleLeftOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 2L0 8l6 6V2z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nTriangleLeftOcticon.displayName = 'TriangleLeftOcticon';\nexports.default = TriangleLeftOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/triangle-left.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/triangle-right.js": -/*!***************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/triangle-right.js ***! - \***************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TriangleRightOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M0 14l6-6-6-6v12z' })\n ), options: { \"version\": \"1.1\", \"width\": 6, \"height\": 16, \"viewBox\": \"0 0 6 16\", \"aria-hidden\": \"true\" } });\nTriangleRightOcticon.displayName = 'TriangleRightOcticon';\nexports.default = TriangleRightOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/triangle-right.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/triangle-up.js": -/*!************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/triangle-up.js ***! - \************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TriangleUpOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 11L6 5l-6 6h12z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nTriangleUpOcticon.displayName = 'TriangleUpOcticon';\nexports.default = TriangleUpOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/triangle-up.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/unfold.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/unfold.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar UnfoldOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M11.5 7.5L14 10c0 .55-.45 1-1 1H9v-1h3.5l-2-2h-7l-2 2H5v1H1c-.55 0-1-.45-1-1l2.5-2.5L0 5c0-.55.45-1 1-1h4v1H1.5l2 2h7l2-2H9V4h4c.55 0 1 .45 1 1l-2.5 2.5zM6 6h2V3h2L7 0 4 3h2v3zm2 3H6v3H4l3 3 3-3H8V9z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nUnfoldOcticon.displayName = 'UnfoldOcticon';\nexports.default = UnfoldOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/unfold.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/unmute.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/unmute.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar UnmuteOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M12 7.96c0 1.09-.45 2.09-1.17 2.83l-.67-.67c.55-.56.89-1.31.89-2.16 0-.85-.34-1.61-.89-2.16l.67-.67A3.99 3.99 0 0 1 12 7.96zM7.72 2.22L4 5.94H2c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1h2l3.72 3.72c.47.47 1.28.14 1.28-.53V2.75c0-.67-.81-1-1.28-.53zm5.94.08l-.67.67a6.996 6.996 0 0 1 2.06 4.98c0 1.94-.78 3.7-2.06 4.98l.67.67A7.973 7.973 0 0 0 16 7.94c0-2.22-.89-4.22-2.34-5.66v.02zm-1.41 1.41l-.69.67a5.05 5.05 0 0 1 1.48 3.58c0 1.39-.56 2.66-1.48 3.56l.69.67A5.97 5.97 0 0 0 14 7.96c0-1.65-.67-3.16-1.75-4.25z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nUnmuteOcticon.displayName = 'UnmuteOcticon';\nexports.default = UnmuteOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/unmute.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/unverified.js": -/*!***********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/unverified.js ***! - \***********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar UnverifiedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.68 7.07L14.6 5.73c-.17-.22-.28-.48-.31-.77l-.19-1.7a1.51 1.51 0 0 0-1.33-1.33l-1.7-.19c-.3-.03-.56-.16-.78-.33L8.95.33c-.55-.44-1.33-.44-1.88 0L5.73 1.41c-.22.17-.48.28-.77.31l-1.7.19c-.7.08-1.25.63-1.33 1.33l-.19 1.7c-.03.3-.16.56-.33.78L.33 7.06c-.44.55-.44 1.33 0 1.88l1.08 1.34c.17.22.28.48.31.77l.19 1.7c.08.7.63 1.25 1.33 1.33l1.7.19c.3.03.56.16.78.33l1.34 1.08c.55.44 1.33.44 1.88 0l1.34-1.08c.22-.17.48-.28.77-.31l1.7-.19c.7-.08 1.25-.63 1.33-1.33l.19-1.7c.03-.3.16-.56.33-.78l1.08-1.34c.44-.55.44-1.33 0-1.88zm-6.67 4.44c0 .28-.22.5-.5.5h-1c-.27 0-.5-.22-.5-.5v-1c0-.28.23-.5.5-.5h1c.28 0 .5.22.5.5v1zm1.56-4.89c-.06.17-.17.33-.3.47-.13.16-.14.19-.33.38-.16.17-.31.3-.52.45-.11.09-.2.19-.28.27-.08.08-.14.17-.19.27-.05.1-.08.19-.11.3-.03.11-.03.13-.03.25H7.14c0-.22 0-.31.03-.48.03-.19.08-.36.14-.52.06-.14.14-.28.25-.42.11-.13.23-.25.41-.38.27-.19.36-.3.48-.52.12-.22.2-.38.2-.59 0-.27-.06-.45-.2-.58-.13-.13-.31-.19-.58-.19-.09 0-.19.02-.3.05-.11.03-.17.09-.25.16-.08.07-.14.11-.2.2a.41.41 0 0 0-.09.28h-2c0-.38.13-.56.27-.83.16-.27.36-.5.61-.67.25-.17.55-.3.88-.38.33-.08.7-.13 1.09-.13.44 0 .83.05 1.17.13.34.09.63.22.88.39.23.17.41.38.55.63.13.25.19.55.19.88 0 .22 0 .42-.08.59l-.02-.01z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nUnverifiedOcticon.displayName = 'UnverifiedOcticon';\nexports.default = UnverifiedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/unverified.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/verified.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/verified.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar VerifiedOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M15.68 7.07L14.6 5.73c-.17-.22-.28-.48-.31-.77l-.19-1.7a1.51 1.51 0 0 0-1.33-1.33l-1.7-.19c-.3-.03-.56-.16-.78-.33L8.95.33c-.55-.44-1.33-.44-1.88 0L5.73 1.41c-.22.17-.48.28-.77.31l-1.7.19c-.7.08-1.25.63-1.33 1.33l-.19 1.7c-.03.3-.16.56-.33.78L.33 7.06c-.44.55-.44 1.33 0 1.88l1.08 1.34c.17.22.28.48.31.77l.19 1.7c.08.7.63 1.25 1.33 1.33l1.7.19c.3.03.56.16.78.33l1.34 1.08c.55.44 1.33.44 1.88 0l1.34-1.08c.22-.17.48-.28.77-.31l1.7-.19c.7-.08 1.25-.63 1.33-1.33l.19-1.7c.03-.3.16-.56.33-.78l1.08-1.34c.44-.55.44-1.33 0-1.88zm-9.17 4.94l-3.5-3.5 1.5-1.5 2 2 5-5 1.5 1.55-6.5 6.45z' })\n ), options: { \"version\": \"1.1\", \"width\": 16, \"height\": 16, \"viewBox\": \"0 0 16 16\", \"aria-hidden\": \"true\" } });\nVerifiedOcticon.displayName = 'VerifiedOcticon';\nexports.default = VerifiedOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/verified.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/versions.js": -/*!*********************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/versions.js ***! - \*********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar VersionsOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M13 3H7c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 8H8V5h4v6zM4 4h1v1H4v6h1v1H4c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1zM1 5h1v1H1v4h1v1H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1z' })\n ), options: { \"version\": \"1.1\", \"width\": 14, \"height\": 16, \"viewBox\": \"0 0 14 16\", \"aria-hidden\": \"true\" } });\nVersionsOcticon.displayName = 'VersionsOcticon';\nexports.default = VersionsOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/versions.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/watch.js": -/*!******************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/watch.js ***! - \******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar WatchOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M6 8h2v1H5V5h1v3zm6 0c0 2.22-1.2 4.16-3 5.19V15c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1v-1.81C1.2 12.16 0 10.22 0 8s1.2-4.16 3-5.19V1c0-.55.45-1 1-1h4c.55 0 1 .45 1 1v1.81c1.8 1.03 3 2.97 3 5.19zm-1 0c0-2.77-2.23-5-5-5S1 5.23 1 8s2.23 5 5 5 5-2.23 5-5z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nWatchOcticon.displayName = 'WatchOcticon';\nexports.default = WatchOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/watch.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/x.js": -/*!**************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/x.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar XOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z' })\n ), options: { \"version\": \"1.1\", \"width\": 12, \"height\": 16, \"viewBox\": \"0 0 12 16\", \"aria-hidden\": \"true\" } });\nXOcticon.displayName = 'XOcticon';\nexports.default = XOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/x.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/icons/zap.js": -/*!****************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/icons/zap.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createIconComponent = __webpack_require__(/*! ../utils/createIconComponent */ \"./node_modules/@github/octicons-react/build/utils/createIconComponent.js\");\n\nvar _createIconComponent2 = _interopRequireDefault(_createIconComponent);\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ZapOcticon = (0, _createIconComponent2.default)({ content: _react2.default.createElement(\n 'g',\n null,\n _react2.default.createElement('path', { fillRule: 'evenodd', d: 'M10 7H6l3-7-9 9h4l-3 7 9-9z' })\n ), options: { \"version\": \"1.1\", \"width\": 10, \"height\": 16, \"viewBox\": \"0 0 10 16\", \"aria-hidden\": \"true\" } });\nZapOcticon.displayName = 'ZapOcticon';\nexports.default = ZapOcticon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/icons/zap.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/index.js": -/*!************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/index.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LinkExternalOcticon = exports.LightBulbOcticon = exports.PlusSmallOcticon = exports.GrabberOcticon = exports.KeyOcticon = exports.ZapOcticon = exports.XOcticon = exports.WatchOcticon = exports.VersionsOcticon = exports.VerifiedOcticon = exports.UnverifiedOcticon = exports.ScreenNormalOcticon = exports.ScreenFullOcticon = exports.NoteOcticon = exports.ReportOcticon = exports.KebabVerticalOcticon = exports.KebabHorizontalOcticon = exports.ProjectOcticon = exports.UnmuteOcticon = exports.UnfoldOcticon = exports.TriangleUpOcticon = exports.TriangleRightOcticon = exports.TriangleLeftOcticon = exports.TriangleDownOcticon = exports.TrashcanOcticon = exports.ToolsOcticon = exports.ThumbsupOcticon = exports.ThumbsdownOcticon = exports.ThreeBarsOcticon = exports.TextSizeOcticon = exports.TerminalOcticon = exports.TelescopeOcticon = exports.TasklistOcticon = exports.TagOcticon = exports.SyncOcticon = exports.StopOcticon = exports.StarOcticon = exports.SquirrelOcticon = exports.SmileyOcticon = exports.SignOutOcticon = exports.SignInOcticon = exports.ShieldOcticon = exports.SettingsOcticon = exports.ServerOcticon = exports.SearchOcticon = exports.RubyOcticon = exports.RssOcticon = exports.RocketOcticon = exports.RepoOcticon = exports.RepoPushOcticon = exports.RepoPullOcticon = exports.RepoForkedOcticon = exports.RepoForcePushOcticon = exports.RepoCloneOcticon = exports.RadioTowerOcticon = exports.QuoteOcticon = exports.QuestionOcticon = exports.PulseOcticon = exports.PrimitiveSquareOcticon = exports.PrimitiveDotOcticon = exports.PlusOcticon = exports.PlugOcticon = exports.PinOcticon = exports.PersonOcticon = exports.PencilOcticon = exports.PaintcanOcticon = exports.PackageOcticon = exports.OrganizationOcticon = exports.OctofaceOcticon = exports.NoNewlineOcticon = exports.MuteOcticon = exports.MortarBoardOcticon = exports.MirrorOcticon = exports.MilestoneOcticon = exports.MentionOcticon = exports.MegaphoneOcticon = undefined;\nexports.MarkdownOcticon = exports.MarkGithubOcticon = exports.MailOcticon = exports.ReplyOcticon = exports.MailReadOcticon = exports.LogoGithubOcticon = exports.LogoGistOcticon = exports.LockOcticon = exports.LocationOcticon = exports.ListUnorderedOcticon = exports.ListOrderedOcticon = exports.LinkOcticon = exports.LawOcticon = exports.KeyboardOcticon = exports.JerseyOcticon = exports.ItalicOcticon = exports.IssueReopenedOcticon = exports.IssueOpenedOcticon = exports.IssueClosedOcticon = exports.InfoOcticon = exports.InboxOcticon = exports.HubotOcticon = exports.HorizontalRuleOcticon = exports.HomeOcticon = exports.HistoryOcticon = exports.HeartOcticon = exports.GraphOcticon = exports.GlobeOcticon = exports.GitPullRequestOcticon = exports.GitMergeOcticon = exports.GitCompareOcticon = exports.GitCommitOcticon = exports.GitBranchOcticon = exports.GistOcticon = exports.GistSecretOcticon = exports.GiftOcticon = exports.GearOcticon = exports.FoldOcticon = exports.FlameOcticon = exports.FileZipOcticon = exports.FileOcticon = exports.FileSymlinkFileOcticon = exports.FileSymlinkDirectoryOcticon = exports.FileSubmoduleOcticon = exports.FilePdfOcticon = exports.FileMediaOcticon = exports.FileDirectoryOcticon = exports.FileCodeOcticon = exports.FileBinaryOcticon = exports.EyeOcticon = exports.EllipsisOcticon = exports.DiffOcticon = exports.DiffRenamedOcticon = exports.DiffRemovedOcticon = exports.DiffModifiedOcticon = exports.DiffIgnoredOcticon = exports.DiffAddedOcticon = exports.DeviceMobileOcticon = exports.DeviceDesktopOcticon = exports.DeviceCameraOcticon = exports.DeviceCameraVideoOcticon = exports.DesktopDownloadOcticon = exports.DatabaseOcticon = exports.DashboardOcticon = exports.DashOcticon = exports.CreditCardOcticon = exports.CommentOcticon = exports.CommentDiscussionOcticon = exports.CodeOcticon = exports.CloudUploadOcticon = exports.CloudDownloadOcticon = exports.ClockOcticon = exports.ClippyOcticon = exports.CircuitBoardOcticon = exports.CircleSlashOcticon = exports.ChevronUpOcticon = exports.ChevronRightOcticon = exports.ChevronLeftOcticon = exports.ChevronDownOcticon = exports.ChecklistOcticon = exports.CheckOcticon = exports.CalendarOcticon = exports.BugOcticon = exports.BrowserOcticon = exports.BroadcastOcticon = exports.BriefcaseOcticon = exports.BookmarkOcticon = exports.BookOcticon = exports.BoldOcticon = exports.BellOcticon = exports.BeakerOcticon = exports.ArrowSmallUpOcticon = exports.ArrowSmallRightOcticon = exports.ArrowSmallLeftOcticon = exports.ArrowSmallDownOcticon = exports.ArrowUpOcticon = exports.ArrowRightOcticon = exports.ArrowLeftOcticon = exports.ArrowDownOcticon = exports.AlertOcticon = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar octicons = {};\nvar AlertOcticon = exports.AlertOcticon = __webpack_require__(/*! ./icons/alert.js */ \"./node_modules/@github/octicons-react/build/icons/alert.js\").default;\nocticons['alert'] = AlertOcticon;\nvar ArrowDownOcticon = exports.ArrowDownOcticon = __webpack_require__(/*! ./icons/arrow-down.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-down.js\").default;\nocticons['arrow-down'] = ArrowDownOcticon;\nvar ArrowLeftOcticon = exports.ArrowLeftOcticon = __webpack_require__(/*! ./icons/arrow-left.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-left.js\").default;\nocticons['arrow-left'] = ArrowLeftOcticon;\nvar ArrowRightOcticon = exports.ArrowRightOcticon = __webpack_require__(/*! ./icons/arrow-right.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-right.js\").default;\nocticons['arrow-right'] = ArrowRightOcticon;\nvar ArrowUpOcticon = exports.ArrowUpOcticon = __webpack_require__(/*! ./icons/arrow-up.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-up.js\").default;\nocticons['arrow-up'] = ArrowUpOcticon;\nvar ArrowSmallDownOcticon = exports.ArrowSmallDownOcticon = __webpack_require__(/*! ./icons/arrow-small-down.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-small-down.js\").default;\nocticons['arrow-small-down'] = ArrowSmallDownOcticon;\nvar ArrowSmallLeftOcticon = exports.ArrowSmallLeftOcticon = __webpack_require__(/*! ./icons/arrow-small-left.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-small-left.js\").default;\nocticons['arrow-small-left'] = ArrowSmallLeftOcticon;\nvar ArrowSmallRightOcticon = exports.ArrowSmallRightOcticon = __webpack_require__(/*! ./icons/arrow-small-right.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-small-right.js\").default;\nocticons['arrow-small-right'] = ArrowSmallRightOcticon;\nvar ArrowSmallUpOcticon = exports.ArrowSmallUpOcticon = __webpack_require__(/*! ./icons/arrow-small-up.js */ \"./node_modules/@github/octicons-react/build/icons/arrow-small-up.js\").default;\nocticons['arrow-small-up'] = ArrowSmallUpOcticon;\nvar BeakerOcticon = exports.BeakerOcticon = __webpack_require__(/*! ./icons/beaker.js */ \"./node_modules/@github/octicons-react/build/icons/beaker.js\").default;\nocticons['beaker'] = BeakerOcticon;\nvar BellOcticon = exports.BellOcticon = __webpack_require__(/*! ./icons/bell.js */ \"./node_modules/@github/octicons-react/build/icons/bell.js\").default;\nocticons['bell'] = BellOcticon;\nvar BoldOcticon = exports.BoldOcticon = __webpack_require__(/*! ./icons/bold.js */ \"./node_modules/@github/octicons-react/build/icons/bold.js\").default;\nocticons['bold'] = BoldOcticon;\nvar BookOcticon = exports.BookOcticon = __webpack_require__(/*! ./icons/book.js */ \"./node_modules/@github/octicons-react/build/icons/book.js\").default;\nocticons['book'] = BookOcticon;\nvar BookmarkOcticon = exports.BookmarkOcticon = __webpack_require__(/*! ./icons/bookmark.js */ \"./node_modules/@github/octicons-react/build/icons/bookmark.js\").default;\nocticons['bookmark'] = BookmarkOcticon;\nvar BriefcaseOcticon = exports.BriefcaseOcticon = __webpack_require__(/*! ./icons/briefcase.js */ \"./node_modules/@github/octicons-react/build/icons/briefcase.js\").default;\nocticons['briefcase'] = BriefcaseOcticon;\nvar BroadcastOcticon = exports.BroadcastOcticon = __webpack_require__(/*! ./icons/broadcast.js */ \"./node_modules/@github/octicons-react/build/icons/broadcast.js\").default;\nocticons['broadcast'] = BroadcastOcticon;\nvar BrowserOcticon = exports.BrowserOcticon = __webpack_require__(/*! ./icons/browser.js */ \"./node_modules/@github/octicons-react/build/icons/browser.js\").default;\nocticons['browser'] = BrowserOcticon;\nvar BugOcticon = exports.BugOcticon = __webpack_require__(/*! ./icons/bug.js */ \"./node_modules/@github/octicons-react/build/icons/bug.js\").default;\nocticons['bug'] = BugOcticon;\nvar CalendarOcticon = exports.CalendarOcticon = __webpack_require__(/*! ./icons/calendar.js */ \"./node_modules/@github/octicons-react/build/icons/calendar.js\").default;\nocticons['calendar'] = CalendarOcticon;\nvar CheckOcticon = exports.CheckOcticon = __webpack_require__(/*! ./icons/check.js */ \"./node_modules/@github/octicons-react/build/icons/check.js\").default;\nocticons['check'] = CheckOcticon;\nvar ChecklistOcticon = exports.ChecklistOcticon = __webpack_require__(/*! ./icons/checklist.js */ \"./node_modules/@github/octicons-react/build/icons/checklist.js\").default;\nocticons['checklist'] = ChecklistOcticon;\nvar ChevronDownOcticon = exports.ChevronDownOcticon = __webpack_require__(/*! ./icons/chevron-down.js */ \"./node_modules/@github/octicons-react/build/icons/chevron-down.js\").default;\nocticons['chevron-down'] = ChevronDownOcticon;\nvar ChevronLeftOcticon = exports.ChevronLeftOcticon = __webpack_require__(/*! ./icons/chevron-left.js */ \"./node_modules/@github/octicons-react/build/icons/chevron-left.js\").default;\nocticons['chevron-left'] = ChevronLeftOcticon;\nvar ChevronRightOcticon = exports.ChevronRightOcticon = __webpack_require__(/*! ./icons/chevron-right.js */ \"./node_modules/@github/octicons-react/build/icons/chevron-right.js\").default;\nocticons['chevron-right'] = ChevronRightOcticon;\nvar ChevronUpOcticon = exports.ChevronUpOcticon = __webpack_require__(/*! ./icons/chevron-up.js */ \"./node_modules/@github/octicons-react/build/icons/chevron-up.js\").default;\nocticons['chevron-up'] = ChevronUpOcticon;\nvar CircleSlashOcticon = exports.CircleSlashOcticon = __webpack_require__(/*! ./icons/circle-slash.js */ \"./node_modules/@github/octicons-react/build/icons/circle-slash.js\").default;\nocticons['circle-slash'] = CircleSlashOcticon;\nvar CircuitBoardOcticon = exports.CircuitBoardOcticon = __webpack_require__(/*! ./icons/circuit-board.js */ \"./node_modules/@github/octicons-react/build/icons/circuit-board.js\").default;\nocticons['circuit-board'] = CircuitBoardOcticon;\nvar ClippyOcticon = exports.ClippyOcticon = __webpack_require__(/*! ./icons/clippy.js */ \"./node_modules/@github/octicons-react/build/icons/clippy.js\").default;\nocticons['clippy'] = ClippyOcticon;\nvar ClockOcticon = exports.ClockOcticon = __webpack_require__(/*! ./icons/clock.js */ \"./node_modules/@github/octicons-react/build/icons/clock.js\").default;\nocticons['clock'] = ClockOcticon;\nvar CloudDownloadOcticon = exports.CloudDownloadOcticon = __webpack_require__(/*! ./icons/cloud-download.js */ \"./node_modules/@github/octicons-react/build/icons/cloud-download.js\").default;\nocticons['cloud-download'] = CloudDownloadOcticon;\nvar CloudUploadOcticon = exports.CloudUploadOcticon = __webpack_require__(/*! ./icons/cloud-upload.js */ \"./node_modules/@github/octicons-react/build/icons/cloud-upload.js\").default;\nocticons['cloud-upload'] = CloudUploadOcticon;\nvar CodeOcticon = exports.CodeOcticon = __webpack_require__(/*! ./icons/code.js */ \"./node_modules/@github/octicons-react/build/icons/code.js\").default;\nocticons['code'] = CodeOcticon;\nvar CommentDiscussionOcticon = exports.CommentDiscussionOcticon = __webpack_require__(/*! ./icons/comment-discussion.js */ \"./node_modules/@github/octicons-react/build/icons/comment-discussion.js\").default;\nocticons['comment-discussion'] = CommentDiscussionOcticon;\nvar CommentOcticon = exports.CommentOcticon = __webpack_require__(/*! ./icons/comment.js */ \"./node_modules/@github/octicons-react/build/icons/comment.js\").default;\nocticons['comment'] = CommentOcticon;\nvar CreditCardOcticon = exports.CreditCardOcticon = __webpack_require__(/*! ./icons/credit-card.js */ \"./node_modules/@github/octicons-react/build/icons/credit-card.js\").default;\nocticons['credit-card'] = CreditCardOcticon;\nvar DashOcticon = exports.DashOcticon = __webpack_require__(/*! ./icons/dash.js */ \"./node_modules/@github/octicons-react/build/icons/dash.js\").default;\nocticons['dash'] = DashOcticon;\nvar DashboardOcticon = exports.DashboardOcticon = __webpack_require__(/*! ./icons/dashboard.js */ \"./node_modules/@github/octicons-react/build/icons/dashboard.js\").default;\nocticons['dashboard'] = DashboardOcticon;\nvar DatabaseOcticon = exports.DatabaseOcticon = __webpack_require__(/*! ./icons/database.js */ \"./node_modules/@github/octicons-react/build/icons/database.js\").default;\nocticons['database'] = DatabaseOcticon;\nvar DesktopDownloadOcticon = exports.DesktopDownloadOcticon = __webpack_require__(/*! ./icons/desktop-download.js */ \"./node_modules/@github/octicons-react/build/icons/desktop-download.js\").default;\nocticons['desktop-download'] = DesktopDownloadOcticon;\nvar DeviceCameraVideoOcticon = exports.DeviceCameraVideoOcticon = __webpack_require__(/*! ./icons/device-camera-video.js */ \"./node_modules/@github/octicons-react/build/icons/device-camera-video.js\").default;\nocticons['device-camera-video'] = DeviceCameraVideoOcticon;\nvar DeviceCameraOcticon = exports.DeviceCameraOcticon = __webpack_require__(/*! ./icons/device-camera.js */ \"./node_modules/@github/octicons-react/build/icons/device-camera.js\").default;\nocticons['device-camera'] = DeviceCameraOcticon;\nvar DeviceDesktopOcticon = exports.DeviceDesktopOcticon = __webpack_require__(/*! ./icons/device-desktop.js */ \"./node_modules/@github/octicons-react/build/icons/device-desktop.js\").default;\nocticons['device-desktop'] = DeviceDesktopOcticon;\nvar DeviceMobileOcticon = exports.DeviceMobileOcticon = __webpack_require__(/*! ./icons/device-mobile.js */ \"./node_modules/@github/octicons-react/build/icons/device-mobile.js\").default;\nocticons['device-mobile'] = DeviceMobileOcticon;\nvar DiffAddedOcticon = exports.DiffAddedOcticon = __webpack_require__(/*! ./icons/diff-added.js */ \"./node_modules/@github/octicons-react/build/icons/diff-added.js\").default;\nocticons['diff-added'] = DiffAddedOcticon;\nvar DiffIgnoredOcticon = exports.DiffIgnoredOcticon = __webpack_require__(/*! ./icons/diff-ignored.js */ \"./node_modules/@github/octicons-react/build/icons/diff-ignored.js\").default;\nocticons['diff-ignored'] = DiffIgnoredOcticon;\nvar DiffModifiedOcticon = exports.DiffModifiedOcticon = __webpack_require__(/*! ./icons/diff-modified.js */ \"./node_modules/@github/octicons-react/build/icons/diff-modified.js\").default;\nocticons['diff-modified'] = DiffModifiedOcticon;\nvar DiffRemovedOcticon = exports.DiffRemovedOcticon = __webpack_require__(/*! ./icons/diff-removed.js */ \"./node_modules/@github/octicons-react/build/icons/diff-removed.js\").default;\nocticons['diff-removed'] = DiffRemovedOcticon;\nvar DiffRenamedOcticon = exports.DiffRenamedOcticon = __webpack_require__(/*! ./icons/diff-renamed.js */ \"./node_modules/@github/octicons-react/build/icons/diff-renamed.js\").default;\nocticons['diff-renamed'] = DiffRenamedOcticon;\nvar DiffOcticon = exports.DiffOcticon = __webpack_require__(/*! ./icons/diff.js */ \"./node_modules/@github/octicons-react/build/icons/diff.js\").default;\nocticons['diff'] = DiffOcticon;\nvar EllipsisOcticon = exports.EllipsisOcticon = __webpack_require__(/*! ./icons/ellipsis.js */ \"./node_modules/@github/octicons-react/build/icons/ellipsis.js\").default;\nocticons['ellipsis'] = EllipsisOcticon;\nvar EyeOcticon = exports.EyeOcticon = __webpack_require__(/*! ./icons/eye.js */ \"./node_modules/@github/octicons-react/build/icons/eye.js\").default;\nocticons['eye'] = EyeOcticon;\nvar FileBinaryOcticon = exports.FileBinaryOcticon = __webpack_require__(/*! ./icons/file-binary.js */ \"./node_modules/@github/octicons-react/build/icons/file-binary.js\").default;\nocticons['file-binary'] = FileBinaryOcticon;\nvar FileCodeOcticon = exports.FileCodeOcticon = __webpack_require__(/*! ./icons/file-code.js */ \"./node_modules/@github/octicons-react/build/icons/file-code.js\").default;\nocticons['file-code'] = FileCodeOcticon;\nvar FileDirectoryOcticon = exports.FileDirectoryOcticon = __webpack_require__(/*! ./icons/file-directory.js */ \"./node_modules/@github/octicons-react/build/icons/file-directory.js\").default;\nocticons['file-directory'] = FileDirectoryOcticon;\nvar FileMediaOcticon = exports.FileMediaOcticon = __webpack_require__(/*! ./icons/file-media.js */ \"./node_modules/@github/octicons-react/build/icons/file-media.js\").default;\nocticons['file-media'] = FileMediaOcticon;\nvar FilePdfOcticon = exports.FilePdfOcticon = __webpack_require__(/*! ./icons/file-pdf.js */ \"./node_modules/@github/octicons-react/build/icons/file-pdf.js\").default;\nocticons['file-pdf'] = FilePdfOcticon;\nvar FileSubmoduleOcticon = exports.FileSubmoduleOcticon = __webpack_require__(/*! ./icons/file-submodule.js */ \"./node_modules/@github/octicons-react/build/icons/file-submodule.js\").default;\nocticons['file-submodule'] = FileSubmoduleOcticon;\nvar FileSymlinkDirectoryOcticon = exports.FileSymlinkDirectoryOcticon = __webpack_require__(/*! ./icons/file-symlink-directory.js */ \"./node_modules/@github/octicons-react/build/icons/file-symlink-directory.js\").default;\nocticons['file-symlink-directory'] = FileSymlinkDirectoryOcticon;\nvar FileSymlinkFileOcticon = exports.FileSymlinkFileOcticon = __webpack_require__(/*! ./icons/file-symlink-file.js */ \"./node_modules/@github/octicons-react/build/icons/file-symlink-file.js\").default;\nocticons['file-symlink-file'] = FileSymlinkFileOcticon;\nvar FileOcticon = exports.FileOcticon = __webpack_require__(/*! ./icons/file.js */ \"./node_modules/@github/octicons-react/build/icons/file.js\").default;\nocticons['file'] = FileOcticon;\nvar FileZipOcticon = exports.FileZipOcticon = __webpack_require__(/*! ./icons/file-zip.js */ \"./node_modules/@github/octicons-react/build/icons/file-zip.js\").default;\nocticons['file-zip'] = FileZipOcticon;\nvar FlameOcticon = exports.FlameOcticon = __webpack_require__(/*! ./icons/flame.js */ \"./node_modules/@github/octicons-react/build/icons/flame.js\").default;\nocticons['flame'] = FlameOcticon;\nvar FoldOcticon = exports.FoldOcticon = __webpack_require__(/*! ./icons/fold.js */ \"./node_modules/@github/octicons-react/build/icons/fold.js\").default;\nocticons['fold'] = FoldOcticon;\nvar GearOcticon = exports.GearOcticon = __webpack_require__(/*! ./icons/gear.js */ \"./node_modules/@github/octicons-react/build/icons/gear.js\").default;\nocticons['gear'] = GearOcticon;\nvar GiftOcticon = exports.GiftOcticon = __webpack_require__(/*! ./icons/gift.js */ \"./node_modules/@github/octicons-react/build/icons/gift.js\").default;\nocticons['gift'] = GiftOcticon;\nvar GistSecretOcticon = exports.GistSecretOcticon = __webpack_require__(/*! ./icons/gist-secret.js */ \"./node_modules/@github/octicons-react/build/icons/gist-secret.js\").default;\nocticons['gist-secret'] = GistSecretOcticon;\nvar GistOcticon = exports.GistOcticon = __webpack_require__(/*! ./icons/gist.js */ \"./node_modules/@github/octicons-react/build/icons/gist.js\").default;\nocticons['gist'] = GistOcticon;\nvar GitBranchOcticon = exports.GitBranchOcticon = __webpack_require__(/*! ./icons/git-branch.js */ \"./node_modules/@github/octicons-react/build/icons/git-branch.js\").default;\nocticons['git-branch'] = GitBranchOcticon;\nvar GitCommitOcticon = exports.GitCommitOcticon = __webpack_require__(/*! ./icons/git-commit.js */ \"./node_modules/@github/octicons-react/build/icons/git-commit.js\").default;\nocticons['git-commit'] = GitCommitOcticon;\nvar GitCompareOcticon = exports.GitCompareOcticon = __webpack_require__(/*! ./icons/git-compare.js */ \"./node_modules/@github/octicons-react/build/icons/git-compare.js\").default;\nocticons['git-compare'] = GitCompareOcticon;\nvar GitMergeOcticon = exports.GitMergeOcticon = __webpack_require__(/*! ./icons/git-merge.js */ \"./node_modules/@github/octicons-react/build/icons/git-merge.js\").default;\nocticons['git-merge'] = GitMergeOcticon;\nvar GitPullRequestOcticon = exports.GitPullRequestOcticon = __webpack_require__(/*! ./icons/git-pull-request.js */ \"./node_modules/@github/octicons-react/build/icons/git-pull-request.js\").default;\nocticons['git-pull-request'] = GitPullRequestOcticon;\nvar GlobeOcticon = exports.GlobeOcticon = __webpack_require__(/*! ./icons/globe.js */ \"./node_modules/@github/octicons-react/build/icons/globe.js\").default;\nocticons['globe'] = GlobeOcticon;\nvar GraphOcticon = exports.GraphOcticon = __webpack_require__(/*! ./icons/graph.js */ \"./node_modules/@github/octicons-react/build/icons/graph.js\").default;\nocticons['graph'] = GraphOcticon;\nvar HeartOcticon = exports.HeartOcticon = __webpack_require__(/*! ./icons/heart.js */ \"./node_modules/@github/octicons-react/build/icons/heart.js\").default;\nocticons['heart'] = HeartOcticon;\nvar HistoryOcticon = exports.HistoryOcticon = __webpack_require__(/*! ./icons/history.js */ \"./node_modules/@github/octicons-react/build/icons/history.js\").default;\nocticons['history'] = HistoryOcticon;\nvar HomeOcticon = exports.HomeOcticon = __webpack_require__(/*! ./icons/home.js */ \"./node_modules/@github/octicons-react/build/icons/home.js\").default;\nocticons['home'] = HomeOcticon;\nvar HorizontalRuleOcticon = exports.HorizontalRuleOcticon = __webpack_require__(/*! ./icons/horizontal-rule.js */ \"./node_modules/@github/octicons-react/build/icons/horizontal-rule.js\").default;\nocticons['horizontal-rule'] = HorizontalRuleOcticon;\nvar HubotOcticon = exports.HubotOcticon = __webpack_require__(/*! ./icons/hubot.js */ \"./node_modules/@github/octicons-react/build/icons/hubot.js\").default;\nocticons['hubot'] = HubotOcticon;\nvar InboxOcticon = exports.InboxOcticon = __webpack_require__(/*! ./icons/inbox.js */ \"./node_modules/@github/octicons-react/build/icons/inbox.js\").default;\nocticons['inbox'] = InboxOcticon;\nvar InfoOcticon = exports.InfoOcticon = __webpack_require__(/*! ./icons/info.js */ \"./node_modules/@github/octicons-react/build/icons/info.js\").default;\nocticons['info'] = InfoOcticon;\nvar IssueClosedOcticon = exports.IssueClosedOcticon = __webpack_require__(/*! ./icons/issue-closed.js */ \"./node_modules/@github/octicons-react/build/icons/issue-closed.js\").default;\nocticons['issue-closed'] = IssueClosedOcticon;\nvar IssueOpenedOcticon = exports.IssueOpenedOcticon = __webpack_require__(/*! ./icons/issue-opened.js */ \"./node_modules/@github/octicons-react/build/icons/issue-opened.js\").default;\nocticons['issue-opened'] = IssueOpenedOcticon;\nvar IssueReopenedOcticon = exports.IssueReopenedOcticon = __webpack_require__(/*! ./icons/issue-reopened.js */ \"./node_modules/@github/octicons-react/build/icons/issue-reopened.js\").default;\nocticons['issue-reopened'] = IssueReopenedOcticon;\nvar ItalicOcticon = exports.ItalicOcticon = __webpack_require__(/*! ./icons/italic.js */ \"./node_modules/@github/octicons-react/build/icons/italic.js\").default;\nocticons['italic'] = ItalicOcticon;\nvar JerseyOcticon = exports.JerseyOcticon = __webpack_require__(/*! ./icons/jersey.js */ \"./node_modules/@github/octicons-react/build/icons/jersey.js\").default;\nocticons['jersey'] = JerseyOcticon;\nvar KeyboardOcticon = exports.KeyboardOcticon = __webpack_require__(/*! ./icons/keyboard.js */ \"./node_modules/@github/octicons-react/build/icons/keyboard.js\").default;\nocticons['keyboard'] = KeyboardOcticon;\nvar LawOcticon = exports.LawOcticon = __webpack_require__(/*! ./icons/law.js */ \"./node_modules/@github/octicons-react/build/icons/law.js\").default;\nocticons['law'] = LawOcticon;\nvar LinkOcticon = exports.LinkOcticon = __webpack_require__(/*! ./icons/link.js */ \"./node_modules/@github/octicons-react/build/icons/link.js\").default;\nocticons['link'] = LinkOcticon;\nvar ListOrderedOcticon = exports.ListOrderedOcticon = __webpack_require__(/*! ./icons/list-ordered.js */ \"./node_modules/@github/octicons-react/build/icons/list-ordered.js\").default;\nocticons['list-ordered'] = ListOrderedOcticon;\nvar ListUnorderedOcticon = exports.ListUnorderedOcticon = __webpack_require__(/*! ./icons/list-unordered.js */ \"./node_modules/@github/octicons-react/build/icons/list-unordered.js\").default;\nocticons['list-unordered'] = ListUnorderedOcticon;\nvar LocationOcticon = exports.LocationOcticon = __webpack_require__(/*! ./icons/location.js */ \"./node_modules/@github/octicons-react/build/icons/location.js\").default;\nocticons['location'] = LocationOcticon;\nvar LockOcticon = exports.LockOcticon = __webpack_require__(/*! ./icons/lock.js */ \"./node_modules/@github/octicons-react/build/icons/lock.js\").default;\nocticons['lock'] = LockOcticon;\nvar LogoGistOcticon = exports.LogoGistOcticon = __webpack_require__(/*! ./icons/logo-gist.js */ \"./node_modules/@github/octicons-react/build/icons/logo-gist.js\").default;\nocticons['logo-gist'] = LogoGistOcticon;\nvar LogoGithubOcticon = exports.LogoGithubOcticon = __webpack_require__(/*! ./icons/logo-github.js */ \"./node_modules/@github/octicons-react/build/icons/logo-github.js\").default;\nocticons['logo-github'] = LogoGithubOcticon;\nvar MailReadOcticon = exports.MailReadOcticon = __webpack_require__(/*! ./icons/mail-read.js */ \"./node_modules/@github/octicons-react/build/icons/mail-read.js\").default;\nocticons['mail-read'] = MailReadOcticon;\nvar ReplyOcticon = exports.ReplyOcticon = __webpack_require__(/*! ./icons/reply.js */ \"./node_modules/@github/octicons-react/build/icons/reply.js\").default;\nocticons['reply'] = ReplyOcticon;\nvar MailOcticon = exports.MailOcticon = __webpack_require__(/*! ./icons/mail.js */ \"./node_modules/@github/octicons-react/build/icons/mail.js\").default;\nocticons['mail'] = MailOcticon;\nvar MarkGithubOcticon = exports.MarkGithubOcticon = __webpack_require__(/*! ./icons/mark-github.js */ \"./node_modules/@github/octicons-react/build/icons/mark-github.js\").default;\nocticons['mark-github'] = MarkGithubOcticon;\nvar MarkdownOcticon = exports.MarkdownOcticon = __webpack_require__(/*! ./icons/markdown.js */ \"./node_modules/@github/octicons-react/build/icons/markdown.js\").default;\nocticons['markdown'] = MarkdownOcticon;\nvar MegaphoneOcticon = exports.MegaphoneOcticon = __webpack_require__(/*! ./icons/megaphone.js */ \"./node_modules/@github/octicons-react/build/icons/megaphone.js\").default;\nocticons['megaphone'] = MegaphoneOcticon;\nvar MentionOcticon = exports.MentionOcticon = __webpack_require__(/*! ./icons/mention.js */ \"./node_modules/@github/octicons-react/build/icons/mention.js\").default;\nocticons['mention'] = MentionOcticon;\nvar MilestoneOcticon = exports.MilestoneOcticon = __webpack_require__(/*! ./icons/milestone.js */ \"./node_modules/@github/octicons-react/build/icons/milestone.js\").default;\nocticons['milestone'] = MilestoneOcticon;\nvar MirrorOcticon = exports.MirrorOcticon = __webpack_require__(/*! ./icons/mirror.js */ \"./node_modules/@github/octicons-react/build/icons/mirror.js\").default;\nocticons['mirror'] = MirrorOcticon;\nvar MortarBoardOcticon = exports.MortarBoardOcticon = __webpack_require__(/*! ./icons/mortar-board.js */ \"./node_modules/@github/octicons-react/build/icons/mortar-board.js\").default;\nocticons['mortar-board'] = MortarBoardOcticon;\nvar MuteOcticon = exports.MuteOcticon = __webpack_require__(/*! ./icons/mute.js */ \"./node_modules/@github/octicons-react/build/icons/mute.js\").default;\nocticons['mute'] = MuteOcticon;\nvar NoNewlineOcticon = exports.NoNewlineOcticon = __webpack_require__(/*! ./icons/no-newline.js */ \"./node_modules/@github/octicons-react/build/icons/no-newline.js\").default;\nocticons['no-newline'] = NoNewlineOcticon;\nvar OctofaceOcticon = exports.OctofaceOcticon = __webpack_require__(/*! ./icons/octoface.js */ \"./node_modules/@github/octicons-react/build/icons/octoface.js\").default;\nocticons['octoface'] = OctofaceOcticon;\nvar OrganizationOcticon = exports.OrganizationOcticon = __webpack_require__(/*! ./icons/organization.js */ \"./node_modules/@github/octicons-react/build/icons/organization.js\").default;\nocticons['organization'] = OrganizationOcticon;\nvar PackageOcticon = exports.PackageOcticon = __webpack_require__(/*! ./icons/package.js */ \"./node_modules/@github/octicons-react/build/icons/package.js\").default;\nocticons['package'] = PackageOcticon;\nvar PaintcanOcticon = exports.PaintcanOcticon = __webpack_require__(/*! ./icons/paintcan.js */ \"./node_modules/@github/octicons-react/build/icons/paintcan.js\").default;\nocticons['paintcan'] = PaintcanOcticon;\nvar PencilOcticon = exports.PencilOcticon = __webpack_require__(/*! ./icons/pencil.js */ \"./node_modules/@github/octicons-react/build/icons/pencil.js\").default;\nocticons['pencil'] = PencilOcticon;\nvar PersonOcticon = exports.PersonOcticon = __webpack_require__(/*! ./icons/person.js */ \"./node_modules/@github/octicons-react/build/icons/person.js\").default;\nocticons['person'] = PersonOcticon;\nvar PinOcticon = exports.PinOcticon = __webpack_require__(/*! ./icons/pin.js */ \"./node_modules/@github/octicons-react/build/icons/pin.js\").default;\nocticons['pin'] = PinOcticon;\nvar PlugOcticon = exports.PlugOcticon = __webpack_require__(/*! ./icons/plug.js */ \"./node_modules/@github/octicons-react/build/icons/plug.js\").default;\nocticons['plug'] = PlugOcticon;\nvar PlusOcticon = exports.PlusOcticon = __webpack_require__(/*! ./icons/plus.js */ \"./node_modules/@github/octicons-react/build/icons/plus.js\").default;\nocticons['plus'] = PlusOcticon;\nvar PrimitiveDotOcticon = exports.PrimitiveDotOcticon = __webpack_require__(/*! ./icons/primitive-dot.js */ \"./node_modules/@github/octicons-react/build/icons/primitive-dot.js\").default;\nocticons['primitive-dot'] = PrimitiveDotOcticon;\nvar PrimitiveSquareOcticon = exports.PrimitiveSquareOcticon = __webpack_require__(/*! ./icons/primitive-square.js */ \"./node_modules/@github/octicons-react/build/icons/primitive-square.js\").default;\nocticons['primitive-square'] = PrimitiveSquareOcticon;\nvar PulseOcticon = exports.PulseOcticon = __webpack_require__(/*! ./icons/pulse.js */ \"./node_modules/@github/octicons-react/build/icons/pulse.js\").default;\nocticons['pulse'] = PulseOcticon;\nvar QuestionOcticon = exports.QuestionOcticon = __webpack_require__(/*! ./icons/question.js */ \"./node_modules/@github/octicons-react/build/icons/question.js\").default;\nocticons['question'] = QuestionOcticon;\nvar QuoteOcticon = exports.QuoteOcticon = __webpack_require__(/*! ./icons/quote.js */ \"./node_modules/@github/octicons-react/build/icons/quote.js\").default;\nocticons['quote'] = QuoteOcticon;\nvar RadioTowerOcticon = exports.RadioTowerOcticon = __webpack_require__(/*! ./icons/radio-tower.js */ \"./node_modules/@github/octicons-react/build/icons/radio-tower.js\").default;\nocticons['radio-tower'] = RadioTowerOcticon;\nvar RepoCloneOcticon = exports.RepoCloneOcticon = __webpack_require__(/*! ./icons/repo-clone.js */ \"./node_modules/@github/octicons-react/build/icons/repo-clone.js\").default;\nocticons['repo-clone'] = RepoCloneOcticon;\nvar RepoForcePushOcticon = exports.RepoForcePushOcticon = __webpack_require__(/*! ./icons/repo-force-push.js */ \"./node_modules/@github/octicons-react/build/icons/repo-force-push.js\").default;\nocticons['repo-force-push'] = RepoForcePushOcticon;\nvar RepoForkedOcticon = exports.RepoForkedOcticon = __webpack_require__(/*! ./icons/repo-forked.js */ \"./node_modules/@github/octicons-react/build/icons/repo-forked.js\").default;\nocticons['repo-forked'] = RepoForkedOcticon;\nvar RepoPullOcticon = exports.RepoPullOcticon = __webpack_require__(/*! ./icons/repo-pull.js */ \"./node_modules/@github/octicons-react/build/icons/repo-pull.js\").default;\nocticons['repo-pull'] = RepoPullOcticon;\nvar RepoPushOcticon = exports.RepoPushOcticon = __webpack_require__(/*! ./icons/repo-push.js */ \"./node_modules/@github/octicons-react/build/icons/repo-push.js\").default;\nocticons['repo-push'] = RepoPushOcticon;\nvar RepoOcticon = exports.RepoOcticon = __webpack_require__(/*! ./icons/repo.js */ \"./node_modules/@github/octicons-react/build/icons/repo.js\").default;\nocticons['repo'] = RepoOcticon;\nvar RocketOcticon = exports.RocketOcticon = __webpack_require__(/*! ./icons/rocket.js */ \"./node_modules/@github/octicons-react/build/icons/rocket.js\").default;\nocticons['rocket'] = RocketOcticon;\nvar RssOcticon = exports.RssOcticon = __webpack_require__(/*! ./icons/rss.js */ \"./node_modules/@github/octicons-react/build/icons/rss.js\").default;\nocticons['rss'] = RssOcticon;\nvar RubyOcticon = exports.RubyOcticon = __webpack_require__(/*! ./icons/ruby.js */ \"./node_modules/@github/octicons-react/build/icons/ruby.js\").default;\nocticons['ruby'] = RubyOcticon;\nvar SearchOcticon = exports.SearchOcticon = __webpack_require__(/*! ./icons/search.js */ \"./node_modules/@github/octicons-react/build/icons/search.js\").default;\nocticons['search'] = SearchOcticon;\nvar ServerOcticon = exports.ServerOcticon = __webpack_require__(/*! ./icons/server.js */ \"./node_modules/@github/octicons-react/build/icons/server.js\").default;\nocticons['server'] = ServerOcticon;\nvar SettingsOcticon = exports.SettingsOcticon = __webpack_require__(/*! ./icons/settings.js */ \"./node_modules/@github/octicons-react/build/icons/settings.js\").default;\nocticons['settings'] = SettingsOcticon;\nvar ShieldOcticon = exports.ShieldOcticon = __webpack_require__(/*! ./icons/shield.js */ \"./node_modules/@github/octicons-react/build/icons/shield.js\").default;\nocticons['shield'] = ShieldOcticon;\nvar SignInOcticon = exports.SignInOcticon = __webpack_require__(/*! ./icons/sign-in.js */ \"./node_modules/@github/octicons-react/build/icons/sign-in.js\").default;\nocticons['sign-in'] = SignInOcticon;\nvar SignOutOcticon = exports.SignOutOcticon = __webpack_require__(/*! ./icons/sign-out.js */ \"./node_modules/@github/octicons-react/build/icons/sign-out.js\").default;\nocticons['sign-out'] = SignOutOcticon;\nvar SmileyOcticon = exports.SmileyOcticon = __webpack_require__(/*! ./icons/smiley.js */ \"./node_modules/@github/octicons-react/build/icons/smiley.js\").default;\nocticons['smiley'] = SmileyOcticon;\nvar SquirrelOcticon = exports.SquirrelOcticon = __webpack_require__(/*! ./icons/squirrel.js */ \"./node_modules/@github/octicons-react/build/icons/squirrel.js\").default;\nocticons['squirrel'] = SquirrelOcticon;\nvar StarOcticon = exports.StarOcticon = __webpack_require__(/*! ./icons/star.js */ \"./node_modules/@github/octicons-react/build/icons/star.js\").default;\nocticons['star'] = StarOcticon;\nvar StopOcticon = exports.StopOcticon = __webpack_require__(/*! ./icons/stop.js */ \"./node_modules/@github/octicons-react/build/icons/stop.js\").default;\nocticons['stop'] = StopOcticon;\nvar SyncOcticon = exports.SyncOcticon = __webpack_require__(/*! ./icons/sync.js */ \"./node_modules/@github/octicons-react/build/icons/sync.js\").default;\nocticons['sync'] = SyncOcticon;\nvar TagOcticon = exports.TagOcticon = __webpack_require__(/*! ./icons/tag.js */ \"./node_modules/@github/octicons-react/build/icons/tag.js\").default;\nocticons['tag'] = TagOcticon;\nvar TasklistOcticon = exports.TasklistOcticon = __webpack_require__(/*! ./icons/tasklist.js */ \"./node_modules/@github/octicons-react/build/icons/tasklist.js\").default;\nocticons['tasklist'] = TasklistOcticon;\nvar TelescopeOcticon = exports.TelescopeOcticon = __webpack_require__(/*! ./icons/telescope.js */ \"./node_modules/@github/octicons-react/build/icons/telescope.js\").default;\nocticons['telescope'] = TelescopeOcticon;\nvar TerminalOcticon = exports.TerminalOcticon = __webpack_require__(/*! ./icons/terminal.js */ \"./node_modules/@github/octicons-react/build/icons/terminal.js\").default;\nocticons['terminal'] = TerminalOcticon;\nvar TextSizeOcticon = exports.TextSizeOcticon = __webpack_require__(/*! ./icons/text-size.js */ \"./node_modules/@github/octicons-react/build/icons/text-size.js\").default;\nocticons['text-size'] = TextSizeOcticon;\nvar ThreeBarsOcticon = exports.ThreeBarsOcticon = __webpack_require__(/*! ./icons/three-bars.js */ \"./node_modules/@github/octicons-react/build/icons/three-bars.js\").default;\nocticons['three-bars'] = ThreeBarsOcticon;\nvar ThumbsdownOcticon = exports.ThumbsdownOcticon = __webpack_require__(/*! ./icons/thumbsdown.js */ \"./node_modules/@github/octicons-react/build/icons/thumbsdown.js\").default;\nocticons['thumbsdown'] = ThumbsdownOcticon;\nvar ThumbsupOcticon = exports.ThumbsupOcticon = __webpack_require__(/*! ./icons/thumbsup.js */ \"./node_modules/@github/octicons-react/build/icons/thumbsup.js\").default;\nocticons['thumbsup'] = ThumbsupOcticon;\nvar ToolsOcticon = exports.ToolsOcticon = __webpack_require__(/*! ./icons/tools.js */ \"./node_modules/@github/octicons-react/build/icons/tools.js\").default;\nocticons['tools'] = ToolsOcticon;\nvar TrashcanOcticon = exports.TrashcanOcticon = __webpack_require__(/*! ./icons/trashcan.js */ \"./node_modules/@github/octicons-react/build/icons/trashcan.js\").default;\nocticons['trashcan'] = TrashcanOcticon;\nvar TriangleDownOcticon = exports.TriangleDownOcticon = __webpack_require__(/*! ./icons/triangle-down.js */ \"./node_modules/@github/octicons-react/build/icons/triangle-down.js\").default;\nocticons['triangle-down'] = TriangleDownOcticon;\nvar TriangleLeftOcticon = exports.TriangleLeftOcticon = __webpack_require__(/*! ./icons/triangle-left.js */ \"./node_modules/@github/octicons-react/build/icons/triangle-left.js\").default;\nocticons['triangle-left'] = TriangleLeftOcticon;\nvar TriangleRightOcticon = exports.TriangleRightOcticon = __webpack_require__(/*! ./icons/triangle-right.js */ \"./node_modules/@github/octicons-react/build/icons/triangle-right.js\").default;\nocticons['triangle-right'] = TriangleRightOcticon;\nvar TriangleUpOcticon = exports.TriangleUpOcticon = __webpack_require__(/*! ./icons/triangle-up.js */ \"./node_modules/@github/octicons-react/build/icons/triangle-up.js\").default;\nocticons['triangle-up'] = TriangleUpOcticon;\nvar UnfoldOcticon = exports.UnfoldOcticon = __webpack_require__(/*! ./icons/unfold.js */ \"./node_modules/@github/octicons-react/build/icons/unfold.js\").default;\nocticons['unfold'] = UnfoldOcticon;\nvar UnmuteOcticon = exports.UnmuteOcticon = __webpack_require__(/*! ./icons/unmute.js */ \"./node_modules/@github/octicons-react/build/icons/unmute.js\").default;\nocticons['unmute'] = UnmuteOcticon;\nvar ProjectOcticon = exports.ProjectOcticon = __webpack_require__(/*! ./icons/project.js */ \"./node_modules/@github/octicons-react/build/icons/project.js\").default;\nocticons['project'] = ProjectOcticon;\nvar KebabHorizontalOcticon = exports.KebabHorizontalOcticon = __webpack_require__(/*! ./icons/kebab-horizontal.js */ \"./node_modules/@github/octicons-react/build/icons/kebab-horizontal.js\").default;\nocticons['kebab-horizontal'] = KebabHorizontalOcticon;\nvar KebabVerticalOcticon = exports.KebabVerticalOcticon = __webpack_require__(/*! ./icons/kebab-vertical.js */ \"./node_modules/@github/octicons-react/build/icons/kebab-vertical.js\").default;\nocticons['kebab-vertical'] = KebabVerticalOcticon;\nvar ReportOcticon = exports.ReportOcticon = __webpack_require__(/*! ./icons/report.js */ \"./node_modules/@github/octicons-react/build/icons/report.js\").default;\nocticons['report'] = ReportOcticon;\nvar NoteOcticon = exports.NoteOcticon = __webpack_require__(/*! ./icons/note.js */ \"./node_modules/@github/octicons-react/build/icons/note.js\").default;\nocticons['note'] = NoteOcticon;\nvar ScreenFullOcticon = exports.ScreenFullOcticon = __webpack_require__(/*! ./icons/screen-full.js */ \"./node_modules/@github/octicons-react/build/icons/screen-full.js\").default;\nocticons['screen-full'] = ScreenFullOcticon;\nvar ScreenNormalOcticon = exports.ScreenNormalOcticon = __webpack_require__(/*! ./icons/screen-normal.js */ \"./node_modules/@github/octicons-react/build/icons/screen-normal.js\").default;\nocticons['screen-normal'] = ScreenNormalOcticon;\nvar UnverifiedOcticon = exports.UnverifiedOcticon = __webpack_require__(/*! ./icons/unverified.js */ \"./node_modules/@github/octicons-react/build/icons/unverified.js\").default;\nocticons['unverified'] = UnverifiedOcticon;\nvar VerifiedOcticon = exports.VerifiedOcticon = __webpack_require__(/*! ./icons/verified.js */ \"./node_modules/@github/octicons-react/build/icons/verified.js\").default;\nocticons['verified'] = VerifiedOcticon;\nvar VersionsOcticon = exports.VersionsOcticon = __webpack_require__(/*! ./icons/versions.js */ \"./node_modules/@github/octicons-react/build/icons/versions.js\").default;\nocticons['versions'] = VersionsOcticon;\nvar WatchOcticon = exports.WatchOcticon = __webpack_require__(/*! ./icons/watch.js */ \"./node_modules/@github/octicons-react/build/icons/watch.js\").default;\nocticons['watch'] = WatchOcticon;\nvar XOcticon = exports.XOcticon = __webpack_require__(/*! ./icons/x.js */ \"./node_modules/@github/octicons-react/build/icons/x.js\").default;\nocticons['x'] = XOcticon;\nvar ZapOcticon = exports.ZapOcticon = __webpack_require__(/*! ./icons/zap.js */ \"./node_modules/@github/octicons-react/build/icons/zap.js\").default;\nocticons['zap'] = ZapOcticon;\nvar KeyOcticon = exports.KeyOcticon = __webpack_require__(/*! ./icons/key.js */ \"./node_modules/@github/octicons-react/build/icons/key.js\").default;\nocticons['key'] = KeyOcticon;\nvar GrabberOcticon = exports.GrabberOcticon = __webpack_require__(/*! ./icons/grabber.js */ \"./node_modules/@github/octicons-react/build/icons/grabber.js\").default;\nocticons['grabber'] = GrabberOcticon;\nvar PlusSmallOcticon = exports.PlusSmallOcticon = __webpack_require__(/*! ./icons/plus-small.js */ \"./node_modules/@github/octicons-react/build/icons/plus-small.js\").default;\nocticons['plus-small'] = PlusSmallOcticon;\nvar LightBulbOcticon = exports.LightBulbOcticon = __webpack_require__(/*! ./icons/light-bulb.js */ \"./node_modules/@github/octicons-react/build/icons/light-bulb.js\").default;\nocticons['light-bulb'] = LightBulbOcticon;\nvar LinkExternalOcticon = exports.LinkExternalOcticon = __webpack_require__(/*! ./icons/link-external.js */ \"./node_modules/@github/octicons-react/build/icons/link-external.js\").default;\nocticons['link-external'] = LinkExternalOcticon;\n\nvar Octicon = function (_React$Component) {\n _inherits(Octicon, _React$Component);\n\n function Octicon() {\n _classCallCheck(this, Octicon);\n\n return _possibleConstructorReturn(this, (Octicon.__proto__ || Object.getPrototypeOf(Octicon)).apply(this, arguments));\n }\n\n _createClass(Octicon, [{\n key: 'render',\n value: function render() {\n var name = this.props.name;\n\n var Octicon = octicons[name];\n if (Octicon) {\n return _react2.default.createElement(Octicon, this.props);\n } else {\n throw new Error('No such octicon: \"' + name + '!');\n }\n }\n }]);\n\n return Octicon;\n}(_react2.default.Component);\n\nexports.default = Octicon;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/index.js?"); - -/***/ }), - -/***/ "./node_modules/@github/octicons-react/build/utils/createIconComponent.js": -/*!********************************************************************************!*\ - !*** ./node_modules/@github/octicons-react/build/utils/createIconComponent.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar createIconComponent = function createIconComponent(_ref) {\n var content = _ref.content,\n options = _ref.options;\n\n\n var prepare = function prepare(props) {\n var ariaLabel = props.ariaLabel,\n medium = props.medium,\n large = props.large;\n\n var attributes = Object.assign({}, options);\n\n // Default octicon sizes to small\n attributes[\"height\"] = 16;\n\n // Read in small, medium, large props\n if (medium) {\n attributes[\"height\"] = 32;\n } else if (large) {\n attributes[\"height\"] = 64;\n }\n\n // Calculate the width based on height\n attributes[\"width\"] = attributes[\"height\"] * options[\"width\"] / options[\"height\"];\n\n // If the user passed in aria-label\n if (ariaLabel) {\n attributes[\"aria-label\"] = ariaLabel;\n attributes[\"role\"] = \"img\";\n\n // Un-hide the icon\n delete attributes[\"aria-hidden\"];\n }\n\n return attributes;\n };\n\n var alignment = function alignment(props) {\n var top = props.top,\n middle = props.middle;\n\n\n if (top) {\n return \"text-top\";\n } else if (middle) {\n return \"middle\";\n }\n return \"text-bottom\";\n };\n\n return function (props) {\n var svgStyle = {\n display: \"inline-block\",\n fill: \"currentColor\",\n verticalAlign: alignment(props),\n userSelect: \"none\"\n };\n\n return _react2.default.createElement(\n \"svg\",\n _extends({}, prepare(props), {\n style: svgStyle }),\n content\n );\n };\n};\n\nexports.default = createIconComponent;\n\n//# sourceURL=webpack:///./node_modules/@github/octicons-react/build/utils/createIconComponent.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/mdx/index.js": -/*!*******************************************!*\ - !*** ./node_modules/@mdx-js/mdx/index.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("const unified = __webpack_require__(/*! unified */ \"./node_modules/unified/index.js\")\nconst toMDAST = __webpack_require__(/*! remark-parse */ \"./node_modules/remark-parse/index.js\")\nconst squeeze = __webpack_require__(/*! remark-squeeze-paragraphs */ \"./node_modules/remark-squeeze-paragraphs/index.js\")\nconst toMDXAST = __webpack_require__(/*! @mdx-js/mdxast */ \"./node_modules/@mdx-js/mdxast/index.js\")\nconst mdxAstToMdxHast = __webpack_require__(/*! ./mdx-ast-to-mdx-hast */ \"./node_modules/@mdx-js/mdx/mdx-ast-to-mdx-hast.js\")\nconst mdxHastToJsx = __webpack_require__(/*! ./mdx-hast-to-jsx */ \"./node_modules/@mdx-js/mdx/mdx-hast-to-jsx.js\")\n\nfunction createMdxAstCompiler(options = {}) {\n const mdPlugins = options.mdPlugins || []\n\n options.blocks = options.blocks || ['[a-z]+(\\\\.){0,1}[a-z]']\n\n const fn = unified()\n .use(toMDAST, options)\n .use(squeeze, options)\n\n mdPlugins.forEach(plugin => fn.use(plugin, options))\n\n fn.use(toMDXAST, options).use(mdxAstToMdxHast, options)\n\n return fn\n}\n\nfunction applyHastPluginsAndCompilers(compiler, options = {}) {\n const hastPlugins = options.hastPlugins || []\n const compilers = options.compilers || []\n\n for(const hastPlugin of hastPlugins) {\n compiler.use(hastPlugin, options)\n }\n\n compiler.use(mdxHastToJsx, options)\n\n for(const compilerPlugin of compilers) {\n compiler.use(compilerPlugin, options)\n }\n\n return compiler\n}\n\nfunction createCompiler(options) {\n const compiler = createMdxAstCompiler(options)\n const compilerWithPlugins = applyHastPluginsAndCompilers(compiler, options)\n\n return compilerWithPlugins\n}\n\nfunction sync(mdx, options) {\n const compiler = createCompiler(options)\n\n const { contents } = compiler.processSync(mdx)\n\n return contents\n}\n\nasync function compile(mdx, options) {\n const compiler = createCompiler(options)\n\n const { contents } = await compiler.process(mdx)\n\n return contents\n}\n\ncompile.sync = sync\n\nmodule.exports = compile\nexports = compile\nexports.sync = sync\nexports.createMdxAstCompiler = createMdxAstCompiler\nexports.default = compile\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/mdx/index.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/mdx/mdx-ast-to-mdx-hast.js": -/*!*********************************************************!*\ - !*** ./node_modules/@mdx-js/mdx/mdx-ast-to-mdx-hast.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("const toHAST = __webpack_require__(/*! mdast-util-to-hast */ \"./node_modules/mdast-util-to-hast/index.js\")\n\nmodule.exports = function mdxAstToMdxHast() {\n return (tree, file) => {\n const handlers = {\n // `inlineCode` gets passed as `code` by the HAST transform.\n // This makes sure it ends up being `inlineCode`\n inlineCode(h, node) {\n return Object.assign({}, node, {\n type: 'element',\n tagName: 'inlineCode',\n properties: {},\n children: [\n {\n type: 'text',\n value: node.value\n }\n ]\n })\n },\n import(h, node) {\n return Object.assign({}, node, {\n type: 'import'\n })\n },\n export(h, node) {\n return Object.assign({}, node, {\n type: 'export'\n })\n },\n jsx(h, node) {\n return Object.assign({}, node, {\n type: 'jsx'\n })\n }\n }\n\n const hast = toHAST(tree, {\n handlers\n })\n\n return hast\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/mdx/mdx-ast-to-mdx-hast.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/mdx/mdx-hast-to-jsx.js": -/*!*****************************************************!*\ - !*** ./node_modules/@mdx-js/mdx/mdx-hast-to-jsx.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("function toJSX(node, parentNode = {}) {\n let children = ''\n\n if (node.type === 'root') {\n const importNodes = []\n const exportNodes = []\n const jsxNodes = []\n for (const childNode of node.children) {\n if (childNode.type === 'import') {\n importNodes.push(childNode)\n continue\n }\n\n if (childNode.type === 'export') {\n exportNodes.push(childNode)\n continue\n }\n\n jsxNodes.push(childNode)\n }\n\n return (\n importNodes.map(childNode => toJSX(childNode, node)).join('\\n') +\n '\\n' +\n exportNodes.map(childNode => toJSX(childNode, node)).join('\\n') +\n '\\n' +\n `export default ({components}) => ${jsxNodes\n .map(childNode => toJSX(childNode, node))\n .join('')}`\n )\n }\n\n // recursively walk through children\n if (node.children) {\n children = node.children.map(childNode => toJSX(childNode, node)).join('')\n }\n\n if (node.type === 'element') {\n let props = ''\n if (Object.keys(node.properties).length > 0) {\n props = JSON.stringify(node.properties)\n }\n\n return `${children}`\n }\n\n // Wraps all text nodes inside template string, so that we don't run into escaping issues.\n if(node.type === 'text') {\n return '{`' + node.value.replace(/`/g, '\\\\`').replace(/\\$/g, '\\\\$') + '`}'\n }\n\n if (\n node.type === 'import' ||\n node.type === 'export' ||\n node.type === 'jsx'\n ) {\n return node.value\n }\n}\n\nfunction compile() {\n this.Compiler = tree => {\n return toJSX(tree)\n }\n}\n\nmodule.exports = compile\nexports = compile\nexports.toJSX = toJSX\nexports.default = compile\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/mdx/mdx-hast-to-jsx.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/mdxast/index.js": -/*!**********************************************!*\ - !*** ./node_modules/@mdx-js/mdxast/index.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("const visit = __webpack_require__(/*! unist-util-visit */ \"./node_modules/unist-util-visit/index.js\")\n\nconst IMPORT_REGEX = /^import/\nconst EXPORT_REGEX = /^export/\nconst isImport = text => IMPORT_REGEX.test(text)\nconst isExport = text => EXPORT_REGEX.test(text)\nconst restringify = node => {\n if (node.type === 'link') {\n return node.url\n } else if (node.type === 'linkReference') {\n return `[${node.children.map(n => n.value)}]`\n } else {\n return node.value\n }\n}\n\nconst modules = tree => {\n return visit(tree, 'paragraph', (node, _i, parent) => {\n // `import` must be defined at the top level to be a real import\n if (parent.type !== 'root') {\n return node\n }\n\n // Get the text from the text node\n const { value } = node.children[0] || ''\n\n // Sets type to `export` in the AST if it's an export\n if (isExport(value)) {\n node.type = 'export'\n // Exports can have urls which remark-parse will turn into a child link node.\n node.value = node.children.map(restringify).join(' ')\n delete node.children\n return node\n }\n\n // Import paragraphs only have text in 1 node\n if (node.children.length !== 1) {\n return node\n }\n\n // Sets type to `import` in the AST if it's an import\n if (isImport(value)) {\n node.type = 'import'\n node.value = value\n delete node.children\n return node\n }\n\n return node\n })\n}\n\n// turns `html` nodes into `jsx` nodes\nconst jsx = tree => visit(tree, 'html', node => (node.type = 'jsx'))\n\nmodule.exports = options => tree => {\n modules(tree)\n jsx(tree)\n\n return tree\n}\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/mdxast/index.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/tag/dist/index.js": -/*!************************************************!*\ - !*** ./node_modules/@mdx-js/tag/dist/index.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MDXTag = undefined;\n\nvar _mdxTag = __webpack_require__(/*! ./mdx-tag */ \"./node_modules/@mdx-js/tag/dist/mdx-tag.js\");\n\nvar _mdxTag2 = _interopRequireDefault(_mdxTag);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.MDXTag = _mdxTag2.default;\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/tag/dist/index.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/tag/dist/mdx-tag.js": -/*!**************************************************!*\ - !*** ./node_modules/@mdx-js/tag/dist/mdx-tag.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _react = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = __webpack_require__(/*! prop-types */ \"./node_modules/@mdx-js/tag/node_modules/prop-types/index.js\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar defaults = {\n inlineCode: 'code',\n wrapper: 'div'\n};\n\nexports.default = function (props) {\n var name = props.name,\n parentName = props.parentName,\n _props$props = props.props,\n childProps = _props$props === undefined ? {} : _props$props,\n children = props.children,\n _props$components = props.components,\n components = _props$components === undefined ? {} : _props$components;\n\n var Component = components[parentName + '.' + name] || components[name] || defaults[name] || name;\n return _react2.default.createElement(\n Component,\n childProps,\n children\n );\n};\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/tag/dist/mdx-tag.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/tag/node_modules/prop-types/checkPropTypes.js": -/*!****************************************************************************!*\ - !*** ./node_modules/@mdx-js/tag/node_modules/prop-types/checkPropTypes.js ***! - \****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar printWarning = function() {};\n\nif (true) {\n var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ \"./node_modules/@mdx-js/tag/node_modules/prop-types/lib/ReactPropTypesSecret.js\");\n var loggedTypeFailures = {};\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (true) {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n )\n\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\nmodule.exports = checkPropTypes;\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/tag/node_modules/prop-types/checkPropTypes.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/tag/node_modules/prop-types/factoryWithTypeCheckers.js": -/*!*************************************************************************************!*\ - !*** ./node_modules/@mdx-js/tag/node_modules/prop-types/factoryWithTypeCheckers.js ***! - \*************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar assign = __webpack_require__(/*! object-assign */ \"./node_modules/object-assign/index.js\");\n\nvar ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ \"./node_modules/@mdx-js/tag/node_modules/prop-types/lib/ReactPropTypesSecret.js\");\nvar checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ \"./node_modules/@mdx-js/tag/node_modules/prop-types/checkPropTypes.js\");\n\nvar printWarning = function() {};\n\nif (true) {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (true) {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (\"development\" !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n true ? printWarning('Invalid argument supplied to oneOf, expected an instance of array.') : undefined;\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/tag/node_modules/prop-types/factoryWithTypeCheckers.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/tag/node_modules/prop-types/index.js": -/*!*******************************************************************!*\ - !*** ./node_modules/@mdx-js/tag/node_modules/prop-types/index.js ***! - \*******************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (true) {\n var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n Symbol.for &&\n Symbol.for('react.element')) ||\n 0xeac7;\n\n var isValidElement = function(object) {\n return typeof object === 'object' &&\n object !== null &&\n object.$$typeof === REACT_ELEMENT_TYPE;\n };\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ \"./node_modules/@mdx-js/tag/node_modules/prop-types/factoryWithTypeCheckers.js\")(isValidElement, throwOnDirectAccess);\n} else {}\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/tag/node_modules/prop-types/index.js?"); - -/***/ }), - -/***/ "./node_modules/@mdx-js/tag/node_modules/prop-types/lib/ReactPropTypesSecret.js": -/*!**************************************************************************************!*\ - !*** ./node_modules/@mdx-js/tag/node_modules/prop-types/lib/ReactPropTypesSecret.js ***! - \**************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n//# sourceURL=webpack:///./node_modules/@mdx-js/tag/node_modules/prop-types/lib/ReactPropTypesSecret.js?"); - -/***/ }), - -/***/ "./node_modules/acorn/dist/acorn.es.js": -/*!*********************************************!*\ - !*** ./node_modules/acorn/dist/acorn.es.js ***! - \*********************************************/ -/*! exports provided: version, parse, parseExpressionAt, tokenizer, parse_dammit, LooseParser, pluginsLoose, addLooseExports, Parser, plugins, defaultOptions, Position, SourceLocation, getLineInfo, Node, TokenType, tokTypes, keywordTypes, TokContext, tokContexts, isIdentifierChar, isIdentifierStart, Token, isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"version\", function() { return version; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parse\", function() { return parse; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parseExpressionAt\", function() { return parseExpressionAt; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tokenizer\", function() { return tokenizer; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"parse_dammit\", function() { return parse_dammit; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LooseParser\", function() { return LooseParser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"pluginsLoose\", function() { return pluginsLoose; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"addLooseExports\", function() { return addLooseExports; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Parser\", function() { return Parser; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"plugins\", function() { return plugins; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defaultOptions\", function() { return defaultOptions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Position\", function() { return Position; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"SourceLocation\", function() { return SourceLocation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getLineInfo\", function() { return getLineInfo; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Node\", function() { return Node; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TokenType\", function() { return TokenType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tokTypes\", function() { return types; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"keywordTypes\", function() { return keywords$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TokContext\", function() { return TokContext; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tokContexts\", function() { return types$1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isIdentifierChar\", function() { return isIdentifierChar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isIdentifierStart\", function() { return isIdentifierStart; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Token\", function() { return Token; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isNewLine\", function() { return isNewLine; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lineBreak\", function() { return lineBreak; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"lineBreakG\", function() { return lineBreakG; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nonASCIIwhitespace\", function() { return nonASCIIwhitespace; });\n// Reserved word lists for various dialects of the language\n\nvar reservedWords = {\n 3: \"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile\",\n 5: \"class enum extends super const export import\",\n 6: \"enum\",\n strict: \"implements interface let package private protected public static yield\",\n strictBind: \"eval arguments\"\n};\n\n// And the keywords\n\nvar ecma5AndLessKeywords = \"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this\";\n\nvar keywords = {\n 5: ecma5AndLessKeywords,\n 6: ecma5AndLessKeywords + \" const class extends export import super\"\n};\n\nvar keywordRelationalOperator = /^in(stanceof)?$/;\n\n// ## Character categories\n\n// Big ugly regular expressions that match characters in the\n// whitespace, identifier, and identifier-start categories. These\n// are only applied when a character is found to actually have a\n// code point above 128.\n// Generated by `bin/generate-identifier-regex.js`.\n\nvar nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0-\\u08b4\\u08b6-\\u08bd\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c88\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fd5\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7ae\\ua7b0-\\ua7b7\\ua7f7-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab65\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\nvar nonASCIIidentifierChars = \"\\u200c\\u200d\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u08d4-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c03\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0d01-\\u0d03\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf2-\\u1cf4\\u1cf8\\u1cf9\\u1dc0-\\u1df5\\u1dfb-\\u1dff\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua900-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n\nvar nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\nvar nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\nnonASCIIidentifierStartChars = nonASCIIidentifierChars = null;\n\n// These are a run-length and offset encoded representation of the\n// >0xffff code points that are a valid part of identifiers. The\n// offset starts at 0x10000, and each pair of numbers represents an\n// offset to the next range, and then a size of the range. They were\n// generated by bin/generate-identifier-regex.js\n\n// eslint-disable-next-line comma-spacing\nvar astralIdentifierStartCodes = [0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541];\n\n// eslint-disable-next-line comma-spacing\nvar astralIdentifierCodes = [509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];\n\n// This has a complexity linear to the value of the code. The\n// assumption is that looking up astral identifier characters is\n// rare.\nfunction isInAstralSet(code, set) {\n var pos = 0x10000;\n for (var i = 0; i < set.length; i += 2) {\n pos += set[i];\n if (pos > code) { return false }\n pos += set[i + 1];\n if (pos >= code) { return true }\n }\n}\n\n// Test whether a given character code starts an identifier.\n\nfunction isIdentifierStart(code, astral) {\n if (code < 65) { return code === 36 }\n if (code < 91) { return true }\n if (code < 97) { return code === 95 }\n if (code < 123) { return true }\n if (code <= 0xffff) { return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code)) }\n if (astral === false) { return false }\n return isInAstralSet(code, astralIdentifierStartCodes)\n}\n\n// Test whether a given character is part of an identifier.\n\nfunction isIdentifierChar(code, astral) {\n if (code < 48) { return code === 36 }\n if (code < 58) { return true }\n if (code < 65) { return false }\n if (code < 91) { return true }\n if (code < 97) { return code === 95 }\n if (code < 123) { return true }\n if (code <= 0xffff) { return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code)) }\n if (astral === false) { return false }\n return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes)\n}\n\n// ## Token types\n\n// The assignment of fine-grained, information-carrying type objects\n// allows the tokenizer to store the information it has about a\n// token in a way that is very cheap for the parser to look up.\n\n// All token type variables start with an underscore, to make them\n// easy to recognize.\n\n// The `beforeExpr` property is used to disambiguate between regular\n// expressions and divisions. It is set on all token types that can\n// be followed by an expression (thus, a slash after them would be a\n// regular expression).\n//\n// The `startsExpr` property is used to check if the token ends a\n// `yield` expression. It is set on all token types that either can\n// directly start an expression (like a quotation mark) or can\n// continue an expression (like the body of a string).\n//\n// `isLoop` marks a keyword as starting a loop, which is important\n// to know when parsing a label, in order to allow or disallow\n// continue jumps to that label.\n\nvar TokenType = function TokenType(label, conf) {\n if ( conf === void 0 ) conf = {};\n\n this.label = label;\n this.keyword = conf.keyword;\n this.beforeExpr = !!conf.beforeExpr;\n this.startsExpr = !!conf.startsExpr;\n this.isLoop = !!conf.isLoop;\n this.isAssign = !!conf.isAssign;\n this.prefix = !!conf.prefix;\n this.postfix = !!conf.postfix;\n this.binop = conf.binop || null;\n this.updateContext = null;\n};\n\nfunction binop(name, prec) {\n return new TokenType(name, {beforeExpr: true, binop: prec})\n}\nvar beforeExpr = {beforeExpr: true};\nvar startsExpr = {startsExpr: true};\n\n// Map keyword names to token types.\n\nvar keywords$1 = {};\n\n// Succinct definitions of keyword token types\nfunction kw(name, options) {\n if ( options === void 0 ) options = {};\n\n options.keyword = name;\n return keywords$1[name] = new TokenType(name, options)\n}\n\nvar types = {\n num: new TokenType(\"num\", startsExpr),\n regexp: new TokenType(\"regexp\", startsExpr),\n string: new TokenType(\"string\", startsExpr),\n name: new TokenType(\"name\", startsExpr),\n eof: new TokenType(\"eof\"),\n\n // Punctuation token types.\n bracketL: new TokenType(\"[\", {beforeExpr: true, startsExpr: true}),\n bracketR: new TokenType(\"]\"),\n braceL: new TokenType(\"{\", {beforeExpr: true, startsExpr: true}),\n braceR: new TokenType(\"}\"),\n parenL: new TokenType(\"(\", {beforeExpr: true, startsExpr: true}),\n parenR: new TokenType(\")\"),\n comma: new TokenType(\",\", beforeExpr),\n semi: new TokenType(\";\", beforeExpr),\n colon: new TokenType(\":\", beforeExpr),\n dot: new TokenType(\".\"),\n question: new TokenType(\"?\", beforeExpr),\n arrow: new TokenType(\"=>\", beforeExpr),\n template: new TokenType(\"template\"),\n invalidTemplate: new TokenType(\"invalidTemplate\"),\n ellipsis: new TokenType(\"...\", beforeExpr),\n backQuote: new TokenType(\"`\", startsExpr),\n dollarBraceL: new TokenType(\"${\", {beforeExpr: true, startsExpr: true}),\n\n // Operators. These carry several kinds of properties to help the\n // parser use them properly (the presence of these properties is\n // what categorizes them as operators).\n //\n // `binop`, when present, specifies that this operator is a binary\n // operator, and will refer to its precedence.\n //\n // `prefix` and `postfix` mark the operator as a prefix or postfix\n // unary operator.\n //\n // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as\n // binary operators with a very low precedence, that should result\n // in AssignmentExpression nodes.\n\n eq: new TokenType(\"=\", {beforeExpr: true, isAssign: true}),\n assign: new TokenType(\"_=\", {beforeExpr: true, isAssign: true}),\n incDec: new TokenType(\"++/--\", {prefix: true, postfix: true, startsExpr: true}),\n prefix: new TokenType(\"!/~\", {beforeExpr: true, prefix: true, startsExpr: true}),\n logicalOR: binop(\"||\", 1),\n logicalAND: binop(\"&&\", 2),\n bitwiseOR: binop(\"|\", 3),\n bitwiseXOR: binop(\"^\", 4),\n bitwiseAND: binop(\"&\", 5),\n equality: binop(\"==/!=/===/!==\", 6),\n relational: binop(\"/<=/>=\", 7),\n bitShift: binop(\"<>/>>>\", 8),\n plusMin: new TokenType(\"+/-\", {beforeExpr: true, binop: 9, prefix: true, startsExpr: true}),\n modulo: binop(\"%\", 10),\n star: binop(\"*\", 10),\n slash: binop(\"/\", 10),\n starstar: new TokenType(\"**\", {beforeExpr: true}),\n\n // Keyword token types.\n _break: kw(\"break\"),\n _case: kw(\"case\", beforeExpr),\n _catch: kw(\"catch\"),\n _continue: kw(\"continue\"),\n _debugger: kw(\"debugger\"),\n _default: kw(\"default\", beforeExpr),\n _do: kw(\"do\", {isLoop: true, beforeExpr: true}),\n _else: kw(\"else\", beforeExpr),\n _finally: kw(\"finally\"),\n _for: kw(\"for\", {isLoop: true}),\n _function: kw(\"function\", startsExpr),\n _if: kw(\"if\"),\n _return: kw(\"return\", beforeExpr),\n _switch: kw(\"switch\"),\n _throw: kw(\"throw\", beforeExpr),\n _try: kw(\"try\"),\n _var: kw(\"var\"),\n _const: kw(\"const\"),\n _while: kw(\"while\", {isLoop: true}),\n _with: kw(\"with\"),\n _new: kw(\"new\", {beforeExpr: true, startsExpr: true}),\n _this: kw(\"this\", startsExpr),\n _super: kw(\"super\", startsExpr),\n _class: kw(\"class\", startsExpr),\n _extends: kw(\"extends\", beforeExpr),\n _export: kw(\"export\"),\n _import: kw(\"import\"),\n _null: kw(\"null\", startsExpr),\n _true: kw(\"true\", startsExpr),\n _false: kw(\"false\", startsExpr),\n _in: kw(\"in\", {beforeExpr: true, binop: 7}),\n _instanceof: kw(\"instanceof\", {beforeExpr: true, binop: 7}),\n _typeof: kw(\"typeof\", {beforeExpr: true, prefix: true, startsExpr: true}),\n _void: kw(\"void\", {beforeExpr: true, prefix: true, startsExpr: true}),\n _delete: kw(\"delete\", {beforeExpr: true, prefix: true, startsExpr: true})\n};\n\n// Matches a whole line break (where CRLF is considered a single\n// line break). Used to count lines.\n\nvar lineBreak = /\\r\\n?|\\n|\\u2028|\\u2029/;\nvar lineBreakG = new RegExp(lineBreak.source, \"g\");\n\nfunction isNewLine(code) {\n return code === 10 || code === 13 || code === 0x2028 || code === 0x2029\n}\n\nvar nonASCIIwhitespace = /[\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]/;\n\nvar skipWhiteSpace = /(?:\\s|\\/\\/.*|\\/\\*[^]*?\\*\\/)*/g;\n\nvar ref = Object.prototype;\nvar hasOwnProperty = ref.hasOwnProperty;\nvar toString = ref.toString;\n\n// Checks if an object has a property.\n\nfunction has(obj, propName) {\n return hasOwnProperty.call(obj, propName)\n}\n\nvar isArray = Array.isArray || (function (obj) { return (\n toString.call(obj) === \"[object Array]\"\n); });\n\n// These are used when `options.locations` is on, for the\n// `startLoc` and `endLoc` properties.\n\nvar Position = function Position(line, col) {\n this.line = line;\n this.column = col;\n};\n\nPosition.prototype.offset = function offset (n) {\n return new Position(this.line, this.column + n)\n};\n\nvar SourceLocation = function SourceLocation(p, start, end) {\n this.start = start;\n this.end = end;\n if (p.sourceFile !== null) { this.source = p.sourceFile; }\n};\n\n// The `getLineInfo` function is mostly useful when the\n// `locations` option is off (for performance reasons) and you\n// want to find the line/column position for a given character\n// offset. `input` should be the code string that the offset refers\n// into.\n\nfunction getLineInfo(input, offset) {\n for (var line = 1, cur = 0;;) {\n lineBreakG.lastIndex = cur;\n var match = lineBreakG.exec(input);\n if (match && match.index < offset) {\n ++line;\n cur = match.index + match[0].length;\n } else {\n return new Position(line, offset - cur)\n }\n }\n}\n\n// A second optional argument can be given to further configure\n// the parser process. These options are recognized:\n\nvar defaultOptions = {\n // `ecmaVersion` indicates the ECMAScript version to parse. Must\n // be either 3, 5, 6 (2015), 7 (2016), or 8 (2017). This influences support\n // for strict mode, the set of reserved words, and support for\n // new syntax features. The default is 7.\n ecmaVersion: 7,\n // `sourceType` indicates the mode the code should be parsed in.\n // Can be either `\"script\"` or `\"module\"`. This influences global\n // strict mode and parsing of `import` and `export` declarations.\n sourceType: \"script\",\n // `onInsertedSemicolon` can be a callback that will be called\n // when a semicolon is automatically inserted. It will be passed\n // th position of the comma as an offset, and if `locations` is\n // enabled, it is given the location as a `{line, column}` object\n // as second argument.\n onInsertedSemicolon: null,\n // `onTrailingComma` is similar to `onInsertedSemicolon`, but for\n // trailing commas.\n onTrailingComma: null,\n // By default, reserved words are only enforced if ecmaVersion >= 5.\n // Set `allowReserved` to a boolean value to explicitly turn this on\n // an off. When this option has the value \"never\", reserved words\n // and keywords can also not be used as property names.\n allowReserved: null,\n // When enabled, a return at the top level is not considered an\n // error.\n allowReturnOutsideFunction: false,\n // When enabled, import/export statements are not constrained to\n // appearing at the top of the program.\n allowImportExportEverywhere: false,\n // When enabled, hashbang directive in the beginning of file\n // is allowed and treated as a line comment.\n allowHashBang: false,\n // When `locations` is on, `loc` properties holding objects with\n // `start` and `end` properties in `{line, column}` form (with\n // line being 1-based and column 0-based) will be attached to the\n // nodes.\n locations: false,\n // A function can be passed as `onToken` option, which will\n // cause Acorn to call that function with object in the same\n // format as tokens returned from `tokenizer().getToken()`. Note\n // that you are not allowed to call the parser from the\n // callback—that will corrupt its internal state.\n onToken: null,\n // A function can be passed as `onComment` option, which will\n // cause Acorn to call that function with `(block, text, start,\n // end)` parameters whenever a comment is skipped. `block` is a\n // boolean indicating whether this is a block (`/* */`) comment,\n // `text` is the content of the comment, and `start` and `end` are\n // character offsets that denote the start and end of the comment.\n // When the `locations` option is on, two more parameters are\n // passed, the full `{line, column}` locations of the start and\n // end of the comments. Note that you are not allowed to call the\n // parser from the callback—that will corrupt its internal state.\n onComment: null,\n // Nodes have their start and end characters offsets recorded in\n // `start` and `end` properties (directly on the node, rather than\n // the `loc` object, which holds line/column data. To also add a\n // [semi-standardized][range] `range` property holding a `[start,\n // end]` array with the same numbers, set the `ranges` option to\n // `true`.\n //\n // [range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678\n ranges: false,\n // It is possible to parse multiple files into a single AST by\n // passing the tree produced by parsing the first file as\n // `program` option in subsequent parses. This will add the\n // toplevel forms of the parsed file to the `Program` (top) node\n // of an existing parse tree.\n program: null,\n // When `locations` is on, you can pass this to record the source\n // file in every node's `loc` object.\n sourceFile: null,\n // This value, if given, is stored in every node, whether\n // `locations` is on or off.\n directSourceFile: null,\n // When enabled, parenthesized expressions are represented by\n // (non-standard) ParenthesizedExpression nodes\n preserveParens: false,\n plugins: {}\n};\n\n// Interpret and default an options object\n\nfunction getOptions(opts) {\n var options = {};\n\n for (var opt in defaultOptions)\n { options[opt] = opts && has(opts, opt) ? opts[opt] : defaultOptions[opt]; }\n\n if (options.ecmaVersion >= 2015)\n { options.ecmaVersion -= 2009; }\n\n if (options.allowReserved == null)\n { options.allowReserved = options.ecmaVersion < 5; }\n\n if (isArray(options.onToken)) {\n var tokens = options.onToken;\n options.onToken = function (token) { return tokens.push(token); };\n }\n if (isArray(options.onComment))\n { options.onComment = pushComment(options, options.onComment); }\n\n return options\n}\n\nfunction pushComment(options, array) {\n return function(block, text, start, end, startLoc, endLoc) {\n var comment = {\n type: block ? \"Block\" : \"Line\",\n value: text,\n start: start,\n end: end\n };\n if (options.locations)\n { comment.loc = new SourceLocation(this, startLoc, endLoc); }\n if (options.ranges)\n { comment.range = [start, end]; }\n array.push(comment);\n }\n}\n\n// Registered plugins\nvar plugins = {};\n\nfunction keywordRegexp(words) {\n return new RegExp(\"^(?:\" + words.replace(/ /g, \"|\") + \")$\")\n}\n\nvar Parser = function Parser(options, input, startPos) {\n this.options = options = getOptions(options);\n this.sourceFile = options.sourceFile;\n this.keywords = keywordRegexp(keywords[options.ecmaVersion >= 6 ? 6 : 5]);\n var reserved = \"\";\n if (!options.allowReserved) {\n for (var v = options.ecmaVersion;; v--)\n { if (reserved = reservedWords[v]) { break } }\n if (options.sourceType == \"module\") { reserved += \" await\"; }\n }\n this.reservedWords = keywordRegexp(reserved);\n var reservedStrict = (reserved ? reserved + \" \" : \"\") + reservedWords.strict;\n this.reservedWordsStrict = keywordRegexp(reservedStrict);\n this.reservedWordsStrictBind = keywordRegexp(reservedStrict + \" \" + reservedWords.strictBind);\n this.input = String(input);\n\n // Used to signal to callers of `readWord1` whether the word\n // contained any escape sequences. This is needed because words with\n // escape sequences must not be interpreted as keywords.\n this.containsEsc = false;\n\n // Load plugins\n this.loadPlugins(options.plugins);\n\n // Set up token state\n\n // The current position of the tokenizer in the input.\n if (startPos) {\n this.pos = startPos;\n this.lineStart = this.input.lastIndexOf(\"\\n\", startPos - 1) + 1;\n this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length;\n } else {\n this.pos = this.lineStart = 0;\n this.curLine = 1;\n }\n\n // Properties of the current token:\n // Its type\n this.type = types.eof;\n // For tokens that include more information than their type, the value\n this.value = null;\n // Its start and end offset\n this.start = this.end = this.pos;\n // And, if locations are used, the {line, column} object\n // corresponding to those offsets\n this.startLoc = this.endLoc = this.curPosition();\n\n // Position information for the previous token\n this.lastTokEndLoc = this.lastTokStartLoc = null;\n this.lastTokStart = this.lastTokEnd = this.pos;\n\n // The context stack is used to superficially track syntactic\n // context to predict whether a regular expression is allowed in a\n // given position.\n this.context = this.initialContext();\n this.exprAllowed = true;\n\n // Figure out if it's a module code.\n this.inModule = options.sourceType === \"module\";\n this.strict = this.inModule || this.strictDirective(this.pos);\n\n // Used to signify the start of a potential arrow function\n this.potentialArrowAt = -1;\n\n // Flags to track whether we are in a function, a generator, an async function.\n this.inFunction = this.inGenerator = this.inAsync = false;\n // Positions to delayed-check that yield/await does not exist in default parameters.\n this.yieldPos = this.awaitPos = 0;\n // Labels in scope.\n this.labels = [];\n\n // If enabled, skip leading hashbang line.\n if (this.pos === 0 && options.allowHashBang && this.input.slice(0, 2) === \"#!\")\n { this.skipLineComment(2); }\n\n // Scope tracking for duplicate variable names (see scope.js)\n this.scopeStack = [];\n this.enterFunctionScope();\n};\n\n// DEPRECATED Kept for backwards compatibility until 3.0 in case a plugin uses them\nParser.prototype.isKeyword = function isKeyword (word) { return this.keywords.test(word) };\nParser.prototype.isReservedWord = function isReservedWord (word) { return this.reservedWords.test(word) };\n\nParser.prototype.extend = function extend (name, f) {\n this[name] = f(this[name]);\n};\n\nParser.prototype.loadPlugins = function loadPlugins (pluginConfigs) {\n var this$1 = this;\n\n for (var name in pluginConfigs) {\n var plugin = plugins[name];\n if (!plugin) { throw new Error(\"Plugin '\" + name + \"' not found\") }\n plugin(this$1, pluginConfigs[name]);\n }\n};\n\nParser.prototype.parse = function parse () {\n var node = this.options.program || this.startNode();\n this.nextToken();\n return this.parseTopLevel(node)\n};\n\nvar pp = Parser.prototype;\n\n// ## Parser utilities\n\nvar literal = /^(?:'((?:\\\\.|[^'])*?)'|\"((?:\\\\.|[^\"])*?)\"|;)/;\npp.strictDirective = function(start) {\n var this$1 = this;\n\n for (;;) {\n skipWhiteSpace.lastIndex = start;\n start += skipWhiteSpace.exec(this$1.input)[0].length;\n var match = literal.exec(this$1.input.slice(start));\n if (!match) { return false }\n if ((match[1] || match[2]) == \"use strict\") { return true }\n start += match[0].length;\n }\n};\n\n// Predicate that tests whether the next token is of the given\n// type, and if yes, consumes it as a side effect.\n\npp.eat = function(type) {\n if (this.type === type) {\n this.next();\n return true\n } else {\n return false\n }\n};\n\n// Tests whether parsed token is a contextual keyword.\n\npp.isContextual = function(name) {\n return this.type === types.name && this.value === name && !this.containsEsc\n};\n\n// Consumes contextual keyword if possible.\n\npp.eatContextual = function(name) {\n if (!this.isContextual(name)) { return false }\n this.next();\n return true\n};\n\n// Asserts that following token is given contextual keyword.\n\npp.expectContextual = function(name) {\n if (!this.eatContextual(name)) { this.unexpected(); }\n};\n\n// Test whether a semicolon can be inserted at the current position.\n\npp.canInsertSemicolon = function() {\n return this.type === types.eof ||\n this.type === types.braceR ||\n lineBreak.test(this.input.slice(this.lastTokEnd, this.start))\n};\n\npp.insertSemicolon = function() {\n if (this.canInsertSemicolon()) {\n if (this.options.onInsertedSemicolon)\n { this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc); }\n return true\n }\n};\n\n// Consume a semicolon, or, failing that, see if we are allowed to\n// pretend that there is a semicolon at this position.\n\npp.semicolon = function() {\n if (!this.eat(types.semi) && !this.insertSemicolon()) { this.unexpected(); }\n};\n\npp.afterTrailingComma = function(tokType, notNext) {\n if (this.type == tokType) {\n if (this.options.onTrailingComma)\n { this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc); }\n if (!notNext)\n { this.next(); }\n return true\n }\n};\n\n// Expect a token of a given type. If found, consume it, otherwise,\n// raise an unexpected token error.\n\npp.expect = function(type) {\n this.eat(type) || this.unexpected();\n};\n\n// Raise an unexpected token error.\n\npp.unexpected = function(pos) {\n this.raise(pos != null ? pos : this.start, \"Unexpected token\");\n};\n\nfunction DestructuringErrors() {\n this.shorthandAssign =\n this.trailingComma =\n this.parenthesizedAssign =\n this.parenthesizedBind =\n this.doubleProto =\n -1;\n}\n\npp.checkPatternErrors = function(refDestructuringErrors, isAssign) {\n if (!refDestructuringErrors) { return }\n if (refDestructuringErrors.trailingComma > -1)\n { this.raiseRecoverable(refDestructuringErrors.trailingComma, \"Comma is not permitted after the rest element\"); }\n var parens = isAssign ? refDestructuringErrors.parenthesizedAssign : refDestructuringErrors.parenthesizedBind;\n if (parens > -1) { this.raiseRecoverable(parens, \"Parenthesized pattern\"); }\n};\n\npp.checkExpressionErrors = function(refDestructuringErrors, andThrow) {\n if (!refDestructuringErrors) { return false }\n var shorthandAssign = refDestructuringErrors.shorthandAssign;\n var doubleProto = refDestructuringErrors.doubleProto;\n if (!andThrow) { return shorthandAssign >= 0 || doubleProto >= 0 }\n if (shorthandAssign >= 0)\n { this.raise(shorthandAssign, \"Shorthand property assignments are valid only in destructuring patterns\"); }\n if (doubleProto >= 0)\n { this.raiseRecoverable(doubleProto, \"Redefinition of __proto__ property\"); }\n};\n\npp.checkYieldAwaitInDefaultParams = function() {\n if (this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos))\n { this.raise(this.yieldPos, \"Yield expression cannot be a default value\"); }\n if (this.awaitPos)\n { this.raise(this.awaitPos, \"Await expression cannot be a default value\"); }\n};\n\npp.isSimpleAssignTarget = function(expr) {\n if (expr.type === \"ParenthesizedExpression\")\n { return this.isSimpleAssignTarget(expr.expression) }\n return expr.type === \"Identifier\" || expr.type === \"MemberExpression\"\n};\n\nvar pp$1 = Parser.prototype;\n\n// ### Statement parsing\n\n// Parse a program. Initializes the parser, reads any number of\n// statements, and wraps them in a Program node. Optionally takes a\n// `program` argument. If present, the statements will be appended\n// to its body instead of creating a new node.\n\npp$1.parseTopLevel = function(node) {\n var this$1 = this;\n\n var exports = {};\n if (!node.body) { node.body = []; }\n while (this.type !== types.eof) {\n var stmt = this$1.parseStatement(true, true, exports);\n node.body.push(stmt);\n }\n this.adaptDirectivePrologue(node.body);\n this.next();\n if (this.options.ecmaVersion >= 6) {\n node.sourceType = this.options.sourceType;\n }\n return this.finishNode(node, \"Program\")\n};\n\nvar loopLabel = {kind: \"loop\"};\nvar switchLabel = {kind: \"switch\"};\n\npp$1.isLet = function() {\n if (this.options.ecmaVersion < 6 || !this.isContextual(\"let\")) { return false }\n skipWhiteSpace.lastIndex = this.pos;\n var skip = skipWhiteSpace.exec(this.input);\n var next = this.pos + skip[0].length, nextCh = this.input.charCodeAt(next);\n if (nextCh === 91 || nextCh == 123) { return true } // '{' and '['\n if (isIdentifierStart(nextCh, true)) {\n var pos = next + 1;\n while (isIdentifierChar(this.input.charCodeAt(pos), true)) { ++pos; }\n var ident = this.input.slice(next, pos);\n if (!keywordRelationalOperator.test(ident)) { return true }\n }\n return false\n};\n\n// check 'async [no LineTerminator here] function'\n// - 'async /*foo*/ function' is OK.\n// - 'async /*\\n*/ function' is invalid.\npp$1.isAsyncFunction = function() {\n if (this.options.ecmaVersion < 8 || !this.isContextual(\"async\"))\n { return false }\n\n skipWhiteSpace.lastIndex = this.pos;\n var skip = skipWhiteSpace.exec(this.input);\n var next = this.pos + skip[0].length;\n return !lineBreak.test(this.input.slice(this.pos, next)) &&\n this.input.slice(next, next + 8) === \"function\" &&\n (next + 8 == this.input.length || !isIdentifierChar(this.input.charAt(next + 8)))\n};\n\n// Parse a single statement.\n//\n// If expecting a statement and finding a slash operator, parse a\n// regular expression literal. This is to handle cases like\n// `if (foo) /blah/.exec(foo)`, where looking at the previous token\n// does not help.\n\npp$1.parseStatement = function(declaration, topLevel, exports) {\n var starttype = this.type, node = this.startNode(), kind;\n\n if (this.isLet()) {\n starttype = types._var;\n kind = \"let\";\n }\n\n // Most types of statements are recognized by the keyword they\n // start with. Many are trivial to parse, some require a bit of\n // complexity.\n\n switch (starttype) {\n case types._break: case types._continue: return this.parseBreakContinueStatement(node, starttype.keyword)\n case types._debugger: return this.parseDebuggerStatement(node)\n case types._do: return this.parseDoStatement(node)\n case types._for: return this.parseForStatement(node)\n case types._function:\n if (!declaration && this.options.ecmaVersion >= 6) { this.unexpected(); }\n return this.parseFunctionStatement(node, false)\n case types._class:\n if (!declaration) { this.unexpected(); }\n return this.parseClass(node, true)\n case types._if: return this.parseIfStatement(node)\n case types._return: return this.parseReturnStatement(node)\n case types._switch: return this.parseSwitchStatement(node)\n case types._throw: return this.parseThrowStatement(node)\n case types._try: return this.parseTryStatement(node)\n case types._const: case types._var:\n kind = kind || this.value;\n if (!declaration && kind != \"var\") { this.unexpected(); }\n return this.parseVarStatement(node, kind)\n case types._while: return this.parseWhileStatement(node)\n case types._with: return this.parseWithStatement(node)\n case types.braceL: return this.parseBlock()\n case types.semi: return this.parseEmptyStatement(node)\n case types._export:\n case types._import:\n if (!this.options.allowImportExportEverywhere) {\n if (!topLevel)\n { this.raise(this.start, \"'import' and 'export' may only appear at the top level\"); }\n if (!this.inModule)\n { this.raise(this.start, \"'import' and 'export' may appear only with 'sourceType: module'\"); }\n }\n return starttype === types._import ? this.parseImport(node) : this.parseExport(node, exports)\n\n // If the statement does not start with a statement keyword or a\n // brace, it's an ExpressionStatement or LabeledStatement. We\n // simply start parsing an expression, and afterwards, if the\n // next token is a colon and the expression was a simple\n // Identifier node, we switch to interpreting it as a label.\n default:\n if (this.isAsyncFunction()) {\n if (!declaration) { this.unexpected(); }\n this.next();\n return this.parseFunctionStatement(node, true)\n }\n\n var maybeName = this.value, expr = this.parseExpression();\n if (starttype === types.name && expr.type === \"Identifier\" && this.eat(types.colon))\n { return this.parseLabeledStatement(node, maybeName, expr) }\n else { return this.parseExpressionStatement(node, expr) }\n }\n};\n\npp$1.parseBreakContinueStatement = function(node, keyword) {\n var this$1 = this;\n\n var isBreak = keyword == \"break\";\n this.next();\n if (this.eat(types.semi) || this.insertSemicolon()) { node.label = null; }\n else if (this.type !== types.name) { this.unexpected(); }\n else {\n node.label = this.parseIdent();\n this.semicolon();\n }\n\n // Verify that there is an actual destination to break or\n // continue to.\n var i = 0;\n for (; i < this.labels.length; ++i) {\n var lab = this$1.labels[i];\n if (node.label == null || lab.name === node.label.name) {\n if (lab.kind != null && (isBreak || lab.kind === \"loop\")) { break }\n if (node.label && isBreak) { break }\n }\n }\n if (i === this.labels.length) { this.raise(node.start, \"Unsyntactic \" + keyword); }\n return this.finishNode(node, isBreak ? \"BreakStatement\" : \"ContinueStatement\")\n};\n\npp$1.parseDebuggerStatement = function(node) {\n this.next();\n this.semicolon();\n return this.finishNode(node, \"DebuggerStatement\")\n};\n\npp$1.parseDoStatement = function(node) {\n this.next();\n this.labels.push(loopLabel);\n node.body = this.parseStatement(false);\n this.labels.pop();\n this.expect(types._while);\n node.test = this.parseParenExpression();\n if (this.options.ecmaVersion >= 6)\n { this.eat(types.semi); }\n else\n { this.semicolon(); }\n return this.finishNode(node, \"DoWhileStatement\")\n};\n\n// Disambiguating between a `for` and a `for`/`in` or `for`/`of`\n// loop is non-trivial. Basically, we have to parse the init `var`\n// statement or expression, disallowing the `in` operator (see\n// the second parameter to `parseExpression`), and then check\n// whether the next token is `in` or `of`. When there is no init\n// part (semicolon immediately after the opening parenthesis), it\n// is a regular `for` loop.\n\npp$1.parseForStatement = function(node) {\n this.next();\n var awaitAt = (this.options.ecmaVersion >= 9 && this.inAsync && this.eatContextual(\"await\")) ? this.lastTokStart : -1;\n this.labels.push(loopLabel);\n this.enterLexicalScope();\n this.expect(types.parenL);\n if (this.type === types.semi) {\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n return this.parseFor(node, null)\n }\n var isLet = this.isLet();\n if (this.type === types._var || this.type === types._const || isLet) {\n var init$1 = this.startNode(), kind = isLet ? \"let\" : this.value;\n this.next();\n this.parseVar(init$1, true, kind);\n this.finishNode(init$1, \"VariableDeclaration\");\n if ((this.type === types._in || (this.options.ecmaVersion >= 6 && this.isContextual(\"of\"))) && init$1.declarations.length === 1 &&\n !(kind !== \"var\" && init$1.declarations[0].init)) {\n if (this.options.ecmaVersion >= 9) {\n if (this.type === types._in) {\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n } else { node.await = awaitAt > -1; }\n }\n return this.parseForIn(node, init$1)\n }\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n return this.parseFor(node, init$1)\n }\n var refDestructuringErrors = new DestructuringErrors;\n var init = this.parseExpression(true, refDestructuringErrors);\n if (this.type === types._in || (this.options.ecmaVersion >= 6 && this.isContextual(\"of\"))) {\n if (this.options.ecmaVersion >= 9) {\n if (this.type === types._in) {\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n } else { node.await = awaitAt > -1; }\n }\n this.toAssignable(init, false, refDestructuringErrors);\n this.checkLVal(init);\n return this.parseForIn(node, init)\n } else {\n this.checkExpressionErrors(refDestructuringErrors, true);\n }\n if (awaitAt > -1) { this.unexpected(awaitAt); }\n return this.parseFor(node, init)\n};\n\npp$1.parseFunctionStatement = function(node, isAsync) {\n this.next();\n return this.parseFunction(node, true, false, isAsync)\n};\n\npp$1.parseIfStatement = function(node) {\n this.next();\n node.test = this.parseParenExpression();\n // allow function declarations in branches, but only in non-strict mode\n node.consequent = this.parseStatement(!this.strict && this.type == types._function);\n node.alternate = this.eat(types._else) ? this.parseStatement(!this.strict && this.type == types._function) : null;\n return this.finishNode(node, \"IfStatement\")\n};\n\npp$1.parseReturnStatement = function(node) {\n if (!this.inFunction && !this.options.allowReturnOutsideFunction)\n { this.raise(this.start, \"'return' outside of function\"); }\n this.next();\n\n // In `return` (and `break`/`continue`), the keywords with\n // optional arguments, we eagerly look for a semicolon or the\n // possibility to insert one.\n\n if (this.eat(types.semi) || this.insertSemicolon()) { node.argument = null; }\n else { node.argument = this.parseExpression(); this.semicolon(); }\n return this.finishNode(node, \"ReturnStatement\")\n};\n\npp$1.parseSwitchStatement = function(node) {\n var this$1 = this;\n\n this.next();\n node.discriminant = this.parseParenExpression();\n node.cases = [];\n this.expect(types.braceL);\n this.labels.push(switchLabel);\n this.enterLexicalScope();\n\n // Statements under must be grouped (by label) in SwitchCase\n // nodes. `cur` is used to keep the node that we are currently\n // adding statements to.\n\n var cur;\n for (var sawDefault = false; this.type != types.braceR;) {\n if (this$1.type === types._case || this$1.type === types._default) {\n var isCase = this$1.type === types._case;\n if (cur) { this$1.finishNode(cur, \"SwitchCase\"); }\n node.cases.push(cur = this$1.startNode());\n cur.consequent = [];\n this$1.next();\n if (isCase) {\n cur.test = this$1.parseExpression();\n } else {\n if (sawDefault) { this$1.raiseRecoverable(this$1.lastTokStart, \"Multiple default clauses\"); }\n sawDefault = true;\n cur.test = null;\n }\n this$1.expect(types.colon);\n } else {\n if (!cur) { this$1.unexpected(); }\n cur.consequent.push(this$1.parseStatement(true));\n }\n }\n this.exitLexicalScope();\n if (cur) { this.finishNode(cur, \"SwitchCase\"); }\n this.next(); // Closing brace\n this.labels.pop();\n return this.finishNode(node, \"SwitchStatement\")\n};\n\npp$1.parseThrowStatement = function(node) {\n this.next();\n if (lineBreak.test(this.input.slice(this.lastTokEnd, this.start)))\n { this.raise(this.lastTokEnd, \"Illegal newline after throw\"); }\n node.argument = this.parseExpression();\n this.semicolon();\n return this.finishNode(node, \"ThrowStatement\")\n};\n\n// Reused empty array added for node fields that are always empty.\n\nvar empty = [];\n\npp$1.parseTryStatement = function(node) {\n this.next();\n node.block = this.parseBlock();\n node.handler = null;\n if (this.type === types._catch) {\n var clause = this.startNode();\n this.next();\n this.expect(types.parenL);\n clause.param = this.parseBindingAtom();\n this.enterLexicalScope();\n this.checkLVal(clause.param, \"let\");\n this.expect(types.parenR);\n clause.body = this.parseBlock(false);\n this.exitLexicalScope();\n node.handler = this.finishNode(clause, \"CatchClause\");\n }\n node.finalizer = this.eat(types._finally) ? this.parseBlock() : null;\n if (!node.handler && !node.finalizer)\n { this.raise(node.start, \"Missing catch or finally clause\"); }\n return this.finishNode(node, \"TryStatement\")\n};\n\npp$1.parseVarStatement = function(node, kind) {\n this.next();\n this.parseVar(node, false, kind);\n this.semicolon();\n return this.finishNode(node, \"VariableDeclaration\")\n};\n\npp$1.parseWhileStatement = function(node) {\n this.next();\n node.test = this.parseParenExpression();\n this.labels.push(loopLabel);\n node.body = this.parseStatement(false);\n this.labels.pop();\n return this.finishNode(node, \"WhileStatement\")\n};\n\npp$1.parseWithStatement = function(node) {\n if (this.strict) { this.raise(this.start, \"'with' in strict mode\"); }\n this.next();\n node.object = this.parseParenExpression();\n node.body = this.parseStatement(false);\n return this.finishNode(node, \"WithStatement\")\n};\n\npp$1.parseEmptyStatement = function(node) {\n this.next();\n return this.finishNode(node, \"EmptyStatement\")\n};\n\npp$1.parseLabeledStatement = function(node, maybeName, expr) {\n var this$1 = this;\n\n for (var i$1 = 0, list = this$1.labels; i$1 < list.length; i$1 += 1)\n {\n var label = list[i$1];\n\n if (label.name === maybeName)\n { this$1.raise(expr.start, \"Label '\" + maybeName + \"' is already declared\");\n } }\n var kind = this.type.isLoop ? \"loop\" : this.type === types._switch ? \"switch\" : null;\n for (var i = this.labels.length - 1; i >= 0; i--) {\n var label$1 = this$1.labels[i];\n if (label$1.statementStart == node.start) {\n // Update information about previous labels on this node\n label$1.statementStart = this$1.start;\n label$1.kind = kind;\n } else { break }\n }\n this.labels.push({name: maybeName, kind: kind, statementStart: this.start});\n node.body = this.parseStatement(true);\n if (node.body.type == \"ClassDeclaration\" ||\n node.body.type == \"VariableDeclaration\" && node.body.kind != \"var\" ||\n node.body.type == \"FunctionDeclaration\" && (this.strict || node.body.generator))\n { this.raiseRecoverable(node.body.start, \"Invalid labeled declaration\"); }\n this.labels.pop();\n node.label = expr;\n return this.finishNode(node, \"LabeledStatement\")\n};\n\npp$1.parseExpressionStatement = function(node, expr) {\n node.expression = expr;\n this.semicolon();\n return this.finishNode(node, \"ExpressionStatement\")\n};\n\n// Parse a semicolon-enclosed block of statements, handling `\"use\n// strict\"` declarations when `allowStrict` is true (used for\n// function bodies).\n\npp$1.parseBlock = function(createNewLexicalScope) {\n var this$1 = this;\n if ( createNewLexicalScope === void 0 ) createNewLexicalScope = true;\n\n var node = this.startNode();\n node.body = [];\n this.expect(types.braceL);\n if (createNewLexicalScope) {\n this.enterLexicalScope();\n }\n while (!this.eat(types.braceR)) {\n var stmt = this$1.parseStatement(true);\n node.body.push(stmt);\n }\n if (createNewLexicalScope) {\n this.exitLexicalScope();\n }\n return this.finishNode(node, \"BlockStatement\")\n};\n\n// Parse a regular `for` loop. The disambiguation code in\n// `parseStatement` will already have parsed the init statement or\n// expression.\n\npp$1.parseFor = function(node, init) {\n node.init = init;\n this.expect(types.semi);\n node.test = this.type === types.semi ? null : this.parseExpression();\n this.expect(types.semi);\n node.update = this.type === types.parenR ? null : this.parseExpression();\n this.expect(types.parenR);\n this.exitLexicalScope();\n node.body = this.parseStatement(false);\n this.labels.pop();\n return this.finishNode(node, \"ForStatement\")\n};\n\n// Parse a `for`/`in` and `for`/`of` loop, which are almost\n// same from parser's perspective.\n\npp$1.parseForIn = function(node, init) {\n var type = this.type === types._in ? \"ForInStatement\" : \"ForOfStatement\";\n this.next();\n if (type == \"ForInStatement\") {\n if (init.type === \"AssignmentPattern\" ||\n (init.type === \"VariableDeclaration\" && init.declarations[0].init != null &&\n (this.strict || init.declarations[0].id.type !== \"Identifier\")))\n { this.raise(init.start, \"Invalid assignment in for-in loop head\"); }\n }\n node.left = init;\n node.right = type == \"ForInStatement\" ? this.parseExpression() : this.parseMaybeAssign();\n this.expect(types.parenR);\n this.exitLexicalScope();\n node.body = this.parseStatement(false);\n this.labels.pop();\n return this.finishNode(node, type)\n};\n\n// Parse a list of variable declarations.\n\npp$1.parseVar = function(node, isFor, kind) {\n var this$1 = this;\n\n node.declarations = [];\n node.kind = kind;\n for (;;) {\n var decl = this$1.startNode();\n this$1.parseVarId(decl, kind);\n if (this$1.eat(types.eq)) {\n decl.init = this$1.parseMaybeAssign(isFor);\n } else if (kind === \"const\" && !(this$1.type === types._in || (this$1.options.ecmaVersion >= 6 && this$1.isContextual(\"of\")))) {\n this$1.unexpected();\n } else if (decl.id.type != \"Identifier\" && !(isFor && (this$1.type === types._in || this$1.isContextual(\"of\")))) {\n this$1.raise(this$1.lastTokEnd, \"Complex binding patterns require an initialization value\");\n } else {\n decl.init = null;\n }\n node.declarations.push(this$1.finishNode(decl, \"VariableDeclarator\"));\n if (!this$1.eat(types.comma)) { break }\n }\n return node\n};\n\npp$1.parseVarId = function(decl, kind) {\n decl.id = this.parseBindingAtom(kind);\n this.checkLVal(decl.id, kind, false);\n};\n\n// Parse a function declaration or literal (depending on the\n// `isStatement` parameter).\n\npp$1.parseFunction = function(node, isStatement, allowExpressionBody, isAsync) {\n this.initFunction(node);\n if (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !isAsync)\n { node.generator = this.eat(types.star); }\n if (this.options.ecmaVersion >= 8)\n { node.async = !!isAsync; }\n\n if (isStatement) {\n node.id = isStatement === \"nullableID\" && this.type != types.name ? null : this.parseIdent();\n if (node.id) {\n this.checkLVal(node.id, \"var\");\n }\n }\n\n var oldInGen = this.inGenerator, oldInAsync = this.inAsync,\n oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldInFunc = this.inFunction;\n this.inGenerator = node.generator;\n this.inAsync = node.async;\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.inFunction = true;\n this.enterFunctionScope();\n\n if (!isStatement)\n { node.id = this.type == types.name ? this.parseIdent() : null; }\n\n this.parseFunctionParams(node);\n this.parseFunctionBody(node, allowExpressionBody);\n\n this.inGenerator = oldInGen;\n this.inAsync = oldInAsync;\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.inFunction = oldInFunc;\n return this.finishNode(node, isStatement ? \"FunctionDeclaration\" : \"FunctionExpression\")\n};\n\npp$1.parseFunctionParams = function(node) {\n this.expect(types.parenL);\n node.params = this.parseBindingList(types.parenR, false, this.options.ecmaVersion >= 8);\n this.checkYieldAwaitInDefaultParams();\n};\n\n// Parse a class declaration or literal (depending on the\n// `isStatement` parameter).\n\npp$1.parseClass = function(node, isStatement) {\n var this$1 = this;\n\n this.next();\n\n this.parseClassId(node, isStatement);\n this.parseClassSuper(node);\n var classBody = this.startNode();\n var hadConstructor = false;\n classBody.body = [];\n this.expect(types.braceL);\n while (!this.eat(types.braceR)) {\n var member = this$1.parseClassMember(classBody);\n if (member && member.type === \"MethodDefinition\" && member.kind === \"constructor\") {\n if (hadConstructor) { this$1.raise(member.start, \"Duplicate constructor in the same class\"); }\n hadConstructor = true;\n }\n }\n node.body = this.finishNode(classBody, \"ClassBody\");\n return this.finishNode(node, isStatement ? \"ClassDeclaration\" : \"ClassExpression\")\n};\n\npp$1.parseClassMember = function(classBody) {\n var this$1 = this;\n\n if (this.eat(types.semi)) { return null }\n\n var method = this.startNode();\n var tryContextual = function (k, noLineBreak) {\n if ( noLineBreak === void 0 ) noLineBreak = false;\n\n var start = this$1.start, startLoc = this$1.startLoc;\n if (!this$1.eatContextual(k)) { return false }\n if (this$1.type !== types.parenL && (!noLineBreak || !this$1.canInsertSemicolon())) { return true }\n if (method.key) { this$1.unexpected(); }\n method.computed = false;\n method.key = this$1.startNodeAt(start, startLoc);\n method.key.name = k;\n this$1.finishNode(method.key, \"Identifier\");\n return false\n };\n\n method.kind = \"method\";\n method.static = tryContextual(\"static\");\n var isGenerator = this.eat(types.star);\n var isAsync = false;\n if (!isGenerator) {\n if (this.options.ecmaVersion >= 8 && tryContextual(\"async\", true)) {\n isAsync = true;\n isGenerator = this.options.ecmaVersion >= 9 && this.eat(types.star);\n } else if (tryContextual(\"get\")) {\n method.kind = \"get\";\n } else if (tryContextual(\"set\")) {\n method.kind = \"set\";\n }\n }\n if (!method.key) { this.parsePropertyName(method); }\n var key = method.key;\n if (!method.computed && !method.static && (key.type === \"Identifier\" && key.name === \"constructor\" ||\n key.type === \"Literal\" && key.value === \"constructor\")) {\n if (method.kind !== \"method\") { this.raise(key.start, \"Constructor can't have get/set modifier\"); }\n if (isGenerator) { this.raise(key.start, \"Constructor can't be a generator\"); }\n if (isAsync) { this.raise(key.start, \"Constructor can't be an async method\"); }\n method.kind = \"constructor\";\n } else if (method.static && key.type === \"Identifier\" && key.name === \"prototype\") {\n this.raise(key.start, \"Classes may not have a static property named prototype\");\n }\n this.parseClassMethod(classBody, method, isGenerator, isAsync);\n if (method.kind === \"get\" && method.value.params.length !== 0)\n { this.raiseRecoverable(method.value.start, \"getter should have no params\"); }\n if (method.kind === \"set\" && method.value.params.length !== 1)\n { this.raiseRecoverable(method.value.start, \"setter should have exactly one param\"); }\n if (method.kind === \"set\" && method.value.params[0].type === \"RestElement\")\n { this.raiseRecoverable(method.value.params[0].start, \"Setter cannot use rest params\"); }\n return method\n};\n\npp$1.parseClassMethod = function(classBody, method, isGenerator, isAsync) {\n method.value = this.parseMethod(isGenerator, isAsync);\n classBody.body.push(this.finishNode(method, \"MethodDefinition\"));\n};\n\npp$1.parseClassId = function(node, isStatement) {\n node.id = this.type === types.name ? this.parseIdent() : isStatement === true ? this.unexpected() : null;\n};\n\npp$1.parseClassSuper = function(node) {\n node.superClass = this.eat(types._extends) ? this.parseExprSubscripts() : null;\n};\n\n// Parses module export declaration.\n\npp$1.parseExport = function(node, exports) {\n var this$1 = this;\n\n this.next();\n // export * from '...'\n if (this.eat(types.star)) {\n this.expectContextual(\"from\");\n if (this.type !== types.string) { this.unexpected(); }\n node.source = this.parseExprAtom();\n this.semicolon();\n return this.finishNode(node, \"ExportAllDeclaration\")\n }\n if (this.eat(types._default)) { // export default ...\n this.checkExport(exports, \"default\", this.lastTokStart);\n var isAsync;\n if (this.type === types._function || (isAsync = this.isAsyncFunction())) {\n var fNode = this.startNode();\n this.next();\n if (isAsync) { this.next(); }\n node.declaration = this.parseFunction(fNode, \"nullableID\", false, isAsync);\n } else if (this.type === types._class) {\n var cNode = this.startNode();\n node.declaration = this.parseClass(cNode, \"nullableID\");\n } else {\n node.declaration = this.parseMaybeAssign();\n this.semicolon();\n }\n return this.finishNode(node, \"ExportDefaultDeclaration\")\n }\n // export var|const|let|function|class ...\n if (this.shouldParseExportStatement()) {\n node.declaration = this.parseStatement(true);\n if (node.declaration.type === \"VariableDeclaration\")\n { this.checkVariableExport(exports, node.declaration.declarations); }\n else\n { this.checkExport(exports, node.declaration.id.name, node.declaration.id.start); }\n node.specifiers = [];\n node.source = null;\n } else { // export { x, y as z } [from '...']\n node.declaration = null;\n node.specifiers = this.parseExportSpecifiers(exports);\n if (this.eatContextual(\"from\")) {\n if (this.type !== types.string) { this.unexpected(); }\n node.source = this.parseExprAtom();\n } else {\n // check for keywords used as local names\n for (var i = 0, list = node.specifiers; i < list.length; i += 1) {\n var spec = list[i];\n\n this$1.checkUnreserved(spec.local);\n }\n\n node.source = null;\n }\n this.semicolon();\n }\n return this.finishNode(node, \"ExportNamedDeclaration\")\n};\n\npp$1.checkExport = function(exports, name, pos) {\n if (!exports) { return }\n if (has(exports, name))\n { this.raiseRecoverable(pos, \"Duplicate export '\" + name + \"'\"); }\n exports[name] = true;\n};\n\npp$1.checkPatternExport = function(exports, pat) {\n var this$1 = this;\n\n var type = pat.type;\n if (type == \"Identifier\")\n { this.checkExport(exports, pat.name, pat.start); }\n else if (type == \"ObjectPattern\")\n { for (var i = 0, list = pat.properties; i < list.length; i += 1)\n {\n var prop = list[i];\n\n this$1.checkPatternExport(exports, prop);\n } }\n else if (type == \"ArrayPattern\")\n { for (var i$1 = 0, list$1 = pat.elements; i$1 < list$1.length; i$1 += 1) {\n var elt = list$1[i$1];\n\n if (elt) { this$1.checkPatternExport(exports, elt); }\n } }\n else if (type == \"Property\")\n { this.checkPatternExport(exports, pat.value); }\n else if (type == \"AssignmentPattern\")\n { this.checkPatternExport(exports, pat.left); }\n else if (type == \"RestElement\")\n { this.checkPatternExport(exports, pat.argument); }\n else if (type == \"ParenthesizedExpression\")\n { this.checkPatternExport(exports, pat.expression); }\n};\n\npp$1.checkVariableExport = function(exports, decls) {\n var this$1 = this;\n\n if (!exports) { return }\n for (var i = 0, list = decls; i < list.length; i += 1)\n {\n var decl = list[i];\n\n this$1.checkPatternExport(exports, decl.id);\n }\n};\n\npp$1.shouldParseExportStatement = function() {\n return this.type.keyword === \"var\" ||\n this.type.keyword === \"const\" ||\n this.type.keyword === \"class\" ||\n this.type.keyword === \"function\" ||\n this.isLet() ||\n this.isAsyncFunction()\n};\n\n// Parses a comma-separated list of module exports.\n\npp$1.parseExportSpecifiers = function(exports) {\n var this$1 = this;\n\n var nodes = [], first = true;\n // export { x, y as z } [from '...']\n this.expect(types.braceL);\n while (!this.eat(types.braceR)) {\n if (!first) {\n this$1.expect(types.comma);\n if (this$1.afterTrailingComma(types.braceR)) { break }\n } else { first = false; }\n\n var node = this$1.startNode();\n node.local = this$1.parseIdent(true);\n node.exported = this$1.eatContextual(\"as\") ? this$1.parseIdent(true) : node.local;\n this$1.checkExport(exports, node.exported.name, node.exported.start);\n nodes.push(this$1.finishNode(node, \"ExportSpecifier\"));\n }\n return nodes\n};\n\n// Parses import declaration.\n\npp$1.parseImport = function(node) {\n this.next();\n // import '...'\n if (this.type === types.string) {\n node.specifiers = empty;\n node.source = this.parseExprAtom();\n } else {\n node.specifiers = this.parseImportSpecifiers();\n this.expectContextual(\"from\");\n node.source = this.type === types.string ? this.parseExprAtom() : this.unexpected();\n }\n this.semicolon();\n return this.finishNode(node, \"ImportDeclaration\")\n};\n\n// Parses a comma-separated list of module imports.\n\npp$1.parseImportSpecifiers = function() {\n var this$1 = this;\n\n var nodes = [], first = true;\n if (this.type === types.name) {\n // import defaultObj, { x, y as z } from '...'\n var node = this.startNode();\n node.local = this.parseIdent();\n this.checkLVal(node.local, \"let\");\n nodes.push(this.finishNode(node, \"ImportDefaultSpecifier\"));\n if (!this.eat(types.comma)) { return nodes }\n }\n if (this.type === types.star) {\n var node$1 = this.startNode();\n this.next();\n this.expectContextual(\"as\");\n node$1.local = this.parseIdent();\n this.checkLVal(node$1.local, \"let\");\n nodes.push(this.finishNode(node$1, \"ImportNamespaceSpecifier\"));\n return nodes\n }\n this.expect(types.braceL);\n while (!this.eat(types.braceR)) {\n if (!first) {\n this$1.expect(types.comma);\n if (this$1.afterTrailingComma(types.braceR)) { break }\n } else { first = false; }\n\n var node$2 = this$1.startNode();\n node$2.imported = this$1.parseIdent(true);\n if (this$1.eatContextual(\"as\")) {\n node$2.local = this$1.parseIdent();\n } else {\n this$1.checkUnreserved(node$2.imported);\n node$2.local = node$2.imported;\n }\n this$1.checkLVal(node$2.local, \"let\");\n nodes.push(this$1.finishNode(node$2, \"ImportSpecifier\"));\n }\n return nodes\n};\n\n// Set `ExpressionStatement#directive` property for directive prologues.\npp$1.adaptDirectivePrologue = function(statements) {\n for (var i = 0; i < statements.length && this.isDirectiveCandidate(statements[i]); ++i) {\n statements[i].directive = statements[i].expression.raw.slice(1, -1);\n }\n};\npp$1.isDirectiveCandidate = function(statement) {\n return (\n statement.type === \"ExpressionStatement\" &&\n statement.expression.type === \"Literal\" &&\n typeof statement.expression.value === \"string\" &&\n // Reject parenthesized strings.\n (this.input[statement.start] === \"\\\"\" || this.input[statement.start] === \"'\")\n )\n};\n\nvar pp$2 = Parser.prototype;\n\n// Convert existing expression atom to assignable pattern\n// if possible.\n\npp$2.toAssignable = function(node, isBinding, refDestructuringErrors) {\n var this$1 = this;\n\n if (this.options.ecmaVersion >= 6 && node) {\n switch (node.type) {\n case \"Identifier\":\n if (this.inAsync && node.name === \"await\")\n { this.raise(node.start, \"Can not use 'await' as identifier inside an async function\"); }\n break\n\n case \"ObjectPattern\":\n case \"ArrayPattern\":\n case \"RestElement\":\n break\n\n case \"ObjectExpression\":\n node.type = \"ObjectPattern\";\n if (refDestructuringErrors) { this.checkPatternErrors(refDestructuringErrors, true); }\n for (var i = 0, list = node.properties; i < list.length; i += 1) {\n var prop = list[i];\n\n this$1.toAssignable(prop, isBinding);\n // Early error:\n // AssignmentRestProperty[Yield, Await] :\n // `...` DestructuringAssignmentTarget[Yield, Await]\n //\n // It is a Syntax Error if |DestructuringAssignmentTarget| is an |ArrayLiteral| or an |ObjectLiteral|.\n if (\n prop.type === \"RestElement\" &&\n (prop.argument.type === \"ArrayPattern\" || prop.argument.type === \"ObjectPattern\")\n ) {\n this$1.raise(prop.argument.start, \"Unexpected token\");\n }\n }\n break\n\n case \"Property\":\n // AssignmentProperty has type == \"Property\"\n if (node.kind !== \"init\") { this.raise(node.key.start, \"Object pattern can't contain getter or setter\"); }\n this.toAssignable(node.value, isBinding);\n break\n\n case \"ArrayExpression\":\n node.type = \"ArrayPattern\";\n if (refDestructuringErrors) { this.checkPatternErrors(refDestructuringErrors, true); }\n this.toAssignableList(node.elements, isBinding);\n break\n\n case \"SpreadElement\":\n node.type = \"RestElement\";\n this.toAssignable(node.argument, isBinding);\n if (node.argument.type === \"AssignmentPattern\")\n { this.raise(node.argument.start, \"Rest elements cannot have a default value\"); }\n break\n\n case \"AssignmentExpression\":\n if (node.operator !== \"=\") { this.raise(node.left.end, \"Only '=' operator can be used for specifying default value.\"); }\n node.type = \"AssignmentPattern\";\n delete node.operator;\n this.toAssignable(node.left, isBinding);\n // falls through to AssignmentPattern\n\n case \"AssignmentPattern\":\n break\n\n case \"ParenthesizedExpression\":\n this.toAssignable(node.expression, isBinding);\n break\n\n case \"MemberExpression\":\n if (!isBinding) { break }\n\n default:\n this.raise(node.start, \"Assigning to rvalue\");\n }\n } else if (refDestructuringErrors) { this.checkPatternErrors(refDestructuringErrors, true); }\n return node\n};\n\n// Convert list of expression atoms to binding list.\n\npp$2.toAssignableList = function(exprList, isBinding) {\n var this$1 = this;\n\n var end = exprList.length;\n for (var i = 0; i < end; i++) {\n var elt = exprList[i];\n if (elt) { this$1.toAssignable(elt, isBinding); }\n }\n if (end) {\n var last = exprList[end - 1];\n if (this.options.ecmaVersion === 6 && isBinding && last && last.type === \"RestElement\" && last.argument.type !== \"Identifier\")\n { this.unexpected(last.argument.start); }\n }\n return exprList\n};\n\n// Parses spread element.\n\npp$2.parseSpread = function(refDestructuringErrors) {\n var node = this.startNode();\n this.next();\n node.argument = this.parseMaybeAssign(false, refDestructuringErrors);\n return this.finishNode(node, \"SpreadElement\")\n};\n\npp$2.parseRestBinding = function() {\n var node = this.startNode();\n this.next();\n\n // RestElement inside of a function parameter must be an identifier\n if (this.options.ecmaVersion === 6 && this.type !== types.name)\n { this.unexpected(); }\n\n node.argument = this.parseBindingAtom();\n\n return this.finishNode(node, \"RestElement\")\n};\n\n// Parses lvalue (assignable) atom.\n\npp$2.parseBindingAtom = function() {\n if (this.options.ecmaVersion >= 6) {\n switch (this.type) {\n case types.bracketL:\n var node = this.startNode();\n this.next();\n node.elements = this.parseBindingList(types.bracketR, true, true);\n return this.finishNode(node, \"ArrayPattern\")\n\n case types.braceL:\n return this.parseObj(true)\n }\n }\n return this.parseIdent()\n};\n\npp$2.parseBindingList = function(close, allowEmpty, allowTrailingComma) {\n var this$1 = this;\n\n var elts = [], first = true;\n while (!this.eat(close)) {\n if (first) { first = false; }\n else { this$1.expect(types.comma); }\n if (allowEmpty && this$1.type === types.comma) {\n elts.push(null);\n } else if (allowTrailingComma && this$1.afterTrailingComma(close)) {\n break\n } else if (this$1.type === types.ellipsis) {\n var rest = this$1.parseRestBinding();\n this$1.parseBindingListItem(rest);\n elts.push(rest);\n if (this$1.type === types.comma) { this$1.raise(this$1.start, \"Comma is not permitted after the rest element\"); }\n this$1.expect(close);\n break\n } else {\n var elem = this$1.parseMaybeDefault(this$1.start, this$1.startLoc);\n this$1.parseBindingListItem(elem);\n elts.push(elem);\n }\n }\n return elts\n};\n\npp$2.parseBindingListItem = function(param) {\n return param\n};\n\n// Parses assignment pattern around given atom if possible.\n\npp$2.parseMaybeDefault = function(startPos, startLoc, left) {\n left = left || this.parseBindingAtom();\n if (this.options.ecmaVersion < 6 || !this.eat(types.eq)) { return left }\n var node = this.startNodeAt(startPos, startLoc);\n node.left = left;\n node.right = this.parseMaybeAssign();\n return this.finishNode(node, \"AssignmentPattern\")\n};\n\n// Verify that a node is an lval — something that can be assigned\n// to.\n// bindingType can be either:\n// 'var' indicating that the lval creates a 'var' binding\n// 'let' indicating that the lval creates a lexical ('let' or 'const') binding\n// 'none' indicating that the binding should be checked for illegal identifiers, but not for duplicate references\n\npp$2.checkLVal = function(expr, bindingType, checkClashes) {\n var this$1 = this;\n\n switch (expr.type) {\n case \"Identifier\":\n if (this.strict && this.reservedWordsStrictBind.test(expr.name))\n { this.raiseRecoverable(expr.start, (bindingType ? \"Binding \" : \"Assigning to \") + expr.name + \" in strict mode\"); }\n if (checkClashes) {\n if (has(checkClashes, expr.name))\n { this.raiseRecoverable(expr.start, \"Argument name clash\"); }\n checkClashes[expr.name] = true;\n }\n if (bindingType && bindingType !== \"none\") {\n if (\n bindingType === \"var\" && !this.canDeclareVarName(expr.name) ||\n bindingType !== \"var\" && !this.canDeclareLexicalName(expr.name)\n ) {\n this.raiseRecoverable(expr.start, (\"Identifier '\" + (expr.name) + \"' has already been declared\"));\n }\n if (bindingType === \"var\") {\n this.declareVarName(expr.name);\n } else {\n this.declareLexicalName(expr.name);\n }\n }\n break\n\n case \"MemberExpression\":\n if (bindingType) { this.raiseRecoverable(expr.start, \"Binding member expression\"); }\n break\n\n case \"ObjectPattern\":\n for (var i = 0, list = expr.properties; i < list.length; i += 1)\n {\n var prop = list[i];\n\n this$1.checkLVal(prop, bindingType, checkClashes);\n }\n break\n\n case \"Property\":\n // AssignmentProperty has type == \"Property\"\n this.checkLVal(expr.value, bindingType, checkClashes);\n break\n\n case \"ArrayPattern\":\n for (var i$1 = 0, list$1 = expr.elements; i$1 < list$1.length; i$1 += 1) {\n var elem = list$1[i$1];\n\n if (elem) { this$1.checkLVal(elem, bindingType, checkClashes); }\n }\n break\n\n case \"AssignmentPattern\":\n this.checkLVal(expr.left, bindingType, checkClashes);\n break\n\n case \"RestElement\":\n this.checkLVal(expr.argument, bindingType, checkClashes);\n break\n\n case \"ParenthesizedExpression\":\n this.checkLVal(expr.expression, bindingType, checkClashes);\n break\n\n default:\n this.raise(expr.start, (bindingType ? \"Binding\" : \"Assigning to\") + \" rvalue\");\n }\n};\n\n// A recursive descent parser operates by defining functions for all\n// syntactic elements, and recursively calling those, each function\n// advancing the input stream and returning an AST node. Precedence\n// of constructs (for example, the fact that `!x[1]` means `!(x[1])`\n// instead of `(!x)[1]` is handled by the fact that the parser\n// function that parses unary prefix operators is called first, and\n// in turn calls the function that parses `[]` subscripts — that\n// way, it'll receive the node for `x[1]` already parsed, and wraps\n// *that* in the unary operator node.\n//\n// Acorn uses an [operator precedence parser][opp] to handle binary\n// operator precedence, because it is much more compact than using\n// the technique outlined above, which uses different, nesting\n// functions to specify precedence, for all of the ten binary\n// precedence levels that JavaScript defines.\n//\n// [opp]: http://en.wikipedia.org/wiki/Operator-precedence_parser\n\nvar pp$3 = Parser.prototype;\n\n// Check if property name clashes with already added.\n// Object/class getters and setters are not allowed to clash —\n// either with each other or with an init property — and in\n// strict mode, init properties are also not allowed to be repeated.\n\npp$3.checkPropClash = function(prop, propHash, refDestructuringErrors) {\n if (this.options.ecmaVersion >= 9 && prop.type === \"SpreadElement\")\n { return }\n if (this.options.ecmaVersion >= 6 && (prop.computed || prop.method || prop.shorthand))\n { return }\n var key = prop.key;\n var name;\n switch (key.type) {\n case \"Identifier\": name = key.name; break\n case \"Literal\": name = String(key.value); break\n default: return\n }\n var kind = prop.kind;\n if (this.options.ecmaVersion >= 6) {\n if (name === \"__proto__\" && kind === \"init\") {\n if (propHash.proto) {\n if (refDestructuringErrors && refDestructuringErrors.doubleProto < 0) { refDestructuringErrors.doubleProto = key.start; }\n // Backwards-compat kludge. Can be removed in version 6.0\n else { this.raiseRecoverable(key.start, \"Redefinition of __proto__ property\"); }\n }\n propHash.proto = true;\n }\n return\n }\n name = \"$\" + name;\n var other = propHash[name];\n if (other) {\n var redefinition;\n if (kind === \"init\") {\n redefinition = this.strict && other.init || other.get || other.set;\n } else {\n redefinition = other.init || other[kind];\n }\n if (redefinition)\n { this.raiseRecoverable(key.start, \"Redefinition of property\"); }\n } else {\n other = propHash[name] = {\n init: false,\n get: false,\n set: false\n };\n }\n other[kind] = true;\n};\n\n// ### Expression parsing\n\n// These nest, from the most general expression type at the top to\n// 'atomic', nondivisible expression types at the bottom. Most of\n// the functions will simply let the function(s) below them parse,\n// and, *if* the syntactic construct they handle is present, wrap\n// the AST node that the inner parser gave them in another node.\n\n// Parse a full expression. The optional arguments are used to\n// forbid the `in` operator (in for loops initalization expressions)\n// and provide reference for storing '=' operator inside shorthand\n// property assignment in contexts where both object expression\n// and object pattern might appear (so it's possible to raise\n// delayed syntax error at correct position).\n\npp$3.parseExpression = function(noIn, refDestructuringErrors) {\n var this$1 = this;\n\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseMaybeAssign(noIn, refDestructuringErrors);\n if (this.type === types.comma) {\n var node = this.startNodeAt(startPos, startLoc);\n node.expressions = [expr];\n while (this.eat(types.comma)) { node.expressions.push(this$1.parseMaybeAssign(noIn, refDestructuringErrors)); }\n return this.finishNode(node, \"SequenceExpression\")\n }\n return expr\n};\n\n// Parse an assignment expression. This includes applications of\n// operators like `+=`.\n\npp$3.parseMaybeAssign = function(noIn, refDestructuringErrors, afterLeftParse) {\n if (this.inGenerator && this.isContextual(\"yield\")) { return this.parseYield() }\n\n var ownDestructuringErrors = false, oldParenAssign = -1, oldTrailingComma = -1;\n if (refDestructuringErrors) {\n oldParenAssign = refDestructuringErrors.parenthesizedAssign;\n oldTrailingComma = refDestructuringErrors.trailingComma;\n refDestructuringErrors.parenthesizedAssign = refDestructuringErrors.trailingComma = -1;\n } else {\n refDestructuringErrors = new DestructuringErrors;\n ownDestructuringErrors = true;\n }\n\n var startPos = this.start, startLoc = this.startLoc;\n if (this.type == types.parenL || this.type == types.name)\n { this.potentialArrowAt = this.start; }\n var left = this.parseMaybeConditional(noIn, refDestructuringErrors);\n if (afterLeftParse) { left = afterLeftParse.call(this, left, startPos, startLoc); }\n if (this.type.isAssign) {\n var node = this.startNodeAt(startPos, startLoc);\n node.operator = this.value;\n node.left = this.type === types.eq ? this.toAssignable(left, false, refDestructuringErrors) : left;\n if (!ownDestructuringErrors) { DestructuringErrors.call(refDestructuringErrors); }\n refDestructuringErrors.shorthandAssign = -1; // reset because shorthand default was used correctly\n this.checkLVal(left);\n this.next();\n node.right = this.parseMaybeAssign(noIn);\n return this.finishNode(node, \"AssignmentExpression\")\n } else {\n if (ownDestructuringErrors) { this.checkExpressionErrors(refDestructuringErrors, true); }\n }\n if (oldParenAssign > -1) { refDestructuringErrors.parenthesizedAssign = oldParenAssign; }\n if (oldTrailingComma > -1) { refDestructuringErrors.trailingComma = oldTrailingComma; }\n return left\n};\n\n// Parse a ternary conditional (`?:`) operator.\n\npp$3.parseMaybeConditional = function(noIn, refDestructuringErrors) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseExprOps(noIn, refDestructuringErrors);\n if (this.checkExpressionErrors(refDestructuringErrors)) { return expr }\n if (this.eat(types.question)) {\n var node = this.startNodeAt(startPos, startLoc);\n node.test = expr;\n node.consequent = this.parseMaybeAssign();\n this.expect(types.colon);\n node.alternate = this.parseMaybeAssign(noIn);\n return this.finishNode(node, \"ConditionalExpression\")\n }\n return expr\n};\n\n// Start the precedence parser.\n\npp$3.parseExprOps = function(noIn, refDestructuringErrors) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseMaybeUnary(refDestructuringErrors, false);\n if (this.checkExpressionErrors(refDestructuringErrors)) { return expr }\n return expr.start == startPos && expr.type === \"ArrowFunctionExpression\" ? expr : this.parseExprOp(expr, startPos, startLoc, -1, noIn)\n};\n\n// Parse binary operators with the operator precedence parsing\n// algorithm. `left` is the left-hand side of the operator.\n// `minPrec` provides context that allows the function to stop and\n// defer further parser to one of its callers when it encounters an\n// operator that has a lower precedence than the set it is parsing.\n\npp$3.parseExprOp = function(left, leftStartPos, leftStartLoc, minPrec, noIn) {\n var prec = this.type.binop;\n if (prec != null && (!noIn || this.type !== types._in)) {\n if (prec > minPrec) {\n var logical = this.type === types.logicalOR || this.type === types.logicalAND;\n var op = this.value;\n this.next();\n var startPos = this.start, startLoc = this.startLoc;\n var right = this.parseExprOp(this.parseMaybeUnary(null, false), startPos, startLoc, prec, noIn);\n var node = this.buildBinary(leftStartPos, leftStartLoc, left, right, op, logical);\n return this.parseExprOp(node, leftStartPos, leftStartLoc, minPrec, noIn)\n }\n }\n return left\n};\n\npp$3.buildBinary = function(startPos, startLoc, left, right, op, logical) {\n var node = this.startNodeAt(startPos, startLoc);\n node.left = left;\n node.operator = op;\n node.right = right;\n return this.finishNode(node, logical ? \"LogicalExpression\" : \"BinaryExpression\")\n};\n\n// Parse unary operators, both prefix and postfix.\n\npp$3.parseMaybeUnary = function(refDestructuringErrors, sawUnary) {\n var this$1 = this;\n\n var startPos = this.start, startLoc = this.startLoc, expr;\n if (this.inAsync && this.isContextual(\"await\")) {\n expr = this.parseAwait();\n sawUnary = true;\n } else if (this.type.prefix) {\n var node = this.startNode(), update = this.type === types.incDec;\n node.operator = this.value;\n node.prefix = true;\n this.next();\n node.argument = this.parseMaybeUnary(null, true);\n this.checkExpressionErrors(refDestructuringErrors, true);\n if (update) { this.checkLVal(node.argument); }\n else if (this.strict && node.operator === \"delete\" &&\n node.argument.type === \"Identifier\")\n { this.raiseRecoverable(node.start, \"Deleting local variable in strict mode\"); }\n else { sawUnary = true; }\n expr = this.finishNode(node, update ? \"UpdateExpression\" : \"UnaryExpression\");\n } else {\n expr = this.parseExprSubscripts(refDestructuringErrors);\n if (this.checkExpressionErrors(refDestructuringErrors)) { return expr }\n while (this.type.postfix && !this.canInsertSemicolon()) {\n var node$1 = this$1.startNodeAt(startPos, startLoc);\n node$1.operator = this$1.value;\n node$1.prefix = false;\n node$1.argument = expr;\n this$1.checkLVal(expr);\n this$1.next();\n expr = this$1.finishNode(node$1, \"UpdateExpression\");\n }\n }\n\n if (!sawUnary && this.eat(types.starstar))\n { return this.buildBinary(startPos, startLoc, expr, this.parseMaybeUnary(null, false), \"**\", false) }\n else\n { return expr }\n};\n\n// Parse call, dot, and `[]`-subscript expressions.\n\npp$3.parseExprSubscripts = function(refDestructuringErrors) {\n var startPos = this.start, startLoc = this.startLoc;\n var expr = this.parseExprAtom(refDestructuringErrors);\n var skipArrowSubscripts = expr.type === \"ArrowFunctionExpression\" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== \")\";\n if (this.checkExpressionErrors(refDestructuringErrors) || skipArrowSubscripts) { return expr }\n var result = this.parseSubscripts(expr, startPos, startLoc);\n if (refDestructuringErrors && result.type === \"MemberExpression\") {\n if (refDestructuringErrors.parenthesizedAssign >= result.start) { refDestructuringErrors.parenthesizedAssign = -1; }\n if (refDestructuringErrors.parenthesizedBind >= result.start) { refDestructuringErrors.parenthesizedBind = -1; }\n }\n return result\n};\n\npp$3.parseSubscripts = function(base, startPos, startLoc, noCalls) {\n var this$1 = this;\n\n var maybeAsyncArrow = this.options.ecmaVersion >= 8 && base.type === \"Identifier\" && base.name === \"async\" &&\n this.lastTokEnd == base.end && !this.canInsertSemicolon() && this.input.slice(base.start, base.end) === \"async\";\n for (var computed = (void 0);;) {\n if ((computed = this$1.eat(types.bracketL)) || this$1.eat(types.dot)) {\n var node = this$1.startNodeAt(startPos, startLoc);\n node.object = base;\n node.property = computed ? this$1.parseExpression() : this$1.parseIdent(true);\n node.computed = !!computed;\n if (computed) { this$1.expect(types.bracketR); }\n base = this$1.finishNode(node, \"MemberExpression\");\n } else if (!noCalls && this$1.eat(types.parenL)) {\n var refDestructuringErrors = new DestructuringErrors, oldYieldPos = this$1.yieldPos, oldAwaitPos = this$1.awaitPos;\n this$1.yieldPos = 0;\n this$1.awaitPos = 0;\n var exprList = this$1.parseExprList(types.parenR, this$1.options.ecmaVersion >= 8, false, refDestructuringErrors);\n if (maybeAsyncArrow && !this$1.canInsertSemicolon() && this$1.eat(types.arrow)) {\n this$1.checkPatternErrors(refDestructuringErrors, false);\n this$1.checkYieldAwaitInDefaultParams();\n this$1.yieldPos = oldYieldPos;\n this$1.awaitPos = oldAwaitPos;\n return this$1.parseArrowExpression(this$1.startNodeAt(startPos, startLoc), exprList, true)\n }\n this$1.checkExpressionErrors(refDestructuringErrors, true);\n this$1.yieldPos = oldYieldPos || this$1.yieldPos;\n this$1.awaitPos = oldAwaitPos || this$1.awaitPos;\n var node$1 = this$1.startNodeAt(startPos, startLoc);\n node$1.callee = base;\n node$1.arguments = exprList;\n base = this$1.finishNode(node$1, \"CallExpression\");\n } else if (this$1.type === types.backQuote) {\n var node$2 = this$1.startNodeAt(startPos, startLoc);\n node$2.tag = base;\n node$2.quasi = this$1.parseTemplate({isTagged: true});\n base = this$1.finishNode(node$2, \"TaggedTemplateExpression\");\n } else {\n return base\n }\n }\n};\n\n// Parse an atomic expression — either a single token that is an\n// expression, an expression started by a keyword like `function` or\n// `new`, or an expression wrapped in punctuation like `()`, `[]`,\n// or `{}`.\n\npp$3.parseExprAtom = function(refDestructuringErrors) {\n var node, canBeArrow = this.potentialArrowAt == this.start;\n switch (this.type) {\n case types._super:\n if (!this.inFunction)\n { this.raise(this.start, \"'super' outside of function or class\"); }\n node = this.startNode();\n this.next();\n // The `super` keyword can appear at below:\n // SuperProperty:\n // super [ Expression ]\n // super . IdentifierName\n // SuperCall:\n // super Arguments\n if (this.type !== types.dot && this.type !== types.bracketL && this.type !== types.parenL)\n { this.unexpected(); }\n return this.finishNode(node, \"Super\")\n\n case types._this:\n node = this.startNode();\n this.next();\n return this.finishNode(node, \"ThisExpression\")\n\n case types.name:\n var startPos = this.start, startLoc = this.startLoc, containsEsc = this.containsEsc;\n var id = this.parseIdent(this.type !== types.name);\n if (this.options.ecmaVersion >= 8 && !containsEsc && id.name === \"async\" && !this.canInsertSemicolon() && this.eat(types._function))\n { return this.parseFunction(this.startNodeAt(startPos, startLoc), false, false, true) }\n if (canBeArrow && !this.canInsertSemicolon()) {\n if (this.eat(types.arrow))\n { return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), [id], false) }\n if (this.options.ecmaVersion >= 8 && id.name === \"async\" && this.type === types.name && !containsEsc) {\n id = this.parseIdent();\n if (this.canInsertSemicolon() || !this.eat(types.arrow))\n { this.unexpected(); }\n return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), [id], true)\n }\n }\n return id\n\n case types.regexp:\n var value = this.value;\n node = this.parseLiteral(value.value);\n node.regex = {pattern: value.pattern, flags: value.flags};\n return node\n\n case types.num: case types.string:\n return this.parseLiteral(this.value)\n\n case types._null: case types._true: case types._false:\n node = this.startNode();\n node.value = this.type === types._null ? null : this.type === types._true;\n node.raw = this.type.keyword;\n this.next();\n return this.finishNode(node, \"Literal\")\n\n case types.parenL:\n var start = this.start, expr = this.parseParenAndDistinguishExpression(canBeArrow);\n if (refDestructuringErrors) {\n if (refDestructuringErrors.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(expr))\n { refDestructuringErrors.parenthesizedAssign = start; }\n if (refDestructuringErrors.parenthesizedBind < 0)\n { refDestructuringErrors.parenthesizedBind = start; }\n }\n return expr\n\n case types.bracketL:\n node = this.startNode();\n this.next();\n node.elements = this.parseExprList(types.bracketR, true, true, refDestructuringErrors);\n return this.finishNode(node, \"ArrayExpression\")\n\n case types.braceL:\n return this.parseObj(false, refDestructuringErrors)\n\n case types._function:\n node = this.startNode();\n this.next();\n return this.parseFunction(node, false)\n\n case types._class:\n return this.parseClass(this.startNode(), false)\n\n case types._new:\n return this.parseNew()\n\n case types.backQuote:\n return this.parseTemplate()\n\n default:\n this.unexpected();\n }\n};\n\npp$3.parseLiteral = function(value) {\n var node = this.startNode();\n node.value = value;\n node.raw = this.input.slice(this.start, this.end);\n this.next();\n return this.finishNode(node, \"Literal\")\n};\n\npp$3.parseParenExpression = function() {\n this.expect(types.parenL);\n var val = this.parseExpression();\n this.expect(types.parenR);\n return val\n};\n\npp$3.parseParenAndDistinguishExpression = function(canBeArrow) {\n var this$1 = this;\n\n var startPos = this.start, startLoc = this.startLoc, val, allowTrailingComma = this.options.ecmaVersion >= 8;\n if (this.options.ecmaVersion >= 6) {\n this.next();\n\n var innerStartPos = this.start, innerStartLoc = this.startLoc;\n var exprList = [], first = true, lastIsComma = false;\n var refDestructuringErrors = new DestructuringErrors, oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, spreadStart;\n this.yieldPos = 0;\n this.awaitPos = 0;\n while (this.type !== types.parenR) {\n first ? first = false : this$1.expect(types.comma);\n if (allowTrailingComma && this$1.afterTrailingComma(types.parenR, true)) {\n lastIsComma = true;\n break\n } else if (this$1.type === types.ellipsis) {\n spreadStart = this$1.start;\n exprList.push(this$1.parseParenItem(this$1.parseRestBinding()));\n if (this$1.type === types.comma) { this$1.raise(this$1.start, \"Comma is not permitted after the rest element\"); }\n break\n } else {\n exprList.push(this$1.parseMaybeAssign(false, refDestructuringErrors, this$1.parseParenItem));\n }\n }\n var innerEndPos = this.start, innerEndLoc = this.startLoc;\n this.expect(types.parenR);\n\n if (canBeArrow && !this.canInsertSemicolon() && this.eat(types.arrow)) {\n this.checkPatternErrors(refDestructuringErrors, false);\n this.checkYieldAwaitInDefaultParams();\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n return this.parseParenArrowList(startPos, startLoc, exprList)\n }\n\n if (!exprList.length || lastIsComma) { this.unexpected(this.lastTokStart); }\n if (spreadStart) { this.unexpected(spreadStart); }\n this.checkExpressionErrors(refDestructuringErrors, true);\n this.yieldPos = oldYieldPos || this.yieldPos;\n this.awaitPos = oldAwaitPos || this.awaitPos;\n\n if (exprList.length > 1) {\n val = this.startNodeAt(innerStartPos, innerStartLoc);\n val.expressions = exprList;\n this.finishNodeAt(val, \"SequenceExpression\", innerEndPos, innerEndLoc);\n } else {\n val = exprList[0];\n }\n } else {\n val = this.parseParenExpression();\n }\n\n if (this.options.preserveParens) {\n var par = this.startNodeAt(startPos, startLoc);\n par.expression = val;\n return this.finishNode(par, \"ParenthesizedExpression\")\n } else {\n return val\n }\n};\n\npp$3.parseParenItem = function(item) {\n return item\n};\n\npp$3.parseParenArrowList = function(startPos, startLoc, exprList) {\n return this.parseArrowExpression(this.startNodeAt(startPos, startLoc), exprList)\n};\n\n// New's precedence is slightly tricky. It must allow its argument to\n// be a `[]` or dot subscript expression, but not a call — at least,\n// not without wrapping it in parentheses. Thus, it uses the noCalls\n// argument to parseSubscripts to prevent it from consuming the\n// argument list.\n\nvar empty$1 = [];\n\npp$3.parseNew = function() {\n var node = this.startNode();\n var meta = this.parseIdent(true);\n if (this.options.ecmaVersion >= 6 && this.eat(types.dot)) {\n node.meta = meta;\n var containsEsc = this.containsEsc;\n node.property = this.parseIdent(true);\n if (node.property.name !== \"target\" || containsEsc)\n { this.raiseRecoverable(node.property.start, \"The only valid meta property for new is new.target\"); }\n if (!this.inFunction)\n { this.raiseRecoverable(node.start, \"new.target can only be used in functions\"); }\n return this.finishNode(node, \"MetaProperty\")\n }\n var startPos = this.start, startLoc = this.startLoc;\n node.callee = this.parseSubscripts(this.parseExprAtom(), startPos, startLoc, true);\n if (this.eat(types.parenL)) { node.arguments = this.parseExprList(types.parenR, this.options.ecmaVersion >= 8, false); }\n else { node.arguments = empty$1; }\n return this.finishNode(node, \"NewExpression\")\n};\n\n// Parse template expression.\n\npp$3.parseTemplateElement = function(ref) {\n var isTagged = ref.isTagged;\n\n var elem = this.startNode();\n if (this.type === types.invalidTemplate) {\n if (!isTagged) {\n this.raiseRecoverable(this.start, \"Bad escape sequence in untagged template literal\");\n }\n elem.value = {\n raw: this.value,\n cooked: null\n };\n } else {\n elem.value = {\n raw: this.input.slice(this.start, this.end).replace(/\\r\\n?/g, \"\\n\"),\n cooked: this.value\n };\n }\n this.next();\n elem.tail = this.type === types.backQuote;\n return this.finishNode(elem, \"TemplateElement\")\n};\n\npp$3.parseTemplate = function(ref) {\n var this$1 = this;\n if ( ref === void 0 ) ref = {};\n var isTagged = ref.isTagged; if ( isTagged === void 0 ) isTagged = false;\n\n var node = this.startNode();\n this.next();\n node.expressions = [];\n var curElt = this.parseTemplateElement({isTagged: isTagged});\n node.quasis = [curElt];\n while (!curElt.tail) {\n this$1.expect(types.dollarBraceL);\n node.expressions.push(this$1.parseExpression());\n this$1.expect(types.braceR);\n node.quasis.push(curElt = this$1.parseTemplateElement({isTagged: isTagged}));\n }\n this.next();\n return this.finishNode(node, \"TemplateLiteral\")\n};\n\npp$3.isAsyncProp = function(prop) {\n return !prop.computed && prop.key.type === \"Identifier\" && prop.key.name === \"async\" &&\n (this.type === types.name || this.type === types.num || this.type === types.string || this.type === types.bracketL || this.type.keyword || (this.options.ecmaVersion >= 9 && this.type === types.star)) &&\n !lineBreak.test(this.input.slice(this.lastTokEnd, this.start))\n};\n\n// Parse an object literal or binding pattern.\n\npp$3.parseObj = function(isPattern, refDestructuringErrors) {\n var this$1 = this;\n\n var node = this.startNode(), first = true, propHash = {};\n node.properties = [];\n this.next();\n while (!this.eat(types.braceR)) {\n if (!first) {\n this$1.expect(types.comma);\n if (this$1.afterTrailingComma(types.braceR)) { break }\n } else { first = false; }\n\n var prop = this$1.parseProperty(isPattern, refDestructuringErrors);\n if (!isPattern) { this$1.checkPropClash(prop, propHash, refDestructuringErrors); }\n node.properties.push(prop);\n }\n return this.finishNode(node, isPattern ? \"ObjectPattern\" : \"ObjectExpression\")\n};\n\npp$3.parseProperty = function(isPattern, refDestructuringErrors) {\n var prop = this.startNode(), isGenerator, isAsync, startPos, startLoc;\n if (this.options.ecmaVersion >= 9 && this.eat(types.ellipsis)) {\n if (isPattern) {\n prop.argument = this.parseIdent(false);\n if (this.type === types.comma) {\n this.raise(this.start, \"Comma is not permitted after the rest element\");\n }\n return this.finishNode(prop, \"RestElement\")\n }\n // To disallow parenthesized identifier via `this.toAssignable()`.\n if (this.type === types.parenL && refDestructuringErrors) {\n if (refDestructuringErrors.parenthesizedAssign < 0) {\n refDestructuringErrors.parenthesizedAssign = this.start;\n }\n if (refDestructuringErrors.parenthesizedBind < 0) {\n refDestructuringErrors.parenthesizedBind = this.start;\n }\n }\n // Parse argument.\n prop.argument = this.parseMaybeAssign(false, refDestructuringErrors);\n // To disallow trailing comma via `this.toAssignable()`.\n if (this.type === types.comma && refDestructuringErrors && refDestructuringErrors.trailingComma < 0) {\n refDestructuringErrors.trailingComma = this.start;\n }\n // Finish\n return this.finishNode(prop, \"SpreadElement\")\n }\n if (this.options.ecmaVersion >= 6) {\n prop.method = false;\n prop.shorthand = false;\n if (isPattern || refDestructuringErrors) {\n startPos = this.start;\n startLoc = this.startLoc;\n }\n if (!isPattern)\n { isGenerator = this.eat(types.star); }\n }\n var containsEsc = this.containsEsc;\n this.parsePropertyName(prop);\n if (!isPattern && !containsEsc && this.options.ecmaVersion >= 8 && !isGenerator && this.isAsyncProp(prop)) {\n isAsync = true;\n isGenerator = this.options.ecmaVersion >= 9 && this.eat(types.star);\n this.parsePropertyName(prop, refDestructuringErrors);\n } else {\n isAsync = false;\n }\n this.parsePropertyValue(prop, isPattern, isGenerator, isAsync, startPos, startLoc, refDestructuringErrors, containsEsc);\n return this.finishNode(prop, \"Property\")\n};\n\npp$3.parsePropertyValue = function(prop, isPattern, isGenerator, isAsync, startPos, startLoc, refDestructuringErrors, containsEsc) {\n if ((isGenerator || isAsync) && this.type === types.colon)\n { this.unexpected(); }\n\n if (this.eat(types.colon)) {\n prop.value = isPattern ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(false, refDestructuringErrors);\n prop.kind = \"init\";\n } else if (this.options.ecmaVersion >= 6 && this.type === types.parenL) {\n if (isPattern) { this.unexpected(); }\n prop.kind = \"init\";\n prop.method = true;\n prop.value = this.parseMethod(isGenerator, isAsync);\n } else if (!isPattern && !containsEsc &&\n this.options.ecmaVersion >= 5 && !prop.computed && prop.key.type === \"Identifier\" &&\n (prop.key.name === \"get\" || prop.key.name === \"set\") &&\n (this.type != types.comma && this.type != types.braceR)) {\n if (isGenerator || isAsync) { this.unexpected(); }\n prop.kind = prop.key.name;\n this.parsePropertyName(prop);\n prop.value = this.parseMethod(false);\n var paramCount = prop.kind === \"get\" ? 0 : 1;\n if (prop.value.params.length !== paramCount) {\n var start = prop.value.start;\n if (prop.kind === \"get\")\n { this.raiseRecoverable(start, \"getter should have no params\"); }\n else\n { this.raiseRecoverable(start, \"setter should have exactly one param\"); }\n } else {\n if (prop.kind === \"set\" && prop.value.params[0].type === \"RestElement\")\n { this.raiseRecoverable(prop.value.params[0].start, \"Setter cannot use rest params\"); }\n }\n } else if (this.options.ecmaVersion >= 6 && !prop.computed && prop.key.type === \"Identifier\") {\n this.checkUnreserved(prop.key);\n prop.kind = \"init\";\n if (isPattern) {\n prop.value = this.parseMaybeDefault(startPos, startLoc, prop.key);\n } else if (this.type === types.eq && refDestructuringErrors) {\n if (refDestructuringErrors.shorthandAssign < 0)\n { refDestructuringErrors.shorthandAssign = this.start; }\n prop.value = this.parseMaybeDefault(startPos, startLoc, prop.key);\n } else {\n prop.value = prop.key;\n }\n prop.shorthand = true;\n } else { this.unexpected(); }\n};\n\npp$3.parsePropertyName = function(prop) {\n if (this.options.ecmaVersion >= 6) {\n if (this.eat(types.bracketL)) {\n prop.computed = true;\n prop.key = this.parseMaybeAssign();\n this.expect(types.bracketR);\n return prop.key\n } else {\n prop.computed = false;\n }\n }\n return prop.key = this.type === types.num || this.type === types.string ? this.parseExprAtom() : this.parseIdent(true)\n};\n\n// Initialize empty function node.\n\npp$3.initFunction = function(node) {\n node.id = null;\n if (this.options.ecmaVersion >= 6) {\n node.generator = false;\n node.expression = false;\n }\n if (this.options.ecmaVersion >= 8)\n { node.async = false; }\n};\n\n// Parse object or class method.\n\npp$3.parseMethod = function(isGenerator, isAsync) {\n var node = this.startNode(), oldInGen = this.inGenerator, oldInAsync = this.inAsync,\n oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldInFunc = this.inFunction;\n\n this.initFunction(node);\n if (this.options.ecmaVersion >= 6)\n { node.generator = isGenerator; }\n if (this.options.ecmaVersion >= 8)\n { node.async = !!isAsync; }\n\n this.inGenerator = node.generator;\n this.inAsync = node.async;\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.inFunction = true;\n this.enterFunctionScope();\n\n this.expect(types.parenL);\n node.params = this.parseBindingList(types.parenR, false, this.options.ecmaVersion >= 8);\n this.checkYieldAwaitInDefaultParams();\n this.parseFunctionBody(node, false);\n\n this.inGenerator = oldInGen;\n this.inAsync = oldInAsync;\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.inFunction = oldInFunc;\n return this.finishNode(node, \"FunctionExpression\")\n};\n\n// Parse arrow function expression with given parameters.\n\npp$3.parseArrowExpression = function(node, params, isAsync) {\n var oldInGen = this.inGenerator, oldInAsync = this.inAsync,\n oldYieldPos = this.yieldPos, oldAwaitPos = this.awaitPos, oldInFunc = this.inFunction;\n\n this.enterFunctionScope();\n this.initFunction(node);\n if (this.options.ecmaVersion >= 8)\n { node.async = !!isAsync; }\n\n this.inGenerator = false;\n this.inAsync = node.async;\n this.yieldPos = 0;\n this.awaitPos = 0;\n this.inFunction = true;\n\n node.params = this.toAssignableList(params, true);\n this.parseFunctionBody(node, true);\n\n this.inGenerator = oldInGen;\n this.inAsync = oldInAsync;\n this.yieldPos = oldYieldPos;\n this.awaitPos = oldAwaitPos;\n this.inFunction = oldInFunc;\n return this.finishNode(node, \"ArrowFunctionExpression\")\n};\n\n// Parse function body and check parameters.\n\npp$3.parseFunctionBody = function(node, isArrowFunction) {\n var isExpression = isArrowFunction && this.type !== types.braceL;\n var oldStrict = this.strict, useStrict = false;\n\n if (isExpression) {\n node.body = this.parseMaybeAssign();\n node.expression = true;\n this.checkParams(node, false);\n } else {\n var nonSimple = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(node.params);\n if (!oldStrict || nonSimple) {\n useStrict = this.strictDirective(this.end);\n // If this is a strict mode function, verify that argument names\n // are not repeated, and it does not try to bind the words `eval`\n // or `arguments`.\n if (useStrict && nonSimple)\n { this.raiseRecoverable(node.start, \"Illegal 'use strict' directive in function with non-simple parameter list\"); }\n }\n // Start a new scope with regard to labels and the `inFunction`\n // flag (restore them to their old value afterwards).\n var oldLabels = this.labels;\n this.labels = [];\n if (useStrict) { this.strict = true; }\n\n // Add the params to varDeclaredNames to ensure that an error is thrown\n // if a let/const declaration in the function clashes with one of the params.\n this.checkParams(node, !oldStrict && !useStrict && !isArrowFunction && this.isSimpleParamList(node.params));\n node.body = this.parseBlock(false);\n node.expression = false;\n this.adaptDirectivePrologue(node.body.body);\n this.labels = oldLabels;\n }\n this.exitFunctionScope();\n\n if (this.strict && node.id) {\n // Ensure the function name isn't a forbidden identifier in strict mode, e.g. 'eval'\n this.checkLVal(node.id, \"none\");\n }\n this.strict = oldStrict;\n};\n\npp$3.isSimpleParamList = function(params) {\n for (var i = 0, list = params; i < list.length; i += 1)\n {\n var param = list[i];\n\n if (param.type !== \"Identifier\") { return false\n } }\n return true\n};\n\n// Checks function params for various disallowed patterns such as using \"eval\"\n// or \"arguments\" and duplicate parameters.\n\npp$3.checkParams = function(node, allowDuplicates) {\n var this$1 = this;\n\n var nameHash = {};\n for (var i = 0, list = node.params; i < list.length; i += 1)\n {\n var param = list[i];\n\n this$1.checkLVal(param, \"var\", allowDuplicates ? null : nameHash);\n }\n};\n\n// Parses a comma-separated list of expressions, and returns them as\n// an array. `close` is the token type that ends the list, and\n// `allowEmpty` can be turned on to allow subsequent commas with\n// nothing in between them to be parsed as `null` (which is needed\n// for array literals).\n\npp$3.parseExprList = function(close, allowTrailingComma, allowEmpty, refDestructuringErrors) {\n var this$1 = this;\n\n var elts = [], first = true;\n while (!this.eat(close)) {\n if (!first) {\n this$1.expect(types.comma);\n if (allowTrailingComma && this$1.afterTrailingComma(close)) { break }\n } else { first = false; }\n\n var elt = (void 0);\n if (allowEmpty && this$1.type === types.comma)\n { elt = null; }\n else if (this$1.type === types.ellipsis) {\n elt = this$1.parseSpread(refDestructuringErrors);\n if (refDestructuringErrors && this$1.type === types.comma && refDestructuringErrors.trailingComma < 0)\n { refDestructuringErrors.trailingComma = this$1.start; }\n } else {\n elt = this$1.parseMaybeAssign(false, refDestructuringErrors);\n }\n elts.push(elt);\n }\n return elts\n};\n\npp$3.checkUnreserved = function(ref) {\n var start = ref.start;\n var end = ref.end;\n var name = ref.name;\n\n if (this.inGenerator && name === \"yield\")\n { this.raiseRecoverable(start, \"Can not use 'yield' as identifier inside a generator\"); }\n if (this.inAsync && name === \"await\")\n { this.raiseRecoverable(start, \"Can not use 'await' as identifier inside an async function\"); }\n if (this.isKeyword(name))\n { this.raise(start, (\"Unexpected keyword '\" + name + \"'\")); }\n if (this.options.ecmaVersion < 6 &&\n this.input.slice(start, end).indexOf(\"\\\\\") != -1) { return }\n var re = this.strict ? this.reservedWordsStrict : this.reservedWords;\n if (re.test(name)) {\n if (!this.inAsync && name === \"await\")\n { this.raiseRecoverable(start, \"Can not use keyword 'await' outside an async function\"); }\n this.raiseRecoverable(start, (\"The keyword '\" + name + \"' is reserved\"));\n }\n};\n\n// Parse the next token as an identifier. If `liberal` is true (used\n// when parsing properties), it will also convert keywords into\n// identifiers.\n\npp$3.parseIdent = function(liberal, isBinding) {\n var node = this.startNode();\n if (liberal && this.options.allowReserved == \"never\") { liberal = false; }\n if (this.type === types.name) {\n node.name = this.value;\n } else if (this.type.keyword) {\n node.name = this.type.keyword;\n\n // To fix https://github.com/acornjs/acorn/issues/575\n // `class` and `function` keywords push new context into this.context.\n // But there is no chance to pop the context if the keyword is consumed as an identifier such as a property name.\n // If the previous token is a dot, this does not apply because the context-managing code already ignored the keyword\n if ((node.name === \"class\" || node.name === \"function\") &&\n (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46)) {\n this.context.pop();\n }\n } else {\n this.unexpected();\n }\n this.next();\n this.finishNode(node, \"Identifier\");\n if (!liberal) { this.checkUnreserved(node); }\n return node\n};\n\n// Parses yield expression inside generator.\n\npp$3.parseYield = function() {\n if (!this.yieldPos) { this.yieldPos = this.start; }\n\n var node = this.startNode();\n this.next();\n if (this.type == types.semi || this.canInsertSemicolon() || (this.type != types.star && !this.type.startsExpr)) {\n node.delegate = false;\n node.argument = null;\n } else {\n node.delegate = this.eat(types.star);\n node.argument = this.parseMaybeAssign();\n }\n return this.finishNode(node, \"YieldExpression\")\n};\n\npp$3.parseAwait = function() {\n if (!this.awaitPos) { this.awaitPos = this.start; }\n\n var node = this.startNode();\n this.next();\n node.argument = this.parseMaybeUnary(null, true);\n return this.finishNode(node, \"AwaitExpression\")\n};\n\nvar pp$4 = Parser.prototype;\n\n// This function is used to raise exceptions on parse errors. It\n// takes an offset integer (into the current `input`) to indicate\n// the location of the error, attaches the position to the end\n// of the error message, and then raises a `SyntaxError` with that\n// message.\n\npp$4.raise = function(pos, message) {\n var loc = getLineInfo(this.input, pos);\n message += \" (\" + loc.line + \":\" + loc.column + \")\";\n var err = new SyntaxError(message);\n err.pos = pos; err.loc = loc; err.raisedAt = this.pos;\n throw err\n};\n\npp$4.raiseRecoverable = pp$4.raise;\n\npp$4.curPosition = function() {\n if (this.options.locations) {\n return new Position(this.curLine, this.pos - this.lineStart)\n }\n};\n\nvar pp$5 = Parser.prototype;\n\n// Object.assign polyfill\nvar assign = Object.assign || function(target) {\n var sources = [], len = arguments.length - 1;\n while ( len-- > 0 ) sources[ len ] = arguments[ len + 1 ];\n\n for (var i = 0, list = sources; i < list.length; i += 1) {\n var source = list[i];\n\n for (var key in source) {\n if (has(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target\n};\n\n// The functions in this module keep track of declared variables in the current scope in order to detect duplicate variable names.\n\npp$5.enterFunctionScope = function() {\n // var: a hash of var-declared names in the current lexical scope\n // lexical: a hash of lexically-declared names in the current lexical scope\n // childVar: a hash of var-declared names in all child lexical scopes of the current lexical scope (within the current function scope)\n // parentLexical: a hash of lexically-declared names in all parent lexical scopes of the current lexical scope (within the current function scope)\n this.scopeStack.push({var: {}, lexical: {}, childVar: {}, parentLexical: {}});\n};\n\npp$5.exitFunctionScope = function() {\n this.scopeStack.pop();\n};\n\npp$5.enterLexicalScope = function() {\n var parentScope = this.scopeStack[this.scopeStack.length - 1];\n var childScope = {var: {}, lexical: {}, childVar: {}, parentLexical: {}};\n\n this.scopeStack.push(childScope);\n assign(childScope.parentLexical, parentScope.lexical, parentScope.parentLexical);\n};\n\npp$5.exitLexicalScope = function() {\n var childScope = this.scopeStack.pop();\n var parentScope = this.scopeStack[this.scopeStack.length - 1];\n\n assign(parentScope.childVar, childScope.var, childScope.childVar);\n};\n\n/**\n * A name can be declared with `var` if there are no variables with the same name declared with `let`/`const`\n * in the current lexical scope or any of the parent lexical scopes in this function.\n */\npp$5.canDeclareVarName = function(name) {\n var currentScope = this.scopeStack[this.scopeStack.length - 1];\n\n return !has(currentScope.lexical, name) && !has(currentScope.parentLexical, name)\n};\n\n/**\n * A name can be declared with `let`/`const` if there are no variables with the same name declared with `let`/`const`\n * in the current scope, and there are no variables with the same name declared with `var` in the current scope or in\n * any child lexical scopes in this function.\n */\npp$5.canDeclareLexicalName = function(name) {\n var currentScope = this.scopeStack[this.scopeStack.length - 1];\n\n return !has(currentScope.lexical, name) && !has(currentScope.var, name) && !has(currentScope.childVar, name)\n};\n\npp$5.declareVarName = function(name) {\n this.scopeStack[this.scopeStack.length - 1].var[name] = true;\n};\n\npp$5.declareLexicalName = function(name) {\n this.scopeStack[this.scopeStack.length - 1].lexical[name] = true;\n};\n\nvar Node = function Node(parser, pos, loc) {\n this.type = \"\";\n this.start = pos;\n this.end = 0;\n if (parser.options.locations)\n { this.loc = new SourceLocation(parser, loc); }\n if (parser.options.directSourceFile)\n { this.sourceFile = parser.options.directSourceFile; }\n if (parser.options.ranges)\n { this.range = [pos, 0]; }\n};\n\n// Start an AST node, attaching a start offset.\n\nvar pp$6 = Parser.prototype;\n\npp$6.startNode = function() {\n return new Node(this, this.start, this.startLoc)\n};\n\npp$6.startNodeAt = function(pos, loc) {\n return new Node(this, pos, loc)\n};\n\n// Finish an AST node, adding `type` and `end` properties.\n\nfunction finishNodeAt(node, type, pos, loc) {\n node.type = type;\n node.end = pos;\n if (this.options.locations)\n { node.loc.end = loc; }\n if (this.options.ranges)\n { node.range[1] = pos; }\n return node\n}\n\npp$6.finishNode = function(node, type) {\n return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc)\n};\n\n// Finish node at given position\n\npp$6.finishNodeAt = function(node, type, pos, loc) {\n return finishNodeAt.call(this, node, type, pos, loc)\n};\n\n// The algorithm used to determine whether a regexp can appear at a\n// given point in the program is loosely based on sweet.js' approach.\n// See https://github.com/mozilla/sweet.js/wiki/design\n\nvar TokContext = function TokContext(token, isExpr, preserveSpace, override, generator) {\n this.token = token;\n this.isExpr = !!isExpr;\n this.preserveSpace = !!preserveSpace;\n this.override = override;\n this.generator = !!generator;\n};\n\nvar types$1 = {\n b_stat: new TokContext(\"{\", false),\n b_expr: new TokContext(\"{\", true),\n b_tmpl: new TokContext(\"${\", false),\n p_stat: new TokContext(\"(\", false),\n p_expr: new TokContext(\"(\", true),\n q_tmpl: new TokContext(\"`\", true, true, function (p) { return p.tryReadTemplateToken(); }),\n f_stat: new TokContext(\"function\", false),\n f_expr: new TokContext(\"function\", true),\n f_expr_gen: new TokContext(\"function\", true, false, null, true),\n f_gen: new TokContext(\"function\", false, false, null, true)\n};\n\nvar pp$7 = Parser.prototype;\n\npp$7.initialContext = function() {\n return [types$1.b_stat]\n};\n\npp$7.braceIsBlock = function(prevType) {\n var parent = this.curContext();\n if (parent === types$1.f_expr || parent === types$1.f_stat)\n { return true }\n if (prevType === types.colon && (parent === types$1.b_stat || parent === types$1.b_expr))\n { return !parent.isExpr }\n\n // The check for `tt.name && exprAllowed` detects whether we are\n // after a `yield` or `of` construct. See the `updateContext` for\n // `tt.name`.\n if (prevType === types._return || prevType == types.name && this.exprAllowed)\n { return lineBreak.test(this.input.slice(this.lastTokEnd, this.start)) }\n if (prevType === types._else || prevType === types.semi || prevType === types.eof || prevType === types.parenR || prevType == types.arrow)\n { return true }\n if (prevType == types.braceL)\n { return parent === types$1.b_stat }\n if (prevType == types._var || prevType == types.name)\n { return false }\n return !this.exprAllowed\n};\n\npp$7.inGeneratorContext = function() {\n var this$1 = this;\n\n for (var i = this.context.length - 1; i >= 1; i--) {\n var context = this$1.context[i];\n if (context.token === \"function\")\n { return context.generator }\n }\n return false\n};\n\npp$7.updateContext = function(prevType) {\n var update, type = this.type;\n if (type.keyword && prevType == types.dot)\n { this.exprAllowed = false; }\n else if (update = type.updateContext)\n { update.call(this, prevType); }\n else\n { this.exprAllowed = type.beforeExpr; }\n};\n\n// Token-specific context update code\n\ntypes.parenR.updateContext = types.braceR.updateContext = function() {\n if (this.context.length == 1) {\n this.exprAllowed = true;\n return\n }\n var out = this.context.pop();\n if (out === types$1.b_stat && this.curContext().token === \"function\") {\n out = this.context.pop();\n }\n this.exprAllowed = !out.isExpr;\n};\n\ntypes.braceL.updateContext = function(prevType) {\n this.context.push(this.braceIsBlock(prevType) ? types$1.b_stat : types$1.b_expr);\n this.exprAllowed = true;\n};\n\ntypes.dollarBraceL.updateContext = function() {\n this.context.push(types$1.b_tmpl);\n this.exprAllowed = true;\n};\n\ntypes.parenL.updateContext = function(prevType) {\n var statementParens = prevType === types._if || prevType === types._for || prevType === types._with || prevType === types._while;\n this.context.push(statementParens ? types$1.p_stat : types$1.p_expr);\n this.exprAllowed = true;\n};\n\ntypes.incDec.updateContext = function() {\n // tokExprAllowed stays unchanged\n};\n\ntypes._function.updateContext = types._class.updateContext = function(prevType) {\n if (prevType.beforeExpr && prevType !== types.semi && prevType !== types._else &&\n !((prevType === types.colon || prevType === types.braceL) && this.curContext() === types$1.b_stat))\n { this.context.push(types$1.f_expr); }\n else\n { this.context.push(types$1.f_stat); }\n this.exprAllowed = false;\n};\n\ntypes.backQuote.updateContext = function() {\n if (this.curContext() === types$1.q_tmpl)\n { this.context.pop(); }\n else\n { this.context.push(types$1.q_tmpl); }\n this.exprAllowed = false;\n};\n\ntypes.star.updateContext = function(prevType) {\n if (prevType == types._function) {\n var index = this.context.length - 1;\n if (this.context[index] === types$1.f_expr)\n { this.context[index] = types$1.f_expr_gen; }\n else\n { this.context[index] = types$1.f_gen; }\n }\n this.exprAllowed = true;\n};\n\ntypes.name.updateContext = function(prevType) {\n var allowed = false;\n if (this.options.ecmaVersion >= 6) {\n if (this.value == \"of\" && !this.exprAllowed ||\n this.value == \"yield\" && this.inGeneratorContext())\n { allowed = true; }\n }\n this.exprAllowed = allowed;\n};\n\n// Object type used to represent tokens. Note that normally, tokens\n// simply exist as properties on the parser object. This is only\n// used for the onToken callback and the external tokenizer.\n\nvar Token = function Token(p) {\n this.type = p.type;\n this.value = p.value;\n this.start = p.start;\n this.end = p.end;\n if (p.options.locations)\n { this.loc = new SourceLocation(p, p.startLoc, p.endLoc); }\n if (p.options.ranges)\n { this.range = [p.start, p.end]; }\n};\n\n// ## Tokenizer\n\nvar pp$8 = Parser.prototype;\n\n// Are we running under Rhino?\nvar isRhino = typeof Packages == \"object\" && Object.prototype.toString.call(Packages) == \"[object JavaPackage]\";\n\n// Move to the next token\n\npp$8.next = function() {\n if (this.options.onToken)\n { this.options.onToken(new Token(this)); }\n\n this.lastTokEnd = this.end;\n this.lastTokStart = this.start;\n this.lastTokEndLoc = this.endLoc;\n this.lastTokStartLoc = this.startLoc;\n this.nextToken();\n};\n\npp$8.getToken = function() {\n this.next();\n return new Token(this)\n};\n\n// If we're in an ES6 environment, make parsers iterable\nif (typeof Symbol !== \"undefined\")\n { pp$8[Symbol.iterator] = function() {\n var this$1 = this;\n\n return {\n next: function () {\n var token = this$1.getToken();\n return {\n done: token.type === types.eof,\n value: token\n }\n }\n }\n }; }\n\n// Toggle strict mode. Re-reads the next number or string to please\n// pedantic tests (`\"use strict\"; 010;` should fail).\n\npp$8.curContext = function() {\n return this.context[this.context.length - 1]\n};\n\n// Read a single token, updating the parser object's token-related\n// properties.\n\npp$8.nextToken = function() {\n var curContext = this.curContext();\n if (!curContext || !curContext.preserveSpace) { this.skipSpace(); }\n\n this.start = this.pos;\n if (this.options.locations) { this.startLoc = this.curPosition(); }\n if (this.pos >= this.input.length) { return this.finishToken(types.eof) }\n\n if (curContext.override) { return curContext.override(this) }\n else { this.readToken(this.fullCharCodeAtPos()); }\n};\n\npp$8.readToken = function(code) {\n // Identifier or keyword. '\\uXXXX' sequences are allowed in\n // identifiers, so '\\' also dispatches to that.\n if (isIdentifierStart(code, this.options.ecmaVersion >= 6) || code === 92 /* '\\' */)\n { return this.readWord() }\n\n return this.getTokenFromCode(code)\n};\n\npp$8.fullCharCodeAtPos = function() {\n var code = this.input.charCodeAt(this.pos);\n if (code <= 0xd7ff || code >= 0xe000) { return code }\n var next = this.input.charCodeAt(this.pos + 1);\n return (code << 10) + next - 0x35fdc00\n};\n\npp$8.skipBlockComment = function() {\n var this$1 = this;\n\n var startLoc = this.options.onComment && this.curPosition();\n var start = this.pos, end = this.input.indexOf(\"*/\", this.pos += 2);\n if (end === -1) { this.raise(this.pos - 2, \"Unterminated comment\"); }\n this.pos = end + 2;\n if (this.options.locations) {\n lineBreakG.lastIndex = start;\n var match;\n while ((match = lineBreakG.exec(this.input)) && match.index < this.pos) {\n ++this$1.curLine;\n this$1.lineStart = match.index + match[0].length;\n }\n }\n if (this.options.onComment)\n { this.options.onComment(true, this.input.slice(start + 2, end), start, this.pos,\n startLoc, this.curPosition()); }\n};\n\npp$8.skipLineComment = function(startSkip) {\n var this$1 = this;\n\n var start = this.pos;\n var startLoc = this.options.onComment && this.curPosition();\n var ch = this.input.charCodeAt(this.pos += startSkip);\n while (this.pos < this.input.length && !isNewLine(ch)) {\n ch = this$1.input.charCodeAt(++this$1.pos);\n }\n if (this.options.onComment)\n { this.options.onComment(false, this.input.slice(start + startSkip, this.pos), start, this.pos,\n startLoc, this.curPosition()); }\n};\n\n// Called at the start of the parse and after every token. Skips\n// whitespace and comments, and.\n\npp$8.skipSpace = function() {\n var this$1 = this;\n\n loop: while (this.pos < this.input.length) {\n var ch = this$1.input.charCodeAt(this$1.pos);\n switch (ch) {\n case 32: case 160: // ' '\n ++this$1.pos;\n break\n case 13:\n if (this$1.input.charCodeAt(this$1.pos + 1) === 10) {\n ++this$1.pos;\n }\n case 10: case 8232: case 8233:\n ++this$1.pos;\n if (this$1.options.locations) {\n ++this$1.curLine;\n this$1.lineStart = this$1.pos;\n }\n break\n case 47: // '/'\n switch (this$1.input.charCodeAt(this$1.pos + 1)) {\n case 42: // '*'\n this$1.skipBlockComment();\n break\n case 47:\n this$1.skipLineComment(2);\n break\n default:\n break loop\n }\n break\n default:\n if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {\n ++this$1.pos;\n } else {\n break loop\n }\n }\n }\n};\n\n// Called at the end of every token. Sets `end`, `val`, and\n// maintains `context` and `exprAllowed`, and skips the space after\n// the token, so that the next one's `start` will point at the\n// right position.\n\npp$8.finishToken = function(type, val) {\n this.end = this.pos;\n if (this.options.locations) { this.endLoc = this.curPosition(); }\n var prevType = this.type;\n this.type = type;\n this.value = val;\n\n this.updateContext(prevType);\n};\n\n// ### Token reading\n\n// This is the function that is called to fetch the next token. It\n// is somewhat obscure, because it works in character codes rather\n// than characters, and because operator parsing has been inlined\n// into it.\n//\n// All in the name of speed.\n//\npp$8.readToken_dot = function() {\n var next = this.input.charCodeAt(this.pos + 1);\n if (next >= 48 && next <= 57) { return this.readNumber(true) }\n var next2 = this.input.charCodeAt(this.pos + 2);\n if (this.options.ecmaVersion >= 6 && next === 46 && next2 === 46) { // 46 = dot '.'\n this.pos += 3;\n return this.finishToken(types.ellipsis)\n } else {\n ++this.pos;\n return this.finishToken(types.dot)\n }\n};\n\npp$8.readToken_slash = function() { // '/'\n var next = this.input.charCodeAt(this.pos + 1);\n if (this.exprAllowed) { ++this.pos; return this.readRegexp() }\n if (next === 61) { return this.finishOp(types.assign, 2) }\n return this.finishOp(types.slash, 1)\n};\n\npp$8.readToken_mult_modulo_exp = function(code) { // '%*'\n var next = this.input.charCodeAt(this.pos + 1);\n var size = 1;\n var tokentype = code === 42 ? types.star : types.modulo;\n\n // exponentiation operator ** and **=\n if (this.options.ecmaVersion >= 7 && code == 42 && next === 42) {\n ++size;\n tokentype = types.starstar;\n next = this.input.charCodeAt(this.pos + 2);\n }\n\n if (next === 61) { return this.finishOp(types.assign, size + 1) }\n return this.finishOp(tokentype, size)\n};\n\npp$8.readToken_pipe_amp = function(code) { // '|&'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === code) { return this.finishOp(code === 124 ? types.logicalOR : types.logicalAND, 2) }\n if (next === 61) { return this.finishOp(types.assign, 2) }\n return this.finishOp(code === 124 ? types.bitwiseOR : types.bitwiseAND, 1)\n};\n\npp$8.readToken_caret = function() { // '^'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === 61) { return this.finishOp(types.assign, 2) }\n return this.finishOp(types.bitwiseXOR, 1)\n};\n\npp$8.readToken_plus_min = function(code) { // '+-'\n var next = this.input.charCodeAt(this.pos + 1);\n if (next === code) {\n if (next == 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) == 62 &&\n (this.lastTokEnd === 0 || lineBreak.test(this.input.slice(this.lastTokEnd, this.pos)))) {\n // A `-->` line comment\n this.skipLineComment(3);\n this.skipSpace();\n return this.nextToken()\n }\n return this.finishOp(types.incDec, 2)\n }\n if (next === 61) { return this.finishOp(types.assign, 2) }\n return this.finishOp(types.plusMin, 1)\n};\n\npp$8.readToken_lt_gt = function(code) { // '<>'\n var next = this.input.charCodeAt(this.pos + 1);\n var size = 1;\n if (next === code) {\n size = code === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2;\n if (this.input.charCodeAt(this.pos + size) === 61) { return this.finishOp(types.assign, size + 1) }\n return this.finishOp(types.bitShift, size)\n }\n if (next == 33 && code == 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) == 45 &&\n this.input.charCodeAt(this.pos + 3) == 45) {\n // ` me\n f = 1 --> col\n */\n if (type(col1) !== 'object') {\n col1 = chroma(col1);\n }\n if (type(col2) !== 'object') {\n col2 = chroma(col2);\n }\n for (o = 0, len = _interpolators.length; o < len; o++) {\n interpol = _interpolators[o];\n if (m === interpol[0]) {\n res = interpol[1](col1, col2, f, m);\n break;\n }\n }\n if (res == null) {\n throw \"color mode \" + m + \" is not supported\";\n }\n return res.alpha(col1.alpha() + f * (col2.alpha() - col1.alpha()));\n };\n\n chroma.interpolate = interpolate;\n\n Color.prototype.interpolate = function(col2, f, m) {\n return interpolate(this, col2, f, m);\n };\n\n chroma.mix = interpolate;\n\n Color.prototype.mix = Color.prototype.interpolate;\n\n _input.rgb = function() {\n var k, ref, results, v;\n ref = unpack(arguments);\n results = [];\n for (k in ref) {\n v = ref[k];\n results.push(v);\n }\n return results;\n };\n\n chroma.rgb = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['rgb']), function(){});\n };\n\n Color.prototype.rgb = function(round) {\n if (round == null) {\n round = true;\n }\n if (round) {\n return this._rgb.map(Math.round).slice(0, 3);\n } else {\n return this._rgb.slice(0, 3);\n }\n };\n\n Color.prototype.rgba = function(round) {\n if (round == null) {\n round = true;\n }\n if (!round) {\n return this._rgb.slice(0);\n }\n return [Math.round(this._rgb[0]), Math.round(this._rgb[1]), Math.round(this._rgb[2]), this._rgb[3]];\n };\n\n _guess_formats.push({\n p: 3,\n test: function(n) {\n var a;\n a = unpack(arguments);\n if (type(a) === 'array' && a.length === 3) {\n return 'rgb';\n }\n if (a.length === 4 && type(a[3]) === \"number\" && a[3] >= 0 && a[3] <= 1) {\n return 'rgb';\n }\n }\n });\n\n _input.lrgb = _input.rgb;\n\n interpolate_lrgb = function(col1, col2, f, m) {\n var xyz0, xyz1;\n xyz0 = col1._rgb;\n xyz1 = col2._rgb;\n return new Color(sqrt(pow(xyz0[0], 2) * (1 - f) + pow(xyz1[0], 2) * f), sqrt(pow(xyz0[1], 2) * (1 - f) + pow(xyz1[1], 2) * f), sqrt(pow(xyz0[2], 2) * (1 - f) + pow(xyz1[2], 2) * f), m);\n };\n\n _average_lrgb = function(colors) {\n var col, f, len, o, rgb, xyz;\n f = 1 / colors.length;\n xyz = [0, 0, 0, 0];\n for (o = 0, len = colors.length; o < len; o++) {\n col = colors[o];\n rgb = col._rgb;\n xyz[0] += pow(rgb[0], 2) * f;\n xyz[1] += pow(rgb[1], 2) * f;\n xyz[2] += pow(rgb[2], 2) * f;\n xyz[3] += rgb[3] * f;\n }\n xyz[0] = sqrt(xyz[0]);\n xyz[1] = sqrt(xyz[1]);\n xyz[2] = sqrt(xyz[2]);\n return new Color(xyz);\n };\n\n _interpolators.push(['lrgb', interpolate_lrgb]);\n\n chroma.average = function(colors, mode) {\n var A, alpha, c, cnt, dx, dy, first, i, l, len, o, xyz, xyz2;\n if (mode == null) {\n mode = 'rgb';\n }\n l = colors.length;\n colors = colors.map(function(c) {\n return chroma(c);\n });\n first = colors.splice(0, 1)[0];\n if (mode === 'lrgb') {\n return _average_lrgb(colors);\n }\n xyz = first.get(mode);\n cnt = [];\n dx = 0;\n dy = 0;\n for (i in xyz) {\n xyz[i] = xyz[i] || 0;\n cnt.push(isNaN(xyz[i]) ? 0 : 1);\n if (mode.charAt(i) === 'h' && !isNaN(xyz[i])) {\n A = xyz[i] / 180 * PI;\n dx += cos(A);\n dy += sin(A);\n }\n }\n alpha = first.alpha();\n for (o = 0, len = colors.length; o < len; o++) {\n c = colors[o];\n xyz2 = c.get(mode);\n alpha += c.alpha();\n for (i in xyz) {\n if (!isNaN(xyz2[i])) {\n cnt[i] += 1;\n if (mode.charAt(i) === 'h') {\n A = xyz2[i] / 180 * PI;\n dx += cos(A);\n dy += sin(A);\n } else {\n xyz[i] += xyz2[i];\n }\n }\n }\n }\n for (i in xyz) {\n if (mode.charAt(i) === 'h') {\n A = atan2(dy / cnt[i], dx / cnt[i]) / PI * 180;\n while (A < 0) {\n A += 360;\n }\n while (A >= 360) {\n A -= 360;\n }\n xyz[i] = A;\n } else {\n xyz[i] = xyz[i] / cnt[i];\n }\n }\n return chroma(xyz, mode).alpha(alpha / l);\n };\n\n hex2rgb = function(hex) {\n var a, b, g, r, rgb, u;\n if (hex.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/)) {\n if (hex.length === 4 || hex.length === 7) {\n hex = hex.substr(1);\n }\n if (hex.length === 3) {\n hex = hex.split(\"\");\n hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2];\n }\n u = parseInt(hex, 16);\n r = u >> 16;\n g = u >> 8 & 0xFF;\n b = u & 0xFF;\n return [r, g, b, 1];\n }\n if (hex.match(/^#?([A-Fa-f0-9]{8})$/)) {\n if (hex.length === 9) {\n hex = hex.substr(1);\n }\n u = parseInt(hex, 16);\n r = u >> 24 & 0xFF;\n g = u >> 16 & 0xFF;\n b = u >> 8 & 0xFF;\n a = round((u & 0xFF) / 0xFF * 100) / 100;\n return [r, g, b, a];\n }\n if ((_input.css != null) && (rgb = _input.css(hex))) {\n return rgb;\n }\n throw \"unknown color: \" + hex;\n };\n\n rgb2hex = function(channels, mode) {\n var a, b, g, hxa, r, str, u;\n if (mode == null) {\n mode = 'rgb';\n }\n r = channels[0], g = channels[1], b = channels[2], a = channels[3];\n r = Math.round(r);\n g = Math.round(g);\n b = Math.round(b);\n u = r << 16 | g << 8 | b;\n str = \"000000\" + u.toString(16);\n str = str.substr(str.length - 6);\n hxa = '0' + round(a * 255).toString(16);\n hxa = hxa.substr(hxa.length - 2);\n return \"#\" + (function() {\n switch (mode.toLowerCase()) {\n case 'rgba':\n return str + hxa;\n case 'argb':\n return hxa + str;\n default:\n return str;\n }\n })();\n };\n\n _input.hex = function(h) {\n return hex2rgb(h);\n };\n\n chroma.hex = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['hex']), function(){});\n };\n\n Color.prototype.hex = function(mode) {\n if (mode == null) {\n mode = 'rgb';\n }\n return rgb2hex(this._rgb, mode);\n };\n\n _guess_formats.push({\n p: 4,\n test: function(n) {\n if (arguments.length === 1 && type(n) === \"string\") {\n return 'hex';\n }\n }\n });\n\n hsl2rgb = function() {\n var args, b, c, g, h, i, l, o, r, ref, s, t1, t2, t3;\n args = unpack(arguments);\n h = args[0], s = args[1], l = args[2];\n if (s === 0) {\n r = g = b = l * 255;\n } else {\n t3 = [0, 0, 0];\n c = [0, 0, 0];\n t2 = l < 0.5 ? l * (1 + s) : l + s - l * s;\n t1 = 2 * l - t2;\n h /= 360;\n t3[0] = h + 1 / 3;\n t3[1] = h;\n t3[2] = h - 1 / 3;\n for (i = o = 0; o <= 2; i = ++o) {\n if (t3[i] < 0) {\n t3[i] += 1;\n }\n if (t3[i] > 1) {\n t3[i] -= 1;\n }\n if (6 * t3[i] < 1) {\n c[i] = t1 + (t2 - t1) * 6 * t3[i];\n } else if (2 * t3[i] < 1) {\n c[i] = t2;\n } else if (3 * t3[i] < 2) {\n c[i] = t1 + (t2 - t1) * ((2 / 3) - t3[i]) * 6;\n } else {\n c[i] = t1;\n }\n }\n ref = [round(c[0] * 255), round(c[1] * 255), round(c[2] * 255)], r = ref[0], g = ref[1], b = ref[2];\n }\n if (args.length > 3) {\n return [r, g, b, args[3]];\n } else {\n return [r, g, b];\n }\n };\n\n rgb2hsl = function(r, g, b) {\n var h, l, min, ref, s;\n if (r !== void 0 && r.length >= 3) {\n ref = r, r = ref[0], g = ref[1], b = ref[2];\n }\n r /= 255;\n g /= 255;\n b /= 255;\n min = Math.min(r, g, b);\n max = Math.max(r, g, b);\n l = (max + min) / 2;\n if (max === min) {\n s = 0;\n h = Number.NaN;\n } else {\n s = l < 0.5 ? (max - min) / (max + min) : (max - min) / (2 - max - min);\n }\n if (r === max) {\n h = (g - b) / (max - min);\n } else if (g === max) {\n h = 2 + (b - r) / (max - min);\n } else if (b === max) {\n h = 4 + (r - g) / (max - min);\n }\n h *= 60;\n if (h < 0) {\n h += 360;\n }\n return [h, s, l];\n };\n\n chroma.hsl = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['hsl']), function(){});\n };\n\n _input.hsl = hsl2rgb;\n\n Color.prototype.hsl = function() {\n return rgb2hsl(this._rgb);\n };\n\n hsv2rgb = function() {\n var args, b, f, g, h, i, p, q, r, ref, ref1, ref2, ref3, ref4, ref5, s, t, v;\n args = unpack(arguments);\n h = args[0], s = args[1], v = args[2];\n v *= 255;\n if (s === 0) {\n r = g = b = v;\n } else {\n if (h === 360) {\n h = 0;\n }\n if (h > 360) {\n h -= 360;\n }\n if (h < 0) {\n h += 360;\n }\n h /= 60;\n i = floor(h);\n f = h - i;\n p = v * (1 - s);\n q = v * (1 - s * f);\n t = v * (1 - s * (1 - f));\n switch (i) {\n case 0:\n ref = [v, t, p], r = ref[0], g = ref[1], b = ref[2];\n break;\n case 1:\n ref1 = [q, v, p], r = ref1[0], g = ref1[1], b = ref1[2];\n break;\n case 2:\n ref2 = [p, v, t], r = ref2[0], g = ref2[1], b = ref2[2];\n break;\n case 3:\n ref3 = [p, q, v], r = ref3[0], g = ref3[1], b = ref3[2];\n break;\n case 4:\n ref4 = [t, p, v], r = ref4[0], g = ref4[1], b = ref4[2];\n break;\n case 5:\n ref5 = [v, p, q], r = ref5[0], g = ref5[1], b = ref5[2];\n }\n }\n return [r, g, b, args.length > 3 ? args[3] : 1];\n };\n\n rgb2hsv = function() {\n var b, delta, g, h, min, r, ref, s, v;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n min = Math.min(r, g, b);\n max = Math.max(r, g, b);\n delta = max - min;\n v = max / 255.0;\n if (max === 0) {\n h = Number.NaN;\n s = 0;\n } else {\n s = delta / max;\n if (r === max) {\n h = (g - b) / delta;\n }\n if (g === max) {\n h = 2 + (b - r) / delta;\n }\n if (b === max) {\n h = 4 + (r - g) / delta;\n }\n h *= 60;\n if (h < 0) {\n h += 360;\n }\n }\n return [h, s, v];\n };\n\n chroma.hsv = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['hsv']), function(){});\n };\n\n _input.hsv = hsv2rgb;\n\n Color.prototype.hsv = function() {\n return rgb2hsv(this._rgb);\n };\n\n num2rgb = function(num) {\n var b, g, r;\n if (type(num) === \"number\" && num >= 0 && num <= 0xFFFFFF) {\n r = num >> 16;\n g = (num >> 8) & 0xFF;\n b = num & 0xFF;\n return [r, g, b, 1];\n }\n console.warn(\"unknown num color: \" + num);\n return [0, 0, 0, 1];\n };\n\n rgb2num = function() {\n var b, g, r, ref;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n return (r << 16) + (g << 8) + b;\n };\n\n chroma.num = function(num) {\n return new Color(num, 'num');\n };\n\n Color.prototype.num = function(mode) {\n if (mode == null) {\n mode = 'rgb';\n }\n return rgb2num(this._rgb, mode);\n };\n\n _input.num = num2rgb;\n\n _guess_formats.push({\n p: 1,\n test: function(n) {\n if (arguments.length === 1 && type(n) === \"number\" && n >= 0 && n <= 0xFFFFFF) {\n return 'num';\n }\n }\n });\n\n hcg2rgb = function() {\n var _c, _g, args, b, c, f, g, h, i, p, q, r, ref, ref1, ref2, ref3, ref4, ref5, t, v;\n args = unpack(arguments);\n h = args[0], c = args[1], _g = args[2];\n c = c / 100;\n g = g / 100 * 255;\n _c = c * 255;\n if (c === 0) {\n r = g = b = _g;\n } else {\n if (h === 360) {\n h = 0;\n }\n if (h > 360) {\n h -= 360;\n }\n if (h < 0) {\n h += 360;\n }\n h /= 60;\n i = floor(h);\n f = h - i;\n p = _g * (1 - c);\n q = p + _c * (1 - f);\n t = p + _c * f;\n v = p + _c;\n switch (i) {\n case 0:\n ref = [v, t, p], r = ref[0], g = ref[1], b = ref[2];\n break;\n case 1:\n ref1 = [q, v, p], r = ref1[0], g = ref1[1], b = ref1[2];\n break;\n case 2:\n ref2 = [p, v, t], r = ref2[0], g = ref2[1], b = ref2[2];\n break;\n case 3:\n ref3 = [p, q, v], r = ref3[0], g = ref3[1], b = ref3[2];\n break;\n case 4:\n ref4 = [t, p, v], r = ref4[0], g = ref4[1], b = ref4[2];\n break;\n case 5:\n ref5 = [v, p, q], r = ref5[0], g = ref5[1], b = ref5[2];\n }\n }\n return [r, g, b, args.length > 3 ? args[3] : 1];\n };\n\n rgb2hcg = function() {\n var _g, b, c, delta, g, h, min, r, ref;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n min = Math.min(r, g, b);\n max = Math.max(r, g, b);\n delta = max - min;\n c = delta * 100 / 255;\n _g = min / (255 - delta) * 100;\n if (delta === 0) {\n h = Number.NaN;\n } else {\n if (r === max) {\n h = (g - b) / delta;\n }\n if (g === max) {\n h = 2 + (b - r) / delta;\n }\n if (b === max) {\n h = 4 + (r - g) / delta;\n }\n h *= 60;\n if (h < 0) {\n h += 360;\n }\n }\n return [h, c, _g];\n };\n\n chroma.hcg = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['hcg']), function(){});\n };\n\n _input.hcg = hcg2rgb;\n\n Color.prototype.hcg = function() {\n return rgb2hcg(this._rgb);\n };\n\n css2rgb = function(css) {\n var aa, ab, hsl, i, m, o, rgb, w;\n css = css.toLowerCase();\n if ((chroma.colors != null) && chroma.colors[css]) {\n return hex2rgb(chroma.colors[css]);\n }\n if (m = css.match(/rgb\\(\\s*(\\-?\\d+),\\s*(\\-?\\d+)\\s*,\\s*(\\-?\\d+)\\s*\\)/)) {\n rgb = m.slice(1, 4);\n for (i = o = 0; o <= 2; i = ++o) {\n rgb[i] = +rgb[i];\n }\n rgb[3] = 1;\n } else if (m = css.match(/rgba\\(\\s*(\\-?\\d+),\\s*(\\-?\\d+)\\s*,\\s*(\\-?\\d+)\\s*,\\s*([01]|[01]?\\.\\d+)\\)/)) {\n rgb = m.slice(1, 5);\n for (i = w = 0; w <= 3; i = ++w) {\n rgb[i] = +rgb[i];\n }\n } else if (m = css.match(/rgb\\(\\s*(\\-?\\d+(?:\\.\\d+)?)%,\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*,\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*\\)/)) {\n rgb = m.slice(1, 4);\n for (i = aa = 0; aa <= 2; i = ++aa) {\n rgb[i] = round(rgb[i] * 2.55);\n }\n rgb[3] = 1;\n } else if (m = css.match(/rgba\\(\\s*(\\-?\\d+(?:\\.\\d+)?)%,\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*,\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*,\\s*([01]|[01]?\\.\\d+)\\)/)) {\n rgb = m.slice(1, 5);\n for (i = ab = 0; ab <= 2; i = ++ab) {\n rgb[i] = round(rgb[i] * 2.55);\n }\n rgb[3] = +rgb[3];\n } else if (m = css.match(/hsl\\(\\s*(\\-?\\d+(?:\\.\\d+)?),\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*,\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*\\)/)) {\n hsl = m.slice(1, 4);\n hsl[1] *= 0.01;\n hsl[2] *= 0.01;\n rgb = hsl2rgb(hsl);\n rgb[3] = 1;\n } else if (m = css.match(/hsla\\(\\s*(\\-?\\d+(?:\\.\\d+)?),\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*,\\s*(\\-?\\d+(?:\\.\\d+)?)%\\s*,\\s*([01]|[01]?\\.\\d+)\\)/)) {\n hsl = m.slice(1, 4);\n hsl[1] *= 0.01;\n hsl[2] *= 0.01;\n rgb = hsl2rgb(hsl);\n rgb[3] = +m[4];\n }\n return rgb;\n };\n\n rgb2css = function(rgba) {\n var mode;\n mode = rgba[3] < 1 ? 'rgba' : 'rgb';\n if (mode === 'rgb') {\n return mode + '(' + rgba.slice(0, 3).map(round).join(',') + ')';\n } else if (mode === 'rgba') {\n return mode + '(' + rgba.slice(0, 3).map(round).join(',') + ',' + rgba[3] + ')';\n } else {\n\n }\n };\n\n rnd = function(a) {\n return round(a * 100) / 100;\n };\n\n hsl2css = function(hsl, alpha) {\n var mode;\n mode = alpha < 1 ? 'hsla' : 'hsl';\n hsl[0] = rnd(hsl[0] || 0);\n hsl[1] = rnd(hsl[1] * 100) + '%';\n hsl[2] = rnd(hsl[2] * 100) + '%';\n if (mode === 'hsla') {\n hsl[3] = alpha;\n }\n return mode + '(' + hsl.join(',') + ')';\n };\n\n _input.css = function(h) {\n return css2rgb(h);\n };\n\n chroma.css = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['css']), function(){});\n };\n\n Color.prototype.css = function(mode) {\n if (mode == null) {\n mode = 'rgb';\n }\n if (mode.slice(0, 3) === 'rgb') {\n return rgb2css(this._rgb);\n } else if (mode.slice(0, 3) === 'hsl') {\n return hsl2css(this.hsl(), this.alpha());\n }\n };\n\n _input.named = function(name) {\n return hex2rgb(w3cx11[name]);\n };\n\n _guess_formats.push({\n p: 5,\n test: function(n) {\n if (arguments.length === 1 && (w3cx11[n] != null)) {\n return 'named';\n }\n }\n });\n\n Color.prototype.name = function(n) {\n var h, k;\n if (arguments.length) {\n if (w3cx11[n]) {\n this._rgb = hex2rgb(w3cx11[n]);\n }\n this._rgb[3] = 1;\n this;\n }\n h = this.hex();\n for (k in w3cx11) {\n if (h === w3cx11[k]) {\n return k;\n }\n }\n return h;\n };\n\n lch2lab = function() {\n\n /*\n Convert from a qualitative parameter h and a quantitative parameter l to a 24-bit pixel.\n These formulas were invented by David Dalrymple to obtain maximum contrast without going\n out of gamut if the parameters are in the range 0-1.\n \n A saturation multiplier was added by Gregor Aisch\n */\n var c, h, l, ref;\n ref = unpack(arguments), l = ref[0], c = ref[1], h = ref[2];\n h = h * DEG2RAD;\n return [l, cos(h) * c, sin(h) * c];\n };\n\n lch2rgb = function() {\n var L, a, args, b, c, g, h, l, r, ref, ref1;\n args = unpack(arguments);\n l = args[0], c = args[1], h = args[2];\n ref = lch2lab(l, c, h), L = ref[0], a = ref[1], b = ref[2];\n ref1 = lab2rgb(L, a, b), r = ref1[0], g = ref1[1], b = ref1[2];\n return [r, g, b, args.length > 3 ? args[3] : 1];\n };\n\n lab2lch = function() {\n var a, b, c, h, l, ref;\n ref = unpack(arguments), l = ref[0], a = ref[1], b = ref[2];\n c = sqrt(a * a + b * b);\n h = (atan2(b, a) * RAD2DEG + 360) % 360;\n if (round(c * 10000) === 0) {\n h = Number.NaN;\n }\n return [l, c, h];\n };\n\n rgb2lch = function() {\n var a, b, g, l, r, ref, ref1;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n ref1 = rgb2lab(r, g, b), l = ref1[0], a = ref1[1], b = ref1[2];\n return lab2lch(l, a, b);\n };\n\n chroma.lch = function() {\n var args;\n args = unpack(arguments);\n return new Color(args, 'lch');\n };\n\n chroma.hcl = function() {\n var args;\n args = unpack(arguments);\n return new Color(args, 'hcl');\n };\n\n _input.lch = lch2rgb;\n\n _input.hcl = function() {\n var c, h, l, ref;\n ref = unpack(arguments), h = ref[0], c = ref[1], l = ref[2];\n return lch2rgb([l, c, h]);\n };\n\n Color.prototype.lch = function() {\n return rgb2lch(this._rgb);\n };\n\n Color.prototype.hcl = function() {\n return rgb2lch(this._rgb).reverse();\n };\n\n rgb2cmyk = function(mode) {\n var b, c, f, g, k, m, r, ref, y;\n if (mode == null) {\n mode = 'rgb';\n }\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n r = r / 255;\n g = g / 255;\n b = b / 255;\n k = 1 - Math.max(r, Math.max(g, b));\n f = k < 1 ? 1 / (1 - k) : 0;\n c = (1 - r - k) * f;\n m = (1 - g - k) * f;\n y = (1 - b - k) * f;\n return [c, m, y, k];\n };\n\n cmyk2rgb = function() {\n var alpha, args, b, c, g, k, m, r, y;\n args = unpack(arguments);\n c = args[0], m = args[1], y = args[2], k = args[3];\n alpha = args.length > 4 ? args[4] : 1;\n if (k === 1) {\n return [0, 0, 0, alpha];\n }\n r = c >= 1 ? 0 : 255 * (1 - c) * (1 - k);\n g = m >= 1 ? 0 : 255 * (1 - m) * (1 - k);\n b = y >= 1 ? 0 : 255 * (1 - y) * (1 - k);\n return [r, g, b, alpha];\n };\n\n _input.cmyk = function() {\n return cmyk2rgb(unpack(arguments));\n };\n\n chroma.cmyk = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['cmyk']), function(){});\n };\n\n Color.prototype.cmyk = function() {\n return rgb2cmyk(this._rgb);\n };\n\n _input.gl = function() {\n var i, k, o, rgb, v;\n rgb = (function() {\n var ref, results;\n ref = unpack(arguments);\n results = [];\n for (k in ref) {\n v = ref[k];\n results.push(v);\n }\n return results;\n }).apply(this, arguments);\n for (i = o = 0; o <= 2; i = ++o) {\n rgb[i] *= 255;\n }\n return rgb;\n };\n\n chroma.gl = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['gl']), function(){});\n };\n\n Color.prototype.gl = function() {\n var rgb;\n rgb = this._rgb;\n return [rgb[0] / 255, rgb[1] / 255, rgb[2] / 255, rgb[3]];\n };\n\n rgb2luminance = function(r, g, b) {\n var ref;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n r = luminance_x(r);\n g = luminance_x(g);\n b = luminance_x(b);\n return 0.2126 * r + 0.7152 * g + 0.0722 * b;\n };\n\n luminance_x = function(x) {\n x /= 255;\n if (x <= 0.03928) {\n return x / 12.92;\n } else {\n return pow((x + 0.055) / 1.055, 2.4);\n }\n };\n\n interpolate_rgb = function(col1, col2, f, m) {\n var xyz0, xyz1;\n xyz0 = col1._rgb;\n xyz1 = col2._rgb;\n return new Color(xyz0[0] + f * (xyz1[0] - xyz0[0]), xyz0[1] + f * (xyz1[1] - xyz0[1]), xyz0[2] + f * (xyz1[2] - xyz0[2]), m);\n };\n\n _interpolators.push(['rgb', interpolate_rgb]);\n\n Color.prototype.luminance = function(lum, mode) {\n var cur_lum, eps, max_iter, rgba, test;\n if (mode == null) {\n mode = 'rgb';\n }\n if (!arguments.length) {\n return rgb2luminance(this._rgb);\n }\n rgba = this._rgb;\n if (lum === 0) {\n rgba = [0, 0, 0, this._rgb[3]];\n } else if (lum === 1) {\n rgba = [255, 255, 255, this[3]];\n } else {\n cur_lum = rgb2luminance(this._rgb);\n eps = 1e-7;\n max_iter = 20;\n test = function(l, h) {\n var lm, m;\n m = l.interpolate(h, 0.5, mode);\n lm = m.luminance();\n if (Math.abs(lum - lm) < eps || !max_iter--) {\n return m;\n }\n if (lm > lum) {\n return test(l, m);\n }\n return test(m, h);\n };\n if (cur_lum > lum) {\n rgba = test(chroma('black'), this).rgba();\n } else {\n rgba = test(this, chroma('white')).rgba();\n }\n }\n return chroma(rgba).alpha(this.alpha());\n };\n\n temperature2rgb = function(kelvin) {\n var b, g, r, temp;\n temp = kelvin / 100;\n if (temp < 66) {\n r = 255;\n g = -155.25485562709179 - 0.44596950469579133 * (g = temp - 2) + 104.49216199393888 * log(g);\n b = temp < 20 ? 0 : -254.76935184120902 + 0.8274096064007395 * (b = temp - 10) + 115.67994401066147 * log(b);\n } else {\n r = 351.97690566805693 + 0.114206453784165 * (r = temp - 55) - 40.25366309332127 * log(r);\n g = 325.4494125711974 + 0.07943456536662342 * (g = temp - 50) - 28.0852963507957 * log(g);\n b = 255;\n }\n return [r, g, b];\n };\n\n rgb2temperature = function() {\n var b, eps, g, maxTemp, minTemp, r, ref, rgb, temp;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n minTemp = 1000;\n maxTemp = 40000;\n eps = 0.4;\n while (maxTemp - minTemp > eps) {\n temp = (maxTemp + minTemp) * 0.5;\n rgb = temperature2rgb(temp);\n if ((rgb[2] / rgb[0]) >= (b / r)) {\n maxTemp = temp;\n } else {\n minTemp = temp;\n }\n }\n return round(temp);\n };\n\n chroma.temperature = chroma.kelvin = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['temperature']), function(){});\n };\n\n _input.temperature = _input.kelvin = _input.K = temperature2rgb;\n\n Color.prototype.temperature = function() {\n return rgb2temperature(this._rgb);\n };\n\n Color.prototype.kelvin = Color.prototype.temperature;\n\n chroma.contrast = function(a, b) {\n var l1, l2, ref, ref1;\n if ((ref = type(a)) === 'string' || ref === 'number') {\n a = new Color(a);\n }\n if ((ref1 = type(b)) === 'string' || ref1 === 'number') {\n b = new Color(b);\n }\n l1 = a.luminance();\n l2 = b.luminance();\n if (l1 > l2) {\n return (l1 + 0.05) / (l2 + 0.05);\n } else {\n return (l2 + 0.05) / (l1 + 0.05);\n }\n };\n\n chroma.distance = function(a, b, mode) {\n var d, i, l1, l2, ref, ref1, sum_sq;\n if (mode == null) {\n mode = 'lab';\n }\n if ((ref = type(a)) === 'string' || ref === 'number') {\n a = new Color(a);\n }\n if ((ref1 = type(b)) === 'string' || ref1 === 'number') {\n b = new Color(b);\n }\n l1 = a.get(mode);\n l2 = b.get(mode);\n sum_sq = 0;\n for (i in l1) {\n d = (l1[i] || 0) - (l2[i] || 0);\n sum_sq += d * d;\n }\n return Math.sqrt(sum_sq);\n };\n\n chroma.deltaE = function(a, b, L, C) {\n var L1, L2, a1, a2, b1, b2, c1, c2, c4, dH2, delA, delB, delC, delL, f, h1, ref, ref1, ref2, ref3, sc, sh, sl, t, v1, v2, v3;\n if (L == null) {\n L = 1;\n }\n if (C == null) {\n C = 1;\n }\n if ((ref = type(a)) === 'string' || ref === 'number') {\n a = new Color(a);\n }\n if ((ref1 = type(b)) === 'string' || ref1 === 'number') {\n b = new Color(b);\n }\n ref2 = a.lab(), L1 = ref2[0], a1 = ref2[1], b1 = ref2[2];\n ref3 = b.lab(), L2 = ref3[0], a2 = ref3[1], b2 = ref3[2];\n c1 = sqrt(a1 * a1 + b1 * b1);\n c2 = sqrt(a2 * a2 + b2 * b2);\n sl = L1 < 16.0 ? 0.511 : (0.040975 * L1) / (1.0 + 0.01765 * L1);\n sc = (0.0638 * c1) / (1.0 + 0.0131 * c1) + 0.638;\n h1 = c1 < 0.000001 ? 0.0 : (atan2(b1, a1) * 180.0) / PI;\n while (h1 < 0) {\n h1 += 360;\n }\n while (h1 >= 360) {\n h1 -= 360;\n }\n t = (h1 >= 164.0) && (h1 <= 345.0) ? 0.56 + abs(0.2 * cos((PI * (h1 + 168.0)) / 180.0)) : 0.36 + abs(0.4 * cos((PI * (h1 + 35.0)) / 180.0));\n c4 = c1 * c1 * c1 * c1;\n f = sqrt(c4 / (c4 + 1900.0));\n sh = sc * (f * t + 1.0 - f);\n delL = L1 - L2;\n delC = c1 - c2;\n delA = a1 - a2;\n delB = b1 - b2;\n dH2 = delA * delA + delB * delB - delC * delC;\n v1 = delL / (L * sl);\n v2 = delC / (C * sc);\n v3 = sh;\n return sqrt(v1 * v1 + v2 * v2 + (dH2 / (v3 * v3)));\n };\n\n Color.prototype.get = function(modechan) {\n var channel, i, me, mode, ref, src;\n me = this;\n ref = modechan.split('.'), mode = ref[0], channel = ref[1];\n src = me[mode]();\n if (channel) {\n i = mode.indexOf(channel);\n if (i > -1) {\n return src[i];\n } else {\n return console.warn('unknown channel ' + channel + ' in mode ' + mode);\n }\n } else {\n return src;\n }\n };\n\n Color.prototype.set = function(modechan, value) {\n var channel, i, me, mode, ref, src;\n me = this;\n ref = modechan.split('.'), mode = ref[0], channel = ref[1];\n if (channel) {\n src = me[mode]();\n i = mode.indexOf(channel);\n if (i > -1) {\n if (type(value) === 'string') {\n switch (value.charAt(0)) {\n case '+':\n src[i] += +value;\n break;\n case '-':\n src[i] += +value;\n break;\n case '*':\n src[i] *= +(value.substr(1));\n break;\n case '/':\n src[i] /= +(value.substr(1));\n break;\n default:\n src[i] = +value;\n }\n } else {\n src[i] = value;\n }\n } else {\n console.warn('unknown channel ' + channel + ' in mode ' + mode);\n }\n } else {\n src = value;\n }\n return chroma(src, mode).alpha(me.alpha());\n };\n\n Color.prototype.clipped = function() {\n return this._rgb._clipped || false;\n };\n\n Color.prototype.alpha = function(a) {\n if (arguments.length) {\n return chroma.rgb([this._rgb[0], this._rgb[1], this._rgb[2], a]);\n }\n return this._rgb[3];\n };\n\n Color.prototype.darken = function(amount) {\n var lab, me;\n if (amount == null) {\n amount = 1;\n }\n me = this;\n lab = me.lab();\n lab[0] -= LAB_CONSTANTS.Kn * amount;\n return chroma.lab(lab).alpha(me.alpha());\n };\n\n Color.prototype.brighten = function(amount) {\n if (amount == null) {\n amount = 1;\n }\n return this.darken(-amount);\n };\n\n Color.prototype.darker = Color.prototype.darken;\n\n Color.prototype.brighter = Color.prototype.brighten;\n\n Color.prototype.saturate = function(amount) {\n var lch, me;\n if (amount == null) {\n amount = 1;\n }\n me = this;\n lch = me.lch();\n lch[1] += amount * LAB_CONSTANTS.Kn;\n if (lch[1] < 0) {\n lch[1] = 0;\n }\n return chroma.lch(lch).alpha(me.alpha());\n };\n\n Color.prototype.desaturate = function(amount) {\n if (amount == null) {\n amount = 1;\n }\n return this.saturate(-amount);\n };\n\n Color.prototype.premultiply = function() {\n var a, rgb;\n rgb = this.rgb();\n a = this.alpha();\n return chroma(rgb[0] * a, rgb[1] * a, rgb[2] * a, a);\n };\n\n blend = function(bottom, top, mode) {\n if (!blend[mode]) {\n throw 'unknown blend mode ' + mode;\n }\n return blend[mode](bottom, top);\n };\n\n blend_f = function(f) {\n return function(bottom, top) {\n var c0, c1;\n c0 = chroma(top).rgb();\n c1 = chroma(bottom).rgb();\n return chroma(f(c0, c1), 'rgb');\n };\n };\n\n each = function(f) {\n return function(c0, c1) {\n var i, o, out;\n out = [];\n for (i = o = 0; o <= 3; i = ++o) {\n out[i] = f(c0[i], c1[i]);\n }\n return out;\n };\n };\n\n normal = function(a, b) {\n return a;\n };\n\n multiply = function(a, b) {\n return a * b / 255;\n };\n\n darken = function(a, b) {\n if (a > b) {\n return b;\n } else {\n return a;\n }\n };\n\n lighten = function(a, b) {\n if (a > b) {\n return a;\n } else {\n return b;\n }\n };\n\n screen = function(a, b) {\n return 255 * (1 - (1 - a / 255) * (1 - b / 255));\n };\n\n overlay = function(a, b) {\n if (b < 128) {\n return 2 * a * b / 255;\n } else {\n return 255 * (1 - 2 * (1 - a / 255) * (1 - b / 255));\n }\n };\n\n burn = function(a, b) {\n return 255 * (1 - (1 - b / 255) / (a / 255));\n };\n\n dodge = function(a, b) {\n if (a === 255) {\n return 255;\n }\n a = 255 * (b / 255) / (1 - a / 255);\n if (a > 255) {\n return 255;\n } else {\n return a;\n }\n };\n\n blend.normal = blend_f(each(normal));\n\n blend.multiply = blend_f(each(multiply));\n\n blend.screen = blend_f(each(screen));\n\n blend.overlay = blend_f(each(overlay));\n\n blend.darken = blend_f(each(darken));\n\n blend.lighten = blend_f(each(lighten));\n\n blend.dodge = blend_f(each(dodge));\n\n blend.burn = blend_f(each(burn));\n\n chroma.blend = blend;\n\n chroma.analyze = function(data) {\n var len, o, r, val;\n r = {\n min: Number.MAX_VALUE,\n max: Number.MAX_VALUE * -1,\n sum: 0,\n values: [],\n count: 0\n };\n for (o = 0, len = data.length; o < len; o++) {\n val = data[o];\n if ((val != null) && !isNaN(val)) {\n r.values.push(val);\n r.sum += val;\n if (val < r.min) {\n r.min = val;\n }\n if (val > r.max) {\n r.max = val;\n }\n r.count += 1;\n }\n }\n r.domain = [r.min, r.max];\n r.limits = function(mode, num) {\n return chroma.limits(r, mode, num);\n };\n return r;\n };\n\n chroma.scale = function(colors, positions) {\n var _classes, _colorCache, _colors, _correctLightness, _domain, _fixed, _gamma, _max, _min, _mode, _nacol, _out, _padding, _pos, _spread, _useCache, classifyValue, f, getClass, getColor, resetCache, setColors, tmap;\n _mode = 'rgb';\n _nacol = chroma('#ccc');\n _spread = 0;\n _fixed = false;\n _domain = [0, 1];\n _pos = [];\n _padding = [0, 0];\n _classes = false;\n _colors = [];\n _out = false;\n _min = 0;\n _max = 1;\n _correctLightness = false;\n _colorCache = {};\n _useCache = true;\n _gamma = 1;\n setColors = function(colors) {\n var c, col, o, ref, ref1, w;\n if (colors == null) {\n colors = ['#fff', '#000'];\n }\n if ((colors != null) && type(colors) === 'string' && (chroma.brewer != null)) {\n colors = chroma.brewer[colors] || chroma.brewer[colors.toLowerCase()] || colors;\n }\n if (type(colors) === 'array') {\n colors = colors.slice(0);\n for (c = o = 0, ref = colors.length - 1; 0 <= ref ? o <= ref : o >= ref; c = 0 <= ref ? ++o : --o) {\n col = colors[c];\n if (type(col) === \"string\") {\n colors[c] = chroma(col);\n }\n }\n _pos.length = 0;\n for (c = w = 0, ref1 = colors.length - 1; 0 <= ref1 ? w <= ref1 : w >= ref1; c = 0 <= ref1 ? ++w : --w) {\n _pos.push(c / (colors.length - 1));\n }\n }\n resetCache();\n return _colors = colors;\n };\n getClass = function(value) {\n var i, n;\n if (_classes != null) {\n n = _classes.length - 1;\n i = 0;\n while (i < n && value >= _classes[i]) {\n i++;\n }\n return i - 1;\n }\n return 0;\n };\n tmap = function(t) {\n return t;\n };\n classifyValue = function(value) {\n var i, maxc, minc, n, val;\n val = value;\n if (_classes.length > 2) {\n n = _classes.length - 1;\n i = getClass(value);\n minc = _classes[0] + (_classes[1] - _classes[0]) * (0 + _spread * 0.5);\n maxc = _classes[n - 1] + (_classes[n] - _classes[n - 1]) * (1 - _spread * 0.5);\n val = _min + ((_classes[i] + (_classes[i + 1] - _classes[i]) * 0.5 - minc) / (maxc - minc)) * (_max - _min);\n }\n return val;\n };\n getColor = function(val, bypassMap) {\n var c, col, i, k, o, p, ref, t;\n if (bypassMap == null) {\n bypassMap = false;\n }\n if (isNaN(val)) {\n return _nacol;\n }\n if (!bypassMap) {\n if (_classes && _classes.length > 2) {\n c = getClass(val);\n t = c / (_classes.length - 2);\n } else if (_max !== _min) {\n t = (val - _min) / (_max - _min);\n } else {\n t = 1;\n }\n } else {\n t = val;\n }\n if (!bypassMap) {\n t = tmap(t);\n }\n if (_gamma !== 1) {\n t = pow(t, _gamma);\n }\n t = _padding[0] + (t * (1 - _padding[0] - _padding[1]));\n t = Math.min(1, Math.max(0, t));\n k = Math.floor(t * 10000);\n if (_useCache && _colorCache[k]) {\n col = _colorCache[k];\n } else {\n if (type(_colors) === 'array') {\n for (i = o = 0, ref = _pos.length - 1; 0 <= ref ? o <= ref : o >= ref; i = 0 <= ref ? ++o : --o) {\n p = _pos[i];\n if (t <= p) {\n col = _colors[i];\n break;\n }\n if (t >= p && i === _pos.length - 1) {\n col = _colors[i];\n break;\n }\n if (t > p && t < _pos[i + 1]) {\n t = (t - p) / (_pos[i + 1] - p);\n col = chroma.interpolate(_colors[i], _colors[i + 1], t, _mode);\n break;\n }\n }\n } else if (type(_colors) === 'function') {\n col = _colors(t);\n }\n if (_useCache) {\n _colorCache[k] = col;\n }\n }\n return col;\n };\n resetCache = function() {\n return _colorCache = {};\n };\n setColors(colors);\n f = function(v) {\n var c;\n c = chroma(getColor(v));\n if (_out && c[_out]) {\n return c[_out]();\n } else {\n return c;\n }\n };\n f.classes = function(classes) {\n var d;\n if (classes != null) {\n if (type(classes) === 'array') {\n _classes = classes;\n _domain = [classes[0], classes[classes.length - 1]];\n } else {\n d = chroma.analyze(_domain);\n if (classes === 0) {\n _classes = [d.min, d.max];\n } else {\n _classes = chroma.limits(d, 'e', classes);\n }\n }\n return f;\n }\n return _classes;\n };\n f.domain = function(domain) {\n var c, d, k, len, o, ref, w;\n if (!arguments.length) {\n return _domain;\n }\n _min = domain[0];\n _max = domain[domain.length - 1];\n _pos = [];\n k = _colors.length;\n if (domain.length === k && _min !== _max) {\n for (o = 0, len = domain.length; o < len; o++) {\n d = domain[o];\n _pos.push((d - _min) / (_max - _min));\n }\n } else {\n for (c = w = 0, ref = k - 1; 0 <= ref ? w <= ref : w >= ref; c = 0 <= ref ? ++w : --w) {\n _pos.push(c / (k - 1));\n }\n }\n _domain = [_min, _max];\n return f;\n };\n f.mode = function(_m) {\n if (!arguments.length) {\n return _mode;\n }\n _mode = _m;\n resetCache();\n return f;\n };\n f.range = function(colors, _pos) {\n setColors(colors, _pos);\n return f;\n };\n f.out = function(_o) {\n _out = _o;\n return f;\n };\n f.spread = function(val) {\n if (!arguments.length) {\n return _spread;\n }\n _spread = val;\n return f;\n };\n f.correctLightness = function(v) {\n if (v == null) {\n v = true;\n }\n _correctLightness = v;\n resetCache();\n if (_correctLightness) {\n tmap = function(t) {\n var L0, L1, L_actual, L_diff, L_ideal, max_iter, pol, t0, t1;\n L0 = getColor(0, true).lab()[0];\n L1 = getColor(1, true).lab()[0];\n pol = L0 > L1;\n L_actual = getColor(t, true).lab()[0];\n L_ideal = L0 + (L1 - L0) * t;\n L_diff = L_actual - L_ideal;\n t0 = 0;\n t1 = 1;\n max_iter = 20;\n while (Math.abs(L_diff) > 1e-2 && max_iter-- > 0) {\n (function() {\n if (pol) {\n L_diff *= -1;\n }\n if (L_diff < 0) {\n t0 = t;\n t += (t1 - t) * 0.5;\n } else {\n t1 = t;\n t += (t0 - t) * 0.5;\n }\n L_actual = getColor(t, true).lab()[0];\n return L_diff = L_actual - L_ideal;\n })();\n }\n return t;\n };\n } else {\n tmap = function(t) {\n return t;\n };\n }\n return f;\n };\n f.padding = function(p) {\n if (p != null) {\n if (type(p) === 'number') {\n p = [p, p];\n }\n _padding = p;\n return f;\n } else {\n return _padding;\n }\n };\n f.colors = function(numColors, out) {\n var dd, dm, i, o, ref, result, results, samples, w;\n if (arguments.length < 2) {\n out = 'hex';\n }\n result = [];\n if (arguments.length === 0) {\n result = _colors.slice(0);\n } else if (numColors === 1) {\n result = [f(0.5)];\n } else if (numColors > 1) {\n dm = _domain[0];\n dd = _domain[1] - dm;\n result = (function() {\n results = [];\n for (var o = 0; 0 <= numColors ? o < numColors : o > numColors; 0 <= numColors ? o++ : o--){ results.push(o); }\n return results;\n }).apply(this).map(function(i) {\n return f(dm + i / (numColors - 1) * dd);\n });\n } else {\n colors = [];\n samples = [];\n if (_classes && _classes.length > 2) {\n for (i = w = 1, ref = _classes.length; 1 <= ref ? w < ref : w > ref; i = 1 <= ref ? ++w : --w) {\n samples.push((_classes[i - 1] + _classes[i]) * 0.5);\n }\n } else {\n samples = _domain;\n }\n result = samples.map(function(v) {\n return f(v);\n });\n }\n if (chroma[out]) {\n result = result.map(function(c) {\n return c[out]();\n });\n }\n return result;\n };\n f.cache = function(c) {\n if (c != null) {\n _useCache = c;\n return f;\n } else {\n return _useCache;\n }\n };\n f.gamma = function(g) {\n if (g != null) {\n _gamma = g;\n return f;\n } else {\n return _gamma;\n }\n };\n return f;\n };\n\n if (chroma.scales == null) {\n chroma.scales = {};\n }\n\n chroma.scales.cool = function() {\n return chroma.scale([chroma.hsl(180, 1, .9), chroma.hsl(250, .7, .4)]);\n };\n\n chroma.scales.hot = function() {\n return chroma.scale(['#000', '#f00', '#ff0', '#fff'], [0, .25, .75, 1]).mode('rgb');\n };\n\n chroma.analyze = function(data, key, filter) {\n var add, k, len, o, r, val, visit;\n r = {\n min: Number.MAX_VALUE,\n max: Number.MAX_VALUE * -1,\n sum: 0,\n values: [],\n count: 0\n };\n if (filter == null) {\n filter = function() {\n return true;\n };\n }\n add = function(val) {\n if ((val != null) && !isNaN(val)) {\n r.values.push(val);\n r.sum += val;\n if (val < r.min) {\n r.min = val;\n }\n if (val > r.max) {\n r.max = val;\n }\n r.count += 1;\n }\n };\n visit = function(val, k) {\n if (filter(val, k)) {\n if ((key != null) && type(key) === 'function') {\n return add(key(val));\n } else if ((key != null) && type(key) === 'string' || type(key) === 'number') {\n return add(val[key]);\n } else {\n return add(val);\n }\n }\n };\n if (type(data) === 'array') {\n for (o = 0, len = data.length; o < len; o++) {\n val = data[o];\n visit(val);\n }\n } else {\n for (k in data) {\n val = data[k];\n visit(val, k);\n }\n }\n r.domain = [r.min, r.max];\n r.limits = function(mode, num) {\n return chroma.limits(r, mode, num);\n };\n return r;\n };\n\n chroma.limits = function(data, mode, num) {\n var aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, assignments, best, centroids, cluster, clusterSizes, dist, i, j, kClusters, limits, max_log, min, min_log, mindist, n, nb_iters, newCentroids, o, p, pb, pr, ref, ref1, ref10, ref11, ref12, ref13, ref14, ref2, ref3, ref4, ref5, ref6, ref7, ref8, ref9, repeat, sum, tmpKMeansBreaks, v, value, values, w;\n if (mode == null) {\n mode = 'equal';\n }\n if (num == null) {\n num = 7;\n }\n if (type(data) === 'array') {\n data = chroma.analyze(data);\n }\n min = data.min;\n max = data.max;\n sum = data.sum;\n values = data.values.sort(function(a, b) {\n return a - b;\n });\n if (num === 1) {\n return [min, max];\n }\n limits = [];\n if (mode.substr(0, 1) === 'c') {\n limits.push(min);\n limits.push(max);\n }\n if (mode.substr(0, 1) === 'e') {\n limits.push(min);\n for (i = o = 1, ref = num - 1; 1 <= ref ? o <= ref : o >= ref; i = 1 <= ref ? ++o : --o) {\n limits.push(min + (i / num) * (max - min));\n }\n limits.push(max);\n } else if (mode.substr(0, 1) === 'l') {\n if (min <= 0) {\n throw 'Logarithmic scales are only possible for values > 0';\n }\n min_log = Math.LOG10E * log(min);\n max_log = Math.LOG10E * log(max);\n limits.push(min);\n for (i = w = 1, ref1 = num - 1; 1 <= ref1 ? w <= ref1 : w >= ref1; i = 1 <= ref1 ? ++w : --w) {\n limits.push(pow(10, min_log + (i / num) * (max_log - min_log)));\n }\n limits.push(max);\n } else if (mode.substr(0, 1) === 'q') {\n limits.push(min);\n for (i = aa = 1, ref2 = num - 1; 1 <= ref2 ? aa <= ref2 : aa >= ref2; i = 1 <= ref2 ? ++aa : --aa) {\n p = (values.length - 1) * i / num;\n pb = floor(p);\n if (pb === p) {\n limits.push(values[pb]);\n } else {\n pr = p - pb;\n limits.push(values[pb] * (1 - pr) + values[pb + 1] * pr);\n }\n }\n limits.push(max);\n } else if (mode.substr(0, 1) === 'k') {\n\n /*\n implementation based on\n http://code.google.com/p/figue/source/browse/trunk/figue.js#336\n simplified for 1-d input values\n */\n n = values.length;\n assignments = new Array(n);\n clusterSizes = new Array(num);\n repeat = true;\n nb_iters = 0;\n centroids = null;\n centroids = [];\n centroids.push(min);\n for (i = ab = 1, ref3 = num - 1; 1 <= ref3 ? ab <= ref3 : ab >= ref3; i = 1 <= ref3 ? ++ab : --ab) {\n centroids.push(min + (i / num) * (max - min));\n }\n centroids.push(max);\n while (repeat) {\n for (j = ac = 0, ref4 = num - 1; 0 <= ref4 ? ac <= ref4 : ac >= ref4; j = 0 <= ref4 ? ++ac : --ac) {\n clusterSizes[j] = 0;\n }\n for (i = ad = 0, ref5 = n - 1; 0 <= ref5 ? ad <= ref5 : ad >= ref5; i = 0 <= ref5 ? ++ad : --ad) {\n value = values[i];\n mindist = Number.MAX_VALUE;\n for (j = ae = 0, ref6 = num - 1; 0 <= ref6 ? ae <= ref6 : ae >= ref6; j = 0 <= ref6 ? ++ae : --ae) {\n dist = abs(centroids[j] - value);\n if (dist < mindist) {\n mindist = dist;\n best = j;\n }\n }\n clusterSizes[best]++;\n assignments[i] = best;\n }\n newCentroids = new Array(num);\n for (j = af = 0, ref7 = num - 1; 0 <= ref7 ? af <= ref7 : af >= ref7; j = 0 <= ref7 ? ++af : --af) {\n newCentroids[j] = null;\n }\n for (i = ag = 0, ref8 = n - 1; 0 <= ref8 ? ag <= ref8 : ag >= ref8; i = 0 <= ref8 ? ++ag : --ag) {\n cluster = assignments[i];\n if (newCentroids[cluster] === null) {\n newCentroids[cluster] = values[i];\n } else {\n newCentroids[cluster] += values[i];\n }\n }\n for (j = ah = 0, ref9 = num - 1; 0 <= ref9 ? ah <= ref9 : ah >= ref9; j = 0 <= ref9 ? ++ah : --ah) {\n newCentroids[j] *= 1 / clusterSizes[j];\n }\n repeat = false;\n for (j = ai = 0, ref10 = num - 1; 0 <= ref10 ? ai <= ref10 : ai >= ref10; j = 0 <= ref10 ? ++ai : --ai) {\n if (newCentroids[j] !== centroids[i]) {\n repeat = true;\n break;\n }\n }\n centroids = newCentroids;\n nb_iters++;\n if (nb_iters > 200) {\n repeat = false;\n }\n }\n kClusters = {};\n for (j = aj = 0, ref11 = num - 1; 0 <= ref11 ? aj <= ref11 : aj >= ref11; j = 0 <= ref11 ? ++aj : --aj) {\n kClusters[j] = [];\n }\n for (i = ak = 0, ref12 = n - 1; 0 <= ref12 ? ak <= ref12 : ak >= ref12; i = 0 <= ref12 ? ++ak : --ak) {\n cluster = assignments[i];\n kClusters[cluster].push(values[i]);\n }\n tmpKMeansBreaks = [];\n for (j = al = 0, ref13 = num - 1; 0 <= ref13 ? al <= ref13 : al >= ref13; j = 0 <= ref13 ? ++al : --al) {\n tmpKMeansBreaks.push(kClusters[j][0]);\n tmpKMeansBreaks.push(kClusters[j][kClusters[j].length - 1]);\n }\n tmpKMeansBreaks = tmpKMeansBreaks.sort(function(a, b) {\n return a - b;\n });\n limits.push(tmpKMeansBreaks[0]);\n for (i = am = 1, ref14 = tmpKMeansBreaks.length - 1; am <= ref14; i = am += 2) {\n v = tmpKMeansBreaks[i];\n if (!isNaN(v) && limits.indexOf(v) === -1) {\n limits.push(v);\n }\n }\n }\n return limits;\n };\n\n hsi2rgb = function(h, s, i) {\n\n /*\n borrowed from here:\n http://hummer.stanford.edu/museinfo/doc/examples/humdrum/keyscape2/hsi2rgb.cpp\n */\n var args, b, g, r;\n args = unpack(arguments);\n h = args[0], s = args[1], i = args[2];\n if (isNaN(h)) {\n h = 0;\n }\n h /= 360;\n if (h < 1 / 3) {\n b = (1 - s) / 3;\n r = (1 + s * cos(TWOPI * h) / cos(PITHIRD - TWOPI * h)) / 3;\n g = 1 - (b + r);\n } else if (h < 2 / 3) {\n h -= 1 / 3;\n r = (1 - s) / 3;\n g = (1 + s * cos(TWOPI * h) / cos(PITHIRD - TWOPI * h)) / 3;\n b = 1 - (r + g);\n } else {\n h -= 2 / 3;\n g = (1 - s) / 3;\n b = (1 + s * cos(TWOPI * h) / cos(PITHIRD - TWOPI * h)) / 3;\n r = 1 - (g + b);\n }\n r = limit(i * r * 3);\n g = limit(i * g * 3);\n b = limit(i * b * 3);\n return [r * 255, g * 255, b * 255, args.length > 3 ? args[3] : 1];\n };\n\n rgb2hsi = function() {\n\n /*\n borrowed from here:\n http://hummer.stanford.edu/museinfo/doc/examples/humdrum/keyscape2/rgb2hsi.cpp\n */\n var b, g, h, i, min, r, ref, s;\n ref = unpack(arguments), r = ref[0], g = ref[1], b = ref[2];\n TWOPI = Math.PI * 2;\n r /= 255;\n g /= 255;\n b /= 255;\n min = Math.min(r, g, b);\n i = (r + g + b) / 3;\n s = 1 - min / i;\n if (s === 0) {\n h = 0;\n } else {\n h = ((r - g) + (r - b)) / 2;\n h /= Math.sqrt((r - g) * (r - g) + (r - b) * (g - b));\n h = Math.acos(h);\n if (b > g) {\n h = TWOPI - h;\n }\n h /= TWOPI;\n }\n return [h * 360, s, i];\n };\n\n chroma.hsi = function() {\n return (function(func, args, ctor) {\n ctor.prototype = func.prototype;\n var child = new ctor, result = func.apply(child, args);\n return Object(result) === result ? result : child;\n })(Color, slice.call(arguments).concat(['hsi']), function(){});\n };\n\n _input.hsi = hsi2rgb;\n\n Color.prototype.hsi = function() {\n return rgb2hsi(this._rgb);\n };\n\n interpolate_hsx = function(col1, col2, f, m) {\n var dh, hue, hue0, hue1, lbv, lbv0, lbv1, res, sat, sat0, sat1, xyz0, xyz1;\n if (m === 'hsl') {\n xyz0 = col1.hsl();\n xyz1 = col2.hsl();\n } else if (m === 'hsv') {\n xyz0 = col1.hsv();\n xyz1 = col2.hsv();\n } else if (m === 'hcg') {\n xyz0 = col1.hcg();\n xyz1 = col2.hcg();\n } else if (m === 'hsi') {\n xyz0 = col1.hsi();\n xyz1 = col2.hsi();\n } else if (m === 'lch' || m === 'hcl') {\n m = 'hcl';\n xyz0 = col1.hcl();\n xyz1 = col2.hcl();\n }\n if (m.substr(0, 1) === 'h') {\n hue0 = xyz0[0], sat0 = xyz0[1], lbv0 = xyz0[2];\n hue1 = xyz1[0], sat1 = xyz1[1], lbv1 = xyz1[2];\n }\n if (!isNaN(hue0) && !isNaN(hue1)) {\n if (hue1 > hue0 && hue1 - hue0 > 180) {\n dh = hue1 - (hue0 + 360);\n } else if (hue1 < hue0 && hue0 - hue1 > 180) {\n dh = hue1 + 360 - hue0;\n } else {\n dh = hue1 - hue0;\n }\n hue = hue0 + f * dh;\n } else if (!isNaN(hue0)) {\n hue = hue0;\n if ((lbv1 === 1 || lbv1 === 0) && m !== 'hsv') {\n sat = sat0;\n }\n } else if (!isNaN(hue1)) {\n hue = hue1;\n if ((lbv0 === 1 || lbv0 === 0) && m !== 'hsv') {\n sat = sat1;\n }\n } else {\n hue = Number.NaN;\n }\n if (sat == null) {\n sat = sat0 + f * (sat1 - sat0);\n }\n lbv = lbv0 + f * (lbv1 - lbv0);\n return res = chroma[m](hue, sat, lbv);\n };\n\n _interpolators = _interpolators.concat((function() {\n var len, o, ref, results;\n ref = ['hsv', 'hsl', 'hsi', 'hcl', 'lch', 'hcg'];\n results = [];\n for (o = 0, len = ref.length; o < len; o++) {\n m = ref[o];\n results.push([m, interpolate_hsx]);\n }\n return results;\n })());\n\n interpolate_num = function(col1, col2, f, m) {\n var n1, n2;\n n1 = col1.num();\n n2 = col2.num();\n return chroma.num(n1 + (n2 - n1) * f, 'num');\n };\n\n _interpolators.push(['num', interpolate_num]);\n\n interpolate_lab = function(col1, col2, f, m) {\n var res, xyz0, xyz1;\n xyz0 = col1.lab();\n xyz1 = col2.lab();\n return res = new Color(xyz0[0] + f * (xyz1[0] - xyz0[0]), xyz0[1] + f * (xyz1[1] - xyz0[1]), xyz0[2] + f * (xyz1[2] - xyz0[2]), m);\n };\n\n _interpolators.push(['lab', interpolate_lab]);\n\n}).call(this);\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/chroma-js/chroma.js?"); - -/***/ }), - -/***/ "./node_modules/classnames/index.js": -/*!******************************************!*\ - !*** ./node_modules/classnames/index.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (true) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n\t\t\treturn classNames;\n\t\t}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n}());\n\n\n//# sourceURL=webpack:///./node_modules/classnames/index.js?"); - -/***/ }), - -/***/ "./node_modules/collapse-white-space/index.js": -/*!****************************************************!*\ - !*** ./node_modules/collapse-white-space/index.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nmodule.exports = collapse\n\n/* collapse(' \\t\\nbar \\nbaz\\t'); // ' bar baz ' */\nfunction collapse(value) {\n return String(value).replace(/\\s+/g, ' ')\n}\n\n\n//# sourceURL=webpack:///./node_modules/collapse-white-space/index.js?"); - -/***/ }), - -/***/ "./node_modules/color-string/color-string.js": -/*!***************************************************!*\ - !*** ./node_modules/color-string/color-string.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* MIT license */\nvar colorNames = __webpack_require__(/*! color-name */ \"./node_modules/color-string/node_modules/color-name/index.json\");\n\nmodule.exports = {\n getRgba: getRgba,\n getHsla: getHsla,\n getRgb: getRgb,\n getHsl: getHsl,\n getHwb: getHwb,\n getAlpha: getAlpha,\n\n hexString: hexString,\n rgbString: rgbString,\n rgbaString: rgbaString,\n percentString: percentString,\n percentaString: percentaString,\n hslString: hslString,\n hslaString: hslaString,\n hwbString: hwbString,\n keyword: keyword\n}\n\nfunction getRgba(string) {\n if (!string) {\n return;\n }\n var abbr = /^#([a-fA-F0-9]{3})$/,\n hex = /^#([a-fA-F0-9]{6})$/,\n rgba = /^rgba?\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*(?:,\\s*([\\d\\.]+)\\s*)?\\)$/,\n per = /^rgba?\\(\\s*([\\d\\.]+)\\%\\s*,\\s*([\\d\\.]+)\\%\\s*,\\s*([\\d\\.]+)\\%\\s*(?:,\\s*([\\d\\.]+)\\s*)?\\)$/,\n keyword = /(\\D+)/;\n\n var rgb = [0, 0, 0],\n a = 1,\n match = string.match(abbr);\n if (match) {\n match = match[1];\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = parseInt(match[i] + match[i], 16);\n }\n }\n else if (match = string.match(hex)) {\n match = match[1];\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);\n }\n }\n else if (match = string.match(rgba)) {\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = parseInt(match[i + 1]);\n }\n a = parseFloat(match[4]);\n }\n else if (match = string.match(per)) {\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n }\n a = parseFloat(match[4]);\n }\n else if (match = string.match(keyword)) {\n if (match[1] == \"transparent\") {\n return [0, 0, 0, 0];\n }\n rgb = colorNames[match[1]];\n if (!rgb) {\n return;\n }\n }\n\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = scale(rgb[i], 0, 255);\n }\n if (!a && a != 0) {\n a = 1;\n }\n else {\n a = scale(a, 0, 1);\n }\n rgb[3] = a;\n return rgb;\n}\n\nfunction getHsla(string) {\n if (!string) {\n return;\n }\n var hsl = /^hsla?\\(\\s*(\\d+)(?:deg)?\\s*,\\s*([\\d\\.]+)%\\s*,\\s*([\\d\\.]+)%\\s*(?:,\\s*([\\d\\.]+)\\s*)?\\)/;\n var match = string.match(hsl);\n if (match) {\n var h = scale(parseInt(match[1]), 0, 360),\n s = scale(parseFloat(match[2]), 0, 100),\n l = scale(parseFloat(match[3]), 0, 100),\n a = scale(parseFloat(match[4]) || 1, 0, 1);\n return [h, s, l, a];\n }\n}\n\nfunction getHwb(string) {\n if (!string) {\n return;\n }\n var hwb = /^hwb\\(\\s*(\\d+)(?:deg)?\\s*,\\s*([\\d\\.]+)%\\s*,\\s*([\\d\\.]+)%\\s*(?:,\\s*([\\d\\.]+)\\s*)?\\)/;\n var match = string.match(hwb);\n if (match) {\n var h = scale(parseInt(match[1]), 0, 360),\n w = scale(parseFloat(match[2]), 0, 100),\n b = scale(parseFloat(match[3]), 0, 100),\n a = scale(parseFloat(match[4]) || 1, 0, 1);\n return [h, w, b, a];\n }\n}\n\nfunction getRgb(string) {\n var rgba = getRgba(string);\n return rgba && rgba.slice(0, 3);\n}\n\nfunction getHsl(string) {\n var hsla = getHsla(string);\n return hsla && hsla.slice(0, 3);\n}\n\nfunction getAlpha(string) {\n var vals = getRgba(string);\n if (vals) {\n return vals[3];\n }\n else if (vals = getHsla(string)) {\n return vals[3];\n }\n else if (vals = getHwb(string)) {\n return vals[3];\n }\n}\n\n// generators\nfunction hexString(rgb) {\n return \"#\" + hexDouble(rgb[0]) + hexDouble(rgb[1])\n + hexDouble(rgb[2]);\n}\n\nfunction rgbString(rgba, alpha) {\n if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n return rgbaString(rgba, alpha);\n }\n return \"rgb(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \")\";\n}\n\nfunction rgbaString(rgba, alpha) {\n if (alpha === undefined) {\n alpha = (rgba[3] !== undefined ? rgba[3] : 1);\n }\n return \"rgba(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2]\n + \", \" + alpha + \")\";\n}\n\nfunction percentString(rgba, alpha) {\n if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n return percentaString(rgba, alpha);\n }\n var r = Math.round(rgba[0]/255 * 100),\n g = Math.round(rgba[1]/255 * 100),\n b = Math.round(rgba[2]/255 * 100);\n\n return \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\";\n}\n\nfunction percentaString(rgba, alpha) {\n var r = Math.round(rgba[0]/255 * 100),\n g = Math.round(rgba[1]/255 * 100),\n b = Math.round(rgba[2]/255 * 100);\n return \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + (alpha || rgba[3] || 1) + \")\";\n}\n\nfunction hslString(hsla, alpha) {\n if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {\n return hslaString(hsla, alpha);\n }\n return \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\";\n}\n\nfunction hslaString(hsla, alpha) {\n if (alpha === undefined) {\n alpha = (hsla[3] !== undefined ? hsla[3] : 1);\n }\n return \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \"\n + alpha + \")\";\n}\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\nfunction hwbString(hwb, alpha) {\n if (alpha === undefined) {\n alpha = (hwb[3] !== undefined ? hwb[3] : 1);\n }\n return \"hwb(\" + hwb[0] + \", \" + hwb[1] + \"%, \" + hwb[2] + \"%\"\n + (alpha !== undefined && alpha !== 1 ? \", \" + alpha : \"\") + \")\";\n}\n\nfunction keyword(rgb) {\n return reverseNames[rgb.slice(0, 3)];\n}\n\n// helpers\nfunction scale(num, min, max) {\n return Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n var str = num.toString(16).toUpperCase();\n return (str.length < 2) ? \"0\" + str : str;\n}\n\n\n//create a list of reverse color names\nvar reverseNames = {};\nfor (var name in colorNames) {\n reverseNames[colorNames[name]] = name;\n}\n\n//# sourceURL=webpack:///./node_modules/color-string/color-string.js?"); - -/***/ }), - -/***/ "./node_modules/color-string/node_modules/color-name/index.json": -/*!**********************************************************************!*\ - !*** ./node_modules/color-string/node_modules/color-name/index.json ***! - \**********************************************************************/ -/*! exports provided: aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkgrey, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, darkslategrey, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dimgrey, dodgerblue, firebrick, floralwhite, forestgreen, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow, grey, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgreen, lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, rebeccapurple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, slategrey, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, wheat, white, whitesmoke, yellow, yellowgreen, default */ -/***/ (function(module) { - -eval("module.exports = {\"aliceblue\":[240,248,255],\"antiquewhite\":[250,235,215],\"aqua\":[0,255,255],\"aquamarine\":[127,255,212],\"azure\":[240,255,255],\"beige\":[245,245,220],\"bisque\":[255,228,196],\"black\":[0,0,0],\"blanchedalmond\":[255,235,205],\"blue\":[0,0,255],\"blueviolet\":[138,43,226],\"brown\":[165,42,42],\"burlywood\":[222,184,135],\"cadetblue\":[95,158,160],\"chartreuse\":[127,255,0],\"chocolate\":[210,105,30],\"coral\":[255,127,80],\"cornflowerblue\":[100,149,237],\"cornsilk\":[255,248,220],\"crimson\":[220,20,60],\"cyan\":[0,255,255],\"darkblue\":[0,0,139],\"darkcyan\":[0,139,139],\"darkgoldenrod\":[184,134,11],\"darkgray\":[169,169,169],\"darkgreen\":[0,100,0],\"darkgrey\":[169,169,169],\"darkkhaki\":[189,183,107],\"darkmagenta\":[139,0,139],\"darkolivegreen\":[85,107,47],\"darkorange\":[255,140,0],\"darkorchid\":[153,50,204],\"darkred\":[139,0,0],\"darksalmon\":[233,150,122],\"darkseagreen\":[143,188,143],\"darkslateblue\":[72,61,139],\"darkslategray\":[47,79,79],\"darkslategrey\":[47,79,79],\"darkturquoise\":[0,206,209],\"darkviolet\":[148,0,211],\"deeppink\":[255,20,147],\"deepskyblue\":[0,191,255],\"dimgray\":[105,105,105],\"dimgrey\":[105,105,105],\"dodgerblue\":[30,144,255],\"firebrick\":[178,34,34],\"floralwhite\":[255,250,240],\"forestgreen\":[34,139,34],\"fuchsia\":[255,0,255],\"gainsboro\":[220,220,220],\"ghostwhite\":[248,248,255],\"gold\":[255,215,0],\"goldenrod\":[218,165,32],\"gray\":[128,128,128],\"green\":[0,128,0],\"greenyellow\":[173,255,47],\"grey\":[128,128,128],\"honeydew\":[240,255,240],\"hotpink\":[255,105,180],\"indianred\":[205,92,92],\"indigo\":[75,0,130],\"ivory\":[255,255,240],\"khaki\":[240,230,140],\"lavender\":[230,230,250],\"lavenderblush\":[255,240,245],\"lawngreen\":[124,252,0],\"lemonchiffon\":[255,250,205],\"lightblue\":[173,216,230],\"lightcoral\":[240,128,128],\"lightcyan\":[224,255,255],\"lightgoldenrodyellow\":[250,250,210],\"lightgray\":[211,211,211],\"lightgreen\":[144,238,144],\"lightgrey\":[211,211,211],\"lightpink\":[255,182,193],\"lightsalmon\":[255,160,122],\"lightseagreen\":[32,178,170],\"lightskyblue\":[135,206,250],\"lightslategray\":[119,136,153],\"lightslategrey\":[119,136,153],\"lightsteelblue\":[176,196,222],\"lightyellow\":[255,255,224],\"lime\":[0,255,0],\"limegreen\":[50,205,50],\"linen\":[250,240,230],\"magenta\":[255,0,255],\"maroon\":[128,0,0],\"mediumaquamarine\":[102,205,170],\"mediumblue\":[0,0,205],\"mediumorchid\":[186,85,211],\"mediumpurple\":[147,112,219],\"mediumseagreen\":[60,179,113],\"mediumslateblue\":[123,104,238],\"mediumspringgreen\":[0,250,154],\"mediumturquoise\":[72,209,204],\"mediumvioletred\":[199,21,133],\"midnightblue\":[25,25,112],\"mintcream\":[245,255,250],\"mistyrose\":[255,228,225],\"moccasin\":[255,228,181],\"navajowhite\":[255,222,173],\"navy\":[0,0,128],\"oldlace\":[253,245,230],\"olive\":[128,128,0],\"olivedrab\":[107,142,35],\"orange\":[255,165,0],\"orangered\":[255,69,0],\"orchid\":[218,112,214],\"palegoldenrod\":[238,232,170],\"palegreen\":[152,251,152],\"paleturquoise\":[175,238,238],\"palevioletred\":[219,112,147],\"papayawhip\":[255,239,213],\"peachpuff\":[255,218,185],\"peru\":[205,133,63],\"pink\":[255,192,203],\"plum\":[221,160,221],\"powderblue\":[176,224,230],\"purple\":[128,0,128],\"rebeccapurple\":[102,51,153],\"red\":[255,0,0],\"rosybrown\":[188,143,143],\"royalblue\":[65,105,225],\"saddlebrown\":[139,69,19],\"salmon\":[250,128,114],\"sandybrown\":[244,164,96],\"seagreen\":[46,139,87],\"seashell\":[255,245,238],\"sienna\":[160,82,45],\"silver\":[192,192,192],\"skyblue\":[135,206,235],\"slateblue\":[106,90,205],\"slategray\":[112,128,144],\"slategrey\":[112,128,144],\"snow\":[255,250,250],\"springgreen\":[0,255,127],\"steelblue\":[70,130,180],\"tan\":[210,180,140],\"teal\":[0,128,128],\"thistle\":[216,191,216],\"tomato\":[255,99,71],\"turquoise\":[64,224,208],\"violet\":[238,130,238],\"wheat\":[245,222,179],\"white\":[255,255,255],\"whitesmoke\":[245,245,245],\"yellow\":[255,255,0],\"yellowgreen\":[154,205,50]};\n\n//# sourceURL=webpack:///./node_modules/color-string/node_modules/color-name/index.json?"); - -/***/ }), - -/***/ "./node_modules/color/color.js": -/*!*************************************!*\ - !*** ./node_modules/color/color.js ***! - \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* MIT license */\nvar convert = __webpack_require__(/*! color-convert */ \"./node_modules/color/node_modules/color-convert/index.js\"),\n string = __webpack_require__(/*! color-string */ \"./node_modules/color-string/color-string.js\");\n\nvar Color = function(cssString) {\n if (cssString instanceof Color) return cssString;\n if (! (this instanceof Color)) return new Color(cssString);\n\n this.values = {\n rgb: [0, 0, 0],\n hsl: [0, 0, 0],\n hsv: [0, 0, 0],\n hwb: [0, 0, 0],\n cmyk: [0, 0, 0, 0],\n alpha: 1\n }\n\n // parse Color() argument\n if (typeof cssString == \"string\") {\n var vals = string.getRgba(cssString);\n if (vals) {\n this.setValues(\"rgb\", vals);\n }\n else if(vals = string.getHsla(cssString)) {\n this.setValues(\"hsl\", vals);\n }\n else if(vals = string.getHwb(cssString)) {\n this.setValues(\"hwb\", vals);\n }\n else {\n throw new Error(\"Unable to parse color from string \\\"\" + cssString + \"\\\"\");\n }\n }\n else if (typeof cssString == \"object\") {\n var vals = cssString;\n if(vals[\"r\"] !== undefined || vals[\"red\"] !== undefined) {\n this.setValues(\"rgb\", vals)\n }\n else if(vals[\"l\"] !== undefined || vals[\"lightness\"] !== undefined) {\n this.setValues(\"hsl\", vals)\n }\n else if(vals[\"v\"] !== undefined || vals[\"value\"] !== undefined) {\n this.setValues(\"hsv\", vals)\n }\n else if(vals[\"w\"] !== undefined || vals[\"whiteness\"] !== undefined) {\n this.setValues(\"hwb\", vals)\n }\n else if(vals[\"c\"] !== undefined || vals[\"cyan\"] !== undefined) {\n this.setValues(\"cmyk\", vals)\n }\n else {\n throw new Error(\"Unable to parse color from object \" + JSON.stringify(cssString));\n }\n }\n}\n\nColor.prototype = {\n rgb: function (vals) {\n return this.setSpace(\"rgb\", arguments);\n },\n hsl: function(vals) {\n return this.setSpace(\"hsl\", arguments);\n },\n hsv: function(vals) {\n return this.setSpace(\"hsv\", arguments);\n },\n hwb: function(vals) {\n return this.setSpace(\"hwb\", arguments);\n },\n cmyk: function(vals) {\n return this.setSpace(\"cmyk\", arguments);\n },\n\n rgbArray: function() {\n return this.values.rgb;\n },\n hslArray: function() {\n return this.values.hsl;\n },\n hsvArray: function() {\n return this.values.hsv;\n },\n hwbArray: function() {\n if (this.values.alpha !== 1) {\n return this.values.hwb.concat([this.values.alpha])\n }\n return this.values.hwb;\n },\n cmykArray: function() {\n return this.values.cmyk;\n },\n rgbaArray: function() {\n var rgb = this.values.rgb;\n return rgb.concat([this.values.alpha]);\n },\n hslaArray: function() {\n var hsl = this.values.hsl;\n return hsl.concat([this.values.alpha]);\n },\n alpha: function(val) {\n if (val === undefined) {\n return this.values.alpha;\n }\n this.setValues(\"alpha\", val);\n return this;\n },\n\n red: function(val) {\n return this.setChannel(\"rgb\", 0, val);\n },\n green: function(val) {\n return this.setChannel(\"rgb\", 1, val);\n },\n blue: function(val) {\n return this.setChannel(\"rgb\", 2, val);\n },\n hue: function(val) {\n return this.setChannel(\"hsl\", 0, val);\n },\n saturation: function(val) {\n return this.setChannel(\"hsl\", 1, val);\n },\n lightness: function(val) {\n return this.setChannel(\"hsl\", 2, val);\n },\n saturationv: function(val) {\n return this.setChannel(\"hsv\", 1, val);\n },\n whiteness: function(val) {\n return this.setChannel(\"hwb\", 1, val);\n },\n blackness: function(val) {\n return this.setChannel(\"hwb\", 2, val);\n },\n value: function(val) {\n return this.setChannel(\"hsv\", 2, val);\n },\n cyan: function(val) {\n return this.setChannel(\"cmyk\", 0, val);\n },\n magenta: function(val) {\n return this.setChannel(\"cmyk\", 1, val);\n },\n yellow: function(val) {\n return this.setChannel(\"cmyk\", 2, val);\n },\n black: function(val) {\n return this.setChannel(\"cmyk\", 3, val);\n },\n\n hexString: function() {\n return string.hexString(this.values.rgb);\n },\n rgbString: function() {\n return string.rgbString(this.values.rgb, this.values.alpha);\n },\n rgbaString: function() {\n return string.rgbaString(this.values.rgb, this.values.alpha);\n },\n percentString: function() {\n return string.percentString(this.values.rgb, this.values.alpha);\n },\n hslString: function() {\n return string.hslString(this.values.hsl, this.values.alpha);\n },\n hslaString: function() {\n return string.hslaString(this.values.hsl, this.values.alpha);\n },\n hwbString: function() {\n return string.hwbString(this.values.hwb, this.values.alpha);\n },\n keyword: function() {\n return string.keyword(this.values.rgb, this.values.alpha);\n },\n\n rgbNumber: function() {\n return (this.values.rgb[0] << 16) | (this.values.rgb[1] << 8) | this.values.rgb[2];\n },\n\n luminosity: function() {\n // http://www.w3.org/TR/WCAG20/#relativeluminancedef\n var rgb = this.values.rgb;\n var lum = [];\n for (var i = 0; i < rgb.length; i++) {\n var chan = rgb[i] / 255;\n lum[i] = (chan <= 0.03928) ? chan / 12.92\n : Math.pow(((chan + 0.055) / 1.055), 2.4)\n }\n return 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n },\n\n contrast: function(color2) {\n // http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n var lum1 = this.luminosity();\n var lum2 = color2.luminosity();\n if (lum1 > lum2) {\n return (lum1 + 0.05) / (lum2 + 0.05)\n };\n return (lum2 + 0.05) / (lum1 + 0.05);\n },\n\n level: function(color2) {\n var contrastRatio = this.contrast(color2);\n return (contrastRatio >= 7.1)\n ? 'AAA'\n : (contrastRatio >= 4.5)\n ? 'AA'\n : '';\n },\n\n dark: function() {\n // YIQ equation from http://24ways.org/2010/calculating-color-contrast\n var rgb = this.values.rgb,\n yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n \treturn yiq < 128;\n },\n\n light: function() {\n return !this.dark();\n },\n\n negate: function() {\n var rgb = []\n for (var i = 0; i < 3; i++) {\n rgb[i] = 255 - this.values.rgb[i];\n }\n this.setValues(\"rgb\", rgb);\n return this;\n },\n\n lighten: function(ratio) {\n this.values.hsl[2] += this.values.hsl[2] * ratio;\n this.setValues(\"hsl\", this.values.hsl);\n return this;\n },\n\n darken: function(ratio) {\n this.values.hsl[2] -= this.values.hsl[2] * ratio;\n this.setValues(\"hsl\", this.values.hsl);\n return this;\n },\n\n saturate: function(ratio) {\n this.values.hsl[1] += this.values.hsl[1] * ratio;\n this.setValues(\"hsl\", this.values.hsl);\n return this;\n },\n\n desaturate: function(ratio) {\n this.values.hsl[1] -= this.values.hsl[1] * ratio;\n this.setValues(\"hsl\", this.values.hsl);\n return this;\n },\n\n whiten: function(ratio) {\n this.values.hwb[1] += this.values.hwb[1] * ratio;\n this.setValues(\"hwb\", this.values.hwb);\n return this;\n },\n\n blacken: function(ratio) {\n this.values.hwb[2] += this.values.hwb[2] * ratio;\n this.setValues(\"hwb\", this.values.hwb);\n return this;\n },\n\n greyscale: function() {\n var rgb = this.values.rgb;\n // http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n var val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n this.setValues(\"rgb\", [val, val, val]);\n return this;\n },\n\n clearer: function(ratio) {\n this.setValues(\"alpha\", this.values.alpha - (this.values.alpha * ratio));\n return this;\n },\n\n opaquer: function(ratio) {\n this.setValues(\"alpha\", this.values.alpha + (this.values.alpha * ratio));\n return this;\n },\n\n rotate: function(degrees) {\n var hue = this.values.hsl[0];\n hue = (hue + degrees) % 360;\n hue = hue < 0 ? 360 + hue : hue;\n this.values.hsl[0] = hue;\n this.setValues(\"hsl\", this.values.hsl);\n return this;\n },\n\n mix: function(color2, weight) {\n weight = 1 - (weight == null ? 0.5 : weight);\n\n // algorithm from Sass's mix(). Ratio of first color in mix is\n // determined by the alphas of both colors and the weight\n var t1 = weight * 2 - 1,\n d = this.alpha() - color2.alpha();\n\n var weight1 = (((t1 * d == -1) ? t1 : (t1 + d) / (1 + t1 * d)) + 1) / 2;\n var weight2 = 1 - weight1;\n\n var rgb = this.rgbArray();\n var rgb2 = color2.rgbArray();\n\n for (var i = 0; i < rgb.length; i++) {\n rgb[i] = rgb[i] * weight1 + rgb2[i] * weight2;\n }\n this.setValues(\"rgb\", rgb);\n\n var alpha = this.alpha() * weight + color2.alpha() * (1 - weight);\n this.setValues(\"alpha\", alpha);\n\n return this;\n },\n\n toJSON: function() {\n return this.rgb();\n },\n\n clone: function() {\n return new Color(this.rgb());\n }\n}\n\n\nColor.prototype.getValues = function(space) {\n var vals = {};\n for (var i = 0; i < space.length; i++) {\n vals[space[i]] = this.values[space][i];\n }\n if (this.values.alpha != 1) {\n vals[\"a\"] = this.values.alpha;\n }\n // {r: 255, g: 255, b: 255, a: 0.4}\n return vals;\n}\n\nColor.prototype.setValues = function(space, vals) {\n var spaces = {\n \"rgb\": [\"red\", \"green\", \"blue\"],\n \"hsl\": [\"hue\", \"saturation\", \"lightness\"],\n \"hsv\": [\"hue\", \"saturation\", \"value\"],\n \"hwb\": [\"hue\", \"whiteness\", \"blackness\"],\n \"cmyk\": [\"cyan\", \"magenta\", \"yellow\", \"black\"]\n };\n\n var maxes = {\n \"rgb\": [255, 255, 255],\n \"hsl\": [360, 100, 100],\n \"hsv\": [360, 100, 100],\n \"hwb\": [360, 100, 100],\n \"cmyk\": [100, 100, 100, 100]\n };\n\n var alpha = 1;\n if (space == \"alpha\") {\n alpha = vals;\n }\n else if (vals.length) {\n // [10, 10, 10]\n this.values[space] = vals.slice(0, space.length);\n alpha = vals[space.length];\n }\n else if (vals[space[0]] !== undefined) {\n // {r: 10, g: 10, b: 10}\n for (var i = 0; i < space.length; i++) {\n this.values[space][i] = vals[space[i]];\n }\n alpha = vals.a;\n }\n else if (vals[spaces[space][0]] !== undefined) {\n // {red: 10, green: 10, blue: 10}\n var chans = spaces[space];\n for (var i = 0; i < space.length; i++) {\n this.values[space][i] = vals[chans[i]];\n }\n alpha = vals.alpha;\n }\n this.values.alpha = Math.max(0, Math.min(1, (alpha !== undefined ? alpha : this.values.alpha) ));\n if (space == \"alpha\") {\n return;\n }\n\n // cap values of the space prior converting all values\n for (var i = 0; i < space.length; i++) {\n var capped = Math.max(0, Math.min(maxes[space][i], this.values[space][i]));\n this.values[space][i] = Math.round(capped);\n }\n\n // convert to all the other color spaces\n for (var sname in spaces) {\n if (sname != space) {\n this.values[sname] = convert[space][sname](this.values[space])\n }\n\n // cap values\n for (var i = 0; i < sname.length; i++) {\n var capped = Math.max(0, Math.min(maxes[sname][i], this.values[sname][i]));\n this.values[sname][i] = Math.round(capped);\n }\n }\n return true;\n}\n\nColor.prototype.setSpace = function(space, args) {\n var vals = args[0];\n if (vals === undefined) {\n // color.rgb()\n return this.getValues(space);\n }\n // color.rgb(10, 10, 10)\n if (typeof vals == \"number\") {\n vals = Array.prototype.slice.call(args);\n }\n this.setValues(space, vals);\n return this;\n}\n\nColor.prototype.setChannel = function(space, index, val) {\n if (val === undefined) {\n // color.red()\n return this.values[space][index];\n }\n // color.red(100)\n this.values[space][index] = val;\n this.setValues(space, this.values[space]);\n return this;\n}\n\nmodule.exports = Color;\n\n\n//# sourceURL=webpack:///./node_modules/color/color.js?"); - -/***/ }), - -/***/ "./node_modules/color/node_modules/color-convert/conversions.js": -/*!**********************************************************************!*\ - !*** ./node_modules/color/node_modules/color-convert/conversions.js ***! - \**********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/* MIT license */\n\nmodule.exports = {\n rgb2hsl: rgb2hsl,\n rgb2hsv: rgb2hsv,\n rgb2hwb: rgb2hwb,\n rgb2cmyk: rgb2cmyk,\n rgb2keyword: rgb2keyword,\n rgb2xyz: rgb2xyz,\n rgb2lab: rgb2lab,\n rgb2lch: rgb2lch,\n\n hsl2rgb: hsl2rgb,\n hsl2hsv: hsl2hsv,\n hsl2hwb: hsl2hwb,\n hsl2cmyk: hsl2cmyk,\n hsl2keyword: hsl2keyword,\n\n hsv2rgb: hsv2rgb,\n hsv2hsl: hsv2hsl,\n hsv2hwb: hsv2hwb,\n hsv2cmyk: hsv2cmyk,\n hsv2keyword: hsv2keyword,\n\n hwb2rgb: hwb2rgb,\n hwb2hsl: hwb2hsl,\n hwb2hsv: hwb2hsv,\n hwb2cmyk: hwb2cmyk,\n hwb2keyword: hwb2keyword,\n\n cmyk2rgb: cmyk2rgb,\n cmyk2hsl: cmyk2hsl,\n cmyk2hsv: cmyk2hsv,\n cmyk2hwb: cmyk2hwb,\n cmyk2keyword: cmyk2keyword,\n\n keyword2rgb: keyword2rgb,\n keyword2hsl: keyword2hsl,\n keyword2hsv: keyword2hsv,\n keyword2hwb: keyword2hwb,\n keyword2cmyk: keyword2cmyk,\n keyword2lab: keyword2lab,\n keyword2xyz: keyword2xyz,\n\n xyz2rgb: xyz2rgb,\n xyz2lab: xyz2lab,\n xyz2lch: xyz2lch,\n\n lab2xyz: lab2xyz,\n lab2rgb: lab2rgb,\n lab2lch: lab2lch,\n\n lch2lab: lch2lab,\n lch2xyz: lch2xyz,\n lch2rgb: lch2rgb\n}\n\n\nfunction rgb2hsl(rgb) {\n var r = rgb[0]/255,\n g = rgb[1]/255,\n b = rgb[2]/255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n delta = max - min,\n h, s, l;\n\n if (max == min)\n h = 0;\n else if (r == max)\n h = (g - b) / delta;\n else if (g == max)\n h = 2 + (b - r) / delta;\n else if (b == max)\n h = 4 + (r - g)/ delta;\n\n h = Math.min(h * 60, 360);\n\n if (h < 0)\n h += 360;\n\n l = (min + max) / 2;\n\n if (max == min)\n s = 0;\n else if (l <= 0.5)\n s = delta / (max + min);\n else\n s = delta / (2 - max - min);\n\n return [h, s * 100, l * 100];\n}\n\nfunction rgb2hsv(rgb) {\n var r = rgb[0],\n g = rgb[1],\n b = rgb[2],\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n delta = max - min,\n h, s, v;\n\n if (max == 0)\n s = 0;\n else\n s = (delta/max * 1000)/10;\n\n if (max == min)\n h = 0;\n else if (r == max)\n h = (g - b) / delta;\n else if (g == max)\n h = 2 + (b - r) / delta;\n else if (b == max)\n h = 4 + (r - g) / delta;\n\n h = Math.min(h * 60, 360);\n\n if (h < 0)\n h += 360;\n\n v = ((max / 255) * 1000) / 10;\n\n return [h, s, v];\n}\n\nfunction rgb2hwb(rgb) {\n var r = rgb[0],\n g = rgb[1],\n b = rgb[2],\n h = rgb2hsl(rgb)[0],\n w = 1/255 * Math.min(r, Math.min(g, b)),\n b = 1 - 1/255 * Math.max(r, Math.max(g, b));\n\n return [h, w * 100, b * 100];\n}\n\nfunction rgb2cmyk(rgb) {\n var r = rgb[0] / 255,\n g = rgb[1] / 255,\n b = rgb[2] / 255,\n c, m, y, k;\n\n k = Math.min(1 - r, 1 - g, 1 - b);\n c = (1 - r - k) / (1 - k) || 0;\n m = (1 - g - k) / (1 - k) || 0;\n y = (1 - b - k) / (1 - k) || 0;\n return [c * 100, m * 100, y * 100, k * 100];\n}\n\nfunction rgb2keyword(rgb) {\n return reverseKeywords[JSON.stringify(rgb)];\n}\n\nfunction rgb2xyz(rgb) {\n var r = rgb[0] / 255,\n g = rgb[1] / 255,\n b = rgb[2] / 255;\n\n // assume sRGB\n r = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n g = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n b = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n var x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n var y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n var z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n return [x * 100, y *100, z * 100];\n}\n\nfunction rgb2lab(rgb) {\n var xyz = rgb2xyz(rgb),\n x = xyz[0],\n y = xyz[1],\n z = xyz[2],\n l, a, b;\n\n x /= 95.047;\n y /= 100;\n z /= 108.883;\n\n x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116);\n y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116);\n z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z) + (16 / 116);\n\n l = (116 * y) - 16;\n a = 500 * (x - y);\n b = 200 * (y - z);\n\n return [l, a, b];\n}\n\nfunction rgb2lch(args) {\n return lab2lch(rgb2lab(args));\n}\n\nfunction hsl2rgb(hsl) {\n var h = hsl[0] / 360,\n s = hsl[1] / 100,\n l = hsl[2] / 100,\n t1, t2, t3, rgb, val;\n\n if (s == 0) {\n val = l * 255;\n return [val, val, val];\n }\n\n if (l < 0.5)\n t2 = l * (1 + s);\n else\n t2 = l + s - l * s;\n t1 = 2 * l - t2;\n\n rgb = [0, 0, 0];\n for (var i = 0; i < 3; i++) {\n t3 = h + 1 / 3 * - (i - 1);\n t3 < 0 && t3++;\n t3 > 1 && t3--;\n\n if (6 * t3 < 1)\n val = t1 + (t2 - t1) * 6 * t3;\n else if (2 * t3 < 1)\n val = t2;\n else if (3 * t3 < 2)\n val = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n else\n val = t1;\n\n rgb[i] = val * 255;\n }\n\n return rgb;\n}\n\nfunction hsl2hsv(hsl) {\n var h = hsl[0],\n s = hsl[1] / 100,\n l = hsl[2] / 100,\n sv, v;\n\n if(l === 0) {\n // no need to do calc on black\n // also avoids divide by 0 error\n return [0, 0, 0];\n }\n\n l *= 2;\n s *= (l <= 1) ? l : 2 - l;\n v = (l + s) / 2;\n sv = (2 * s) / (l + s);\n return [h, sv * 100, v * 100];\n}\n\nfunction hsl2hwb(args) {\n return rgb2hwb(hsl2rgb(args));\n}\n\nfunction hsl2cmyk(args) {\n return rgb2cmyk(hsl2rgb(args));\n}\n\nfunction hsl2keyword(args) {\n return rgb2keyword(hsl2rgb(args));\n}\n\n\nfunction hsv2rgb(hsv) {\n var h = hsv[0] / 60,\n s = hsv[1] / 100,\n v = hsv[2] / 100,\n hi = Math.floor(h) % 6;\n\n var f = h - Math.floor(h),\n p = 255 * v * (1 - s),\n q = 255 * v * (1 - (s * f)),\n t = 255 * v * (1 - (s * (1 - f))),\n v = 255 * v;\n\n switch(hi) {\n case 0:\n return [v, t, p];\n case 1:\n return [q, v, p];\n case 2:\n return [p, v, t];\n case 3:\n return [p, q, v];\n case 4:\n return [t, p, v];\n case 5:\n return [v, p, q];\n }\n}\n\nfunction hsv2hsl(hsv) {\n var h = hsv[0],\n s = hsv[1] / 100,\n v = hsv[2] / 100,\n sl, l;\n\n l = (2 - s) * v;\n sl = s * v;\n sl /= (l <= 1) ? l : 2 - l;\n sl = sl || 0;\n l /= 2;\n return [h, sl * 100, l * 100];\n}\n\nfunction hsv2hwb(args) {\n return rgb2hwb(hsv2rgb(args))\n}\n\nfunction hsv2cmyk(args) {\n return rgb2cmyk(hsv2rgb(args));\n}\n\nfunction hsv2keyword(args) {\n return rgb2keyword(hsv2rgb(args));\n}\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nfunction hwb2rgb(hwb) {\n var h = hwb[0] / 360,\n wh = hwb[1] / 100,\n bl = hwb[2] / 100,\n ratio = wh + bl,\n i, v, f, n;\n\n // wh + bl cant be > 1\n if (ratio > 1) {\n wh /= ratio;\n bl /= ratio;\n }\n\n i = Math.floor(6 * h);\n v = 1 - bl;\n f = 6 * h - i;\n if ((i & 0x01) != 0) {\n f = 1 - f;\n }\n n = wh + f * (v - wh); // linear interpolation\n\n switch (i) {\n default:\n case 6:\n case 0: r = v; g = n; b = wh; break;\n case 1: r = n; g = v; b = wh; break;\n case 2: r = wh; g = v; b = n; break;\n case 3: r = wh; g = n; b = v; break;\n case 4: r = n; g = wh; b = v; break;\n case 5: r = v; g = wh; b = n; break;\n }\n\n return [r * 255, g * 255, b * 255];\n}\n\nfunction hwb2hsl(args) {\n return rgb2hsl(hwb2rgb(args));\n}\n\nfunction hwb2hsv(args) {\n return rgb2hsv(hwb2rgb(args));\n}\n\nfunction hwb2cmyk(args) {\n return rgb2cmyk(hwb2rgb(args));\n}\n\nfunction hwb2keyword(args) {\n return rgb2keyword(hwb2rgb(args));\n}\n\nfunction cmyk2rgb(cmyk) {\n var c = cmyk[0] / 100,\n m = cmyk[1] / 100,\n y = cmyk[2] / 100,\n k = cmyk[3] / 100,\n r, g, b;\n\n r = 1 - Math.min(1, c * (1 - k) + k);\n g = 1 - Math.min(1, m * (1 - k) + k);\n b = 1 - Math.min(1, y * (1 - k) + k);\n return [r * 255, g * 255, b * 255];\n}\n\nfunction cmyk2hsl(args) {\n return rgb2hsl(cmyk2rgb(args));\n}\n\nfunction cmyk2hsv(args) {\n return rgb2hsv(cmyk2rgb(args));\n}\n\nfunction cmyk2hwb(args) {\n return rgb2hwb(cmyk2rgb(args));\n}\n\nfunction cmyk2keyword(args) {\n return rgb2keyword(cmyk2rgb(args));\n}\n\n\nfunction xyz2rgb(xyz) {\n var x = xyz[0] / 100,\n y = xyz[1] / 100,\n z = xyz[2] / 100,\n r, g, b;\n\n r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n // assume sRGB\n r = r > 0.0031308 ? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n : r = (r * 12.92);\n\n g = g > 0.0031308 ? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n : g = (g * 12.92);\n\n b = b > 0.0031308 ? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n : b = (b * 12.92);\n\n r = Math.min(Math.max(0, r), 1);\n g = Math.min(Math.max(0, g), 1);\n b = Math.min(Math.max(0, b), 1);\n\n return [r * 255, g * 255, b * 255];\n}\n\nfunction xyz2lab(xyz) {\n var x = xyz[0],\n y = xyz[1],\n z = xyz[2],\n l, a, b;\n\n x /= 95.047;\n y /= 100;\n z /= 108.883;\n\n x = x > 0.008856 ? Math.pow(x, 1/3) : (7.787 * x) + (16 / 116);\n y = y > 0.008856 ? Math.pow(y, 1/3) : (7.787 * y) + (16 / 116);\n z = z > 0.008856 ? Math.pow(z, 1/3) : (7.787 * z) + (16 / 116);\n\n l = (116 * y) - 16;\n a = 500 * (x - y);\n b = 200 * (y - z);\n\n return [l, a, b];\n}\n\nfunction xyz2lch(args) {\n return lab2lch(xyz2lab(args));\n}\n\nfunction lab2xyz(lab) {\n var l = lab[0],\n a = lab[1],\n b = lab[2],\n x, y, z, y2;\n\n if (l <= 8) {\n y = (l * 100) / 903.3;\n y2 = (7.787 * (y / 100)) + (16 / 116);\n } else {\n y = 100 * Math.pow((l + 16) / 116, 3);\n y2 = Math.pow(y / 100, 1/3);\n }\n\n x = x / 95.047 <= 0.008856 ? x = (95.047 * ((a / 500) + y2 - (16 / 116))) / 7.787 : 95.047 * Math.pow((a / 500) + y2, 3);\n\n z = z / 108.883 <= 0.008859 ? z = (108.883 * (y2 - (b / 200) - (16 / 116))) / 7.787 : 108.883 * Math.pow(y2 - (b / 200), 3);\n\n return [x, y, z];\n}\n\nfunction lab2lch(lab) {\n var l = lab[0],\n a = lab[1],\n b = lab[2],\n hr, h, c;\n\n hr = Math.atan2(b, a);\n h = hr * 360 / 2 / Math.PI;\n if (h < 0) {\n h += 360;\n }\n c = Math.sqrt(a * a + b * b);\n return [l, c, h];\n}\n\nfunction lab2rgb(args) {\n return xyz2rgb(lab2xyz(args));\n}\n\nfunction lch2lab(lch) {\n var l = lch[0],\n c = lch[1],\n h = lch[2],\n a, b, hr;\n\n hr = h / 360 * 2 * Math.PI;\n a = c * Math.cos(hr);\n b = c * Math.sin(hr);\n return [l, a, b];\n}\n\nfunction lch2xyz(args) {\n return lab2xyz(lch2lab(args));\n}\n\nfunction lch2rgb(args) {\n return lab2rgb(lch2lab(args));\n}\n\nfunction keyword2rgb(keyword) {\n return cssKeywords[keyword];\n}\n\nfunction keyword2hsl(args) {\n return rgb2hsl(keyword2rgb(args));\n}\n\nfunction keyword2hsv(args) {\n return rgb2hsv(keyword2rgb(args));\n}\n\nfunction keyword2hwb(args) {\n return rgb2hwb(keyword2rgb(args));\n}\n\nfunction keyword2cmyk(args) {\n return rgb2cmyk(keyword2rgb(args));\n}\n\nfunction keyword2lab(args) {\n return rgb2lab(keyword2rgb(args));\n}\n\nfunction keyword2xyz(args) {\n return rgb2xyz(keyword2rgb(args));\n}\n\nvar cssKeywords = {\n aliceblue: [240,248,255],\n antiquewhite: [250,235,215],\n aqua: [0,255,255],\n aquamarine: [127,255,212],\n azure: [240,255,255],\n beige: [245,245,220],\n bisque: [255,228,196],\n black: [0,0,0],\n blanchedalmond: [255,235,205],\n blue: [0,0,255],\n blueviolet: [138,43,226],\n brown: [165,42,42],\n burlywood: [222,184,135],\n cadetblue: [95,158,160],\n chartreuse: [127,255,0],\n chocolate: [210,105,30],\n coral: [255,127,80],\n cornflowerblue: [100,149,237],\n cornsilk: [255,248,220],\n crimson: [220,20,60],\n cyan: [0,255,255],\n darkblue: [0,0,139],\n darkcyan: [0,139,139],\n darkgoldenrod: [184,134,11],\n darkgray: [169,169,169],\n darkgreen: [0,100,0],\n darkgrey: [169,169,169],\n darkkhaki: [189,183,107],\n darkmagenta: [139,0,139],\n darkolivegreen: [85,107,47],\n darkorange: [255,140,0],\n darkorchid: [153,50,204],\n darkred: [139,0,0],\n darksalmon: [233,150,122],\n darkseagreen: [143,188,143],\n darkslateblue: [72,61,139],\n darkslategray: [47,79,79],\n darkslategrey: [47,79,79],\n darkturquoise: [0,206,209],\n darkviolet: [148,0,211],\n deeppink: [255,20,147],\n deepskyblue: [0,191,255],\n dimgray: [105,105,105],\n dimgrey: [105,105,105],\n dodgerblue: [30,144,255],\n firebrick: [178,34,34],\n floralwhite: [255,250,240],\n forestgreen: [34,139,34],\n fuchsia: [255,0,255],\n gainsboro: [220,220,220],\n ghostwhite: [248,248,255],\n gold: [255,215,0],\n goldenrod: [218,165,32],\n gray: [128,128,128],\n green: [0,128,0],\n greenyellow: [173,255,47],\n grey: [128,128,128],\n honeydew: [240,255,240],\n hotpink: [255,105,180],\n indianred: [205,92,92],\n indigo: [75,0,130],\n ivory: [255,255,240],\n khaki: [240,230,140],\n lavender: [230,230,250],\n lavenderblush: [255,240,245],\n lawngreen: [124,252,0],\n lemonchiffon: [255,250,205],\n lightblue: [173,216,230],\n lightcoral: [240,128,128],\n lightcyan: [224,255,255],\n lightgoldenrodyellow: [250,250,210],\n lightgray: [211,211,211],\n lightgreen: [144,238,144],\n lightgrey: [211,211,211],\n lightpink: [255,182,193],\n lightsalmon: [255,160,122],\n lightseagreen: [32,178,170],\n lightskyblue: [135,206,250],\n lightslategray: [119,136,153],\n lightslategrey: [119,136,153],\n lightsteelblue: [176,196,222],\n lightyellow: [255,255,224],\n lime: [0,255,0],\n limegreen: [50,205,50],\n linen: [250,240,230],\n magenta: [255,0,255],\n maroon: [128,0,0],\n mediumaquamarine: [102,205,170],\n mediumblue: [0,0,205],\n mediumorchid: [186,85,211],\n mediumpurple: [147,112,219],\n mediumseagreen: [60,179,113],\n mediumslateblue: [123,104,238],\n mediumspringgreen: [0,250,154],\n mediumturquoise: [72,209,204],\n mediumvioletred: [199,21,133],\n midnightblue: [25,25,112],\n mintcream: [245,255,250],\n mistyrose: [255,228,225],\n moccasin: [255,228,181],\n navajowhite: [255,222,173],\n navy: [0,0,128],\n oldlace: [253,245,230],\n olive: [128,128,0],\n olivedrab: [107,142,35],\n orange: [255,165,0],\n orangered: [255,69,0],\n orchid: [218,112,214],\n palegoldenrod: [238,232,170],\n palegreen: [152,251,152],\n paleturquoise: [175,238,238],\n palevioletred: [219,112,147],\n papayawhip: [255,239,213],\n peachpuff: [255,218,185],\n peru: [205,133,63],\n pink: [255,192,203],\n plum: [221,160,221],\n powderblue: [176,224,230],\n purple: [128,0,128],\n rebeccapurple: [102, 51, 153],\n red: [255,0,0],\n rosybrown: [188,143,143],\n royalblue: [65,105,225],\n saddlebrown: [139,69,19],\n salmon: [250,128,114],\n sandybrown: [244,164,96],\n seagreen: [46,139,87],\n seashell: [255,245,238],\n sienna: [160,82,45],\n silver: [192,192,192],\n skyblue: [135,206,235],\n slateblue: [106,90,205],\n slategray: [112,128,144],\n slategrey: [112,128,144],\n snow: [255,250,250],\n springgreen: [0,255,127],\n steelblue: [70,130,180],\n tan: [210,180,140],\n teal: [0,128,128],\n thistle: [216,191,216],\n tomato: [255,99,71],\n turquoise: [64,224,208],\n violet: [238,130,238],\n wheat: [245,222,179],\n white: [255,255,255],\n whitesmoke: [245,245,245],\n yellow: [255,255,0],\n yellowgreen: [154,205,50]\n};\n\nvar reverseKeywords = {};\nfor (var key in cssKeywords) {\n reverseKeywords[JSON.stringify(cssKeywords[key])] = key;\n}\n\n\n//# sourceURL=webpack:///./node_modules/color/node_modules/color-convert/conversions.js?"); - -/***/ }), - -/***/ "./node_modules/color/node_modules/color-convert/index.js": -/*!****************************************************************!*\ - !*** ./node_modules/color/node_modules/color-convert/index.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var conversions = __webpack_require__(/*! ./conversions */ \"./node_modules/color/node_modules/color-convert/conversions.js\");\n\nvar convert = function() {\n return new Converter();\n}\n\nfor (var func in conversions) {\n // export Raw versions\n convert[func + \"Raw\"] = (function(func) {\n // accept array or plain args\n return function(arg) {\n if (typeof arg == \"number\")\n arg = Array.prototype.slice.call(arguments);\n return conversions[func](arg);\n }\n })(func);\n\n var pair = /(\\w+)2(\\w+)/.exec(func),\n from = pair[1],\n to = pair[2];\n\n // export rgb2hsl and [\"rgb\"][\"hsl\"]\n convert[from] = convert[from] || {};\n\n convert[from][to] = convert[func] = (function(func) { \n return function(arg) {\n if (typeof arg == \"number\")\n arg = Array.prototype.slice.call(arguments);\n \n var val = conversions[func](arg);\n if (typeof val == \"string\" || val === undefined)\n return val; // keyword\n\n for (var i = 0; i < val.length; i++)\n val[i] = Math.round(val[i]);\n return val;\n }\n })(func);\n}\n\n\n/* Converter does lazy conversion and caching */\nvar Converter = function() {\n this.convs = {};\n};\n\n/* Either get the values for a space or\n set the values for a space, depending on args */\nConverter.prototype.routeSpace = function(space, args) {\n var values = args[0];\n if (values === undefined) {\n // color.rgb()\n return this.getValues(space);\n }\n // color.rgb(10, 10, 10)\n if (typeof values == \"number\") {\n values = Array.prototype.slice.call(args); \n }\n\n return this.setValues(space, values);\n};\n \n/* Set the values for a space, invalidating cache */\nConverter.prototype.setValues = function(space, values) {\n this.space = space;\n this.convs = {};\n this.convs[space] = values;\n return this;\n};\n\n/* Get the values for a space. If there's already\n a conversion for the space, fetch it, otherwise\n compute it */\nConverter.prototype.getValues = function(space) {\n var vals = this.convs[space];\n if (!vals) {\n var fspace = this.space,\n from = this.convs[fspace];\n vals = convert[fspace][space](from);\n\n this.convs[space] = vals;\n }\n return vals;\n};\n\n[\"rgb\", \"hsl\", \"hsv\", \"cmyk\", \"keyword\"].forEach(function(space) {\n Converter.prototype[space] = function(vals) {\n return this.routeSpace(space, arguments);\n }\n});\n\nmodule.exports = convert;\n\n//# sourceURL=webpack:///./node_modules/color/node_modules/color-convert/index.js?"); - -/***/ }), - -/***/ "./node_modules/colorable/index.js": -/*!*****************************************!*\ - !*** ./node_modules/colorable/index.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("\nvar _ = __webpack_require__(/*! lodash */ \"./node_modules/colorable/node_modules/lodash/index.js\");\nvar Color = __webpack_require__(/*! color */ \"./node_modules/color/color.js\");\n\nvar minimums = {\n aa: 4.5,\n aaLarge: 3,\n aaa: 7,\n aaaLarge: 4.5\n};\n\nmodule.exports = function(colors, options) {\n\n var arr = [];\n var results = [];\n var combinations = [];\n\n var options = options || {};\n\n _.defaults(options, {\n threshold: 0,\n compact: false,\n uniq: true\n });\n\n\n if (!Array.isArray(colors)) {\n if (typeof colors === 'object') {\n _.forIn(colors, function(val, key) {\n var color = Color(val);\n color.name = key;\n arr.push(color);\n });\n if (options.uniq) {\n arr = _.uniq(arr);\n }\n } else {\n console.error('Must provide an array or object');\n return false;\n }\n } else {\n if (options.uniq) {\n colors = _.uniq(colors);\n }\n colors.forEach(function(color) {\n arr.push(Color(color));\n });\n }\n\n arr.forEach(function(color) {\n var result = options.compact ? {} : _.clone(color);\n result.hex = color.hexString();\n if (color.name) { result.name = color.name; }\n result.combinations = [];\n arr.forEach(function(bg) {\n if (color === bg) { return false; }\n var combination = options.compact ? {} : _.clone(bg);\n combination.hex = bg.hexString();\n if (bg.name) { combination.name = bg.name; }\n combination.contrast = color.contrast(bg);\n combination.accessibility = {\n aa: combination.contrast >= minimums.aa,\n aaLarge: combination.contrast >= minimums.aaLarge,\n aaa: combination.contrast >= minimums.aaa,\n aaaLarge: combination.contrast >= minimums.aaaLarge,\n };\n if (combination.contrast > options.threshold) {\n result.combinations.push(combination);\n }\n });\n results.push(result);\n });\n\n return results;\n\n};\n\n\n\n//# sourceURL=webpack:///./node_modules/colorable/index.js?"); - -/***/ }), - -/***/ "./node_modules/colorable/node_modules/lodash/index.js": -/*!*************************************************************!*\ - !*** ./node_modules/colorable/node_modules/lodash/index.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_RESULT__;/**\n * @license\n * lodash 3.10.1 (Custom Build) \n * Build: `lodash modern -d -o ./index.js`\n * Copyright 2012-2015 The Dojo Foundation \n * Based on Underscore.js 1.8.3 \n * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n * Available under MIT license \n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '3.10.1';\n\n /** Used to compose bitmasks for wrapper metadata. */\n var BIND_FLAG = 1,\n BIND_KEY_FLAG = 2,\n CURRY_BOUND_FLAG = 4,\n CURRY_FLAG = 8,\n CURRY_RIGHT_FLAG = 16,\n PARTIAL_FLAG = 32,\n PARTIAL_RIGHT_FLAG = 64,\n ARY_FLAG = 128,\n REARG_FLAG = 256;\n\n /** Used as default options for `_.trunc`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect when a function becomes hot. */\n var HOT_COUNT = 150,\n HOT_SPAN = 16;\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2;\n\n /** Used as the `TypeError` message for \"Functions\" methods. */\n var FUNC_ERROR_TEXT = 'Expected a function';\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g,\n reUnescapedHtml = /[&<>\"'`]/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\n\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\n\\\\]|\\\\.)*?)\\2)\\]/g;\n\n /**\n * Used to match `RegExp` [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns)\n * and those outlined by [`EscapeRegExpPattern`](http://ecma-international.org/ecma-262/6.0/#sec-escaperegexppattern).\n */\n var reRegExpChars = /^[:!,]|[\\\\^$.*+?()[\\]{}|\\/]|(^[0-9a-fA-Fnrtuvx])|([\\n\\r\\u2028\\u2029])/g,\n reHasRegExpChars = RegExp(reRegExpChars.source);\n\n /** Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). */\n var reComboMark = /[\\u0300-\\u036f\\ufe20-\\ufe23]/g;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /** Used to match [ES template delimiters](http://ecma-international.org/ecma-262/6.0/#sec-template-literal-lexical-components). */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect hexadecimal string values. */\n var reHasHexPrefix = /^0[xX]/;\n\n /** Used to detect host constructors (Safari > 5). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^\\d+$/;\n\n /** Used to match latin-1 supplementary letters (excluding mathematical operators). */\n var reLatin1 = /[\\xc0-\\xd6\\xd8-\\xde\\xdf-\\xf6\\xf8-\\xff]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to match words to create compound words. */\n var reWords = (function() {\n var upper = '[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]',\n lower = '[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]+';\n\n return RegExp(upper + '+(?=' + upper + lower + ')|' + upper + '?' + lower + '|' + upper + '+|[0-9]+', 'g');\n }());\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'ArrayBuffer', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Math', 'Number',\n 'Object', 'RegExp', 'Set', 'String', '_', 'clearTimeout', 'isFinite',\n 'parseFloat', 'parseInt', 'setTimeout', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dateTag] = typedArrayTags[errorTag] =\n typedArrayTags[funcTag] = typedArrayTags[mapTag] =\n typedArrayTags[numberTag] = typedArrayTags[objectTag] =\n typedArrayTags[regexpTag] = typedArrayTags[setTag] =\n typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[boolTag] =\n cloneableTags[dateTag] = cloneableTags[float32Tag] =\n cloneableTags[float64Tag] = cloneableTags[int8Tag] =\n cloneableTags[int16Tag] = cloneableTags[int32Tag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[stringTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[mapTag] = cloneableTags[setTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map latin-1 supplementary letters to basic latin letters. */\n var deburredLetters = {\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcC': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xeC': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`'\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\",\n '`': '`'\n };\n\n /** Used to determine if values are of the language type `Object`. */\n var objectTypes = {\n 'function': true,\n 'object': true\n };\n\n /** Used to escape characters for inclusion in compiled regexes. */\n var regexpEscapes = {\n '0': 'x30', '1': 'x31', '2': 'x32', '3': 'x33', '4': 'x34',\n '5': 'x35', '6': 'x36', '7': 'x37', '8': 'x38', '9': 'x39',\n 'A': 'x41', 'B': 'x42', 'C': 'x43', 'D': 'x44', 'E': 'x45', 'F': 'x46',\n 'a': 'x61', 'b': 'x62', 'c': 'x63', 'd': 'x64', 'e': 'x65', 'f': 'x66',\n 'n': 'x6e', 'r': 'x72', 't': 'x74', 'u': 'x75', 'v': 'x76', 'x': 'x78'\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Detect free variable `exports`. */\n var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = freeExports && freeModule && typeof global == 'object' && global && global.Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = objectTypes[typeof self] && self && self.Object && self;\n\n /** Detect free variable `window`. */\n var freeWindow = objectTypes[typeof window] && window && window.Object && window;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports && freeExports;\n\n /**\n * Used as a reference to the global object.\n *\n * The `this` value is used if it's the global object to avoid Greasemonkey's\n * restricted `window` object, otherwise the `window` object is used.\n */\n var root = freeGlobal || ((freeWindow !== (this && this.window)) && freeWindow) || freeSelf || this;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * The base implementation of `compareAscending` which compares values and\n * sorts them in ascending order without guaranteeing a stable sort.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function baseCompareAscending(value, other) {\n if (value !== other) {\n var valIsNull = value === null,\n valIsUndef = value === undefined,\n valIsReflexive = value === value;\n\n var othIsNull = other === null,\n othIsUndef = other === undefined,\n othIsReflexive = other === other;\n\n if ((value > other && !othIsNull) || !valIsReflexive ||\n (valIsNull && !othIsUndef && othIsReflexive) ||\n (valIsUndef && othIsReflexive)) {\n return 1;\n }\n if ((value < other && !valIsNull) || !othIsReflexive ||\n (othIsNull && !valIsUndef && valIsReflexive) ||\n (othIsUndef && valIsReflexive)) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for callback shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without support for binary searches.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n if (value !== value) {\n return indexOfNaN(array, fromIndex);\n }\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isFunction` without support for environments\n * with incorrect `typeof` results.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n */\n function baseIsFunction(value) {\n // Avoid a Chakra JIT bug in compatibility modes of IE 11.\n // See https://github.com/jashkenas/underscore/issues/1621 for more details.\n return typeof value == 'function' || false;\n }\n\n /**\n * Converts `value` to a string if it's not one. An empty string is returned\n * for `null` or `undefined` values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n return value == null ? '' : (value + '');\n }\n\n /**\n * Used by `_.trim` and `_.trimLeft` to get the index of the first character\n * of `string` that is not found in `chars`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @param {string} chars The characters to find.\n * @returns {number} Returns the index of the first character not found in `chars`.\n */\n function charsLeftIndex(string, chars) {\n var index = -1,\n length = string.length;\n\n while (++index < length && chars.indexOf(string.charAt(index)) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimRight` to get the index of the last character\n * of `string` that is not found in `chars`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @param {string} chars The characters to find.\n * @returns {number} Returns the index of the last character not found in `chars`.\n */\n function charsRightIndex(string, chars) {\n var index = string.length;\n\n while (index-- && chars.indexOf(string.charAt(index)) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.sortBy` to compare transformed elements of a collection and stable\n * sort them in ascending order.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareAscending(object, other) {\n return baseCompareAscending(object.criteria, other.criteria) || (object.index - other.index);\n }\n\n /**\n * Used by `_.sortByOrder` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all valuess are sorted in ascending order. Otherwise,\n * a value is sorted in ascending order if its corresponding order is \"asc\", and\n * descending if \"desc\".\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = baseCompareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * ((order === 'asc' || order === true) ? 1 : -1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://code.google.com/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Used by `_.deburr` to convert latin-1 supplementary letters to basic latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n function deburrLetter(letter) {\n return deburredLetters[letter];\n }\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeHtmlChar(chr) {\n return htmlEscapes[chr];\n }\n\n /**\n * Used by `_.escapeRegExp` to escape characters for inclusion in compiled regexes.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @param {string} leadingChar The capture group for a leading character.\n * @param {string} whitespaceChar The capture group for a whitespace character.\n * @returns {string} Returns the escaped character.\n */\n function escapeRegExpChar(chr, leadingChar, whitespaceChar) {\n if (leadingChar) {\n chr = regexpEscapes[chr];\n } else if (whitespaceChar) {\n chr = stringEscapes[chr];\n }\n return '\\\\' + chr;\n }\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the index at which the first occurrence of `NaN` is found in `array`.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched `NaN`, else `-1`.\n */\n function indexOfNaN(array, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 0 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n var other = array[index];\n if (other !== other) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * Checks if `value` is object-like.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n */\n function isObjectLike(value) {\n return !!value && typeof value == 'object';\n }\n\n /**\n * Used by `trimmedLeftIndex` and `trimmedRightIndex` to determine if a\n * character code is whitespace.\n *\n * @private\n * @param {number} charCode The character code to inspect.\n * @returns {boolean} Returns `true` if `charCode` is whitespace, else `false`.\n */\n function isSpace(charCode) {\n return ((charCode <= 160 && (charCode >= 9 && charCode <= 13) || charCode == 32 || charCode == 160) || charCode == 5760 || charCode == 6158 ||\n (charCode >= 8192 && (charCode <= 8202 || charCode == 8232 || charCode == 8233 || charCode == 8239 || charCode == 8287 || charCode == 12288 || charCode == 65279)));\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = -1,\n result = [];\n\n while (++index < length) {\n if (array[index] === placeholder) {\n array[index] = PLACEHOLDER;\n result[++resIndex] = index;\n }\n }\n return result;\n }\n\n /**\n * An implementation of `_.uniq` optimized for sorted arrays without support\n * for callback shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The function invoked per iteration.\n * @returns {Array} Returns the new duplicate-value-free array.\n */\n function sortedUniq(array, iteratee) {\n var seen,\n index = -1,\n length = array.length,\n resIndex = -1,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value, index, array) : value;\n\n if (!index || seen !== computed) {\n seen = computed;\n result[++resIndex] = value;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the first non-whitespace character.\n */\n function trimmedLeftIndex(string) {\n var index = -1,\n length = string.length;\n\n while (++index < length && isSpace(string.charCodeAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedRightIndex(string) {\n var index = string.length;\n\n while (index-- && isSpace(string.charCodeAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n function unescapeHtmlChar(chr) {\n return htmlUnescapes[chr];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the given `context` object.\n *\n * @static\n * @memberOf _\n * @category Utility\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // using `context` to mock `Date#getTime` use in `_.now`\n * var mock = _.runInContext({\n * 'Date': function() {\n * return { 'getTime': getTimeMock };\n * }\n * });\n *\n * // or creating a suped-up `defer` in Node.js\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n function runInContext(context) {\n // Avoid issues with some ES3 environments that attempt to use values, named\n // after built-in constructors like `Object`, for the creation of literals.\n // ES5 clears this up by stating that literals must use built-in constructors.\n // See https://es5.github.io/#x11.1.5 for more details.\n context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root;\n\n /** Native constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Number = context.Number,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for native method references. */\n var arrayProto = Array.prototype,\n objectProto = Object.prototype,\n stringProto = String.prototype;\n\n /** Used to resolve the decompiled source of functions. */\n var fnToString = Function.prototype.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /**\n * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\n var objToString = objectProto.toString;\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n fnToString.call(hasOwnProperty).replace(/[\\\\^$.*+?()[\\]{}|]/g, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Native method references. */\n var ArrayBuffer = context.ArrayBuffer,\n clearTimeout = context.clearTimeout,\n parseFloat = context.parseFloat,\n pow = Math.pow,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n Set = getNative(context, 'Set'),\n setTimeout = context.setTimeout,\n splice = arrayProto.splice,\n Uint8Array = context.Uint8Array,\n WeakMap = getNative(context, 'WeakMap');\n\n /* Native method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeCreate = getNative(Object, 'create'),\n nativeFloor = Math.floor,\n nativeIsArray = getNative(Array, 'isArray'),\n nativeIsFinite = context.isFinite,\n nativeKeys = getNative(Object, 'keys'),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = getNative(Date, 'now'),\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random;\n\n /** Used as references for `-Infinity` and `Infinity`. */\n var NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY,\n POSITIVE_INFINITY = Number.POSITIVE_INFINITY;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /**\n * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n * of an array-like value.\n */\n var MAX_SAFE_INTEGER = 9007199254740991;\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit chaining.\n * Methods that operate on and return arrays, collections, and functions can\n * be chained together. Methods that retrieve a single value or may return a\n * primitive value will automatically end the chain returning the unwrapped\n * value. Explicit chaining may be enabled using `_.chain`. The execution of\n * chained methods is lazy, that is, execution is deferred until `_#value`\n * is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion. Shortcut\n * fusion is an optimization strategy which merge iteratee calls; this can help\n * to avoid the creation of intermediate data structures and greatly reduce the\n * number of iteratee executions.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `reverse`, `shift`, `slice`, `sort`,\n * `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `compact`, `drop`, `dropRight`, `dropRightWhile`, `dropWhile`, `filter`,\n * `first`, `initial`, `last`, `map`, `pluck`, `reject`, `rest`, `reverse`,\n * `slice`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, `toArray`,\n * and `where`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `at`, `before`, `bind`, `bindAll`, `bindKey`,\n * `callback`, `chain`, `chunk`, `commit`, `compact`, `concat`, `constant`,\n * `countBy`, `create`, `curry`, `debounce`, `defaults`, `defaultsDeep`,\n * `defer`, `delay`, `difference`, `drop`, `dropRight`, `dropRightWhile`,\n * `dropWhile`, `fill`, `filter`, `flatten`, `flattenDeep`, `flow`, `flowRight`,\n * `forEach`, `forEachRight`, `forIn`, `forInRight`, `forOwn`, `forOwnRight`,\n * `functions`, `groupBy`, `indexBy`, `initial`, `intersection`, `invert`,\n * `invoke`, `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`,\n * `matchesProperty`, `memoize`, `merge`, `method`, `methodOf`, `mixin`,\n * `modArgs`, `negate`, `omit`, `once`, `pairs`, `partial`, `partialRight`,\n * `partition`, `pick`, `plant`, `pluck`, `property`, `propertyOf`, `pull`,\n * `pullAt`, `push`, `range`, `rearg`, `reject`, `remove`, `rest`, `restParam`,\n * `reverse`, `set`, `shuffle`, `slice`, `sort`, `sortBy`, `sortByAll`,\n * `sortByOrder`, `splice`, `spread`, `take`, `takeRight`, `takeRightWhile`,\n * `takeWhile`, `tap`, `throttle`, `thru`, `times`, `toArray`, `toPlainObject`,\n * `transform`, `union`, `uniq`, `unshift`, `unzip`, `unzipWith`, `values`,\n * `valuesIn`, `where`, `without`, `wrap`, `xor`, `zip`, `zipObject`, `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clone`, `cloneDeep`,\n * `deburr`, `endsWith`, `escape`, `escapeRegExp`, `every`, `find`, `findIndex`,\n * `findKey`, `findLast`, `findLastIndex`, `findLastKey`, `findWhere`, `first`,\n * `floor`, `get`, `gt`, `gte`, `has`, `identity`, `includes`, `indexOf`,\n * `inRange`, `isArguments`, `isArray`, `isBoolean`, `isDate`, `isElement`,\n * `isEmpty`, `isEqual`, `isError`, `isFinite` `isFunction`, `isMatch`,\n * `isNative`, `isNaN`, `isNull`, `isNumber`, `isObject`, `isPlainObject`,\n * `isRegExp`, `isString`, `isUndefined`, `isTypedArray`, `join`, `kebabCase`,\n * `last`, `lastIndexOf`, `lt`, `lte`, `max`, `min`, `noConflict`, `noop`,\n * `now`, `pad`, `padLeft`, `padRight`, `parseInt`, `pop`, `random`, `reduce`,\n * `reduceRight`, `repeat`, `result`, `round`, `runInContext`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedLastIndex`, `startCase`,\n * `startsWith`, `sum`, `template`, `trim`, `trimLeft`, `trimRight`, `trunc`,\n * `unescape`, `uniqueId`, `value`, and `words`\n *\n * The wrapper method `sample` will return a wrapped value when `n` is provided,\n * otherwise an unwrapped value is returned.\n *\n * @name _\n * @constructor\n * @category Chain\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // returns an unwrapped value\n * wrapped.reduce(function(total, n) {\n * return total + n;\n * });\n * // => 6\n *\n * // returns a wrapped value\n * var squares = wrapped.map(function(n) {\n * return n * n;\n * });\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__chain__') && hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The function whose prototype all chaining wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable chaining for all wrapper methods.\n * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value.\n */\n function LodashWrapper(value, chainAll, actions) {\n this.__wrapped__ = value;\n this.__actions__ = actions || [];\n this.__chain__ = !!chainAll;\n }\n\n /**\n * An object environment feature flags.\n *\n * @static\n * @memberOf _\n * @type Object\n */\n var support = lodash.support = {};\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB). Change the following template settings to use\n * alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type Object\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type RegExp\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type RegExp\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type RegExp\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type string\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type Object\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type Function\n */\n '_': lodash\n }\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = POSITIVE_INFINITY;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = arrayCopy(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = arrayCopy(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = arrayCopy(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || arrLength < LARGE_ARRAY_SIZE || (arrLength == length && takeCount == length)) {\n return baseWrapperValue((isRight && isArr) ? array.reverse() : array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a cache object to store key/value pairs.\n *\n * @private\n * @static\n * @name Cache\n * @memberOf _.memoize\n */\n function MapCache() {\n this.__data__ = {};\n }\n\n /**\n * Removes `key` and its value from the cache.\n *\n * @private\n * @name delete\n * @memberOf _.memoize.Cache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.\n */\n function mapDelete(key) {\n return this.has(key) && delete this.__data__[key];\n }\n\n /**\n * Gets the cached value for `key`.\n *\n * @private\n * @name get\n * @memberOf _.memoize.Cache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the cached value.\n */\n function mapGet(key) {\n return key == '__proto__' ? undefined : this.__data__[key];\n }\n\n /**\n * Checks if a cached value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf _.memoize.Cache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapHas(key) {\n return key != '__proto__' && hasOwnProperty.call(this.__data__, key);\n }\n\n /**\n * Sets `value` to `key` of the cache.\n *\n * @private\n * @name set\n * @memberOf _.memoize.Cache\n * @param {string} key The key of the value to cache.\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache object.\n */\n function mapSet(key, value) {\n if (key != '__proto__') {\n this.__data__[key] = value;\n }\n return this;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates a cache object to store unique values.\n *\n * @private\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var length = values ? values.length : 0;\n\n this.data = { 'hash': nativeCreate(null), 'set': new Set };\n while (length--) {\n this.push(values[length]);\n }\n }\n\n /**\n * Checks if `value` is in `cache` mimicking the return signature of\n * `_.indexOf` by returning `0` if the value is found, else `-1`.\n *\n * @private\n * @param {Object} cache The cache to search.\n * @param {*} value The value to search for.\n * @returns {number} Returns `0` if `value` is found, else `-1`.\n */\n function cacheIndexOf(cache, value) {\n var data = cache.data,\n result = (typeof value == 'string' || isObject(value)) ? data.set.has(value) : data.hash[value];\n\n return result ? 0 : -1;\n }\n\n /**\n * Adds `value` to the cache.\n *\n * @private\n * @name push\n * @memberOf SetCache\n * @param {*} value The value to cache.\n */\n function cachePush(value) {\n var data = this.data;\n if (typeof value == 'string' || isObject(value)) {\n data.set.add(value);\n } else {\n data.hash[value] = true;\n }\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a new array joining `array` with `other`.\n *\n * @private\n * @param {Array} array The array to join.\n * @param {Array} other The other array to join.\n * @returns {Array} Returns the new concatenated array.\n */\n function arrayConcat(array, other) {\n var index = -1,\n length = array.length,\n othIndex = -1,\n othLength = other.length,\n result = Array(length + othLength);\n\n while (++index < length) {\n result[index] = array[index];\n }\n while (++othIndex < othLength) {\n result[index++] = other[othIndex];\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function arrayCopy(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * callback shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `baseExtremum` for arrays which invokes `iteratee`\n * with one argument: (value).\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} comparator The function used to compare values.\n * @param {*} exValue The initial extremum value.\n * @returns {*} Returns the extremum value.\n */\n function arrayExtremum(array, iteratee, comparator, exValue) {\n var index = -1,\n length = array.length,\n computed = exValue,\n result = computed;\n\n while (++index < length) {\n var value = array[index],\n current = +iteratee(value);\n\n if (comparator(current, computed)) {\n computed = current;\n result = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array.length,\n resIndex = -1,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[++resIndex] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initFromArray] Specify using the first element of `array`\n * as the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initFromArray) {\n var index = -1,\n length = array.length;\n\n if (initFromArray && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * callback shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initFromArray] Specify using the last element of `array`\n * as the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initFromArray) {\n var length = array.length;\n if (initFromArray && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.sum` for arrays without support for callback\n * shorthands and `this` binding..\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function arraySum(array, iteratee) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n result += +iteratee(array[length]) || 0;\n }\n return result;\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assign` use.\n *\n * @private\n * @param {*} objectValue The destination object property value.\n * @param {*} sourceValue The source object property value.\n * @returns {*} Returns the value to assign to the destination object.\n */\n function assignDefaults(objectValue, sourceValue) {\n return objectValue === undefined ? sourceValue : objectValue;\n }\n\n /**\n * Used by `_.template` to customize its `_.assign` use.\n *\n * **Note:** This function is like `assignDefaults` except that it ignores\n * inherited property values when checking if a property is `undefined`.\n *\n * @private\n * @param {*} objectValue The destination object property value.\n * @param {*} sourceValue The source object property value.\n * @param {string} key The key associated with the object and source values.\n * @param {Object} object The destination object.\n * @returns {*} Returns the value to assign to the destination object.\n */\n function assignOwnDefaults(objectValue, sourceValue, key, object) {\n return (objectValue === undefined || !hasOwnProperty.call(object, key))\n ? sourceValue\n : objectValue;\n }\n\n /**\n * A specialized version of `_.assign` for customizing assigned values without\n * support for argument juggling, multiple sources, and `this` binding `customizer`\n * functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n */\n function assignWith(object, source, customizer) {\n var index = -1,\n props = keys(source),\n length = props.length;\n\n while (++index < length) {\n var key = props[index],\n value = object[key],\n result = customizer(value, source[key], key, object, source);\n\n if ((result === result ? (result !== value) : (value === value)) ||\n (value === undefined && !(key in object))) {\n object[key] = result;\n }\n }\n return object;\n }\n\n /**\n * The base implementation of `_.assign` without support for argument juggling,\n * multiple sources, and `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return source == null\n ? object\n : baseCopy(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.at` without support for string collections\n * and individual key arguments.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {number[]|string[]} props The property names or indexes of elements to pick.\n * @returns {Array} Returns the new array of picked elements.\n */\n function baseAt(collection, props) {\n var index = -1,\n isNil = collection == null,\n isArr = !isNil && isArrayLike(collection),\n length = isArr ? collection.length : 0,\n propsLength = props.length,\n result = Array(propsLength);\n\n while(++index < propsLength) {\n var key = props[index];\n if (isArr) {\n result[index] = isIndex(key, length) ? collection[key] : undefined;\n } else {\n result[index] = isNil ? undefined : collection[key];\n }\n }\n return result;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property names to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @returns {Object} Returns `object`.\n */\n function baseCopy(source, props, object) {\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n object[key] = source[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `_.callback` which supports specifying the\n * number of arguments to provide to `func`.\n *\n * @private\n * @param {*} [func=_.identity] The value to convert to a callback.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {number} [argCount] The number of arguments to provide to `func`.\n * @returns {Function} Returns the callback.\n */\n function baseCallback(func, thisArg, argCount) {\n var type = typeof func;\n if (type == 'function') {\n return thisArg === undefined\n ? func\n : bindCallback(func, thisArg, argCount);\n }\n if (func == null) {\n return identity;\n }\n if (type == 'object') {\n return baseMatches(func);\n }\n return thisArg === undefined\n ? property(func)\n : baseMatchesProperty(func, thisArg);\n }\n\n /**\n * The base implementation of `_.clone` without support for argument juggling\n * and `this` binding `customizer` functions.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @param {Function} [customizer] The function to customize cloning values.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The object `value` belongs to.\n * @param {Array} [stackA=[]] Tracks traversed source objects.\n * @param {Array} [stackB=[]] Associates clones with source counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, isDeep, customizer, key, object, stackA, stackB) {\n var result;\n if (customizer) {\n result = object ? customizer(value, key, object) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return arrayCopy(value, result);\n }\n } else {\n var tag = objToString.call(value),\n isFunc = tag == funcTag;\n\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = initCloneObject(isFunc ? {} : value);\n if (!isDeep) {\n return baseAssign(result, value);\n }\n } else {\n return cloneableTags[tag]\n ? initCloneByTag(value, tag, isDeep)\n : (object ? value : {});\n }\n }\n // Check for circular references and return its corresponding clone.\n stackA || (stackA = []);\n stackB || (stackB = []);\n\n var length = stackA.length;\n while (length--) {\n if (stackA[length] == value) {\n return stackB[length];\n }\n }\n // Add the source value to the stack of traversed objects and associate it with its clone.\n stackA.push(value);\n stackB.push(result);\n\n // Recursively populate clone (susceptible to call stack limits).\n (isArr ? arrayEach : baseForOwn)(value, function(subValue, key) {\n result[key] = baseClone(subValue, isDeep, customizer, key, value, stackA, stackB);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} prototype The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(prototype) {\n if (isObject(prototype)) {\n object.prototype = prototype;\n var result = new object;\n object.prototype = undefined;\n }\n return result || {};\n };\n }());\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts an index\n * of where to slice the arguments to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Object} args The arguments provide to `func`.\n * @returns {number} Returns the timer id.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of `_.difference` which accepts a single array\n * of values to exclude.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values) {\n var length = array ? array.length : 0,\n result = [];\n\n if (!length) {\n return result;\n }\n var index = -1,\n indexOf = getIndexOf(),\n isCommon = indexOf == baseIndexOf,\n cache = (isCommon && values.length >= LARGE_ARRAY_SIZE) ? createCache(values) : null,\n valuesLength = values.length;\n\n if (cache) {\n indexOf = cacheIndexOf;\n isCommon = false;\n values = cache;\n }\n outer:\n while (++index < length) {\n var value = array[index];\n\n if (isCommon && value === value) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === value) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (indexOf(values, value, 0) < 0) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object|string} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object|string} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * Gets the extremum value of `collection` invoking `iteratee` for each value\n * in `collection` to generate the criterion by which the value is ranked.\n * The `iteratee` is invoked with three arguments: (value, index|key, collection).\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} comparator The function used to compare values.\n * @param {*} exValue The initial extremum value.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(collection, iteratee, comparator, exValue) {\n var computed = exValue,\n result = computed;\n\n baseEach(collection, function(value, index, collection) {\n var current = +iteratee(value, index, collection);\n if (comparator(current, computed) || (current === exValue && current === result)) {\n computed = current;\n result = value;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = start == null ? 0 : (+start || 0);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : (+end || 0);\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : (end >>> 0);\n start >>>= 0;\n\n while (start < length) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.find`, `_.findLast`, `_.findKey`, and `_.findLastKey`,\n * without support for callback shorthands and `this` binding, which iterates\n * over `collection` using the provided `eachFunc`.\n *\n * @private\n * @param {Array|Object|string} collection The collection to search.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @param {boolean} [retKey] Specify returning the key of the found element\n * instead of the element itself.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFind(collection, predicate, eachFunc, retKey) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = retKey ? key : value;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with added support for restricting\n * flattening and specifying the start index.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {boolean} [isDeep] Specify a deep flatten.\n * @param {boolean} [isStrict] Restrict flattening to arrays-like objects.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, isDeep, isStrict, result) {\n result || (result = []);\n\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index];\n if (isObjectLike(value) && isArrayLike(value) &&\n (isStrict || isArray(value) || isArguments(value))) {\n if (isDeep) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, isDeep, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForIn` and `baseForOwn` which iterates\n * over `object` properties returned by `keysFunc` invoking `iteratee` for\n * each property. Iteratee functions may exit iteration early by explicitly\n * returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forIn` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForIn(object, iteratee) {\n return baseFor(object, iteratee, keysIn);\n }\n\n /**\n * The base implementation of `_.forOwn` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from those provided.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the new array of filtered property names.\n */\n function baseFunctions(object, props) {\n var index = -1,\n length = props.length,\n resIndex = -1,\n result = [];\n\n while (++index < length) {\n var key = props[index];\n if (isFunction(object[key])) {\n result[++resIndex] = key;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `get` without support for string paths\n * and default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path of the property to get.\n * @param {string} [pathKey] The key representation of path.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path, pathKey) {\n if (object == null) {\n return;\n }\n if (pathKey !== undefined && pathKey in toObject(object)) {\n path = [pathKey];\n }\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[path[index++]];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `_.isEqual` without support for `this` binding\n * `customizer` functions.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparing values.\n * @param {boolean} [isLoose] Specify performing partial comparisons.\n * @param {Array} [stackA] Tracks traversed `value` objects.\n * @param {Array} [stackB] Tracks traversed `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, baseIsEqual, customizer, isLoose, stackA, stackB);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} [customizer] The function to customize comparing objects.\n * @param {boolean} [isLoose] Specify performing partial comparisons.\n * @param {Array} [stackA=[]] Tracks traversed `value` objects.\n * @param {Array} [stackB=[]] Tracks traversed `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = arrayTag,\n othTag = arrayTag;\n\n if (!objIsArr) {\n objTag = objToString.call(object);\n if (objTag == argsTag) {\n objTag = objectTag;\n } else if (objTag != objectTag) {\n objIsArr = isTypedArray(object);\n }\n }\n if (!othIsArr) {\n othTag = objToString.call(other);\n if (othTag == argsTag) {\n othTag = objectTag;\n } else if (othTag != objectTag) {\n othIsArr = isTypedArray(other);\n }\n }\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && !(objIsArr || objIsObj)) {\n return equalByTag(object, other, objTag);\n }\n if (!isLoose) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n return equalFunc(objIsWrapped ? object.value() : object, othIsWrapped ? other.value() : other, customizer, isLoose, stackA, stackB);\n }\n }\n if (!isSameTag) {\n return false;\n }\n // Assume cyclic values are equal.\n // For more information on detecting circular references see https://es5.github.io/#JO.\n stackA || (stackA = []);\n stackB || (stackB = []);\n\n var length = stackA.length;\n while (length--) {\n if (stackA[length] == object) {\n return stackB[length] == other;\n }\n }\n // Add `object` and `other` to the stack of traversed objects.\n stackA.push(object);\n stackB.push(other);\n\n var result = (objIsArr ? equalArrays : equalObjects)(object, other, equalFunc, customizer, isLoose, stackA, stackB);\n\n stackA.pop();\n stackB.pop();\n\n return result;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for callback\n * shorthands and `this` binding.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} matchData The propery names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparing objects.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = toObject(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var result = customizer ? customizer(objValue, srcValue, key) : undefined;\n if (!(result === undefined ? baseIsEqual(srcValue, objValue, customizer, true) : result)) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.map` without support for callback shorthands\n * and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which does not clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n var key = matchData[0][0],\n value = matchData[0][1];\n\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === value && (value !== undefined || (key in toObject(object)));\n };\n }\n return function(object) {\n return baseIsMatch(object, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which does not clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to compare.\n * @returns {Function} Returns the new function.\n */\n function baseMatchesProperty(path, srcValue) {\n var isArr = isArray(path),\n isCommon = isKey(path) && isStrictComparable(srcValue),\n pathKey = (path + '');\n\n path = toPath(path);\n return function(object) {\n if (object == null) {\n return false;\n }\n var key = pathKey;\n object = toObject(object);\n if ((isArr || !isCommon) && !(key in object)) {\n object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n if (object == null) {\n return false;\n }\n key = last(path);\n object = toObject(object);\n }\n return object[key] === srcValue\n ? (srcValue !== undefined || (key in object))\n : baseIsEqual(srcValue, object[key], undefined, true);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for argument juggling,\n * multiple sources, and `this` binding `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Array} [stackA=[]] Tracks traversed source objects.\n * @param {Array} [stackB=[]] Associates values with source counterparts.\n * @returns {Object} Returns `object`.\n */\n function baseMerge(object, source, customizer, stackA, stackB) {\n if (!isObject(object)) {\n return object;\n }\n var isSrcArr = isArrayLike(source) && (isArray(source) || isTypedArray(source)),\n props = isSrcArr ? undefined : keys(source);\n\n arrayEach(props || source, function(srcValue, key) {\n if (props) {\n key = srcValue;\n srcValue = source[key];\n }\n if (isObjectLike(srcValue)) {\n stackA || (stackA = []);\n stackB || (stackB = []);\n baseMergeDeep(object, source, key, baseMerge, customizer, stackA, stackB);\n }\n else {\n var value = object[key],\n result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n isCommon = result === undefined;\n\n if (isCommon) {\n result = srcValue;\n }\n if ((result !== undefined || (isSrcArr && !(key in object))) &&\n (isCommon || (result === result ? (result !== value) : (value === value)))) {\n object[key] = result;\n }\n }\n });\n return object;\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Array} [stackA=[]] Tracks traversed source objects.\n * @param {Array} [stackB=[]] Associates values with source counterparts.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseMergeDeep(object, source, key, mergeFunc, customizer, stackA, stackB) {\n var length = stackA.length,\n srcValue = source[key];\n\n while (length--) {\n if (stackA[length] == srcValue) {\n object[key] = stackB[length];\n return;\n }\n }\n var value = object[key],\n result = customizer ? customizer(value, srcValue, key, object, source) : undefined,\n isCommon = result === undefined;\n\n if (isCommon) {\n result = srcValue;\n if (isArrayLike(srcValue) && (isArray(srcValue) || isTypedArray(srcValue))) {\n result = isArray(value)\n ? value\n : (isArrayLike(value) ? arrayCopy(value) : []);\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n result = isArguments(value)\n ? toPlainObject(value)\n : (isPlainObject(value) ? value : {});\n }\n else {\n isCommon = false;\n }\n }\n // Add the source value to the stack of traversed objects and associate\n // it with its merged value.\n stackA.push(srcValue);\n stackB.push(result);\n\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n object[key] = mergeFunc(result, srcValue, customizer, stackA, stackB);\n } else if (result === result ? (result !== value) : (value === value)) {\n object[key] = result;\n }\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new function.\n */\n function basePropertyDeep(path) {\n var pathKey = (path + '');\n path = toPath(path);\n return function(object) {\n return baseGet(object, path, pathKey);\n };\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * index arguments and capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0;\n while (length--) {\n var index = indexes[length];\n if (index != previous && isIndex(index)) {\n var previous = index;\n splice.call(array, index, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for argument juggling\n * and returning floating-point numbers.\n *\n * @private\n * @param {number} min The minimum possible value.\n * @param {number} max The maximum possible value.\n * @returns {number} Returns the random number.\n */\n function baseRandom(min, max) {\n return min + nativeFloor(nativeRandom() * (max - min + 1));\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight` without support\n * for callback shorthands and `this` binding, which iterates over `collection`\n * using the provided `eachFunc`.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initFromCollection Specify using the first or last element\n * of `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initFromCollection, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initFromCollection\n ? (initFromCollection = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop detection.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n start = start == null ? 0 : (+start || 0);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : (+end || 0);\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for callback shorthands\n * and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define\n * the sort order of `array` and replaces criteria objects with their\n * corresponding values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sortByOrder` without param guards.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {boolean[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseSortByOrder(collection, iteratees, orders) {\n var callback = getCallback(),\n index = -1;\n\n iteratees = arrayMap(iteratees, function(iteratee) { return callback(iteratee); });\n\n var result = baseMap(collection, function(value) {\n var criteria = arrayMap(iteratees, function(iteratee) { return iteratee(value); });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.sum` without support for callback shorthands\n * and `this` binding.\n *\n * @private\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(collection, iteratee) {\n var result = 0;\n baseEach(collection, function(value, index, collection) {\n result += +iteratee(value, index, collection) || 0;\n });\n return result;\n }\n\n /**\n * The base implementation of `_.uniq` without support for callback shorthands\n * and `this` binding.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The function invoked per iteration.\n * @returns {Array} Returns the new duplicate-value-free array.\n */\n function baseUniq(array, iteratee) {\n var index = -1,\n indexOf = getIndexOf(),\n length = array.length,\n isCommon = indexOf == baseIndexOf,\n isLarge = isCommon && length >= LARGE_ARRAY_SIZE,\n seen = isLarge ? createCache() : null,\n result = [];\n\n if (seen) {\n indexOf = cacheIndexOf;\n isCommon = false;\n } else {\n isLarge = false;\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value, index, array) : value;\n\n if (isCommon && value === value) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (indexOf(seen, computed, 0) < 0) {\n if (iteratee || isLarge) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n var index = -1,\n length = props.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = object[props[index]];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.dropRightWhile`, `_.dropWhile`, `_.takeRightWhile`,\n * and `_.takeWhile` without support for callback shorthands and `this` binding.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to peform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n var index = -1,\n length = actions.length;\n\n while (++index < length) {\n var action = actions[index];\n result = action.func.apply(action.thisArg, arrayPush([result], action.args));\n }\n return result;\n }\n\n /**\n * Performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function binaryIndex(array, value, retHighest) {\n var low = 0,\n high = array ? array.length : low;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if ((retHighest ? (computed <= value) : (computed < value)) && computed !== null) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return binaryIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * This function is like `binaryIndex` except that it invokes `iteratee` for\n * `value` and each element of `array` to compute their sort ranking. The\n * iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function binaryIndexBy(array, value, iteratee, retHighest) {\n value = iteratee(value);\n\n var low = 0,\n high = array ? array.length : 0,\n valIsNaN = value !== value,\n valIsNull = value === null,\n valIsUndef = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n isDef = computed !== undefined,\n isReflexive = computed === computed;\n\n if (valIsNaN) {\n var setLow = isReflexive || retHighest;\n } else if (valIsNull) {\n setLow = isReflexive && isDef && (retHighest || computed != null);\n } else if (valIsUndef) {\n setLow = isReflexive && (retHighest || isDef);\n } else if (computed == null) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * A specialized version of `baseCallback` which only supports `this` binding\n * and specifying the number of arguments to provide to `func`.\n *\n * @private\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {number} [argCount] The number of arguments to provide to `func`.\n * @returns {Function} Returns the callback.\n */\n function bindCallback(func, thisArg, argCount) {\n if (typeof func != 'function') {\n return identity;\n }\n if (thisArg === undefined) {\n return func;\n }\n switch (argCount) {\n case 1: return function(value) {\n return func.call(thisArg, value);\n };\n case 3: return function(value, index, collection) {\n return func.call(thisArg, value, index, collection);\n };\n case 4: return function(accumulator, value, index, collection) {\n return func.call(thisArg, accumulator, value, index, collection);\n };\n case 5: return function(value, other, key, object, source) {\n return func.call(thisArg, value, other, key, object, source);\n };\n }\n return function() {\n return func.apply(thisArg, arguments);\n };\n }\n\n /**\n * Creates a clone of the given array buffer.\n *\n * @private\n * @param {ArrayBuffer} buffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function bufferClone(buffer) {\n var result = new ArrayBuffer(buffer.byteLength),\n view = new Uint8Array(result);\n\n view.set(new Uint8Array(buffer));\n return result;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array|Object} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders) {\n var holdersLength = holders.length,\n argsIndex = -1,\n argsLength = nativeMax(args.length - holdersLength, 0),\n leftIndex = -1,\n leftLength = partials.length,\n result = Array(leftLength + argsLength);\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n while (argsLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array|Object} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders) {\n var holdersIndex = -1,\n holdersLength = holders.length,\n argsIndex = -1,\n argsLength = nativeMax(args.length - holdersLength, 0),\n rightIndex = -1,\n rightLength = partials.length,\n result = Array(argsLength + rightLength);\n\n while (++argsIndex < argsLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * Creates a `_.countBy`, `_.groupBy`, `_.indexBy`, or `_.partition` function.\n *\n * @private\n * @param {Function} setter The function to set keys and values of the accumulator object.\n * @param {Function} [initializer] The function to initialize the accumulator object.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee, thisArg) {\n var result = initializer ? initializer() : {};\n iteratee = getCallback(iteratee, thisArg, 3);\n\n if (isArray(collection)) {\n var index = -1,\n length = collection.length;\n\n while (++index < length) {\n var value = collection[index];\n setter(result, value, iteratee(value, index, collection), collection);\n }\n } else {\n baseEach(collection, function(value, key, collection) {\n setter(result, value, iteratee(value, key, collection), collection);\n });\n }\n return result;\n };\n }\n\n /**\n * Creates a `_.assign`, `_.defaults`, or `_.merge` function.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return restParam(function(object, sources) {\n var index = -1,\n length = object == null ? 0 : sources.length,\n customizer = length > 2 ? sources[length - 2] : undefined,\n guard = length > 2 ? sources[2] : undefined,\n thisArg = length > 1 ? sources[length - 1] : undefined;\n\n if (typeof customizer == 'function') {\n customizer = bindCallback(customizer, thisArg, 5);\n length -= 2;\n } else {\n customizer = typeof thisArg == 'function' ? thisArg : undefined;\n length -= (customizer ? 1 : 0);\n }\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n var length = collection ? getLength(collection) : 0;\n if (!isLength(length)) {\n return eachFunc(collection, iteratee);\n }\n var index = fromRight ? length : -1,\n iterable = toObject(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for `_.forIn` or `_.forInRight`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var iterable = toObject(object),\n props = keysFunc(object),\n length = props.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length)) {\n var key = props[index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` and invokes it with the `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to bind.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new bound function.\n */\n function createBindWrapper(func, thisArg) {\n var Ctor = createCtorWrapper(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(thisArg, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a `Set` cache object to optimize linear searches of large arrays.\n *\n * @private\n * @param {Array} [values] The values to cache.\n * @returns {null|Object} Returns the new cache object if `Set` is supported, else `null`.\n */\n function createCache(values) {\n return (nativeCreate && Set) ? new SetCache(values) : null;\n }\n\n /**\n * Creates a function that produces compound words out of the words in a\n * given string.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n var index = -1,\n array = words(deburr(string)),\n length = array.length,\n result = '';\n\n while (++index < length) {\n result = callback(result, array[index], index);\n }\n return result;\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtorWrapper(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors.\n // See http://ecma-international.org/ecma-262/6.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a `_.curry` or `_.curryRight` function.\n *\n * @private\n * @param {boolean} flag The curry bit flag.\n * @returns {Function} Returns the new curry function.\n */\n function createCurry(flag) {\n function curryFunc(func, arity, guard) {\n if (guard && isIterateeCall(func, arity, guard)) {\n arity = undefined;\n }\n var result = createWrapper(func, flag, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryFunc.placeholder;\n return result;\n }\n return curryFunc;\n }\n\n /**\n * Creates a `_.defaults` or `_.defaultsDeep` function.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Function} Returns the new defaults function.\n */\n function createDefaults(assigner, customizer) {\n return restParam(function(args) {\n var object = args[0];\n if (object == null) {\n return object;\n }\n args.push(customizer);\n return assigner.apply(undefined, args);\n });\n }\n\n /**\n * Creates a `_.max` or `_.min` function.\n *\n * @private\n * @param {Function} comparator The function used to compare values.\n * @param {*} exValue The initial extremum value.\n * @returns {Function} Returns the new extremum function.\n */\n function createExtremum(comparator, exValue) {\n return function(collection, iteratee, thisArg) {\n if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n iteratee = undefined;\n }\n iteratee = getCallback(iteratee, thisArg, 3);\n if (iteratee.length == 1) {\n collection = isArray(collection) ? collection : toIterable(collection);\n var result = arrayExtremum(collection, iteratee, comparator, exValue);\n if (!(collection.length && result === exValue)) {\n return result;\n }\n }\n return baseExtremum(collection, iteratee, comparator, exValue);\n };\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new find function.\n */\n function createFind(eachFunc, fromRight) {\n return function(collection, predicate, thisArg) {\n predicate = getCallback(predicate, thisArg, 3);\n if (isArray(collection)) {\n var index = baseFindIndex(collection, predicate, fromRight);\n return index > -1 ? collection[index] : undefined;\n }\n return baseFind(collection, predicate, eachFunc);\n };\n }\n\n /**\n * Creates a `_.findIndex` or `_.findLastIndex` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new find function.\n */\n function createFindIndex(fromRight) {\n return function(array, predicate, thisArg) {\n if (!(array && array.length)) {\n return -1;\n }\n predicate = getCallback(predicate, thisArg, 3);\n return baseFindIndex(array, predicate, fromRight);\n };\n }\n\n /**\n * Creates a `_.findKey` or `_.findLastKey` function.\n *\n * @private\n * @param {Function} objectFunc The function to iterate over an object.\n * @returns {Function} Returns the new find function.\n */\n function createFindKey(objectFunc) {\n return function(object, predicate, thisArg) {\n predicate = getCallback(predicate, thisArg, 3);\n return baseFind(object, predicate, objectFunc, true);\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return function() {\n var wrapper,\n length = arguments.length,\n index = fromRight ? length : -1,\n leftIndex = 0,\n funcs = Array(length);\n\n while ((fromRight ? index-- : ++index < length)) {\n var func = funcs[leftIndex++] = arguments[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (!wrapper && LodashWrapper.prototype.thru && getFuncName(func) == 'wrapper') {\n wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? -1 : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) && data[1] == (ARY_FLAG | CURRY_FLAG | PARTIAL_FLAG | REARG_FLAG) && !data[4].length && data[9] == 1) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func)) ? wrapper[funcName]() : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value) && value.length >= LARGE_ARRAY_SIZE) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n };\n }\n\n /**\n * Creates a function for `_.forEach` or `_.forEachRight`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over an array.\n * @param {Function} eachFunc The function to iterate over a collection.\n * @returns {Function} Returns the new each function.\n */\n function createForEach(arrayFunc, eachFunc) {\n return function(collection, iteratee, thisArg) {\n return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n ? arrayFunc(collection, iteratee)\n : eachFunc(collection, bindCallback(iteratee, thisArg, 3));\n };\n }\n\n /**\n * Creates a function for `_.forIn` or `_.forInRight`.\n *\n * @private\n * @param {Function} objectFunc The function to iterate over an object.\n * @returns {Function} Returns the new each function.\n */\n function createForIn(objectFunc) {\n return function(object, iteratee, thisArg) {\n if (typeof iteratee != 'function' || thisArg !== undefined) {\n iteratee = bindCallback(iteratee, thisArg, 3);\n }\n return objectFunc(object, iteratee, keysIn);\n };\n }\n\n /**\n * Creates a function for `_.forOwn` or `_.forOwnRight`.\n *\n * @private\n * @param {Function} objectFunc The function to iterate over an object.\n * @returns {Function} Returns the new each function.\n */\n function createForOwn(objectFunc) {\n return function(object, iteratee, thisArg) {\n if (typeof iteratee != 'function' || thisArg !== undefined) {\n iteratee = bindCallback(iteratee, thisArg, 3);\n }\n return objectFunc(object, iteratee);\n };\n }\n\n /**\n * Creates a function for `_.mapKeys` or `_.mapValues`.\n *\n * @private\n * @param {boolean} [isMapKeys] Specify mapping keys instead of values.\n * @returns {Function} Returns the new map function.\n */\n function createObjectMapper(isMapKeys) {\n return function(object, iteratee, thisArg) {\n var result = {};\n iteratee = getCallback(iteratee, thisArg, 3);\n\n baseForOwn(object, function(value, key, object) {\n var mapped = iteratee(value, key, object);\n key = isMapKeys ? mapped : key;\n value = isMapKeys ? value : mapped;\n result[key] = value;\n });\n return result;\n };\n }\n\n /**\n * Creates a function for `_.padLeft` or `_.padRight`.\n *\n * @private\n * @param {boolean} [fromRight] Specify padding from the right.\n * @returns {Function} Returns the new pad function.\n */\n function createPadDir(fromRight) {\n return function(string, length, chars) {\n string = baseToString(string);\n return (fromRight ? string : '') + createPadding(string, length, chars) + (fromRight ? '' : string);\n };\n }\n\n /**\n * Creates a `_.partial` or `_.partialRight` function.\n *\n * @private\n * @param {boolean} flag The partial bit flag.\n * @returns {Function} Returns the new partial function.\n */\n function createPartial(flag) {\n var partialFunc = restParam(function(func, partials) {\n var holders = replaceHolders(partials, partialFunc.placeholder);\n return createWrapper(func, flag, undefined, partials, holders);\n });\n return partialFunc;\n }\n\n /**\n * Creates a function for `_.reduce` or `_.reduceRight`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over an array.\n * @param {Function} eachFunc The function to iterate over a collection.\n * @returns {Function} Returns the new each function.\n */\n function createReduce(arrayFunc, eachFunc) {\n return function(collection, iteratee, accumulator, thisArg) {\n var initFromArray = arguments.length < 3;\n return (typeof iteratee == 'function' && thisArg === undefined && isArray(collection))\n ? arrayFunc(collection, iteratee, accumulator, initFromArray)\n : baseReduce(collection, getCallback(iteratee, thisArg, 4), accumulator, initFromArray, eachFunc);\n };\n }\n\n /**\n * Creates a function that wraps `func` and invokes it with optional `this`\n * binding of, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to reference.\n * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybridWrapper(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & ARY_FLAG,\n isBind = bitmask & BIND_FLAG,\n isBindKey = bitmask & BIND_KEY_FLAG,\n isCurry = bitmask & CURRY_FLAG,\n isCurryBound = bitmask & CURRY_BOUND_FLAG,\n isCurryRight = bitmask & CURRY_RIGHT_FLAG,\n Ctor = isBindKey ? undefined : createCtorWrapper(func);\n\n function wrapper() {\n // Avoid `arguments` object use disqualifying optimizations by\n // converting it to an array before providing it to other functions.\n var length = arguments.length,\n index = length,\n args = Array(length);\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (partials) {\n args = composeArgs(args, partials, holders);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight);\n }\n if (isCurry || isCurryRight) {\n var placeholder = wrapper.placeholder,\n argsHolders = replaceHolders(args, placeholder);\n\n length -= argsHolders.length;\n if (length < arity) {\n var newArgPos = argPos ? arrayCopy(argPos) : undefined,\n newArity = nativeMax(arity - length, 0),\n newsHolders = isCurry ? argsHolders : undefined,\n newHoldersRight = isCurry ? undefined : argsHolders,\n newPartials = isCurry ? args : undefined,\n newPartialsRight = isCurry ? undefined : args;\n\n bitmask |= (isCurry ? PARTIAL_FLAG : PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? PARTIAL_RIGHT_FLAG : PARTIAL_FLAG);\n\n if (!isCurryBound) {\n bitmask &= ~(BIND_FLAG | BIND_KEY_FLAG);\n }\n var newData = [func, bitmask, thisArg, newPartials, newsHolders, newPartialsRight, newHoldersRight, newArgPos, ary, newArity],\n result = createHybridWrapper.apply(undefined, newData);\n\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return result;\n }\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n if (argPos) {\n args = reorder(args, argPos);\n }\n if (isAry && ary < args.length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtorWrapper(func);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates the padding required for `string` based on the given `length`.\n * The `chars` string is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {string} string The string to create padding for.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the pad for `string`.\n */\n function createPadding(string, length, chars) {\n var strLength = string.length;\n length = +length;\n\n if (strLength >= length || !nativeIsFinite(length)) {\n return '';\n }\n var padLength = length - strLength;\n chars = chars == null ? ' ' : (chars + '');\n return repeat(chars, nativeCeil(padLength / chars.length)).slice(0, padLength);\n }\n\n /**\n * Creates a function that wraps `func` and invokes it with the optional `this`\n * binding of `thisArg` and the `partials` prepended to those provided to\n * the wrapper.\n *\n * @private\n * @param {Function} func The function to partially apply arguments to.\n * @param {number} bitmask The bitmask of flags. See `createWrapper` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to the new function.\n * @returns {Function} Returns the new bound function.\n */\n function createPartialWrapper(func, bitmask, thisArg, partials) {\n var isBind = bitmask & BIND_FLAG,\n Ctor = createCtorWrapper(func);\n\n function wrapper() {\n // Avoid `arguments` object use disqualifying optimizations by\n // converting it to an array before providing it `func`.\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength);\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.ceil`, `_.floor`, or `_.round` function.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n precision = precision === undefined ? 0 : (+precision || 0);\n if (precision) {\n precision = pow(10, precision);\n return func(number * precision) / precision;\n }\n return func(number);\n };\n }\n\n /**\n * Creates a `_.sortedIndex` or `_.sortedLastIndex` function.\n *\n * @private\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {Function} Returns the new index function.\n */\n function createSortedIndex(retHighest) {\n return function(array, value, iteratee, thisArg) {\n var callback = getCallback(iteratee);\n return (iteratee == null && callback === baseCallback)\n ? binaryIndex(array, value, retHighest)\n : binaryIndexBy(array, value, callback(iteratee, thisArg, 1), retHighest);\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to reference.\n * @param {number} bitmask The bitmask of flags.\n * The bitmask may be composed of the following flags:\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrapper(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(PARTIAL_FLAG | PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n length -= (holders ? holders.length : 0);\n if (bitmask & PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func),\n newData = [func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity];\n\n if (data) {\n mergeData(newData, data);\n bitmask = newData[1];\n arity = newData[9];\n }\n newData[9] = arity == null\n ? (isBindKey ? 0 : func.length)\n : (nativeMax(arity - length, 0) || 0);\n\n if (bitmask == BIND_FLAG) {\n var result = createBindWrapper(newData[0], newData[2]);\n } else if ((bitmask == PARTIAL_FLAG || bitmask == (BIND_FLAG | PARTIAL_FLAG)) && !newData[4].length) {\n result = createPartialWrapper.apply(undefined, newData);\n } else {\n result = createHybridWrapper.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setter(result, newData);\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} [customizer] The function to customize comparing arrays.\n * @param {boolean} [isLoose] Specify performing partial comparisons.\n * @param {Array} [stackA] Tracks traversed `value` objects.\n * @param {Array} [stackB] Tracks traversed `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, equalFunc, customizer, isLoose, stackA, stackB) {\n var index = -1,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isLoose && othLength > arrLength)) {\n return false;\n }\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index],\n result = customizer ? customizer(isLoose ? othValue : arrValue, isLoose ? arrValue : othValue, index) : undefined;\n\n if (result !== undefined) {\n if (result) {\n continue;\n }\n return false;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (isLoose) {\n if (!arraySome(other, function(othValue) {\n return arrValue === othValue || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB);\n })) {\n return false;\n }\n } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, customizer, isLoose, stackA, stackB))) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag) {\n switch (tag) {\n case boolTag:\n case dateTag:\n // Coerce dates and booleans to numbers, dates to milliseconds and booleans\n // to `1` or `0` treating invalid dates coerced to `NaN` as not equal.\n return +object == +other;\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case numberTag:\n // Treat `NaN` vs. `NaN` as equal.\n return (object != +object)\n ? other != +other\n : object == +other;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings primitives and string\n // objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.\n return object == (other + '');\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} [customizer] The function to customize comparing values.\n * @param {boolean} [isLoose] Specify performing partial comparisons.\n * @param {Array} [stackA] Tracks traversed `value` objects.\n * @param {Array} [stackB] Tracks traversed `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, equalFunc, customizer, isLoose, stackA, stackB) {\n var objProps = keys(object),\n objLength = objProps.length,\n othProps = keys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isLoose) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isLoose ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n var skipCtor = isLoose;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key],\n result = customizer ? customizer(isLoose ? othValue : objValue, isLoose? objValue : othValue, key) : undefined;\n\n // Recursively compare objects (susceptible to call stack limits).\n if (!(result === undefined ? equalFunc(objValue, othValue, customizer, isLoose, stackA, stackB) : result)) {\n return false;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (!skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Gets the appropriate \"callback\" function. If the `_.callback` method is\n * customized this function returns the custom method, otherwise it returns\n * the `baseCallback` function. If arguments are provided the chosen function\n * is invoked with them and its result is returned.\n *\n * @private\n * @returns {Function} Returns the chosen function or its result.\n */\n function getCallback(func, thisArg, argCount) {\n var result = lodash.callback || callback;\n result = result === callback ? baseCallback : result;\n return argCount ? result(func, thisArg, argCount) : result;\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = func.name,\n array = realNames[result],\n length = array ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the appropriate \"indexOf\" function. If the `_.indexOf` method is\n * customized this function returns the custom method, otherwise it returns\n * the `baseIndexOf` function. If arguments are provided the chosen function\n * is invoked with them and its result is returned.\n *\n * @private\n * @returns {Function|number} Returns the chosen function or its result.\n */\n function getIndexOf(collection, target, fromIndex) {\n var result = lodash.indexOf || indexOf;\n result = result === indexOf ? baseIndexOf : result;\n return collection ? result(collection, target, fromIndex) : result;\n }\n\n /**\n * Gets the \"length\" property value of `object`.\n *\n * **Note:** This function is used to avoid a [JIT bug](https://bugs.webkit.org/show_bug.cgi?id=142792)\n * that affects Safari on at least iOS 8.1-8.3 ARM64.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {*} Returns the \"length\" value.\n */\n var getLength = baseProperty('length');\n\n /**\n * Gets the propery names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = pairs(object),\n length = result.length;\n\n while (length--) {\n result[length][2] = isStrictComparable(result[length][1]);\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = object == null ? undefined : object[key];\n return isNative(value) ? value : undefined;\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add array properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n var Ctor = object.constructor;\n if (!(typeof Ctor == 'function' && Ctor instanceof Ctor)) {\n Ctor = Object;\n }\n return new Ctor;\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return bufferClone(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n var buffer = object.buffer;\n return new Ctor(isDeep ? bufferClone(buffer) : buffer, object.byteOffset, object.length);\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n var result = new Ctor(object.source, reFlags.exec(object));\n result.lastIndex = object.lastIndex;\n }\n return result;\n }\n\n /**\n * Invokes the method at `path` on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function invokePath(object, path, args) {\n if (object != null && !isKey(path, object)) {\n path = toPath(path);\n object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n path = last(path);\n }\n var func = object == null ? object : object[path];\n return func == null ? undefined : func.apply(object, args);\n }\n\n /**\n * Checks if `value` is array-like.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n */\n function isArrayLike(value) {\n return value != null && isLength(getLength(value));\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n value = (typeof value == 'number' || reIsUint.test(value)) ? +value : -1;\n length = length == null ? MAX_SAFE_INTEGER : length;\n return value > -1 && value % 1 == 0 && value < length;\n }\n\n /**\n * Checks if the provided arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call, else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)) {\n var other = object[index];\n return value === value ? (value === other) : (other !== other);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n var type = typeof value;\n if ((type == 'string' && reIsPlainProp.test(value)) || type == 'number') {\n return true;\n }\n if (isArray(value)) {\n return false;\n }\n var result = !reIsDeepProp.test(value);\n return result || (object != null && value in toObject(object));\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart, else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func);\n if (!(funcName in LazyWrapper.prototype)) {\n return false;\n }\n var other = lodash[funcName];\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n */\n function isLength(value) {\n return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers required to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and `_.rearg`\n * augment function arguments, making the order in which they are executed important,\n * preventing the merging of metadata. However, we make an exception for a safe\n * common case where curried functions have `_.ary` and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < ARY_FLAG;\n\n var isCombo =\n (srcBitmask == ARY_FLAG && bitmask == CURRY_FLAG) ||\n (srcBitmask == ARY_FLAG && bitmask == REARG_FLAG && data[7].length <= source[8]) ||\n (srcBitmask == (ARY_FLAG | REARG_FLAG) && bitmask == CURRY_FLAG);\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= (bitmask & BIND_FLAG) ? 0 : CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : arrayCopy(value);\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : arrayCopy(source[4]);\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : arrayCopy(value);\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : arrayCopy(source[6]);\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = arrayCopy(value);\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use.\n *\n * @private\n * @param {*} objectValue The destination object property value.\n * @param {*} sourceValue The source object property value.\n * @returns {*} Returns the value to assign to the destination object.\n */\n function mergeDefaults(objectValue, sourceValue) {\n return objectValue === undefined ? sourceValue : merge(objectValue, sourceValue, mergeDefaults);\n }\n\n /**\n * A specialized version of `_.pick` which picks `object` properties specified\n * by `props`.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} props The property names to pick.\n * @returns {Object} Returns the new object.\n */\n function pickByArray(object, props) {\n object = toObject(object);\n\n var index = -1,\n length = props.length,\n result = {};\n\n while (++index < length) {\n var key = props[index];\n if (key in object) {\n result[key] = object[key];\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.pick` which picks `object` properties `predicate`\n * returns truthy for.\n *\n * @private\n * @param {Object} object The source object.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Object} Returns the new object.\n */\n function pickByCallback(object, predicate) {\n var result = {};\n baseForIn(object, function(value, key, object) {\n if (predicate(value, key, object)) {\n result[key] = value;\n }\n });\n return result;\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = arrayCopy(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity function\n * to avoid garbage collection pauses in V8. See [V8 issue 2070](https://code.google.com/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = (function() {\n var count = 0,\n lastCalled = 0;\n\n return function(key, value) {\n var stamp = now(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return key;\n }\n } else {\n count = 0;\n }\n return baseSetData(key, value);\n };\n }());\n\n /**\n * A fallback implementation of `Object.keys` which creates an array of the\n * own enumerable property names of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function shimKeys(object) {\n var props = keysIn(object),\n propsLength = props.length,\n length = propsLength && object.length;\n\n var allowIndexes = !!length && isLength(length) &&\n (isArray(object) || isArguments(object));\n\n var index = -1,\n result = [];\n\n while (++index < propsLength) {\n var key = props[index];\n if ((allowIndexes && isIndex(key, length)) || hasOwnProperty.call(object, key)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to an array-like object if it's not one.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {Array|Object} Returns the array-like object.\n */\n function toIterable(value) {\n if (value == null) {\n return [];\n }\n if (!isArrayLike(value)) {\n return values(value);\n }\n return isObject(value) ? value : Object(value);\n }\n\n /**\n * Converts `value` to an object if it's not one.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {Object} Returns the object.\n */\n function toObject(value) {\n return isObject(value) ? value : Object(value);\n }\n\n /**\n * Converts `value` to property path array if it's not one.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {Array} Returns the property path array.\n */\n function toPath(value) {\n if (isArray(value)) {\n return value;\n }\n var result = [];\n baseToString(value).replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n return wrapper instanceof LazyWrapper\n ? wrapper.clone()\n : new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__, arrayCopy(wrapper.__actions__));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `collection` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the new array containing chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if (guard ? isIterateeCall(array, size, guard) : size == null) {\n size = 1;\n } else {\n size = nativeMax(nativeFloor(size) || 1, 1);\n }\n var index = 0,\n length = array ? array.length : 0,\n resIndex = -1,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[++resIndex] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array ? array.length : 0,\n resIndex = -1,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[++resIndex] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates an array of unique `array` values not included in the other\n * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The arrays of values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.difference([1, 2, 3], [4, 2]);\n * // => [1, 3]\n */\n var difference = restParam(function(array, values) {\n return (isObjectLike(array) && isArrayLike(array))\n ? baseDifference(array, baseFlatten(values, false, true))\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (guard ? isIterateeCall(array, n, guard) : n == null) {\n n = 1;\n }\n return baseSlice(array, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (guard ? isIterateeCall(array, n, guard) : n == null) {\n n = 1;\n }\n n = length - (+n || 0);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * bound to `thisArg` and invoked with three arguments: (value, index, array).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that match the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRightWhile([1, 2, 3], function(n) {\n * return n > 1;\n * });\n * // => [1]\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.pluck(_.dropRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n * // => ['barney', 'fred']\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.pluck(_.dropRightWhile(users, 'active', false), 'user');\n * // => ['barney']\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.dropRightWhile(users, 'active'), 'user');\n * // => ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate, thisArg) {\n return (array && array.length)\n ? baseWhile(array, getCallback(predicate, thisArg, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * bound to `thisArg` and invoked with three arguments: (value, index, array).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropWhile([1, 2, 3], function(n) {\n * return n < 3;\n * });\n * // => [3]\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.pluck(_.dropWhile(users, { 'user': 'barney', 'active': false }), 'user');\n * // => ['fred', 'pebbles']\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.pluck(_.dropWhile(users, 'active', false), 'user');\n * // => ['pebbles']\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.dropWhile(users, 'active'), 'user');\n * // => ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate, thisArg) {\n return (array && array.length)\n ? baseWhile(array, getCallback(predicate, thisArg, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8], '*', 1, 2);\n * // => [4, '*', 8]\n */\n function fill(array, value, start, end) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to search.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(chr) {\n * return chr.user == 'barney';\n * });\n * // => 0\n *\n * // using the `_.matches` callback shorthand\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.findIndex(users, 'active', false);\n * // => 0\n *\n * // using the `_.property` callback shorthand\n * _.findIndex(users, 'active');\n * // => 2\n */\n var findIndex = createFindIndex();\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to search.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(chr) {\n * return chr.user == 'pebbles';\n * });\n * // => 2\n *\n * // using the `_.matches` callback shorthand\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.findLastIndex(users, 'active', false);\n * // => 2\n *\n * // using the `_.property` callback shorthand\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n var findLastIndex = createFindIndex(true);\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @alias head\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.first([1, 2, 3]);\n * // => 1\n *\n * _.first([]);\n * // => undefined\n */\n function first(array) {\n return array ? array[0] : undefined;\n }\n\n /**\n * Flattens a nested array. If `isDeep` is `true` the array is recursively\n * flattened, otherwise it is only flattened a single level.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {boolean} [isDeep] Specify a deep flatten.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, 3, [4]]]);\n * // => [1, 2, 3, [4]]\n *\n * // using `isDeep`\n * _.flatten([1, [2, 3, [4]]], true);\n * // => [1, 2, 3, 4]\n */\n function flatten(array, isDeep, guard) {\n var length = array ? array.length : 0;\n if (guard && isIterateeCall(array, isDeep, guard)) {\n isDeep = false;\n }\n return length ? baseFlatten(array, isDeep) : [];\n }\n\n /**\n * Recursively flattens a nested array.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to recursively flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, 3, [4]]]);\n * // => [1, 2, 3, 4]\n */\n function flattenDeep(array) {\n var length = array ? array.length : 0;\n return length ? baseFlatten(array, true) : [];\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n * from the end of `array`. If `array` is sorted providing `true` for `fromIndex`\n * performs a faster binary search.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to search.\n * @param {*} value The value to search for.\n * @param {boolean|number} [fromIndex=0] The index to search from or `true`\n * to perform a binary search on a sorted array.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // using `fromIndex`\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n *\n * // performing a binary search\n * _.indexOf([1, 1, 2, 2], 2, true);\n * // => 2\n */\n function indexOf(array, value, fromIndex) {\n var length = array ? array.length : 0;\n if (!length) {\n return -1;\n }\n if (typeof fromIndex == 'number') {\n fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : fromIndex;\n } else if (fromIndex) {\n var index = binaryIndex(array, value);\n if (index < length &&\n (value === value ? (value === array[index]) : (array[index] !== array[index]))) {\n return index;\n }\n return -1;\n }\n return baseIndexOf(array, value, fromIndex || 0);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n return dropRight(array, 1);\n }\n\n /**\n * Creates an array of unique values that are included in all of the provided\n * arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of shared values.\n * @example\n * _.intersection([1, 2], [4, 2], [2, 1]);\n * // => [2]\n */\n var intersection = restParam(function(arrays) {\n var othLength = arrays.length,\n othIndex = othLength,\n caches = Array(length),\n indexOf = getIndexOf(),\n isCommon = indexOf == baseIndexOf,\n result = [];\n\n while (othIndex--) {\n var value = arrays[othIndex] = isArrayLike(value = arrays[othIndex]) ? value : [];\n caches[othIndex] = (isCommon && value.length >= 120) ? createCache(othIndex && value) : null;\n }\n var array = arrays[0],\n index = -1,\n length = array ? array.length : 0,\n seen = caches[0];\n\n outer:\n while (++index < length) {\n value = array[index];\n if ((seen ? cacheIndexOf(seen, value) : indexOf(result, value, 0)) < 0) {\n var othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if ((cache ? cacheIndexOf(cache, value) : indexOf(arrays[othIndex], value, 0)) < 0) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(value);\n }\n result.push(value);\n }\n }\n return result;\n });\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array ? array.length : 0;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to search.\n * @param {*} value The value to search for.\n * @param {boolean|number} [fromIndex=array.length-1] The index to search from\n * or `true` to perform a binary search on a sorted array.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // using `fromIndex`\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n *\n * // performing a binary search\n * _.lastIndexOf([1, 1, 2, 2], 2, true);\n * // => 3\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array ? array.length : 0;\n if (!length) {\n return -1;\n }\n var index = length;\n if (typeof fromIndex == 'number') {\n index = (fromIndex < 0 ? nativeMax(length + fromIndex, 0) : nativeMin(fromIndex || 0, length - 1)) + 1;\n } else if (fromIndex) {\n index = binaryIndex(array, value, true) - 1;\n var other = array[index];\n if (value === value ? (value === other) : (other !== other)) {\n return index;\n }\n return -1;\n }\n if (value !== value) {\n return indexOfNaN(array, index, true);\n }\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * Removes all provided values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3, 1, 2, 3];\n *\n * _.pull(array, 2, 3);\n * console.log(array);\n * // => [1, 1]\n */\n function pull() {\n var args = arguments,\n array = args[0];\n\n if (!(array && array.length)) {\n return array;\n }\n var index = 0,\n indexOf = getIndexOf(),\n length = args.length;\n\n while (++index < length) {\n var fromIndex = 0,\n value = args[index];\n\n while ((fromIndex = indexOf(array, value, fromIndex)) > -1) {\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * Removes elements from `array` corresponding to the given indexes and returns\n * an array of the removed elements. Indexes may be specified as an array of\n * indexes or as individual arguments.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove,\n * specified as individual indexes or arrays of indexes.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [5, 10, 15, 20];\n * var evens = _.pullAt(array, 1, 3);\n *\n * console.log(array);\n * // => [5, 15]\n *\n * console.log(evens);\n * // => [10, 20]\n */\n var pullAt = restParam(function(array, indexes) {\n indexes = baseFlatten(indexes);\n\n var result = baseAt(array, indexes);\n basePullAt(array, indexes.sort(baseCompareAscending));\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is bound to\n * `thisArg` and invoked with three arguments: (value, index, array).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate, thisArg) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getCallback(predicate, thisArg, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @alias tail\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.rest([1, 2, 3]);\n * // => [2, 3]\n */\n function rest(array) {\n return drop(array, 1);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of `Array#slice` to support node\n * lists in IE < 9 and to ensure dense arrays are returned.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value` should\n * be inserted into `array` in order to maintain its sort order. If an iteratee\n * function is provided it is invoked for `value` and each element of `array`\n * to compute their sort ranking. The iteratee is bound to `thisArg` and\n * invoked with one argument; (value).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n *\n * _.sortedIndex([4, 4, 5, 5], 5);\n * // => 2\n *\n * var dict = { 'data': { 'thirty': 30, 'forty': 40, 'fifty': 50 } };\n *\n * // using an iteratee function\n * _.sortedIndex(['thirty', 'fifty'], 'forty', function(word) {\n * return this.data[word];\n * }, dict);\n * // => 1\n *\n * // using the `_.property` callback shorthand\n * _.sortedIndex([{ 'x': 30 }, { 'x': 50 }], { 'x': 40 }, 'x');\n * // => 1\n */\n var sortedIndex = createSortedIndex();\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 4, 5, 5], 5);\n * // => 4\n */\n var sortedLastIndex = createSortedIndex(true);\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (guard ? isIterateeCall(array, n, guard) : n == null) {\n n = 1;\n }\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (guard ? isIterateeCall(array, n, guard) : n == null) {\n n = 1;\n }\n n = length - (+n || 0);\n return baseSlice(array, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is bound to `thisArg`\n * and invoked with three arguments: (value, index, array).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRightWhile([1, 2, 3], function(n) {\n * return n > 1;\n * });\n * // => [2, 3]\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.pluck(_.takeRightWhile(users, { 'user': 'pebbles', 'active': false }), 'user');\n * // => ['pebbles']\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.pluck(_.takeRightWhile(users, 'active', false), 'user');\n * // => ['fred', 'pebbles']\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.takeRightWhile(users, 'active'), 'user');\n * // => []\n */\n function takeRightWhile(array, predicate, thisArg) {\n return (array && array.length)\n ? baseWhile(array, getCallback(predicate, thisArg, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is bound to\n * `thisArg` and invoked with three arguments: (value, index, array).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeWhile([1, 2, 3], function(n) {\n * return n < 3;\n * });\n * // => [1, 2]\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false},\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.pluck(_.takeWhile(users, { 'user': 'barney', 'active': false }), 'user');\n * // => ['barney']\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.pluck(_.takeWhile(users, 'active', false), 'user');\n * // => ['barney', 'fred']\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.takeWhile(users, 'active'), 'user');\n * // => []\n */\n function takeWhile(array, predicate, thisArg) {\n return (array && array.length)\n ? baseWhile(array, getCallback(predicate, thisArg, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all of the provided arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([1, 2], [4, 2], [2, 1]);\n * // => [1, 2, 4]\n */\n var union = restParam(function(arrays) {\n return baseUniq(baseFlatten(arrays, false, true));\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurence of each element\n * is kept. Providing `true` for `isSorted` performs a faster search algorithm\n * for sorted arrays. If an iteratee function is provided it is invoked for\n * each element in the array to generate the criterion by which uniqueness\n * is computed. The `iteratee` is bound to `thisArg` and invoked with three\n * arguments: (value, index, array).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @alias unique\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {boolean} [isSorted] Specify the array is sorted.\n * @param {Function|Object|string} [iteratee] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array} Returns the new duplicate-value-free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n *\n * // using `isSorted`\n * _.uniq([1, 1, 2], true);\n * // => [1, 2]\n *\n * // using an iteratee function\n * _.uniq([1, 2.5, 1.5, 2], function(n) {\n * return this.floor(n);\n * }, Math);\n * // => [1, 2.5]\n *\n * // using the `_.property` callback shorthand\n * _.uniq([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniq(array, isSorted, iteratee, thisArg) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n if (isSorted != null && typeof isSorted != 'boolean') {\n thisArg = iteratee;\n iteratee = isIterateeCall(array, isSorted, thisArg) ? undefined : isSorted;\n isSorted = false;\n }\n var callback = getCallback();\n if (!(iteratee == null && callback === baseCallback)) {\n iteratee = callback(iteratee, thisArg, 3);\n }\n return (isSorted && getIndexOf() == baseIndexOf)\n ? sortedUniq(array, iteratee)\n : baseUniq(array, iteratee);\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['fred', 'barney'], [30, 40], [true, false]);\n * // => [['fred', 30, true], ['barney', 40, false]]\n *\n * _.unzip(zipped);\n * // => [['fred', 'barney'], [30, 40], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var index = -1,\n length = 0;\n\n array = arrayFilter(array, function(group) {\n if (isArrayLike(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n var result = Array(length);\n while (++index < length) {\n result[index] = arrayMap(array, baseProperty(index));\n }\n return result;\n }\n\n /**\n * This method is like `_.unzip` except that it accepts an iteratee to specify\n * how regrouped values should be combined. The `iteratee` is bound to `thisArg`\n * and invoked with four arguments: (accumulator, value, index, group).\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee] The function to combine regrouped values.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee, thisArg) {\n var length = array ? array.length : 0;\n if (!length) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n iteratee = bindCallback(iteratee, thisArg, 4);\n return arrayMap(result, function(group) {\n return arrayReduce(group, iteratee, undefined, true);\n });\n }\n\n /**\n * Creates an array excluding all provided values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {Array} array The array to filter.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.without([1, 2, 1, 3], 1, 2);\n * // => [3]\n */\n var without = restParam(function(array, values) {\n return isArrayLike(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the provided arrays.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of values.\n * @example\n *\n * _.xor([1, 2], [4, 2]);\n * // => [1, 4]\n */\n function xor() {\n var index = -1,\n length = arguments.length;\n\n while (++index < length) {\n var array = arguments[index];\n if (isArrayLike(array)) {\n var result = result\n ? arrayPush(baseDifference(result, array), baseDifference(array, result))\n : array;\n }\n }\n return result ? baseUniq(result) : [];\n }\n\n /**\n * Creates an array of grouped elements, the first of which contains the first\n * elements of the given arrays, the second of which contains the second elements\n * of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['fred', 'barney'], [30, 40], [true, false]);\n * // => [['fred', 30, true], ['barney', 40, false]]\n */\n var zip = restParam(unzip);\n\n /**\n * The inverse of `_.pairs`; this method returns an object composed from arrays\n * of property names and values. Provide either a single two dimensional array,\n * e.g. `[[key1, value1], [key2, value2]]` or two arrays, one of property names\n * and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @alias object\n * @category Array\n * @param {Array} props The property names.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject([['fred', 30], ['barney', 40]]);\n * // => { 'fred': 30, 'barney': 40 }\n *\n * _.zipObject(['fred', 'barney'], [30, 40]);\n * // => { 'fred': 30, 'barney': 40 }\n */\n function zipObject(props, values) {\n var index = -1,\n length = props ? props.length : 0,\n result = {};\n\n if (length && !values && !isArray(props[0])) {\n values = [];\n }\n while (++index < length) {\n var key = props[index];\n if (values) {\n result[key] = values[index];\n } else if (key) {\n result[key[0]] = key[1];\n }\n }\n return result;\n }\n\n /**\n * This method is like `_.zip` except that it accepts an iteratee to specify\n * how grouped values should be combined. The `iteratee` is bound to `thisArg`\n * and invoked with four arguments: (accumulator, value, index, group).\n *\n * @static\n * @memberOf _\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee] The function to combine grouped values.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], _.add);\n * // => [111, 222]\n */\n var zipWith = restParam(function(arrays) {\n var length = arrays.length,\n iteratee = length > 2 ? arrays[length - 2] : undefined,\n thisArg = length > 1 ? arrays[length - 1] : undefined;\n\n if (length > 2 && typeof iteratee == 'function') {\n length -= 2;\n } else {\n iteratee = (length > 1 && typeof thisArg == 'function') ? (--length, thisArg) : undefined;\n thisArg = undefined;\n }\n arrays.length = length;\n return unzipWith(arrays, iteratee, thisArg);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object that wraps `value` with explicit method\n * chaining enabled.\n *\n * @static\n * @memberOf _\n * @category Chain\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _.chain(users)\n * .sortBy('age')\n * .map(function(chr) {\n * return chr.user + ' is ' + chr.age;\n * })\n * .first()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor is\n * bound to `thisArg` and invoked with one argument; (value). The purpose of\n * this method is to \"tap into\" a method chain in order to perform operations\n * on intermediate results within the chain.\n *\n * @static\n * @memberOf _\n * @category Chain\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @param {*} [thisArg] The `this` binding of `interceptor`.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor, thisArg) {\n interceptor.call(thisArg, value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n *\n * @static\n * @memberOf _\n * @category Chain\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @param {*} [thisArg] The `this` binding of `interceptor`.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor, thisArg) {\n return interceptor.call(thisArg, value);\n }\n\n /**\n * Enables explicit method chaining on the wrapper object.\n *\n * @name chain\n * @memberOf _\n * @category Chain\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // without explicit chaining\n * _(users).first();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // with explicit chaining\n * _(users).chain()\n * .first()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chained sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @category Chain\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Creates a new array joining a wrapped array with any additional arrays\n * and/or values.\n *\n * @name concat\n * @memberOf _\n * @category Chain\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var wrapped = _(array).concat(2, [3], [[4]]);\n *\n * console.log(wrapped.value());\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n var wrapperConcat = restParam(function(values) {\n values = baseFlatten(values);\n return this.thru(function(array) {\n return arrayConcat(isArray(array) ? array : [toObject(array)], values);\n });\n });\n\n /**\n * Creates a clone of the chained sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @category Chain\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).map(function(value) {\n * return Math.pow(value, 2);\n * });\n *\n * var other = [3, 4];\n * var otherWrapped = wrapped.plant(other);\n *\n * otherWrapped.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * Reverses the wrapped array so the first element becomes the last, the\n * second element becomes the second to last, and so on.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @category Chain\n * @returns {Object} Returns the new reversed `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n\n var interceptor = function(value) {\n return (wrapped && wrapped.__dir__ < 0) ? value : value.reverse();\n };\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(interceptor);\n }\n\n /**\n * Produces the result of coercing the unwrapped value to a string.\n *\n * @name toString\n * @memberOf _\n * @category Chain\n * @returns {string} Returns the coerced string value.\n * @example\n *\n * _([1, 2, 3]).toString();\n * // => '1,2,3'\n */\n function wrapperToString() {\n return (this.value() + '');\n }\n\n /**\n * Executes the chained sequence to extract the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @alias run, toJSON, valueOf\n * @category Chain\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements corresponding to the given keys, or indexes,\n * of `collection`. Keys may be specified as individual arguments or as arrays\n * of keys.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {...(number|number[]|string|string[])} [props] The property names\n * or indexes of elements to pick, specified individually or in arrays.\n * @returns {Array} Returns the new array of picked elements.\n * @example\n *\n * _.at(['a', 'b', 'c'], [0, 2]);\n * // => ['a', 'c']\n *\n * _.at(['barney', 'fred', 'pebbles'], 0, 2);\n * // => ['barney', 'pebbles']\n */\n var at = restParam(function(collection, props) {\n return baseAt(collection, baseFlatten(props));\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` through `iteratee`. The corresponding value\n * of each key is the number of times the key was returned by `iteratee`.\n * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n * (value, index|key, collection).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([4.3, 6.1, 6.4], function(n) {\n * return Math.floor(n);\n * });\n * // => { '4': 1, '6': 2 }\n *\n * _.countBy([4.3, 6.1, 6.4], function(n) {\n * return this.floor(n);\n * }, Math);\n * // => { '4': 1, '6': 2 }\n *\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n hasOwnProperty.call(result, key) ? ++result[key] : (result[key] = 1);\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * The predicate is bound to `thisArg` and invoked with three arguments:\n * (value, index|key, collection).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @alias all\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.every(users, 'active', false);\n * // => true\n *\n * // using the `_.property` callback shorthand\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, thisArg) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n predicate = undefined;\n }\n if (typeof predicate != 'function' || thisArg !== undefined) {\n predicate = getCallback(predicate, thisArg, 3);\n }\n return func(collection, predicate);\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n * invoked with three arguments: (value, index|key, collection).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @alias select\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the new filtered array.\n * @example\n *\n * _.filter([4, 5, 6], function(n) {\n * return n % 2 == 0;\n * });\n * // => [4, 6]\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.pluck(_.filter(users, { 'age': 36, 'active': true }), 'user');\n * // => ['barney']\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.pluck(_.filter(users, 'active', false), 'user');\n * // => ['fred']\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.filter(users, 'active'), 'user');\n * // => ['barney']\n */\n function filter(collection, predicate, thisArg) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n predicate = getCallback(predicate, thisArg, 3);\n return func(collection, predicate);\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is bound to `thisArg` and\n * invoked with three arguments: (value, index|key, collection).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @alias detect\n * @category Collection\n * @param {Array|Object|string} collection The collection to search.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.result(_.find(users, function(chr) {\n * return chr.age < 40;\n * }), 'user');\n * // => 'barney'\n *\n * // using the `_.matches` callback shorthand\n * _.result(_.find(users, { 'age': 1, 'active': true }), 'user');\n * // => 'pebbles'\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.result(_.find(users, 'active', false), 'user');\n * // => 'fred'\n *\n * // using the `_.property` callback shorthand\n * _.result(_.find(users, 'active'), 'user');\n * // => 'barney'\n */\n var find = createFind(baseEach);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to search.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(baseEachRight, true);\n\n /**\n * Performs a deep comparison between each element in `collection` and the\n * source object, returning the first element that has equivalent property\n * values.\n *\n * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n * numbers, `Object` objects, regexes, and strings. Objects are compared by\n * their own, not inherited, enumerable properties. For comparing a single\n * own or inherited property value see `_.matchesProperty`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to search.\n * @param {Object} source The object of property values to match.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.result(_.findWhere(users, { 'age': 36, 'active': true }), 'user');\n * // => 'barney'\n *\n * _.result(_.findWhere(users, { 'age': 40, 'active': false }), 'user');\n * // => 'fred'\n */\n function findWhere(collection, source) {\n return find(collection, baseMatches(source));\n }\n\n /**\n * Iterates over elements of `collection` invoking `iteratee` for each element.\n * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n * (value, index|key, collection). Iteratee functions may exit iteration early\n * by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\" property\n * are iterated like arrays. To avoid this behavior `_.forIn` or `_.forOwn`\n * may be used for object iteration.\n *\n * @static\n * @memberOf _\n * @alias each\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array|Object|string} Returns `collection`.\n * @example\n *\n * _([1, 2]).forEach(function(n) {\n * console.log(n);\n * }).value();\n * // => logs each value from left to right and returns the array\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(n, key) {\n * console.log(n, key);\n * });\n * // => logs each value-key pair and returns the object (iteration order is not guaranteed)\n */\n var forEach = createForEach(arrayEach, baseEach);\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @alias eachRight\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array|Object|string} Returns `collection`.\n * @example\n *\n * _([1, 2]).forEachRight(function(n) {\n * console.log(n);\n * }).value();\n * // => logs each value from right to left and returns the array\n */\n var forEachRight = createForEach(arrayEachRight, baseEachRight);\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` through `iteratee`. The corresponding value\n * of each key is an array of the elements responsible for generating the key.\n * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n * (value, index|key, collection).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([4.2, 6.1, 6.4], function(n) {\n * return Math.floor(n);\n * });\n * // => { '4': [4.2], '6': [6.1, 6.4] }\n *\n * _.groupBy([4.2, 6.1, 6.4], function(n) {\n * return this.floor(n);\n * }, Math);\n * // => { '4': [4.2], '6': [6.1, 6.4] }\n *\n * // using the `_.property` callback shorthand\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n result[key] = [value];\n }\n });\n\n /**\n * Checks if `value` is in `collection` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it is used as the offset\n * from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @alias contains, include\n * @category Collection\n * @param {Array|Object|string} collection The collection to search.\n * @param {*} target The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n * @returns {boolean} Returns `true` if a matching element is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'user': 'fred', 'age': 40 }, 'fred');\n * // => true\n *\n * _.includes('pebbles', 'eb');\n * // => true\n */\n function includes(collection, target, fromIndex, guard) {\n var length = collection ? getLength(collection) : 0;\n if (!isLength(length)) {\n collection = values(collection);\n length = collection.length;\n }\n if (typeof fromIndex != 'number' || (guard && isIterateeCall(target, fromIndex, guard))) {\n fromIndex = 0;\n } else {\n fromIndex = fromIndex < 0 ? nativeMax(length + fromIndex, 0) : (fromIndex || 0);\n }\n return (typeof collection == 'string' || !isArray(collection) && isString(collection))\n ? (fromIndex <= length && collection.indexOf(target, fromIndex) > -1)\n : (!!length && getIndexOf(collection, target, fromIndex) > -1);\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` through `iteratee`. The corresponding value\n * of each key is the last element responsible for generating the key. The\n * iteratee function is bound to `thisArg` and invoked with three arguments:\n * (value, index|key, collection).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var keyData = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.indexBy(keyData, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n *\n * _.indexBy(keyData, function(object) {\n * return String.fromCharCode(object.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.indexBy(keyData, function(object) {\n * return this.fromCharCode(object.code);\n * }, String);\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n */\n var indexBy = createAggregator(function(result, value, key) {\n result[key] = value;\n });\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `methodName` is a function it is\n * invoked for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invoke([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invoke([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invoke = restParam(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n isProp = isKey(path),\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n var func = isFunc ? path : ((isProp && value != null) ? value[path] : undefined);\n result[++index] = func ? func.apply(value, args) : invokePath(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an array of values by running each element in `collection` through\n * `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three\n * arguments: (value, index|key, collection).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `callback`, `chunk`, `clone`, `create`, `curry`, `curryRight`,\n * `drop`, `dropRight`, `every`, `fill`, `flatten`, `invert`, `max`, `min`,\n * `parseInt`, `slice`, `sortBy`, `take`, `takeRight`, `template`, `trim`,\n * `trimLeft`, `trimRight`, `trunc`, `random`, `range`, `sample`, `some`,\n * `sum`, `uniq`, and `words`\n *\n * @static\n * @memberOf _\n * @alias collect\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function timesThree(n) {\n * return n * 3;\n * }\n *\n * _.map([1, 2], timesThree);\n * // => [3, 6]\n *\n * _.map({ 'a': 1, 'b': 2 }, timesThree);\n * // => [3, 6] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // using the `_.property` callback shorthand\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee, thisArg) {\n var func = isArray(collection) ? arrayMap : baseMap;\n iteratee = getCallback(iteratee, thisArg, 3);\n return func(collection, iteratee);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, while the second of which\n * contains elements `predicate` returns falsey for. The predicate is bound\n * to `thisArg` and invoked with three arguments: (value, index|key, collection).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * _.partition([1, 2, 3], function(n) {\n * return n % 2;\n * });\n * // => [[1, 3], [2]]\n *\n * _.partition([1.2, 2.3, 3.4], function(n) {\n * return this.floor(n) % 2;\n * }, Math);\n * // => [[1.2, 3.4], [2.3]]\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * var mapper = function(array) {\n * return _.pluck(array, 'user');\n * };\n *\n * // using the `_.matches` callback shorthand\n * _.map(_.partition(users, { 'age': 1, 'active': false }), mapper);\n * // => [['pebbles'], ['barney', 'fred']]\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.map(_.partition(users, 'active', false), mapper);\n * // => [['barney', 'pebbles'], ['fred']]\n *\n * // using the `_.property` callback shorthand\n * _.map(_.partition(users, 'active'), mapper);\n * // => [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Gets the property value of `path` from all elements in `collection`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Array|string} path The path of the property to pluck.\n * @returns {Array} Returns the property values.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * _.pluck(users, 'user');\n * // => ['barney', 'fred']\n *\n * var userIndex = _.indexBy(users, 'user');\n * _.pluck(userIndex, 'age');\n * // => [36, 40] (iteration order is not guaranteed)\n */\n function pluck(collection, path) {\n return map(collection, property(path));\n }\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` through `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not provided the first element of `collection` is used as the initial\n * value. The `iteratee` is bound to `thisArg` and invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `sortByAll`,\n * and `sortByOrder`\n *\n * @static\n * @memberOf _\n * @alias foldl, inject\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.reduce([1, 2], function(total, n) {\n * return total + n;\n * });\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2 }, function(result, n, key) {\n * result[key] = n * 3;\n * return result;\n * }, {});\n * // => { 'a': 3, 'b': 6 } (iteration order is not guaranteed)\n */\n var reduce = createReduce(arrayReduce, baseEach);\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @alias foldr\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n var reduceRight = createReduce(arrayReduceRight, baseEachRight);\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Array} Returns the new filtered array.\n * @example\n *\n * _.reject([1, 2, 3, 4], function(n) {\n * return n % 2 == 0;\n * });\n * // => [1, 3]\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.pluck(_.reject(users, { 'age': 40, 'active': true }), 'user');\n * // => ['barney']\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.pluck(_.reject(users, 'active', false), 'user');\n * // => ['fred']\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.reject(users, 'active'), 'user');\n * // => ['barney']\n */\n function reject(collection, predicate, thisArg) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n predicate = getCallback(predicate, thisArg, 3);\n return func(collection, function(value, index, collection) {\n return !predicate(value, index, collection);\n });\n }\n\n /**\n * Gets a random element or `n` random elements from a collection.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to sample.\n * @param {number} [n] The number of elements to sample.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {*} Returns the random sample(s).\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n *\n * _.sample([1, 2, 3, 4], 2);\n * // => [3, 1]\n */\n function sample(collection, n, guard) {\n if (guard ? isIterateeCall(collection, n, guard) : n == null) {\n collection = toIterable(collection);\n var length = collection.length;\n return length > 0 ? collection[baseRandom(0, length - 1)] : undefined;\n }\n var index = -1,\n result = toArray(collection),\n length = result.length,\n lastIndex = length - 1;\n\n n = nativeMin(n < 0 ? 0 : (+n || 0), length);\n while (++index < n) {\n var rand = baseRandom(index, lastIndex),\n value = result[rand];\n\n result[rand] = result[index];\n result[index] = value;\n }\n result.length = n;\n return result;\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n return sample(collection, POSITIVE_INFINITY);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable properties for objects.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the size of `collection`.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n var length = collection ? getLength(collection) : 0;\n return isLength(length) ? length : keys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * The function returns as soon as it finds a passing value and does not iterate\n * over the entire collection. The predicate is bound to `thisArg` and invoked\n * with three arguments: (value, index|key, collection).\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @alias any\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // using the `_.matches` callback shorthand\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.some(users, 'active', false);\n * // => true\n *\n * // using the `_.property` callback shorthand\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, thisArg) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (thisArg && isIterateeCall(collection, predicate, thisArg)) {\n predicate = undefined;\n }\n if (typeof predicate != 'function' || thisArg !== undefined) {\n predicate = getCallback(predicate, thisArg, 3);\n }\n return func(collection, predicate);\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection through `iteratee`. This method performs\n * a stable sort, that is, it preserves the original sort order of equal elements.\n * The `iteratee` is bound to `thisArg` and invoked with three arguments:\n * (value, index|key, collection).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * _.sortBy([1, 2, 3], function(n) {\n * return Math.sin(n);\n * });\n * // => [3, 1, 2]\n *\n * _.sortBy([1, 2, 3], function(n) {\n * return this.sin(n);\n * }, Math);\n * // => [3, 1, 2]\n *\n * var users = [\n * { 'user': 'fred' },\n * { 'user': 'pebbles' },\n * { 'user': 'barney' }\n * ];\n *\n * // using the `_.property` callback shorthand\n * _.pluck(_.sortBy(users, 'user'), 'user');\n * // => ['barney', 'fred', 'pebbles']\n */\n function sortBy(collection, iteratee, thisArg) {\n if (collection == null) {\n return [];\n }\n if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {\n iteratee = undefined;\n }\n var index = -1;\n iteratee = getCallback(iteratee, thisArg, 3);\n\n var result = baseMap(collection, function(value, key, collection) {\n return { 'criteria': iteratee(value, key, collection), 'index': ++index, 'value': value };\n });\n return baseSortBy(result, compareAscending);\n }\n\n /**\n * This method is like `_.sortBy` except that it can sort by multiple iteratees\n * or property names.\n *\n * If a property name is provided for an iteratee the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If an object is provided for an iteratee the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {...(Function|Function[]|Object|Object[]|string|string[])} iteratees\n * The iteratees to sort by, specified as individual values or arrays of values.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 42 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.map(_.sortByAll(users, ['user', 'age']), _.values);\n * // => [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]]\n *\n * _.map(_.sortByAll(users, 'user', function(chr) {\n * return Math.floor(chr.age / 10);\n * }), _.values);\n * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n */\n var sortByAll = restParam(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var guard = iteratees[2];\n if (guard && isIterateeCall(iteratees[0], iteratees[1], guard)) {\n iteratees.length = 1;\n }\n return baseSortByOrder(collection, baseFlatten(iteratees), []);\n });\n\n /**\n * This method is like `_.sortByAll` except that it allows specifying the\n * sort orders of the iteratees to sort by. If `orders` is unspecified, all\n * values are sorted in ascending order. Otherwise, a value is sorted in\n * ascending order if its corresponding order is \"asc\", and descending if \"desc\".\n *\n * If a property name is provided for an iteratee the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If an object is provided for an iteratee the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {boolean[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 42 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // sort by `user` in ascending order and by `age` in descending order\n * _.map(_.sortByOrder(users, ['user', 'age'], ['asc', 'desc']), _.values);\n * // => [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]]\n */\n function sortByOrder(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (guard && isIterateeCall(iteratees, orders, guard)) {\n orders = undefined;\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseSortByOrder(collection, iteratees, orders);\n }\n\n /**\n * Performs a deep comparison between each element in `collection` and the\n * source object, returning an array of all elements that have equivalent\n * property values.\n *\n * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n * numbers, `Object` objects, regexes, and strings. Objects are compared by\n * their own, not inherited, enumerable properties. For comparing a single\n * own or inherited property value see `_.matchesProperty`.\n *\n * @static\n * @memberOf _\n * @category Collection\n * @param {Array|Object|string} collection The collection to search.\n * @param {Object} source The object of property values to match.\n * @returns {Array} Returns the new filtered array.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false, 'pets': ['hoppy'] },\n * { 'user': 'fred', 'age': 40, 'active': true, 'pets': ['baby puss', 'dino'] }\n * ];\n *\n * _.pluck(_.where(users, { 'age': 36, 'active': false }), 'user');\n * // => ['barney']\n *\n * _.pluck(_.where(users, { 'pets': ['dino'] }), 'user');\n * // => ['fred']\n */\n function where(collection, source) {\n return filter(collection, baseMatches(source));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the number of milliseconds that have elapsed since the Unix epoch\n * (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @category Date\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => logs the number of milliseconds it took for the deferred function to be invoked\n */\n var now = nativeNow || function() {\n return new Date().getTime();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it is called `n` or more times.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => logs 'done saving!' after the two async saves have completed\n */\n function after(n, func) {\n if (typeof func != 'function') {\n if (typeof n == 'function') {\n var temp = n;\n n = func;\n func = temp;\n } else {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n }\n n = nativeIsFinite(n = +n) ? n : 0;\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that accepts up to `n` arguments ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Function} Returns the new function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n if (guard && isIterateeCall(func, n, guard)) {\n n = undefined;\n }\n n = (func && n == null) ? func.length : nativeMax(+n || 0, 0);\n return createWrapper(func, ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it is called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery('#add').on('click', _.before(5, addContactToList));\n * // => allows adding up to 4 contacts to the list\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n if (typeof n == 'function') {\n var temp = n;\n n = func;\n func = temp;\n } else {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n }\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and prepends any additional `_.bind` arguments to those provided to the\n * bound function.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind` this method does not set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var greet = function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * };\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // using placeholders\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = restParam(function(func, thisArg, partials) {\n var bitmask = BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, bind.placeholder);\n bitmask |= PARTIAL_FLAG;\n }\n return createWrapper(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Binds methods of an object to the object itself, overwriting the existing\n * method. Method names may be specified as individual arguments or as arrays\n * of method names. If no method names are provided all enumerable function\n * properties, own and inherited, of `object` are bound.\n *\n * **Note:** This method does not set the \"length\" property of bound functions.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Object} object The object to bind and assign the bound methods to.\n * @param {...(string|string[])} [methodNames] The object method names to bind,\n * specified as individual method names or arrays of method names.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var view = {\n * 'label': 'docs',\n * 'onClick': function() {\n * console.log('clicked ' + this.label);\n * }\n * };\n *\n * _.bindAll(view);\n * jQuery('#docs').on('click', view.onClick);\n * // => logs 'clicked docs' when the element is clicked\n */\n var bindAll = restParam(function(object, methodNames) {\n methodNames = methodNames.length ? baseFlatten(methodNames) : functions(object);\n\n var index = -1,\n length = methodNames.length;\n\n while (++index < length) {\n var key = methodNames[index];\n object[key] = createWrapper(object[key], BIND_FLAG, object);\n }\n return object;\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` and prepends\n * any additional `_.bindKey` arguments to those provided to the bound function.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist.\n * See [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Object} object The object the method belongs to.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // using placeholders\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = restParam(function(object, key, partials) {\n var bitmask = BIND_FLAG | BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, bindKey.placeholder);\n bitmask |= PARTIAL_FLAG;\n }\n return createWrapper(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts one or more arguments of `func` that when\n * called either invokes `func` returning its result, if all `func` arguments\n * have been provided, or returns a function that accepts one or more of the\n * remaining `func` arguments, and so on. The arity of `func` may be specified\n * if `func.length` is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method does not set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // using placeholders\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n var curry = createCurry(CURRY_FLAG);\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method does not set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // using placeholders\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n var curryRight = createCurry(CURRY_RIGHT_FLAG);\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed invocations. Provide an options object to indicate that `func`\n * should be invoked on the leading and/or trailing edge of the `wait` timeout.\n * Subsequent calls to the debounced function return the result of the last\n * `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n * on the trailing edge of the timeout only if the the debounced function is\n * invoked more than once during the `wait` timeout.\n *\n * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options] The options object.\n * @param {boolean} [options.leading=false] Specify invoking on the leading\n * edge of the timeout.\n * @param {number} [options.maxWait] The maximum time `func` is allowed to be\n * delayed before it is invoked.\n * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n * edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // avoid costly calculations while the window size is in flux\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // invoke `sendMail` when the click event is fired, debouncing subsequent calls\n * jQuery('#postbox').on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // ensure `batchLog` is invoked once after 1 second of debounced calls\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', _.debounce(batchLog, 250, {\n * 'maxWait': 1000\n * }));\n *\n * // cancel a debounced call\n * var todoChanges = _.debounce(batchLog, 1000);\n * Object.observe(models.todo, todoChanges);\n *\n * Object.observe(models, function(changes) {\n * if (_.find(changes, { 'user': 'todo', 'type': 'delete'})) {\n * todoChanges.cancel();\n * }\n * }, ['delete']);\n *\n * // ...at some point `models.todo` is changed\n * models.todo.completed = true;\n *\n * // ...before 1 second has passed `models.todo` is deleted\n * // which cancels the debounced `todoChanges` call\n * delete models.todo;\n */\n function debounce(func, wait, options) {\n var args,\n maxTimeoutId,\n result,\n stamp,\n thisArg,\n timeoutId,\n trailingCall,\n lastCalled = 0,\n maxWait = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = wait < 0 ? 0 : (+wait || 0);\n if (options === true) {\n var leading = true;\n trailing = false;\n } else if (isObject(options)) {\n leading = !!options.leading;\n maxWait = 'maxWait' in options && nativeMax(+options.maxWait || 0, wait);\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function cancel() {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n if (maxTimeoutId) {\n clearTimeout(maxTimeoutId);\n }\n lastCalled = 0;\n maxTimeoutId = timeoutId = trailingCall = undefined;\n }\n\n function complete(isCalled, id) {\n if (id) {\n clearTimeout(id);\n }\n maxTimeoutId = timeoutId = trailingCall = undefined;\n if (isCalled) {\n lastCalled = now();\n result = func.apply(thisArg, args);\n if (!timeoutId && !maxTimeoutId) {\n args = thisArg = undefined;\n }\n }\n }\n\n function delayed() {\n var remaining = wait - (now() - stamp);\n if (remaining <= 0 || remaining > wait) {\n complete(trailingCall, maxTimeoutId);\n } else {\n timeoutId = setTimeout(delayed, remaining);\n }\n }\n\n function maxDelayed() {\n complete(trailing, timeoutId);\n }\n\n function debounced() {\n args = arguments;\n stamp = now();\n thisArg = this;\n trailingCall = trailing && (timeoutId || !leading);\n\n if (maxWait === false) {\n var leadingCall = leading && !timeoutId;\n } else {\n if (!maxTimeoutId && !leading) {\n lastCalled = stamp;\n }\n var remaining = maxWait - (stamp - lastCalled),\n isCalled = remaining <= 0 || remaining > maxWait;\n\n if (isCalled) {\n if (maxTimeoutId) {\n maxTimeoutId = clearTimeout(maxTimeoutId);\n }\n lastCalled = stamp;\n result = func.apply(thisArg, args);\n }\n else if (!maxTimeoutId) {\n maxTimeoutId = setTimeout(maxDelayed, remaining);\n }\n }\n if (isCalled && timeoutId) {\n timeoutId = clearTimeout(timeoutId);\n }\n else if (!timeoutId && wait !== maxWait) {\n timeoutId = setTimeout(delayed, wait);\n }\n if (leadingCall) {\n isCalled = true;\n result = func.apply(thisArg, args);\n }\n if (isCalled && !timeoutId && !maxTimeoutId) {\n args = thisArg = undefined;\n }\n return result;\n }\n debounced.cancel = cancel;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it is invoked.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke the function with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // logs 'deferred' after one or more milliseconds\n */\n var defer = restParam(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it is invoked.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke the function with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => logs 'later' after one second\n */\n var delay = restParam(function(func, wait, args) {\n return baseDelay(func, wait, args);\n });\n\n /**\n * Creates a function that returns the result of invoking the provided\n * functions with the `this` binding of the created function, where each\n * successive invocation is supplied the return value of the previous.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {...Function} [funcs] Functions to invoke.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var addSquare = _.flow(_.add, square);\n * addSquare(1, 2);\n * // => 9\n */\n var flow = createFlow();\n\n /**\n * This method is like `_.flow` except that it creates a function that\n * invokes the provided functions from right to left.\n *\n * @static\n * @memberOf _\n * @alias backflow, compose\n * @category Function\n * @param {...Function} [funcs] Functions to invoke.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var addSquare = _.flowRight(square, _.add);\n * addSquare(1, 2);\n * // => 9\n */\n var flowRight = createFlow(true);\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is coerced to a string and used as the\n * cache key. The `func` is invoked with the `this` binding of the memoized\n * function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the [`Map`](http://ecma-international.org/ecma-262/6.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoizing function.\n * @example\n *\n * var upperCase = _.memoize(function(string) {\n * return string.toUpperCase();\n * });\n *\n * upperCase('fred');\n * // => 'FRED'\n *\n * // modifying the result cache\n * upperCase.cache.set('fred', 'BARNEY');\n * upperCase('fred');\n * // => 'BARNEY'\n *\n * // replacing `_.memoize.Cache`\n * var object = { 'user': 'fred' };\n * var other = { 'user': 'barney' };\n * var identity = _.memoize(_.identity);\n *\n * identity(object);\n * // => { 'user': 'fred' }\n * identity(other);\n * // => { 'user': 'fred' }\n *\n * _.memoize.Cache = WeakMap;\n * var identity = _.memoize(_.identity);\n *\n * identity(object);\n * // => { 'user': 'fred' }\n * identity(other);\n * // => { 'user': 'barney' }\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new memoize.Cache;\n return memoized;\n }\n\n /**\n * Creates a function that runs each argument through a corresponding\n * transform function.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms] The functions to transform\n * arguments, specified as individual functions or arrays of functions.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var modded = _.modArgs(function(x, y) {\n * return [x, y];\n * }, square, doubled);\n *\n * modded(1, 2);\n * // => [1, 4]\n *\n * modded(5, 10);\n * // => [25, 20]\n */\n var modArgs = restParam(function(func, transforms) {\n transforms = baseFlatten(transforms);\n if (typeof func != 'function' || !arrayEvery(transforms, baseIsFunction)) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = transforms.length;\n return restParam(function(args) {\n var index = nativeMin(args.length, length);\n while (index--) {\n args[index] = transforms[index](args[index]);\n }\n return func.apply(this, args);\n });\n });\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n return !predicate.apply(this, arguments);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first call. The `func` is invoked\n * with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // `initialize` invokes `createApplication` once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with `partial` arguments prepended\n * to those provided to the new function. This method is like `_.bind` except\n * it does **not** alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method does not set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * var greet = function(greeting, name) {\n * return greeting + ' ' + name;\n * };\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // using placeholders\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = createPartial(PARTIAL_FLAG);\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to those provided to the new function.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method does not set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * var greet = function(greeting, name) {\n * return greeting + ' ' + name;\n * };\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // using placeholders\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = createPartial(PARTIAL_RIGHT_FLAG);\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified indexes where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes,\n * specified as individual indexes or arrays of indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, 2, 0, 1);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n *\n * var map = _.rearg(_.map, [1, 0]);\n * map(function(n) {\n * return n * 3;\n * }, [1, 2, 3]);\n * // => [3, 6, 9]\n */\n var rearg = restParam(function(func, indexes) {\n return createWrapper(func, REARG_FLAG, undefined, undefined, undefined, baseFlatten(indexes));\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as an array.\n *\n * **Note:** This method is based on the [rest parameter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.restParam(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function restParam(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = nativeMax(start === undefined ? (func.length - 1) : (+start || 0), 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n rest = Array(length);\n\n while (++index < length) {\n rest[index] = args[start + index];\n }\n switch (start) {\n case 0: return func.call(this, rest);\n case 1: return func.call(this, args[0], rest);\n case 2: return func.call(this, args[0], args[1], rest);\n }\n var otherArgs = Array(start + 1);\n index = -1;\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = rest;\n return func.apply(this, otherArgs);\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the created\n * function and an array of arguments much like [`Function#apply`](https://es5.github.io/#x15.3.4.3).\n *\n * **Note:** This method is based on the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator).\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * // with a Promise\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function(array) {\n return func.apply(this, array);\n };\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed invocations. Provide an options object to indicate\n * that `func` should be invoked on the leading and/or trailing edge of the\n * `wait` timeout. Subsequent calls to the throttled function return the\n * result of the last `func` call.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked\n * on the trailing edge of the timeout only if the the throttled function is\n * invoked more than once during the `wait` timeout.\n *\n * See [David Corbacho's article](http://drupalmotion.com/article/debounce-and-throttle-visual-explanation)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options] The options object.\n * @param {boolean} [options.leading=true] Specify invoking on the leading\n * edge of the timeout.\n * @param {boolean} [options.trailing=true] Specify invoking on the trailing\n * edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // avoid excessively updating the position while scrolling\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // invoke `renewToken` when the click event is fired, but not more than once every 5 minutes\n * jQuery('.interactive').on('click', _.throttle(renewToken, 300000, {\n * 'trailing': false\n * }));\n *\n * // cancel a trailing throttled call\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (options === false) {\n leading = false;\n } else if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, { 'leading': leading, 'maxWait': +wait, 'trailing': trailing });\n }\n\n /**\n * Creates a function that provides `value` to the wrapper function as its\n * first argument. Any additional arguments provided to the function are\n * appended to those provided to the wrapper function. The wrapper is invoked\n * with the `this` binding of the created function.\n *\n * @static\n * @memberOf _\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} wrapper The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n wrapper = wrapper == null ? identity : wrapper;\n return createWrapper(wrapper, PARTIAL_FLAG, undefined, [value], []);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a clone of `value`. If `isDeep` is `true` nested objects are cloned,\n * otherwise they are assigned by reference. If `customizer` is provided it is\n * invoked to produce the cloned values. If `customizer` returns `undefined`\n * cloning is handled by the method instead. The `customizer` is bound to\n * `thisArg` and invoked with two argument; (value [, index|key, object]).\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n * The enumerable properties of `arguments` objects and objects created by\n * constructors other than `Object` are cloned to plain `Object` objects. An\n * empty object is returned for uncloneable values such as functions, DOM nodes,\n * Maps, Sets, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @param {Function} [customizer] The function to customize cloning values.\n * @param {*} [thisArg] The `this` binding of `customizer`.\n * @returns {*} Returns the cloned value.\n * @example\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * var shallow = _.clone(users);\n * shallow[0] === users[0];\n * // => true\n *\n * var deep = _.clone(users, true);\n * deep[0] === users[0];\n * // => false\n *\n * // using a customizer callback\n * var el = _.clone(document.body, function(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * });\n *\n * el === document.body\n * // => false\n * el.nodeName\n * // => BODY\n * el.childNodes.length;\n * // => 0\n */\n function clone(value, isDeep, customizer, thisArg) {\n if (isDeep && typeof isDeep != 'boolean' && isIterateeCall(value, isDeep, customizer)) {\n isDeep = false;\n }\n else if (typeof isDeep == 'function') {\n thisArg = customizer;\n customizer = isDeep;\n isDeep = false;\n }\n return typeof customizer == 'function'\n ? baseClone(value, isDeep, bindCallback(customizer, thisArg, 1))\n : baseClone(value, isDeep);\n }\n\n /**\n * Creates a deep clone of `value`. If `customizer` is provided it is invoked\n * to produce the cloned values. If `customizer` returns `undefined` cloning\n * is handled by the method instead. The `customizer` is bound to `thisArg`\n * and invoked with two argument; (value [, index|key, object]).\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm).\n * The enumerable properties of `arguments` objects and objects created by\n * constructors other than `Object` are cloned to plain `Object` objects. An\n * empty object is returned for uncloneable values such as functions, DOM nodes,\n * Maps, Sets, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to deep clone.\n * @param {Function} [customizer] The function to customize cloning values.\n * @param {*} [thisArg] The `this` binding of `customizer`.\n * @returns {*} Returns the deep cloned value.\n * @example\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * var deep = _.cloneDeep(users);\n * deep[0] === users[0];\n * // => false\n *\n * // using a customizer callback\n * var el = _.cloneDeep(document.body, function(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * });\n *\n * el === document.body\n * // => false\n * el.nodeName\n * // => BODY\n * el.childNodes.length;\n * // => 20\n */\n function cloneDeep(value, customizer, thisArg) {\n return typeof customizer == 'function'\n ? baseClone(value, true, bindCallback(customizer, thisArg, 1))\n : baseClone(value, true);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`, else `false`.\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n function gt(value, other) {\n return value > other;\n }\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to `other`, else `false`.\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n function gte(value, other) {\n return value >= other;\n }\n\n /**\n * Checks if `value` is classified as an `arguments` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n function isArguments(value) {\n return isObjectLike(value) && isArrayLike(value) &&\n hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee');\n }\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(function() { return arguments; }());\n * // => false\n */\n var isArray = nativeIsArray || function(value) {\n return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;\n };\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false || (isObjectLike(value) && objToString.call(value) == boolTag);\n }\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n function isDate(value) {\n return isObjectLike(value) && objToString.call(value) == dateTag;\n }\n\n /**\n * Checks if `value` is a DOM element.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return !!value && value.nodeType === 1 && isObjectLike(value) && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is empty. A value is considered empty unless it is an\n * `arguments` object, array, string, or jQuery-like collection with a length\n * greater than `0` or an object with own enumerable properties.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {Array|Object|string} value The value to inspect.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) && (isArray(value) || isString(value) || isArguments(value) ||\n (isObjectLike(value) && isFunction(value.splice)))) {\n return !value.length;\n }\n return !keys(value).length;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent. If `customizer` is provided it is invoked to compare values.\n * If `customizer` returns `undefined` comparisons are handled by the method\n * instead. The `customizer` is bound to `thisArg` and invoked with three\n * arguments: (value, other [, index|key]).\n *\n * **Note:** This method supports comparing arrays, booleans, `Date` objects,\n * numbers, `Object` objects, regexes, and strings. Objects are compared by\n * their own, not inherited, enumerable properties. Functions and DOM nodes\n * are **not** supported. Provide a customizer function to extend support\n * for comparing other values.\n *\n * @static\n * @memberOf _\n * @alias eq\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize value comparisons.\n * @param {*} [thisArg] The `this` binding of `customizer`.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'user': 'fred' };\n * var other = { 'user': 'fred' };\n *\n * object == other;\n * // => false\n *\n * _.isEqual(object, other);\n * // => true\n *\n * // using a customizer callback\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqual(array, other, function(value, other) {\n * if (_.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/)) {\n * return true;\n * }\n * });\n * // => true\n */\n function isEqual(value, other, customizer, thisArg) {\n customizer = typeof customizer == 'function' ? bindCallback(customizer, thisArg, 3) : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n return isObjectLike(value) && typeof value.message == 'string' && objToString.call(value) == errorTag;\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on [`Number.isFinite`](http://ecma-international.org/ecma-262/6.0/#sec-number.isfinite).\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(10);\n * // => true\n *\n * _.isFinite('10');\n * // => false\n *\n * _.isFinite(true);\n * // => false\n *\n * _.isFinite(Object(10));\n * // => false\n *\n * _.isFinite(Infinity);\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in older versions of Chrome and Safari which return 'function' for regexes\n // and Safari 8 equivalents which return 'object' for typed array constructors.\n return isObject(value) && objToString.call(value) == funcTag;\n }\n\n /**\n * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(1);\n * // => false\n */\n function isObject(value) {\n // Avoid a V8 JIT bug in Chrome 19-20.\n // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n }\n\n /**\n * Performs a deep comparison between `object` and `source` to determine if\n * `object` contains equivalent property values. If `customizer` is provided\n * it is invoked to compare values. If `customizer` returns `undefined`\n * comparisons are handled by the method instead. The `customizer` is bound\n * to `thisArg` and invoked with three arguments: (value, other, index|key).\n *\n * **Note:** This method supports comparing properties of arrays, booleans,\n * `Date` objects, numbers, `Object` objects, regexes, and strings. Functions\n * and DOM nodes are **not** supported. Provide a customizer function to extend\n * support for comparing other values.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize value comparisons.\n * @param {*} [thisArg] The `this` binding of `customizer`.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'user': 'fred', 'age': 40 };\n *\n * _.isMatch(object, { 'age': 40 });\n * // => true\n *\n * _.isMatch(object, { 'age': 36 });\n * // => false\n *\n * // using a customizer callback\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatch(object, source, function(value, other) {\n * return _.every([value, other], RegExp.prototype.test, /^h(?:i|ello)$/) || undefined;\n * });\n * // => true\n */\n function isMatch(object, source, customizer, thisArg) {\n customizer = typeof customizer == 'function' ? bindCallback(customizer, thisArg, 3) : undefined;\n return baseIsMatch(object, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is not the same as [`isNaN`](https://es5.github.io/#x15.1.2.4)\n * which returns `true` for `undefined` and other non-numeric values.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some host objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a native function.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (value == null) {\n return false;\n }\n if (isFunction(value)) {\n return reIsNative.test(fnToString.call(value));\n }\n return isObjectLike(value) && reIsHostCtor.test(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are classified\n * as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isNumber(8.4);\n * // => true\n *\n * _.isNumber(NaN);\n * // => true\n *\n * _.isNumber('8.4');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' || (isObjectLike(value) && objToString.call(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * **Note:** This method assumes objects created by the `Object` constructor\n * have no inherited enumerable properties.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n var Ctor;\n\n // Exit early for non `Object` objects.\n if (!(isObjectLike(value) && objToString.call(value) == objectTag && !isArguments(value)) ||\n (!hasOwnProperty.call(value, 'constructor') && (Ctor = value.constructor, typeof Ctor == 'function' && !(Ctor instanceof Ctor)))) {\n return false;\n }\n // IE < 9 iterates inherited properties before own properties. If the first\n // iterated property is an object's own property then there are no inherited\n // enumerable properties.\n var result;\n // In most environments an object's own properties are iterated before\n // its inherited properties. If the last iterated property is an object's\n // own property then there are no inherited enumerable properties.\n baseForIn(value, function(subValue, key) {\n result = key;\n });\n return result === undefined || hasOwnProperty.call(value, result);\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n function isRegExp(value) {\n return isObject(value) && objToString.call(value) == regexpTag;\n }\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' || (isObjectLike(value) && objToString.call(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n function isTypedArray(value) {\n return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[objToString.call(value)];\n }\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`, else `false`.\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n function lt(value, other) {\n return value < other;\n }\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to `other`, else `false`.\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n function lte(value, other) {\n return value <= other;\n }\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * (function() {\n * return _.toArray(arguments).slice(1);\n * }(1, 2, 3));\n * // => [2, 3]\n */\n function toArray(value) {\n var length = value ? getLength(value) : 0;\n if (!isLength(length)) {\n return values(value);\n }\n if (!length) {\n return [];\n }\n return arrayCopy(value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable\n * properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return baseCopy(value, keysIn(value));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Recursively merges own enumerable properties of the source object(s), that\n * don't resolve to `undefined` into the destination object. Subsequent sources\n * overwrite property assignments of previous sources. If `customizer` is\n * provided it is invoked to produce the merged values of the destination and\n * source properties. If `customizer` returns `undefined` merging is handled\n * by the method instead. The `customizer` is bound to `thisArg` and invoked\n * with five arguments: (objectValue, sourceValue, key, object, source).\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {*} [thisArg] The `this` binding of `customizer`.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var users = {\n * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }]\n * };\n *\n * var ages = {\n * 'data': [{ 'age': 36 }, { 'age': 40 }]\n * };\n *\n * _.merge(users, ages);\n * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] }\n *\n * // using a customizer callback\n * var object = {\n * 'fruits': ['apple'],\n * 'vegetables': ['beet']\n * };\n *\n * var other = {\n * 'fruits': ['banana'],\n * 'vegetables': ['carrot']\n * };\n *\n * _.merge(object, other, function(a, b) {\n * if (_.isArray(a)) {\n * return a.concat(b);\n * }\n * });\n * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] }\n */\n var merge = createAssigner(baseMerge);\n\n /**\n * Assigns own enumerable properties of source object(s) to the destination\n * object. Subsequent sources overwrite property assignments of previous sources.\n * If `customizer` is provided it is invoked to produce the assigned values.\n * The `customizer` is bound to `thisArg` and invoked with five arguments:\n * (objectValue, sourceValue, key, object, source).\n *\n * **Note:** This method mutates `object` and is based on\n * [`Object.assign`](http://ecma-international.org/ecma-262/6.0/#sec-object.assign).\n *\n * @static\n * @memberOf _\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {*} [thisArg] The `this` binding of `customizer`.\n * @returns {Object} Returns `object`.\n * @example\n *\n * _.assign({ 'user': 'barney' }, { 'age': 40 }, { 'user': 'fred' });\n * // => { 'user': 'fred', 'age': 40 }\n *\n * // using a customizer callback\n * var defaults = _.partialRight(_.assign, function(value, other) {\n * return _.isUndefined(value) ? other : value;\n * });\n *\n * defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n * // => { 'user': 'barney', 'age': 36 }\n */\n var assign = createAssigner(function(object, source, customizer) {\n return customizer\n ? assignWith(object, source, customizer)\n : baseAssign(object, source);\n });\n\n /**\n * Creates an object that inherits from the given `prototype` object. If a\n * `properties` object is provided its own enumerable properties are assigned\n * to the created object.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties, guard) {\n var result = baseCreate(prototype);\n if (guard && isIterateeCall(prototype, properties, guard)) {\n properties = undefined;\n }\n return properties ? baseAssign(result, properties) : result;\n }\n\n /**\n * Assigns own enumerable properties of source object(s) to the destination\n * object for all destination properties that resolve to `undefined`. Once a\n * property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * _.defaults({ 'user': 'barney' }, { 'age': 36 }, { 'user': 'fred' });\n * // => { 'user': 'barney', 'age': 36 }\n */\n var defaults = createDefaults(assign, assignDefaults);\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * _.defaultsDeep({ 'user': { 'name': 'barney' } }, { 'user': { 'name': 'fred', 'age': 36 } });\n * // => { 'user': { 'name': 'barney', 'age': 36 } }\n *\n */\n var defaultsDeep = createDefaults(merge, mergeDefaults);\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to search.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(chr) {\n * return chr.age < 40;\n * });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // using the `_.matches` callback shorthand\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.findKey(users, 'active', false);\n * // => 'fred'\n *\n * // using the `_.property` callback shorthand\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n var findKey = createFindKey(baseForOwn);\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * If a property name is provided for `predicate` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `predicate` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to search.\n * @param {Function|Object|string} [predicate=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {string|undefined} Returns the key of the matched element, else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(chr) {\n * return chr.age < 40;\n * });\n * // => returns `pebbles` assuming `_.findKey` returns `barney`\n *\n * // using the `_.matches` callback shorthand\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // using the `_.matchesProperty` callback shorthand\n * _.findLastKey(users, 'active', false);\n * // => 'fred'\n *\n * // using the `_.property` callback shorthand\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n var findLastKey = createFindKey(baseForOwnRight);\n\n /**\n * Iterates over own and inherited enumerable properties of an object invoking\n * `iteratee` for each property. The `iteratee` is bound to `thisArg` and invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => logs 'a', 'b', and 'c' (iteration order is not guaranteed)\n */\n var forIn = createForIn(baseFor);\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => logs 'c', 'b', and 'a' assuming `_.forIn ` logs 'a', 'b', and 'c'\n */\n var forInRight = createForIn(baseForRight);\n\n /**\n * Iterates over own enumerable properties of an object invoking `iteratee`\n * for each property. The `iteratee` is bound to `thisArg` and invoked with\n * three arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => logs 'a' and 'b' (iteration order is not guaranteed)\n */\n var forOwn = createForOwn(baseForOwn);\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => logs 'b' and 'a' assuming `_.forOwn` logs 'a' and 'b'\n */\n var forOwnRight = createForOwn(baseForOwnRight);\n\n /**\n * Creates an array of function property names from all enumerable properties,\n * own and inherited, of `object`.\n *\n * @static\n * @memberOf _\n * @alias methods\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the new array of property names.\n * @example\n *\n * _.functions(_);\n * // => ['after', 'ary', 'assign', ...]\n */\n function functions(object) {\n return baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the property value at `path` of `object`. If the resolved value is\n * `undefined` the `defaultValue` is used in its place.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, toPath(path), path + '');\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` is a direct property, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': { 'c': 3 } } };\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b.c');\n * // => true\n *\n * _.has(object, ['a', 'b', 'c']);\n * // => true\n */\n function has(object, path) {\n if (object == null) {\n return false;\n }\n var result = hasOwnProperty.call(object, path);\n if (!result && !isKey(path)) {\n path = toPath(path);\n object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n if (object == null) {\n return false;\n }\n path = last(path);\n result = hasOwnProperty.call(object, path);\n }\n return result || (isLength(object.length) && isIndex(path, object.length) &&\n (isArray(object) || isArguments(object)));\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite property\n * assignments of previous values unless `multiValue` is `true`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to invert.\n * @param {boolean} [multiValue] Allow multiple values per key.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n *\n * // with `multiValue`\n * _.invert(object, true);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function invert(object, multiValue, guard) {\n if (guard && isIterateeCall(object, multiValue, guard)) {\n multiValue = undefined;\n }\n var index = -1,\n props = keys(object),\n length = props.length,\n result = {};\n\n while (++index < length) {\n var key = props[index],\n value = object[key];\n\n if (multiValue) {\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }\n else {\n result[value] = key;\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n var keys = !nativeKeys ? shimKeys : function(object) {\n var Ctor = object == null ? undefined : object.constructor;\n if ((typeof Ctor == 'function' && Ctor.prototype === object) ||\n (typeof object != 'function' && isArrayLike(object))) {\n return shimKeys(object);\n }\n return isObject(object) ? nativeKeys(object) : [];\n };\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n if (object == null) {\n return [];\n }\n if (!isObject(object)) {\n object = Object(object);\n }\n var length = object.length;\n length = (length && isLength(length) &&\n (isArray(object) || isArguments(object)) && length) || 0;\n\n var Ctor = object.constructor,\n index = -1,\n isProto = typeof Ctor == 'function' && Ctor.prototype === object,\n result = Array(length),\n skipIndexes = length > 0;\n\n while (++index < length) {\n result[index] = (index + '');\n }\n for (var key in object) {\n if (!(skipIndexes && isIndex(key, length)) &&\n !(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * property of `object` through `iteratee`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns the new mapped object.\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n var mapKeys = createObjectMapper(true);\n\n /**\n * Creates an object with the same keys as `object` and values generated by\n * running each own enumerable property of `object` through `iteratee`. The\n * iteratee function is bound to `thisArg` and invoked with three arguments:\n * (value, key, object).\n *\n * If a property name is provided for `iteratee` the created `_.property`\n * style callback returns the property value of the given element.\n *\n * If a value is also provided for `thisArg` the created `_.matchesProperty`\n * style callback returns `true` for elements that have a matching property\n * value, else `false`.\n *\n * If an object is provided for `iteratee` the created `_.matches` style\n * callback returns `true` for elements that have the properties of the given\n * object, else `false`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function|Object|string} [iteratee=_.identity] The function invoked\n * per iteration.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {Object} Returns the new mapped object.\n * @example\n *\n * _.mapValues({ 'a': 1, 'b': 2 }, function(n) {\n * return n * 3;\n * });\n * // => { 'a': 3, 'b': 6 }\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * // using the `_.property` callback shorthand\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n var mapValues = createObjectMapper();\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable properties of `object` that are not omitted.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {Function|...(string|string[])} [predicate] The function invoked per\n * iteration or property names to omit, specified as individual property\n * names or arrays of property names.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'user': 'fred', 'age': 40 };\n *\n * _.omit(object, 'age');\n * // => { 'user': 'fred' }\n *\n * _.omit(object, _.isNumber);\n * // => { 'user': 'fred' }\n */\n var omit = restParam(function(object, props) {\n if (object == null) {\n return {};\n }\n if (typeof props[0] != 'function') {\n var props = arrayMap(baseFlatten(props), String);\n return pickByArray(object, baseDifference(keysIn(object), props));\n }\n var predicate = bindCallback(props[0], props[1], 3);\n return pickByCallback(object, function(value, key, object) {\n return !predicate(value, key, object);\n });\n });\n\n /**\n * Creates a two dimensional array of the key-value pairs for `object`,\n * e.g. `[[key1, value1], [key2, value2]]`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the new array of key-value pairs.\n * @example\n *\n * _.pairs({ 'barney': 36, 'fred': 40 });\n * // => [['barney', 36], ['fred', 40]] (iteration order is not guaranteed)\n */\n function pairs(object) {\n object = toObject(object);\n\n var index = -1,\n props = keys(object),\n length = props.length,\n result = Array(length);\n\n while (++index < length) {\n var key = props[index];\n result[index] = [key, object[key]];\n }\n return result;\n }\n\n /**\n * Creates an object composed of the picked `object` properties. Property\n * names may be specified as individual arguments or as arrays of property\n * names. If `predicate` is provided it is invoked for each property of `object`\n * picking the properties `predicate` returns truthy for. The predicate is\n * bound to `thisArg` and invoked with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {Function|...(string|string[])} [predicate] The function invoked per\n * iteration or property names to pick, specified as individual property\n * names or arrays of property names.\n * @param {*} [thisArg] The `this` binding of `predicate`.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'user': 'fred', 'age': 40 };\n *\n * _.pick(object, 'user');\n * // => { 'user': 'fred' }\n *\n * _.pick(object, _.isString);\n * // => { 'user': 'fred' }\n */\n var pick = restParam(function(object, props) {\n if (object == null) {\n return {};\n }\n return typeof props[0] == 'function'\n ? pickByCallback(object, bindCallback(props[0], props[1], 3))\n : pickByArray(object, baseFlatten(props));\n });\n\n /**\n * This method is like `_.get` except that if the resolved value is a function\n * it is invoked with the `this` binding of its parent object and its result\n * is returned.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned if the resolved value is `undefined`.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a.b.c', 'default');\n * // => 'default'\n *\n * _.result(object, 'a.b.c', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n var result = object == null ? undefined : object[path];\n if (result === undefined) {\n if (object != null && !isKey(path, object)) {\n path = toPath(path);\n object = path.length == 1 ? object : baseGet(object, baseSlice(path, 0, -1));\n result = object == null ? undefined : object[last(path)];\n }\n result = result === undefined ? defaultValue : result;\n }\n return isFunction(result) ? result.call(object) : result;\n }\n\n /**\n * Sets the property value of `path` on `object`. If a portion of `path`\n * does not exist it is created.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to augment.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, 'x[0].y.z', 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n if (object == null) {\n return object;\n }\n var pathKey = (path + '');\n path = (object[pathKey] != null || isKey(path, object)) ? [pathKey] : toPath(path);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = path[index];\n if (isObject(nested)) {\n if (index == lastIndex) {\n nested[key] = value;\n } else if (nested[key] == null) {\n nested[key] = isIndex(path[index + 1]) ? [] : {};\n }\n }\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own enumerable\n * properties through `iteratee`, with each invocation potentially mutating\n * the `accumulator` object. The `iteratee` is bound to `thisArg` and invoked\n * with four arguments: (accumulator, value, key, object). Iteratee functions\n * may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Array|Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @param {*} [thisArg] The `this` binding of `iteratee`.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * });\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2 }, function(result, n, key) {\n * result[key] = n * 3;\n * });\n * // => { 'a': 3, 'b': 6 }\n */\n function transform(object, iteratee, accumulator, thisArg) {\n var isArr = isArray(object) || isTypedArray(object);\n iteratee = getCallback(iteratee, thisArg, 4);\n\n if (accumulator == null) {\n if (isArr || isObject(object)) {\n var Ctor = object.constructor;\n if (isArr) {\n accumulator = isArray(object) ? new Ctor : [];\n } else {\n accumulator = baseCreate(isFunction(Ctor) ? Ctor.prototype : undefined);\n }\n } else {\n accumulator = {};\n }\n }\n (isArr ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Creates an array of the own enumerable property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable property values\n * of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Checks if `n` is between `start` and up to but not including, `end`. If\n * `end` is not specified it is set to `start` with `start` then set to `0`.\n *\n * @static\n * @memberOf _\n * @category Number\n * @param {number} n The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `n` is in the range, else `false`.\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n */\n function inRange(value, start, end) {\n start = +start || 0;\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = +end || 0;\n }\n return value >= nativeMin(start, end) && value < nativeMax(start, end);\n }\n\n /**\n * Produces a random number between `min` and `max` (inclusive). If only one\n * argument is provided a number between `0` and the given number is returned.\n * If `floating` is `true`, or either `min` or `max` are floats, a floating-point\n * number is returned instead of an integer.\n *\n * @static\n * @memberOf _\n * @category Number\n * @param {number} [min=0] The minimum possible value.\n * @param {number} [max=1] The maximum possible value.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(min, max, floating) {\n if (floating && isIterateeCall(min, max, floating)) {\n max = floating = undefined;\n }\n var noMin = min == null,\n noMax = max == null;\n\n if (floating == null) {\n if (noMax && typeof min == 'boolean') {\n floating = min;\n min = 1;\n }\n else if (typeof max == 'boolean') {\n floating = max;\n noMax = true;\n }\n }\n if (noMin && noMax) {\n max = 1;\n noMax = false;\n }\n min = +min || 0;\n if (noMax) {\n max = min;\n min = 0;\n } else {\n max = +max || 0;\n }\n if (floating || min % 1 || max % 1) {\n var rand = nativeRandom();\n return nativeMin(min + (rand * (max - min + parseFloat('1e-' + ((rand + '').length - 1)))), max);\n }\n return baseRandom(min, max);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar');\n * // => 'fooBar'\n *\n * _.camelCase('__foo_bar__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? (word.charAt(0).toUpperCase() + word.slice(1)) : word);\n });\n\n /**\n * Capitalizes the first character of `string`.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('fred');\n * // => 'Fred'\n */\n function capitalize(string) {\n string = baseToString(string);\n return string && (string.charAt(0).toUpperCase() + string.slice(1));\n }\n\n /**\n * Deburrs `string` by converting [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * to basic latin letters and removing [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = baseToString(string);\n return string && string.replace(reLatin1, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to search.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search from.\n * @returns {boolean} Returns `true` if `string` ends with `target`, else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = baseToString(string);\n target = (target + '');\n\n var length = string.length;\n position = position === undefined\n ? length\n : nativeMin(position < 0 ? 0 : (+position || 0), length);\n\n position -= target.length;\n return position >= 0 && string.indexOf(target, position) == position;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', \"'\", and \"\\`\", in `string` to\n * their corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional characters\n * use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value.\n * See [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * Backticks are escaped because in Internet Explorer < 9, they can break out\n * of attribute values or HTML comments. See [#59](https://html5sec.org/#59),\n * [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), and\n * [#133](https://html5sec.org/#133) of the [HTML5 Security Cheatsheet](https://html5sec.org/)\n * for more details.\n *\n * When working with HTML you should always [quote attribute values](http://wonko.com/post/html-escaping)\n * to reduce XSS vectors.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n // Reset `lastIndex` because in IE < 9 `String#replace` does not.\n string = baseToString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"\\\", \"/\", \"^\", \"$\", \".\", \"|\", \"?\",\n * \"*\", \"+\", \"(\", \")\", \"[\", \"]\", \"{\" and \"}\" in `string`.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https:\\/\\/lodash\\.com\\/\\)'\n */\n function escapeRegExp(string) {\n string = baseToString(string);\n return (string && reHasRegExpChars.test(string))\n ? string.replace(reRegExpChars, escapeRegExpChar)\n : (string || '(?:)');\n }\n\n /**\n * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__foo_bar__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = baseToString(string);\n length = +length;\n\n var strLength = string.length;\n if (strLength >= length || !nativeIsFinite(length)) {\n return string;\n }\n var mid = (length - strLength) / 2,\n leftLength = nativeFloor(mid),\n rightLength = nativeCeil(mid);\n\n chars = createPadding('', rightLength, chars);\n return chars.slice(0, leftLength) + string + chars;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padLeft('abc', 6);\n * // => ' abc'\n *\n * _.padLeft('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padLeft('abc', 3);\n * // => 'abc'\n */\n var padLeft = createPadDir();\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padRight('abc', 6);\n * // => 'abc '\n *\n * _.padRight('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padRight('abc', 3);\n * // => 'abc'\n */\n var padRight = createPadDir(true);\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a hexadecimal,\n * in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the [ES5 implementation](https://es5.github.io/#E)\n * of `parseInt`.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as a callback for functions like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n // Firefox < 21 and Opera < 15 follow ES3 for `parseInt`.\n // Chrome fails to trim leading whitespace characters.\n // See https://code.google.com/p/v8/issues/detail?id=3109 for more details.\n if (guard ? isIterateeCall(string, radix, guard) : radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n string = trim(string);\n return nativeParseInt(string, radix || (reHasHexPrefix.test(string) ? 16 : 10));\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=0] The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n) {\n var result = '';\n string = baseToString(string);\n n = +n;\n if (n < 1 || !string || !nativeIsFinite(n)) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n string += string;\n } while (n);\n\n return result;\n }\n\n /**\n * Converts `string` to [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--foo-bar');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string` to [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__foo_bar__');\n * // => 'Foo Bar'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + (word.charAt(0).toUpperCase() + word.slice(1));\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to search.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`, else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = baseToString(string);\n position = position == null\n ? 0\n : nativeMin(position < 0 ? 0 : (+position || 0), string.length);\n\n return string.lastIndexOf(target, position) == position;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is provided it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options] The options object.\n * @param {RegExp} [options.escape] The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate] The \"evaluate\" delimiter.\n * @param {Object} [options.imports] An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate] The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL] The sourceURL of the template's compiled source.\n * @param {string} [options.variable] The data object variable name.\n * @param- {Object} [otherOptions] Enables the legacy `options` param signature.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // using the \"interpolate\" delimiter to create a compiled template\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // using the HTML \"escape\" delimiter to escape data property values\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': ' \ No newline at end of file +primer-react
\ No newline at end of file diff --git a/examples/docs.js b/examples/docs.js index 16d122e2736..cbd9bf3674a 100644 --- a/examples/docs.js +++ b/examples/docs.js @@ -3,7 +3,7 @@ import classnames from 'classnames' import { BrowserRouter as Router, Route, - Link + NavLink } from 'react-router-dom' import DemoPage from './DemoPage' @@ -11,20 +11,18 @@ import ComponentPage from './ComponentPage' import Sandbox from './Sandbox' const Index = props => ( - -
- - - - -
-
+
+ + + + +
) export default Index From 4323224842c3c7b2df823c7fa1750fd75b571176 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 20 Jun 2018 14:18:39 -0700 Subject: [PATCH 20/38] gh pages test --- docs/CSS/index.html | 2 +- docs/ComponentPage/index.html | 2 +- docs/DemoPage/index.html | 2 +- docs/GitHubAvatar/index.html | 2 +- docs/Sandbox/index.html | 2 +- docs/SideNav/index.html | 2 +- docs/Swatch/index.html | 2 +- docs/bundle.js | 8 ++++---- docs/index.html | 4 ++-- examples/ComponentPage.js | 2 +- examples/DemoPage.js | 2 +- examples/_app.js | 2 +- examples/docs.js | 28 ---------------------------- examples/index.js | 28 ++++++++++++++++++++++++++++ package.json | 2 +- 15 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 examples/docs.js create mode 100644 examples/index.js diff --git a/docs/CSS/index.html b/docs/CSS/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/CSS/index.html +++ b/docs/CSS/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/ComponentPage/index.html +++ b/docs/ComponentPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/DemoPage/index.html +++ b/docs/DemoPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/Sandbox/index.html +++ b/docs/Sandbox/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/SideNav/index.html +++ b/docs/SideNav/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index 13172f8f14e..987e58837ab 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 4be7a1cb886..2c160243088 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=708)}([function(e,t,n){"use strict";e.exports=n(662)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/docs/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ",""," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ","
"," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u @@ -183,7 +183,7 @@ _.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(44),i=n(72),a=n(0),o=n(43),s=n(108),u=n(429),l=n(427);function c(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=0;it}return!1}function S(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new S(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new S(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new S(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){C[e]=new S(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new S(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new S(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){C[e]=new S(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){C[e]=new S(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){C[e]=new S(e,5,!1,e.toLowerCase(),null)});var A=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),C.tabIndex=new S("tabIndex",1,!1,"tabindex",null);var D=/["'&<>]/;function M(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",i=0;for(n=t.index;n=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type?this.currentSelectValue=null:null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===v&&this.popProvider(n.type)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?M(n):this.previousWasTextNode?"\x3c!-- --\x3e"+M(n):(this.previousWasTextNode=!0,M(n));if(e=(t=G(e,t)).child,t=t.context,null===e||!1===e)return"";if(!a.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var r=e.$$typeof;r===h&&c("257"),c("258",r.toString())}return e=R(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(r=e.type))return this.renderDOM(e,t,n);switch(r){case d:case y:case m:case p:return e=R(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("object"==typeof r&&null!==r)switch(r.$$typeof){case b:return e=R(r.render(e.props,e.ref)),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case v:return n={type:e,domNamespace:n,children:r=R(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case g:return r=R(e.props.children(e.type._currentValue)),this.stack.push({type:e,domNamespace:n,children:r,childIndex:0,context:t,footer:""}),""}c("130",null==r?r:typeof r,"")},e.prototype.renderDOM=function(e,t,n){var r=e.type.toLowerCase();n===T.html&&P(r),V.hasOwnProperty(r)||(H.test(r)||c("65",r),V[r]=!0);var o=e.props;if("input"===r)o=i({type:void 0},o,{defaultChecked:void 0,defaultValue:void 0,value:null!=o.value?o.value:o.defaultValue,checked:null!=o.checked?o.checked:o.defaultChecked});else if("textarea"===r){var s=o.value;if(null==s){s=o.defaultValue;var u=o.children;null!=u&&(null!=s&&c("92"),Array.isArray(u)&&(1>=u.length||c("93"),u=u[0]),s=""+u),null==s&&(s="")}o=i({},o,{value:void 0,children:""+s})}else if("select"===r)this.currentSelectValue=null!=o.value?o.value:o.defaultValue,o=i({},o,{value:void 0});else if("option"===r){u=this.currentSelectValue;var l=function(e){var t="";return a.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(o.children);if(null!=u){var f=null!=o.value?o.value+"":l;if(s=!1,Array.isArray(u)){for(var h=0;h":(y+=">",s="");e:{if(null!=(u=o.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=o.children)||"number"==typeof u){u=M(u);break e}u=null}return null!=u?(o=[],I[r]&&"\n"===u.charAt(0)&&(y+="\n"),y+=u):o=R(o.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?P(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:r,children:o,childIndex:0,context:t,footer:s}),this.previousWasTextNode=!1,y},e}(),J={renderToString:function(e){return new X(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new X(e,!0).read(1/0)},renderToNodeStream:function(){c("207")},renderToStaticNodeStream:function(){c("208")},version:"16.4.1"},K={default:J},Y=K&&J||K;e.exports=Y.default?Y.default:Y},function(e,t,n){"use strict";e.exports=n(430)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.space=void 0;var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=s(n(3)),a=n(100),o=s(n(167));function s(e){return e&&e.__esModule?e:{default:e}}var u=/^[mp][trblxy]?$/,l=t.space=function(e){var t=Object.keys(e).filter(function(e){return u.test(e)}).sort(),n=(0,a.breaks)(e),r=(0,a.get)(e,"theme.space",o.default.space);return t.map(function(t){var i=e[t],o=f(t);return Array.isArray(i)?(0,a.arr)(i).map(c(r)).map((0,a.dec)(o)).map((0,a.media)(n)).reduce(a.merge,{}):o.reduce(function(e,t){return Object.assign(e,(n={},a=t,o=c(r)(i),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n));var n,a,o},{})}).reduce(a.merge,{})},c=function(e){return function(t){if(!(0,a.num)(t))return t;var n=e[Math.abs(t)]||Math.abs(t);return(0,a.num)(n)?(0,a.px)(n*((0,a.neg)(t)?-1:1)):(0,a.neg)(t)?"-"+n:n}},f=function(e){var t=e.split(""),n=r(t,2),i=n[0],a=n[1],o=h[i];return(p[a]||[""]).map(function(e){return o+e})},h={m:"margin",p:"padding"},p={t:["Top"],r:["Right"],b:["Bottom"],l:["Left"],x:["Left","Right"],y:["Top","Bottom"]},d=i.default.oneOfType([i.default.number,i.default.string,i.default.array]);l.propTypes={m:d,mt:d,mr:d,mb:d,ml:d,mx:d,my:d,p:d,pt:d,pr:d,pb:d,pl:d,px:d,py:d},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flex=t.flexDirection=t.flexBasis=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.ratioPadding=t.size=t.sizeHeight=t.sizeWidth=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=void 0;var r=Object.assign||function(e){for(var t=1;t0?e+"px solid":e},p=t.border=(0,a.responsiveStyle)({prop:"border",key:"borders",getter:h}),d=t.borderTop=(0,a.responsiveStyle)({prop:"borderTop",key:"borders",getter:h}),m=t.borderRight=(0,a.responsiveStyle)({prop:"borderRight",key:"borders",getter:h}),v=t.borderBottom=(0,a.responsiveStyle)({prop:"borderBottom",key:"borders",getter:h}),g=t.borderLeft=(0,a.responsiveStyle)({prop:"borderLeft",key:"borders",getter:h});(t.borders=function(e){return r({},p(e),d(e),m(e),v(e),g(e))}).propTypes=r({},p.propTypes,d.propTypes,m.propTypes,v.propTypes,g.propTypes);t.borderColor=(0,a.style)({prop:"borderColor",key:"colors"}),t.borderRadius=(0,a.style)({prop:"borderRadius",key:"radii",numberToPx:!0}),t.boxShadow=(0,a.style)({prop:"boxShadow",key:"shadows"}),t.background=(0,a.style)({prop:"background"}),t.backgroundImage=(0,a.style)({prop:"backgroundImage",alias:"bgImage",getter:function(e){return"url("+e+")"}}),t.backgroundSize=(0,a.style)({prop:"backgroundSize",alias:"bgSize"}),t.backgroundPosition=(0,a.style)({prop:"backgroundPosition",alias:"bgPosition"}),t.backgroundRepeat=(0,a.style)({prop:"backgroundRepeat",alias:"bgRepeat"}),t.position=(0,a.responsiveStyle)({prop:"position"}),t.zIndex=(0,a.style)({prop:"zIndex"}),t.top=(0,a.responsiveStyle)({prop:"top",numberToPx:!0}),t.right=(0,a.responsiveStyle)({prop:"right",numberToPx:!0}),t.bottom=(0,a.responsiveStyle)({prop:"bottom",numberToPx:!0}),t.left=(0,a.responsiveStyle)({prop:"left",numberToPx:!0}),t.hover=(0,a.pseudoStyle)({prop:"hover",pseudoclass:"hover",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.focus=(0,a.pseudoStyle)({prop:"focus",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.active=(0,a.pseudoStyle)({prop:"active",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.disabled=(0,a.pseudoStyle)({prop:"disabledStyle",pseudoclass:"disabled",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.textStyle=(0,a.complexStyle)({prop:"textStyle",key:"textStyles"}),t.colorStyle=(0,a.complexStyle)({prop:"colors",key:"colorStyles"}),t.buttonStyle=(0,a.complexStyle)({prop:"buttonStyle",key:"buttons"}),t.borderWidth=(0,a.style)({prop:"borderWidth",cssProperty:"border",key:"borderWidths",getter:function(e){return h(e)}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=t.util=t.theme=t.themeGet=t.complexStyle=t.responsiveStyle=t.pseudoStyle=t.style=t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flexBasis=t.flex=t.flexDirection=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.size=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=t.styles=void 0;var r=n(433);Object.defineProperty(t,"space",{enumerable:!0,get:function(){return r.space}}),Object.defineProperty(t,"width",{enumerable:!0,get:function(){return r.width}}),Object.defineProperty(t,"fontSize",{enumerable:!0,get:function(){return r.fontSize}}),Object.defineProperty(t,"textColor",{enumerable:!0,get:function(){return r.textColor}}),Object.defineProperty(t,"bgColor",{enumerable:!0,get:function(){return r.bgColor}}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return r.color}}),Object.defineProperty(t,"fontFamily",{enumerable:!0,get:function(){return r.fontFamily}}),Object.defineProperty(t,"textAlign",{enumerable:!0,get:function(){return r.textAlign}}),Object.defineProperty(t,"lineHeight",{enumerable:!0,get:function(){return r.lineHeight}}),Object.defineProperty(t,"fontWeight",{enumerable:!0,get:function(){return r.fontWeight}}),Object.defineProperty(t,"letterSpacing",{enumerable:!0,get:function(){return r.letterSpacing}}),Object.defineProperty(t,"display",{enumerable:!0,get:function(){return r.display}}),Object.defineProperty(t,"maxWidth",{enumerable:!0,get:function(){return r.maxWidth}}),Object.defineProperty(t,"minWidth",{enumerable:!0,get:function(){return r.minWidth}}),Object.defineProperty(t,"height",{enumerable:!0,get:function(){return r.height}}),Object.defineProperty(t,"maxHeight",{enumerable:!0,get:function(){return r.maxHeight}}),Object.defineProperty(t,"minHeight",{enumerable:!0,get:function(){return r.minHeight}}),Object.defineProperty(t,"size",{enumerable:!0,get:function(){return r.size}}),Object.defineProperty(t,"ratio",{enumerable:!0,get:function(){return r.ratio}}),Object.defineProperty(t,"alignItems",{enumerable:!0,get:function(){return r.alignItems}}),Object.defineProperty(t,"alignContent",{enumerable:!0,get:function(){return r.alignContent}}),Object.defineProperty(t,"justifyContent",{enumerable:!0,get:function(){return r.justifyContent}}),Object.defineProperty(t,"flexWrap",{enumerable:!0,get:function(){return r.flexWrap}}),Object.defineProperty(t,"flexDirection",{enumerable:!0,get:function(){return r.flexDirection}}),Object.defineProperty(t,"flex",{enumerable:!0,get:function(){return r.flex}}),Object.defineProperty(t,"flexBasis",{enumerable:!0,get:function(){return r.flexBasis}}),Object.defineProperty(t,"justifySelf",{enumerable:!0,get:function(){return r.justifySelf}}),Object.defineProperty(t,"alignSelf",{enumerable:!0,get:function(){return r.alignSelf}}),Object.defineProperty(t,"order",{enumerable:!0,get:function(){return r.order}}),Object.defineProperty(t,"gridGap",{enumerable:!0,get:function(){return r.gridGap}}),Object.defineProperty(t,"gridColumnGap",{enumerable:!0,get:function(){return r.gridColumnGap}}),Object.defineProperty(t,"gridRowGap",{enumerable:!0,get:function(){return r.gridRowGap}}),Object.defineProperty(t,"gridColumn",{enumerable:!0,get:function(){return r.gridColumn}}),Object.defineProperty(t,"gridRow",{enumerable:!0,get:function(){return r.gridRow}}),Object.defineProperty(t,"gridAutoFlow",{enumerable:!0,get:function(){return r.gridAutoFlow}}),Object.defineProperty(t,"gridAutoColumns",{enumerable:!0,get:function(){return r.gridAutoColumns}}),Object.defineProperty(t,"gridAutoRows",{enumerable:!0,get:function(){return r.gridAutoRows}}),Object.defineProperty(t,"gridTemplateColumns",{enumerable:!0,get:function(){return r.gridTemplateColumns}}),Object.defineProperty(t,"gridTemplateRows",{enumerable:!0,get:function(){return r.gridTemplateRows}}),Object.defineProperty(t,"border",{enumerable:!0,get:function(){return r.border}}),Object.defineProperty(t,"borderTop",{enumerable:!0,get:function(){return r.borderTop}}),Object.defineProperty(t,"borderRight",{enumerable:!0,get:function(){return r.borderRight}}),Object.defineProperty(t,"borderBottom",{enumerable:!0,get:function(){return r.borderBottom}}),Object.defineProperty(t,"borderLeft",{enumerable:!0,get:function(){return r.borderLeft}}),Object.defineProperty(t,"borders",{enumerable:!0,get:function(){return r.borders}}),Object.defineProperty(t,"borderColor",{enumerable:!0,get:function(){return r.borderColor}}),Object.defineProperty(t,"borderRadius",{enumerable:!0,get:function(){return r.borderRadius}}),Object.defineProperty(t,"boxShadow",{enumerable:!0,get:function(){return r.boxShadow}}),Object.defineProperty(t,"background",{enumerable:!0,get:function(){return r.background}}),Object.defineProperty(t,"backgroundImage",{enumerable:!0,get:function(){return r.backgroundImage}}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return r.backgroundSize}}),Object.defineProperty(t,"backgroundPosition",{enumerable:!0,get:function(){return r.backgroundPosition}}),Object.defineProperty(t,"backgroundRepeat",{enumerable:!0,get:function(){return r.backgroundRepeat}}),Object.defineProperty(t,"position",{enumerable:!0,get:function(){return r.position}}),Object.defineProperty(t,"zIndex",{enumerable:!0,get:function(){return r.zIndex}}),Object.defineProperty(t,"top",{enumerable:!0,get:function(){return r.top}}),Object.defineProperty(t,"right",{enumerable:!0,get:function(){return r.right}}),Object.defineProperty(t,"bottom",{enumerable:!0,get:function(){return r.bottom}}),Object.defineProperty(t,"left",{enumerable:!0,get:function(){return r.left}}),Object.defineProperty(t,"hover",{enumerable:!0,get:function(){return r.hover}}),Object.defineProperty(t,"focus",{enumerable:!0,get:function(){return r.focus}}),Object.defineProperty(t,"active",{enumerable:!0,get:function(){return r.active}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return r.disabled}}),Object.defineProperty(t,"textStyle",{enumerable:!0,get:function(){return r.textStyle}}),Object.defineProperty(t,"colorStyle",{enumerable:!0,get:function(){return r.colorStyle}}),Object.defineProperty(t,"buttonStyle",{enumerable:!0,get:function(){return r.buttonStyle}}),Object.defineProperty(t,"borderWidth",{enumerable:!0,get:function(){return r.borderWidth}});var i=n(100);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i.style}}),Object.defineProperty(t,"pseudoStyle",{enumerable:!0,get:function(){return i.pseudoStyle}}),Object.defineProperty(t,"responsiveStyle",{enumerable:!0,get:function(){return i.responsiveStyle}}),Object.defineProperty(t,"complexStyle",{enumerable:!0,get:function(){return i.complexStyle}}),Object.defineProperty(t,"themeGet",{enumerable:!0,get:function(){return i.themeGet}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return i.themeGet}});var a=u(r),o=u(r),s=u(i);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.styles=o,t.util=s;var l=t.propTypes={};Object.keys(a).forEach(function(e){l[e]=a[e].propTypes}),a.propTypes=l,t.default=a},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)},e)}(this.props.theme)}}},{key:"render",value:function(){return i.createElement("div",null,this.props.children)}}]),t}();o.childContextTypes={theme:a.oneOfType([a.func,a.object])},e.exports=o},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",i=arguments[2],o=[],s=[];for(var u in t){var l=t[u];if(null!==l)if("object"!==(void 0===l?"undefined":r(l))){var c=a(u,l);s.push(c)}else{var f=/^@/.test(u)?u:null;e(l,f?n:n+u.replace(/&/g,""),f).forEach(function(e){return o.push(e)})}}return o.unshift({media:i,child:n,declarations:s}),o}(t).filter(function(e){return e.declarations.length}).forEach(function(t){var r=JSON.stringify(t),a=function(e){var t=e.selector,n=e.child,r=e.media;return function(e,t){return t?t+"{"+e+"}":e}(t+n+"{"+e.declarations.join(";")+"}",r)}(Object.assign(t,{selector:e}));n.push(a),i[r]=!0}),n.join("")}},function(e,t,n){"use strict";function r(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function a(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}e.exports=function(e,t){for(var n=1540483477,o=t^e.length,s=e.length,u=0;s>=4;){var l=r(e,u);l=a(l,n),l=a(l^=l>>>24,n),o=a(o,n),o^=l,u+=4,s-=4}switch(s){case 3:o^=i(e,u),o=a(o^=e.charCodeAt(u+2)<<16,n);break;case 2:o=a(o^=i(e,u),n);break;case 1:o=a(o^=e.charCodeAt(u),n)}return o=a(o^=o>>>13,n),((o^=o>>>15)>>>0).toString(36)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(439);function i(){}e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Head=t.Detail=t.Example=t.Library=void 0;var r,i,a=x(n(5)),o=x(n(71)),s=x(n(7)),u=x(n(23)),l=x(n(22)),c=x(n(21)),f=x(n(20)),h=x(n(19)),p=x(n(0)),d=x(n(32)),m=x(n(26)),v=n(49),g=n(24),y=x(n(99)),b=x(n(98));function x(e){return e&&e.__esModule?e:{default:e}}var w=(0,m.default)("div")({display:"flex",alignItems:"flex-start",height:"100vh"}),_=(0,m.default)("div")({flex:"1 1 auto",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch"}),E=(0,m.default)(v.Link)({display:"block",color:"inherit",textDecoration:"none",overflow:"hidden",border:"1px solid #f6f6f6","&:hover":{borderColor:"#ddd"}}),k=(0,m.default)("div")({width:"192px",flex:"none",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch",borderRight:"1px solid #f6f6f6"}),S=(0,m.default)(v.NavLink)({display:"block",paddingLeft:"8px",paddingRight:"8px",paddingTop:"4px",paddingBottom:"4px",fontSize:"12px",fontWeight:"bold",textDecoration:"none",color:"inherit",WebkitUserSelect:"none",userSelect:"none","&.active":{color:"white",backgroundColor:"black"}}),C="undefined"!=typeof document?v.BrowserRouter:v.StaticRouter,A=t.Library=function(e){function t(){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.basename,n=(0,s.default)(e,["basename"]);return p.default.createElement(C,{basename:t,context:{}},p.default.createElement(O,n))}}]),t}(p.default.Component),O=(0,v.withRouter)((i=r=function(e){function t(){var e,n,r,i;(0,l.default)(this,t);for(var a=arguments.length,s=Array(a),c=0;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?[]:t,a=e.props,o=void 0===a?[]:a,s=e.getter,u=void 0===s?i:s,l=o.reduce(function(e,t){return r({},e,(a=!0,(i=t)in(n={})?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,n));var n,i,a},{}),c=function(e){return function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}}(l);return function(e){var t=[],r=function(r){if(!l[r])return"continue";var i=e[r];return null===i||void 0===i?"continue":Array.isArray(i)?void i.forEach(function(e,i){if(null!==e&&void 0!==e){var a=n[i];t.push(u({breakpoint:a,prop:r,value:e}))}}):(t.push(u({prop:r,value:i})),"continue")};for(var i in e)r(i);var a=c(e);return a.className?a.className=[a.className].concat(t).join(" "):a.className=t.join(" "),a}}},function(e,t,n){var r=n(116),i=n(13)("iterator"),a=n(46);e.exports=n(6).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){n(74),n(60),e.exports=n(634)},function(e,t,n){e.exports={default:n(635),__esModule:!0}},function(e,t,n){"use strict";var r=n(27),i=n(59);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(48),i=n(17),a=n(57),o=n(191),s=n(190),u=n(120),l=n(637),c=n(115);i(i.S+i.F*!n(185)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,h=a(e),p="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(n=new p(t=u(h.length));t>g;g++)l(n,g,v?m(h[g],g):h[g]);else for(f=y.call(h),n=new p;!(i=f.next()).done;g++)l(n,g,v?o(f,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){n(60),n(638),e.exports=n(6).Array.from},function(e,t,n){e.exports={default:n(639),__esModule:!0}},function(e,t,n){var r=n(25),i=n(115);e.exports=n(6).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){n(74),n(60),e.exports=n(641)},function(e,t,n){var r=n(45),i=n(34),a=n(56).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,l=0,c=[];u>l;)a.call(o,n=s[l++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){var r=n(17),i=n(643)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){n(644),e.exports=n(6).Object.entries},function(e,t,n){e.exports={default:n(645),__esModule:!0}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(647);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){var r={"./CSS.js":177,"./ComponentPage.js":168,"./DemoPage.js":134,"./GitHubAvatar.js":135,"./Sandbox.js":133,"./SideNav.js":84,"./Swatch.js":136,"./_app.js":82,"./docs.js":132,"./examples.js":137};function i(e){var t=a(e);return n(t)}function a(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id=649},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(651);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(653);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(655);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";var r=n(656);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var o=0;ot}return!1}function S(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new S(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new S(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new S(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){C[e]=new S(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new S(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new S(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){C[e]=new S(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){C[e]=new S(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){C[e]=new S(e,5,!1,e.toLowerCase(),null)});var A=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),C.tabIndex=new S("tabIndex",1,!1,"tabindex",null);var D=/["'&<>]/;function M(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",i=0;for(n=t.index;n=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type?this.currentSelectValue=null:null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===v&&this.popProvider(n.type)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?M(n):this.previousWasTextNode?"\x3c!-- --\x3e"+M(n):(this.previousWasTextNode=!0,M(n));if(e=(t=G(e,t)).child,t=t.context,null===e||!1===e)return"";if(!a.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var r=e.$$typeof;r===h&&c("257"),c("258",r.toString())}return e=R(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(r=e.type))return this.renderDOM(e,t,n);switch(r){case d:case y:case m:case p:return e=R(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("object"==typeof r&&null!==r)switch(r.$$typeof){case b:return e=R(r.render(e.props,e.ref)),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case v:return n={type:e,domNamespace:n,children:r=R(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case g:return r=R(e.props.children(e.type._currentValue)),this.stack.push({type:e,domNamespace:n,children:r,childIndex:0,context:t,footer:""}),""}c("130",null==r?r:typeof r,"")},e.prototype.renderDOM=function(e,t,n){var r=e.type.toLowerCase();n===T.html&&P(r),V.hasOwnProperty(r)||(H.test(r)||c("65",r),V[r]=!0);var o=e.props;if("input"===r)o=i({type:void 0},o,{defaultChecked:void 0,defaultValue:void 0,value:null!=o.value?o.value:o.defaultValue,checked:null!=o.checked?o.checked:o.defaultChecked});else if("textarea"===r){var s=o.value;if(null==s){s=o.defaultValue;var u=o.children;null!=u&&(null!=s&&c("92"),Array.isArray(u)&&(1>=u.length||c("93"),u=u[0]),s=""+u),null==s&&(s="")}o=i({},o,{value:void 0,children:""+s})}else if("select"===r)this.currentSelectValue=null!=o.value?o.value:o.defaultValue,o=i({},o,{value:void 0});else if("option"===r){u=this.currentSelectValue;var l=function(e){var t="";return a.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(o.children);if(null!=u){var f=null!=o.value?o.value+"":l;if(s=!1,Array.isArray(u)){for(var h=0;h":(y+=">",s="");e:{if(null!=(u=o.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=o.children)||"number"==typeof u){u=M(u);break e}u=null}return null!=u?(o=[],I[r]&&"\n"===u.charAt(0)&&(y+="\n"),y+=u):o=R(o.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?P(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:r,children:o,childIndex:0,context:t,footer:s}),this.previousWasTextNode=!1,y},e}(),J={renderToString:function(e){return new X(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new X(e,!0).read(1/0)},renderToNodeStream:function(){c("207")},renderToStaticNodeStream:function(){c("208")},version:"16.4.1"},K={default:J},Y=K&&J||K;e.exports=Y.default?Y.default:Y},function(e,t,n){"use strict";e.exports=n(430)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.space=void 0;var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=s(n(3)),a=n(100),o=s(n(167));function s(e){return e&&e.__esModule?e:{default:e}}var u=/^[mp][trblxy]?$/,l=t.space=function(e){var t=Object.keys(e).filter(function(e){return u.test(e)}).sort(),n=(0,a.breaks)(e),r=(0,a.get)(e,"theme.space",o.default.space);return t.map(function(t){var i=e[t],o=f(t);return Array.isArray(i)?(0,a.arr)(i).map(c(r)).map((0,a.dec)(o)).map((0,a.media)(n)).reduce(a.merge,{}):o.reduce(function(e,t){return Object.assign(e,(n={},a=t,o=c(r)(i),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n));var n,a,o},{})}).reduce(a.merge,{})},c=function(e){return function(t){if(!(0,a.num)(t))return t;var n=e[Math.abs(t)]||Math.abs(t);return(0,a.num)(n)?(0,a.px)(n*((0,a.neg)(t)?-1:1)):(0,a.neg)(t)?"-"+n:n}},f=function(e){var t=e.split(""),n=r(t,2),i=n[0],a=n[1],o=h[i];return(p[a]||[""]).map(function(e){return o+e})},h={m:"margin",p:"padding"},p={t:["Top"],r:["Right"],b:["Bottom"],l:["Left"],x:["Left","Right"],y:["Top","Bottom"]},d=i.default.oneOfType([i.default.number,i.default.string,i.default.array]);l.propTypes={m:d,mt:d,mr:d,mb:d,ml:d,mx:d,my:d,p:d,pt:d,pr:d,pb:d,pl:d,px:d,py:d},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flex=t.flexDirection=t.flexBasis=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.ratioPadding=t.size=t.sizeHeight=t.sizeWidth=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=void 0;var r=Object.assign||function(e){for(var t=1;t0?e+"px solid":e},p=t.border=(0,a.responsiveStyle)({prop:"border",key:"borders",getter:h}),d=t.borderTop=(0,a.responsiveStyle)({prop:"borderTop",key:"borders",getter:h}),m=t.borderRight=(0,a.responsiveStyle)({prop:"borderRight",key:"borders",getter:h}),v=t.borderBottom=(0,a.responsiveStyle)({prop:"borderBottom",key:"borders",getter:h}),g=t.borderLeft=(0,a.responsiveStyle)({prop:"borderLeft",key:"borders",getter:h});(t.borders=function(e){return r({},p(e),d(e),m(e),v(e),g(e))}).propTypes=r({},p.propTypes,d.propTypes,m.propTypes,v.propTypes,g.propTypes);t.borderColor=(0,a.style)({prop:"borderColor",key:"colors"}),t.borderRadius=(0,a.style)({prop:"borderRadius",key:"radii",numberToPx:!0}),t.boxShadow=(0,a.style)({prop:"boxShadow",key:"shadows"}),t.background=(0,a.style)({prop:"background"}),t.backgroundImage=(0,a.style)({prop:"backgroundImage",alias:"bgImage",getter:function(e){return"url("+e+")"}}),t.backgroundSize=(0,a.style)({prop:"backgroundSize",alias:"bgSize"}),t.backgroundPosition=(0,a.style)({prop:"backgroundPosition",alias:"bgPosition"}),t.backgroundRepeat=(0,a.style)({prop:"backgroundRepeat",alias:"bgRepeat"}),t.position=(0,a.responsiveStyle)({prop:"position"}),t.zIndex=(0,a.style)({prop:"zIndex"}),t.top=(0,a.responsiveStyle)({prop:"top",numberToPx:!0}),t.right=(0,a.responsiveStyle)({prop:"right",numberToPx:!0}),t.bottom=(0,a.responsiveStyle)({prop:"bottom",numberToPx:!0}),t.left=(0,a.responsiveStyle)({prop:"left",numberToPx:!0}),t.hover=(0,a.pseudoStyle)({prop:"hover",pseudoclass:"hover",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.focus=(0,a.pseudoStyle)({prop:"focus",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.active=(0,a.pseudoStyle)({prop:"active",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.disabled=(0,a.pseudoStyle)({prop:"disabledStyle",pseudoclass:"disabled",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.textStyle=(0,a.complexStyle)({prop:"textStyle",key:"textStyles"}),t.colorStyle=(0,a.complexStyle)({prop:"colors",key:"colorStyles"}),t.buttonStyle=(0,a.complexStyle)({prop:"buttonStyle",key:"buttons"}),t.borderWidth=(0,a.style)({prop:"borderWidth",cssProperty:"border",key:"borderWidths",getter:function(e){return h(e)}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=t.util=t.theme=t.themeGet=t.complexStyle=t.responsiveStyle=t.pseudoStyle=t.style=t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flexBasis=t.flex=t.flexDirection=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.size=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=t.styles=void 0;var r=n(433);Object.defineProperty(t,"space",{enumerable:!0,get:function(){return r.space}}),Object.defineProperty(t,"width",{enumerable:!0,get:function(){return r.width}}),Object.defineProperty(t,"fontSize",{enumerable:!0,get:function(){return r.fontSize}}),Object.defineProperty(t,"textColor",{enumerable:!0,get:function(){return r.textColor}}),Object.defineProperty(t,"bgColor",{enumerable:!0,get:function(){return r.bgColor}}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return r.color}}),Object.defineProperty(t,"fontFamily",{enumerable:!0,get:function(){return r.fontFamily}}),Object.defineProperty(t,"textAlign",{enumerable:!0,get:function(){return r.textAlign}}),Object.defineProperty(t,"lineHeight",{enumerable:!0,get:function(){return r.lineHeight}}),Object.defineProperty(t,"fontWeight",{enumerable:!0,get:function(){return r.fontWeight}}),Object.defineProperty(t,"letterSpacing",{enumerable:!0,get:function(){return r.letterSpacing}}),Object.defineProperty(t,"display",{enumerable:!0,get:function(){return r.display}}),Object.defineProperty(t,"maxWidth",{enumerable:!0,get:function(){return r.maxWidth}}),Object.defineProperty(t,"minWidth",{enumerable:!0,get:function(){return r.minWidth}}),Object.defineProperty(t,"height",{enumerable:!0,get:function(){return r.height}}),Object.defineProperty(t,"maxHeight",{enumerable:!0,get:function(){return r.maxHeight}}),Object.defineProperty(t,"minHeight",{enumerable:!0,get:function(){return r.minHeight}}),Object.defineProperty(t,"size",{enumerable:!0,get:function(){return r.size}}),Object.defineProperty(t,"ratio",{enumerable:!0,get:function(){return r.ratio}}),Object.defineProperty(t,"alignItems",{enumerable:!0,get:function(){return r.alignItems}}),Object.defineProperty(t,"alignContent",{enumerable:!0,get:function(){return r.alignContent}}),Object.defineProperty(t,"justifyContent",{enumerable:!0,get:function(){return r.justifyContent}}),Object.defineProperty(t,"flexWrap",{enumerable:!0,get:function(){return r.flexWrap}}),Object.defineProperty(t,"flexDirection",{enumerable:!0,get:function(){return r.flexDirection}}),Object.defineProperty(t,"flex",{enumerable:!0,get:function(){return r.flex}}),Object.defineProperty(t,"flexBasis",{enumerable:!0,get:function(){return r.flexBasis}}),Object.defineProperty(t,"justifySelf",{enumerable:!0,get:function(){return r.justifySelf}}),Object.defineProperty(t,"alignSelf",{enumerable:!0,get:function(){return r.alignSelf}}),Object.defineProperty(t,"order",{enumerable:!0,get:function(){return r.order}}),Object.defineProperty(t,"gridGap",{enumerable:!0,get:function(){return r.gridGap}}),Object.defineProperty(t,"gridColumnGap",{enumerable:!0,get:function(){return r.gridColumnGap}}),Object.defineProperty(t,"gridRowGap",{enumerable:!0,get:function(){return r.gridRowGap}}),Object.defineProperty(t,"gridColumn",{enumerable:!0,get:function(){return r.gridColumn}}),Object.defineProperty(t,"gridRow",{enumerable:!0,get:function(){return r.gridRow}}),Object.defineProperty(t,"gridAutoFlow",{enumerable:!0,get:function(){return r.gridAutoFlow}}),Object.defineProperty(t,"gridAutoColumns",{enumerable:!0,get:function(){return r.gridAutoColumns}}),Object.defineProperty(t,"gridAutoRows",{enumerable:!0,get:function(){return r.gridAutoRows}}),Object.defineProperty(t,"gridTemplateColumns",{enumerable:!0,get:function(){return r.gridTemplateColumns}}),Object.defineProperty(t,"gridTemplateRows",{enumerable:!0,get:function(){return r.gridTemplateRows}}),Object.defineProperty(t,"border",{enumerable:!0,get:function(){return r.border}}),Object.defineProperty(t,"borderTop",{enumerable:!0,get:function(){return r.borderTop}}),Object.defineProperty(t,"borderRight",{enumerable:!0,get:function(){return r.borderRight}}),Object.defineProperty(t,"borderBottom",{enumerable:!0,get:function(){return r.borderBottom}}),Object.defineProperty(t,"borderLeft",{enumerable:!0,get:function(){return r.borderLeft}}),Object.defineProperty(t,"borders",{enumerable:!0,get:function(){return r.borders}}),Object.defineProperty(t,"borderColor",{enumerable:!0,get:function(){return r.borderColor}}),Object.defineProperty(t,"borderRadius",{enumerable:!0,get:function(){return r.borderRadius}}),Object.defineProperty(t,"boxShadow",{enumerable:!0,get:function(){return r.boxShadow}}),Object.defineProperty(t,"background",{enumerable:!0,get:function(){return r.background}}),Object.defineProperty(t,"backgroundImage",{enumerable:!0,get:function(){return r.backgroundImage}}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return r.backgroundSize}}),Object.defineProperty(t,"backgroundPosition",{enumerable:!0,get:function(){return r.backgroundPosition}}),Object.defineProperty(t,"backgroundRepeat",{enumerable:!0,get:function(){return r.backgroundRepeat}}),Object.defineProperty(t,"position",{enumerable:!0,get:function(){return r.position}}),Object.defineProperty(t,"zIndex",{enumerable:!0,get:function(){return r.zIndex}}),Object.defineProperty(t,"top",{enumerable:!0,get:function(){return r.top}}),Object.defineProperty(t,"right",{enumerable:!0,get:function(){return r.right}}),Object.defineProperty(t,"bottom",{enumerable:!0,get:function(){return r.bottom}}),Object.defineProperty(t,"left",{enumerable:!0,get:function(){return r.left}}),Object.defineProperty(t,"hover",{enumerable:!0,get:function(){return r.hover}}),Object.defineProperty(t,"focus",{enumerable:!0,get:function(){return r.focus}}),Object.defineProperty(t,"active",{enumerable:!0,get:function(){return r.active}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return r.disabled}}),Object.defineProperty(t,"textStyle",{enumerable:!0,get:function(){return r.textStyle}}),Object.defineProperty(t,"colorStyle",{enumerable:!0,get:function(){return r.colorStyle}}),Object.defineProperty(t,"buttonStyle",{enumerable:!0,get:function(){return r.buttonStyle}}),Object.defineProperty(t,"borderWidth",{enumerable:!0,get:function(){return r.borderWidth}});var i=n(100);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i.style}}),Object.defineProperty(t,"pseudoStyle",{enumerable:!0,get:function(){return i.pseudoStyle}}),Object.defineProperty(t,"responsiveStyle",{enumerable:!0,get:function(){return i.responsiveStyle}}),Object.defineProperty(t,"complexStyle",{enumerable:!0,get:function(){return i.complexStyle}}),Object.defineProperty(t,"themeGet",{enumerable:!0,get:function(){return i.themeGet}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return i.themeGet}});var a=u(r),o=u(r),s=u(i);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.styles=o,t.util=s;var l=t.propTypes={};Object.keys(a).forEach(function(e){l[e]=a[e].propTypes}),a.propTypes=l,t.default=a},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)},e)}(this.props.theme)}}},{key:"render",value:function(){return i.createElement("div",null,this.props.children)}}]),t}();o.childContextTypes={theme:a.oneOfType([a.func,a.object])},e.exports=o},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",i=arguments[2],o=[],s=[];for(var u in t){var l=t[u];if(null!==l)if("object"!==(void 0===l?"undefined":r(l))){var c=a(u,l);s.push(c)}else{var f=/^@/.test(u)?u:null;e(l,f?n:n+u.replace(/&/g,""),f).forEach(function(e){return o.push(e)})}}return o.unshift({media:i,child:n,declarations:s}),o}(t).filter(function(e){return e.declarations.length}).forEach(function(t){var r=JSON.stringify(t),a=function(e){var t=e.selector,n=e.child,r=e.media;return function(e,t){return t?t+"{"+e+"}":e}(t+n+"{"+e.declarations.join(";")+"}",r)}(Object.assign(t,{selector:e}));n.push(a),i[r]=!0}),n.join("")}},function(e,t,n){"use strict";function r(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function a(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}e.exports=function(e,t){for(var n=1540483477,o=t^e.length,s=e.length,u=0;s>=4;){var l=r(e,u);l=a(l,n),l=a(l^=l>>>24,n),o=a(o,n),o^=l,u+=4,s-=4}switch(s){case 3:o^=i(e,u),o=a(o^=e.charCodeAt(u+2)<<16,n);break;case 2:o=a(o^=i(e,u),n);break;case 1:o=a(o^=e.charCodeAt(u),n)}return o=a(o^=o>>>13,n),((o^=o>>>15)>>>0).toString(36)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(439);function i(){}e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Head=t.Detail=t.Example=t.Library=void 0;var r,i,a=x(n(5)),o=x(n(71)),s=x(n(7)),u=x(n(23)),l=x(n(22)),c=x(n(21)),f=x(n(20)),h=x(n(19)),p=x(n(0)),d=x(n(32)),m=x(n(26)),v=n(49),g=n(24),y=x(n(99)),b=x(n(98));function x(e){return e&&e.__esModule?e:{default:e}}var w=(0,m.default)("div")({display:"flex",alignItems:"flex-start",height:"100vh"}),_=(0,m.default)("div")({flex:"1 1 auto",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch"}),E=(0,m.default)(v.Link)({display:"block",color:"inherit",textDecoration:"none",overflow:"hidden",border:"1px solid #f6f6f6","&:hover":{borderColor:"#ddd"}}),k=(0,m.default)("div")({width:"192px",flex:"none",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch",borderRight:"1px solid #f6f6f6"}),S=(0,m.default)(v.NavLink)({display:"block",paddingLeft:"8px",paddingRight:"8px",paddingTop:"4px",paddingBottom:"4px",fontSize:"12px",fontWeight:"bold",textDecoration:"none",color:"inherit",WebkitUserSelect:"none",userSelect:"none","&.active":{color:"white",backgroundColor:"black"}}),C="undefined"!=typeof document?v.BrowserRouter:v.StaticRouter,A=t.Library=function(e){function t(){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.basename,n=(0,s.default)(e,["basename"]);return p.default.createElement(C,{basename:t,context:{}},p.default.createElement(O,n))}}]),t}(p.default.Component),O=(0,v.withRouter)((i=r=function(e){function t(){var e,n,r,i;(0,l.default)(this,t);for(var a=arguments.length,s=Array(a),c=0;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?[]:t,a=e.props,o=void 0===a?[]:a,s=e.getter,u=void 0===s?i:s,l=o.reduce(function(e,t){return r({},e,(a=!0,(i=t)in(n={})?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,n));var n,i,a},{}),c=function(e){return function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}}(l);return function(e){var t=[],r=function(r){if(!l[r])return"continue";var i=e[r];return null===i||void 0===i?"continue":Array.isArray(i)?void i.forEach(function(e,i){if(null!==e&&void 0!==e){var a=n[i];t.push(u({breakpoint:a,prop:r,value:e}))}}):(t.push(u({prop:r,value:i})),"continue")};for(var i in e)r(i);var a=c(e);return a.className?a.className=[a.className].concat(t).join(" "):a.className=t.join(" "),a}}},function(e,t,n){var r=n(116),i=n(13)("iterator"),a=n(46);e.exports=n(6).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){n(74),n(60),e.exports=n(634)},function(e,t,n){e.exports={default:n(635),__esModule:!0}},function(e,t,n){"use strict";var r=n(27),i=n(59);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(48),i=n(17),a=n(57),o=n(191),s=n(190),u=n(120),l=n(637),c=n(115);i(i.S+i.F*!n(185)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,h=a(e),p="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(n=new p(t=u(h.length));t>g;g++)l(n,g,v?m(h[g],g):h[g]);else for(f=y.call(h),n=new p;!(i=f.next()).done;g++)l(n,g,v?o(f,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){n(60),n(638),e.exports=n(6).Array.from},function(e,t,n){e.exports={default:n(639),__esModule:!0}},function(e,t,n){var r=n(25),i=n(115);e.exports=n(6).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){n(74),n(60),e.exports=n(641)},function(e,t,n){var r=n(45),i=n(34),a=n(56).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,l=0,c=[];u>l;)a.call(o,n=s[l++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){var r=n(17),i=n(643)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){n(644),e.exports=n(6).Object.entries},function(e,t,n){e.exports={default:n(645),__esModule:!0}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(647);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){var r={"./CSS.js":177,"./ComponentPage.js":168,"./DemoPage.js":134,"./GitHubAvatar.js":135,"./Sandbox.js":133,"./SideNav.js":84,"./Swatch.js":136,"./_app.js":82,"./examples.js":137,"./index.js":132};function i(e){var t=a(e);return n(t)}function a(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id=649},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(651);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(653);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(655);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";var r=n(656);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var o=0;oM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529528898685.9343,mtimeMs:1529520779366.0125,ctimeMs:1529520779366.0125,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:08:18.686Z",mtime:"2018-06-20T18:52:59.366Z",ctime:"2018-06-20T18:52:59.366Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529529435251.2852,mtimeMs:1529529319916.263,ctimeMs:1529529319916.263,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:17:15.251Z",mtime:"2018-06-20T21:15:19.916Z",ctime:"2018-06-20T21:15:19.916Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/primer-react",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lprimer-react
primer-reactAvatarBlockBoxBranchNameButtonsCaretCircleOcticonCaretBoxColorsCounterLabelDetailsDropdownDonutChartFlashFont sizesForm elementsHeadingLabelLinkStateLabelMergeStatusMergeBoxMergeButtonTextTooltip
bg='white'
white
gray
black
bg='gray-dark'
white
gray
black
bg='gray'
white
gray
black
bg='gray-light'
white
gray
black
bg='blue'
white
gray
black
bg='blue-light'
white
gray
black
bg='green'
white
gray
black
bg='green-light'
white
gray
black
bg='red'
white
gray
black
bg='red-light'
white
gray
black
bg='yellow'
white
gray
black
bg='yellow-light'
white
gray
black
bg='purple'
white
gray
black
bg='purple-light'
white
gray
black
This is a box.
This is a box with padding.
This is a box with shadow.
This is a box with a medium shadow.
This is a box with a large shadow.
This is a box with an extra-large shadow.
This is a box with a green border.
a_new_feature_branch
location='top'
location='top-left'
location='top-right'
location='right'
location='right-top'
location='right-bottom'
location='bottom'
location='bottom-left'
location='bottom-right'
location='left'
location='left-top'
location='left-bottom'
CaretBox with shadow
gray-light CaretBox with red border
green CaretBox

gray.0

#fafbfc

gray.1

#f6f8fa

gray.2

#e1e4e8

gray.3

#d1d5da

gray.4

#959da5

gray.5

#6a737d

gray.6

#586069

gray.7

#444d56

gray.8

#2f363d

gray.9

#24292e

blue.0

#f1f8ff

blue.1

#dbedff

blue.2

#c8e1ff

blue.3

#79b8ff

blue.4

#2188ff

blue.5

#0366d6

blue.6

#005cc5

blue.7

#044289

blue.8

#032f62

blue.9

#05264c

green.0

#f0fff4

green.1

#dcffe4

green.2

#bef5cb

green.3

#85e89d

green.4

#34d058

green.5

#28a745

green.6

#22863a

green.7

#176f2c

green.8

#165c26

green.9

#144620

purple.0

#f5f0ff

purple.1

#e6dcfd

purple.2

#d1bcf9

purple.3

#b392f0

purple.4

#8a63d2

purple.5

#6f42c1

purple.6

#5a32a3

purple.7

#4c2889

purple.8

#3a1d6e

purple.9

#29134e

yellow.0

#fffdef

yellow.1

#fffbdd

yellow.2

#fff5b1

yellow.3

#ffea7f

yellow.4

#ffdf5d

yellow.5

#ffd33d

yellow.6

#f9c513

yellow.7

#dbab09

yellow.8

#b08800

yellow.9

#735c0f

orange.0

#fff8f2

orange.1

#ffebda

orange.2

#ffd1ac

orange.3

#ffab70

orange.4

#fb8532

orange.5

#f66a0a

orange.6

#e36209

orange.7

#d15704

orange.8

#c24e00

orange.9

#a04100
121313

With static children

Click me

This should show and hide

With children as a function

Show

This should show and hide

With render prop

hi

Dropdown Primary

  • Item 1
  • Item 2
  • Item 3

Dropdown

  • Item 1
  • Item 2
  • Item 3

Dropdown with title

Options
  • Item 1
  • Item 2
  • Item 3

With data prop

With DonutSlice children

With custom fill colors

Flash
Flash yellow
Flash red
Flash green
Flash full
fontSize 5
fontSize 4
fontSize 3
fontSize 2
fontSize 1
fontSize 0

Input

Input Sizes

Block input

Default Heading

Default labelDarker gray labelOrange labelGreen label
Default outline labelGreen outline label
Open
Closed
Merged
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

Text
Text bold
Text green
Text lineHeight 'condensed'
Text fontSize 4
Text padding 4
Text with a tooltip
\ No newline at end of file + }
\ No newline at end of file diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index da27c40b84f..3dfd25047f8 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -7,7 +7,7 @@ import examples from './examples' const ComponentPage = () => { return ( { return ( ( diff --git a/examples/docs.js b/examples/docs.js deleted file mode 100644 index cbd9bf3674a..00000000000 --- a/examples/docs.js +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react' -import classnames from 'classnames' -import { - BrowserRouter as Router, - Route, - NavLink -} from 'react-router-dom' - -import DemoPage from './DemoPage' -import ComponentPage from './ComponentPage' -import Sandbox from './Sandbox' - -const Index = props => ( -
- - - - -
-) - -export default Index diff --git a/examples/index.js b/examples/index.js new file mode 100644 index 00000000000..2a32f276d65 --- /dev/null +++ b/examples/index.js @@ -0,0 +1,28 @@ +import React from 'react' +import classnames from 'classnames' +import { + BrowserRouter as Router, + Route, + NavLink +} from 'react-router-dom' + +import DemoPage from './DemoPage' +import ComponentPage from './ComponentPage' +import Sandbox from './Sandbox' + +const Index = props => ( +
+ + + + +
+) + +export default Index diff --git a/package.json b/package.json index 909399c9a7c..5579ff3d0b9 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/", + "basename": "/primer-react", "meta": [ { "name": "og:title", From 66b16a68f343be7f1602a0ea20ebdb6cdc0cdc57 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 20 Jun 2018 14:26:38 -0700 Subject: [PATCH 21/38] plz work gh pags --- docs/CSS/index.html | 2 +- docs/ComponentPage/index.html | 2 +- docs/DemoPage/index.html | 2 +- docs/GitHubAvatar/index.html | 2 +- docs/Sandbox/index.html | 2 +- docs/SideNav/index.html | 2 +- docs/Swatch/index.html | 2 +- docs/bundle.js | 6 +++--- docs/index.html | 2 +- examples/ComponentPage.js | 2 +- examples/index.js | 12 ++++++------ package.json | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/CSS/index.html b/docs/CSS/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/CSS/index.html +++ b/docs/CSS/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/ComponentPage/index.html +++ b/docs/ComponentPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/DemoPage/index.html +++ b/docs/DemoPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/Sandbox/index.html +++ b/docs/Sandbox/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/SideNav/index.html +++ b/docs/SideNav/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index 987e58837ab..e2ef60bc55c 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 2c160243088..7b05848d4ca 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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="/primer-react/",n(n.s=708)}([function(e,t,n){"use strict";e.exports=n(662)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ",""," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ","
"," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u @@ -199,4 +199,4 @@ _.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(72),i=n(44),a=n(108),o=n(43),s="function"==typeof Symbol&&Symbol.for,u=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,c=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,h=s?Symbol.for("react.profiler"):60114,p=s?Symbol.for("react.provider"):60109,d=s?Symbol.for("react.context"):60110,m=s?Symbol.for("react.async_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112;s&&Symbol.for("react.timeout");var g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529529435251.2852,mtimeMs:1529529319916.263,ctimeMs:1529529319916.263,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:17:15.251Z",mtime:"2018-06-20T21:15:19.916Z",ctime:"2018-06-20T21:15:19.916Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/primer-react",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529529932591.9836,mtimeMs:1529529319916.263,ctimeMs:1529529319916.263,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:25:32.592Z",mtime:"2018-06-20T21:15:19.916Z",ctime:"2018-06-20T21:15:19.916Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l
\ No newline at end of file + } \ No newline at end of file diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index 3dfd25047f8..86523ab6883 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -7,7 +7,7 @@ import examples from './examples' const ComponentPage = () => { return ( (
- - - + + +
) diff --git a/package.json b/package.json index 5579ff3d0b9..909399c9a7c 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/primer-react", + "basename": "/", "meta": [ { "name": "og:title", From 40d043b14c585ce81273d7add38d5853d15a51d8 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 20 Jun 2018 14:29:43 -0700 Subject: [PATCH 22/38] Revert "plz work gh pags" This reverts commit 66b16a68f343be7f1602a0ea20ebdb6cdc0cdc57. --- docs/CSS/index.html | 2 +- docs/ComponentPage/index.html | 2 +- docs/DemoPage/index.html | 2 +- docs/GitHubAvatar/index.html | 2 +- docs/Sandbox/index.html | 2 +- docs/SideNav/index.html | 2 +- docs/Swatch/index.html | 2 +- docs/bundle.js | 6 +++--- docs/index.html | 2 +- examples/ComponentPage.js | 2 +- examples/index.js | 12 ++++++------ package.json | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/CSS/index.html b/docs/CSS/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/CSS/index.html +++ b/docs/CSS/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/ComponentPage/index.html +++ b/docs/ComponentPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/DemoPage/index.html +++ b/docs/DemoPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/Sandbox/index.html +++ b/docs/Sandbox/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/SideNav/index.html +++ b/docs/SideNav/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index e2ef60bc55c..987e58837ab 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 7b05848d4ca..2c160243088 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=708)}([function(e,t,n){"use strict";e.exports=n(662)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ",""," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ","
"," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u @@ -199,4 +199,4 @@ _.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(72),i=n(44),a=n(108),o=n(43),s="function"==typeof Symbol&&Symbol.for,u=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,c=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,h=s?Symbol.for("react.profiler"):60114,p=s?Symbol.for("react.provider"):60109,d=s?Symbol.for("react.context"):60110,m=s?Symbol.for("react.async_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112;s&&Symbol.for("react.timeout");var g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529529932591.9836,mtimeMs:1529529319916.263,ctimeMs:1529529319916.263,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:25:32.592Z",mtime:"2018-06-20T21:15:19.916Z",ctime:"2018-06-20T21:15:19.916Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529529435251.2852,mtimeMs:1529529319916.263,ctimeMs:1529529319916.263,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:17:15.251Z",mtime:"2018-06-20T21:15:19.916Z",ctime:"2018-06-20T21:15:19.916Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/primer-react",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l
\ No newline at end of file + } \ No newline at end of file diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index 86523ab6883..3dfd25047f8 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -7,7 +7,7 @@ import examples from './examples' const ComponentPage = () => { return ( (
- - - + + +
) diff --git a/package.json b/package.json index 909399c9a7c..5579ff3d0b9 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/", + "basename": "/primer-react", "meta": [ { "name": "og:title", From 4573430bc5f2ee6e90e175083c82971d96223e0d Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 20 Jun 2018 14:29:53 -0700 Subject: [PATCH 23/38] Revert "gh pages test" This reverts commit 4323224842c3c7b2df823c7fa1750fd75b571176. --- docs/CSS/index.html | 2 +- docs/ComponentPage/index.html | 2 +- docs/DemoPage/index.html | 2 +- docs/GitHubAvatar/index.html | 2 +- docs/Sandbox/index.html | 2 +- docs/SideNav/index.html | 2 +- docs/Swatch/index.html | 2 +- docs/bundle.js | 8 ++++---- docs/index.html | 4 ++-- examples/ComponentPage.js | 2 +- examples/DemoPage.js | 2 +- examples/_app.js | 2 +- examples/docs.js | 28 ++++++++++++++++++++++++++++ examples/index.js | 28 ---------------------------- package.json | 2 +- 15 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 examples/docs.js delete mode 100644 examples/index.js diff --git a/docs/CSS/index.html b/docs/CSS/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/CSS/index.html +++ b/docs/CSS/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/ComponentPage/index.html +++ b/docs/ComponentPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/DemoPage/index.html +++ b/docs/DemoPage/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/Sandbox/index.html +++ b/docs/Sandbox/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/SideNav/index.html +++ b/docs/SideNav/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index 987e58837ab..13172f8f14e 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 2c160243088..4be7a1cb886 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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="/primer-react/",n(n.s=708)}([function(e,t,n){"use strict";e.exports=n(662)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ",""," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:u})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(52),a=u(n(84)),o=u(n(213)),s=u(n(83));function u(e){return e&&e.__esModule?e:{default:e}}var l=[{name:"MergeBox",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeBox:o.default}}))},{name:"MergeButton",element:r.default.createElement("span",{className:"mr-2"},r.default.createElement(i.LiveEditor,{code:"",scope:{MergeButton:s.default}}))}];t.default=function(){return r.default.createElement(i.Library,{basename:"/docs/demos",title:"Demo Library",examples:l,renderSideNav:function(e){var t=e.title,n=e.examples;return r.default.createElement(a.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(5)),i=s(n(7));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(42);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(7));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(42);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(40)),i=f(n(5)),a=f(n(0)),o=n(52),s=f(n(70)),u=n(42),l=f(n(136)),c=f(n(135));function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return a.default.createElement(u.Heading,(0,i.default)({tag:"h3",fontSize:3,mb:2},e))},p=[{name:"Avatar",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"primer",size:128})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"github",size:64})),a.default.createElement(u.Block,{mb:2},a.default.createElement(c.default,{username:"reactjs",size:32})," ",a.default.createElement(c.default,{username:"npm"})))},{name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(u.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(u.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(u.Text,{color:t},t)))}))})))},{name:"Box",element:a.default.createElement("div",null,a.default.createElement(u.Box,{m:2},"This is a box"),a.default.createElement(u.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(u.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(u.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(u.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(u.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(u.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))},{name:"BranchName",element:a.default.createElement("div",null,a.default.createElement(u.BranchName,null,"a_new_feature_branch"),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Linked BranchName"),a.default.createElement(u.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),a.default.createElement(h,{mt:3},"BranchName with Octicon"),a.default.createElement(u.BranchName,null,a.default.createElement(s.default,{name:"git-branch"})," a_new_feature_branch")))},{name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,null," Button ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"sm"}," Button small ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{size:"large"}," Button large ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonDanger,null," ButtonDanger ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonOutline,null," ButtonOutline ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{block:!0}," Button block ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ","
"," styled as a button")))},{name:"Caret",element:a.default.createElement(u.Block,{p:4},u.Caret.locations.map(function(e,t){return a.default.createElement(u.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(u.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(u.Caret,{location:e}))}))},{name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))},{name:"CaretBox",element:a.default.createElement(u.Block,{p:2},a.default.createElement(h,{mt:2},"CaretBox"),a.default.createElement(o.PropsForm,null,a.default.createElement(u.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),a.default.createElement(o.PropsForm.Select,{name:"caret"},u.Caret.locations.map(function(e,t){return a.default.createElement("option",null,e)})),a.default.createElement(o.PropsForm.Select,{name:"border"},(0,r.default)(u.theme.colors.border).map(function(e){return a.default.createElement("option",null,"[true, borderColor]")})),a.default.createElement(o.PropsForm.Select,{name:"bg"},(0,r.default)(u.theme.colors.bg).map(function(e){return a.default.createElement("option",null,e)}))))},{name:"Colors",element:a.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return a.default.createElement("div",{className:"d-flex",key:t},u.theme.colors[e].map(function(t,n){return a.default.createElement(l.default,{name:e,index:n,key:n,color:t})}))}),a.default.createElement("div",{className:"d-flex"},a.default.createElement(u.Block,{bg:"blue",p:4,m:1}),a.default.createElement(u.Block,{bg:"green",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple",p:4,m:1}),a.default.createElement(u.Block,{bg:"yellow",p:4,m:1}),a.default.createElement(u.Block,{bg:"red",p:4,m:1}),a.default.createElement(u.Block,{bg:"white",p:4,m:1,border:!0}),a.default.createElement(u.Block,{bg:"gray",p:4,m:1}),a.default.createElement(u.Block,{bg:"gray-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"blue-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"purple-light",p:4,m:1}),a.default.createElement(u.Block,{bg:"red-light",p:4,m:1})))},{name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(u.CounterLabel,null,"12"),a.default.createElement(u.CounterLabel,{theme:"gray"},"13"),a.default.createElement(u.CounterLabel,{theme:"gray-light"},"13"))},{name:"Details",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"With static children"),a.default.createElement(u.Details,null,a.default.createElement("summary",{className:"btn"},"Click me"),a.default.createElement("p",null,"This should show and hide"))),a.default.createElement(u.Block,{my:4},a.default.createElement(h,null,"With children as a function"),a.default.createElement(u.Details,null,function(e){var t=e.open,n=e.toggle;return a.default.createElement(a.default.Fragment,null,a.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),a.default.createElement("p",null,"This should show and hide"))})),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"With render prop"),a.default.createElement(u.Details,{render:function(){return"hi"}})))},{name:"Dropdown",element:a.default.createElement("div",null,a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown Primary"),a.default.createElement(u.Dropdown,{scheme:"primary"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown"),a.default.createElement(u.Dropdown,null,a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))),a.default.createElement(u.Block,{my:4},a.default.createElement(u.Heading,{tag:"h2"},"Dropdown with title"),a.default.createElement(u.Dropdown,{title:"Options"},a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3")))))},{name:"DonutChart",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"data")," prop"),a.default.createElement(u.DonutChart,{data:{error:2,pending:3,success:5}})," ",a.default.createElement(u.DonutChart,{data:{error:1,pending:4,success:2}})," ",a.default.createElement(u.DonutChart,{data:{pending:2,success:6}})," ",a.default.createElement(u.DonutChart,{data:{pending:0,success:1}})," ",a.default.createElement(u.DonutChart,{data:{pending:1,queued:1}})," ",a.default.createElement(u.DonutChart,{data:{unknown:1}})),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With ",a.default.createElement(u.Text,{mono:!0},"DonutSlice")," children"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}),a.default.createElement(u.DonutSlice,{value:1,state:"error"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"error"}),a.default.createElement(u.DonutSlice,{value:4,state:"pending"}),a.default.createElement(u.DonutSlice,{value:2,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:2,state:"pending"}),a.default.createElement(u.DonutSlice,{value:6,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:0,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"success"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"pending"}),a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))," ",a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,state:"queued"}))),a.default.createElement(u.Block,{mb:2},a.default.createElement(h,null,"With custom ",a.default.createElement(u.Text,{mono:!0},"fill")," colors"),a.default.createElement(u.DonutChart,null,a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[0]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[1]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[2]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[3]}),a.default.createElement(u.DonutSlice,{value:1,fill:u.theme.colors.purple[4]}))))},{name:"Flash",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,null," Flash ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{red:!0}," Flash red ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{green:!0}," Flash green ")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Flash,{full:!0}," Flash full ")))},{name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(u.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))},{name:"Form elements",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Input"),a.default.createElement(u.TextInput,{name:"zipcode"}),a.default.createElement(u.Heading,{mb:2},"Input Sizes"),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),a.default.createElement(u.Box,null,a.default.createElement(u.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),a.default.createElement(u.Heading,{mb:2},"Block input"),a.default.createElement(u.TextInput,{block:!0,placeholder:"Full width block input"}))},{name:"Heading",element:a.default.createElement("div",null,a.default.createElement(u.Heading,{mb:2},"Default Heading"),a.default.createElement(o.Detail,null,[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(u.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)})))},{name:"Label",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,null,"Default label"),a.default.createElement(u.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(u.Label,{scheme:"orange"},"Orange label"),a.default.createElement(u.Label,{scheme:"green"},"Green label")),a.default.createElement(u.Block,{mb:3},a.default.createElement(u.Label,{outline:!0},"Default outline label"),a.default.createElement(u.Label,{outline:!0,scheme:"green"},"Green outline label")))},{name:"Link",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{href:"https://github.com"},"Link")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(u.Block,{mb:1},a.default.createElement(u.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))},{name:"StateLabel",element:a.default.createElement("div",null,a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:4},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(o.Detail,null,a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By state (Octicons built in)"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,null,"Unknown")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"open"},"Open")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"closed"},"Closed")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"merged"},"Merged")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{state:"reopened"},"Reopened"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"By color"),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"invalid"},"Invalid")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"green"},"Green")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"red"},"Red")),a.default.createElement(u.Block,{mb:2},a.default.createElement(u.StateLabel,{scheme:"purple"},"Purple"))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by state"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0},"Unknown")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"open"},"Open")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"closed"},"Closed")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"merged"},"Merged")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,state:"reopened"},"Reopened")))),a.default.createElement(u.Block,{mb:4},a.default.createElement(h,null,"Small, by color"),a.default.createElement(u.Block,{mb:2},a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green"},"Green")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"red"},"Red")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"purple"},"Purple")),a.default.createElement("span",{className:"mr-2"},a.default.createElement(u.StateLabel,{small:!0,scheme:"green",icon:a.default.createElement(s.default,{name:"git-branch"})},"Custom Octicon"))))))},{name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"pending"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"invalid"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"merged"})),a.default.createElement(u.Block,{m:2},a.default.createElement(u.MergeStatus,{state:"ready"})))},{name:"Text",element:a.default.createElement("div",null,a.default.createElement(u.Text,{tag:"div"},"Text"),a.default.createElement(u.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(u.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(u.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(u.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(u.Text,{tag:"div",p:4},"Text padding 4"))},{name:"Tooltip",element:a.default.createElement("div",null,a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),a.default.createElement(o.Detail,null,a.default.createElement(h,{mt:3},"Directions"),u.Tooltip.directions.map(function(e,t){return a.default.createElement(u.Box,{p:3,key:t},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),a.default.createElement(h,{mt:3},"Alignment"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),a.default.createElement(h,{mt:3},"Word wrap"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),a.default.createElement(h,{mt:3},"No Delay"),a.default.createElement(u.Box,{p:3},a.default.createElement(u.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))}];t.default=p},function(e,t,n){e.exports={default:n(244),__esModule:!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var a=t.referenceType;if("collapsed"!==a&&"full"!==a&&!n)return"imageReference"===t.type?r("text","!["+t.alt+"]"):[r("text","[")].concat(i(e,t),r("text","]"))};var r=n(15),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){var n=t.identifier;return e(t.position,"sup",{id:"fnref-"+n},[e(t,"a",{href:"#fn-"+n,className:["footnote-ref"]},[r("text",n)])])};var r=n(15)},function(e,t,n){"use strict";e.exports=function(e,t){var n={},a=t.ordered?"ol":"ul";"number"==typeof t.start&&1!==t.start&&(n.start=t.start);return e(t,a,n,r(i(e,t),!0))};var r=n(37),i=n(11)},function(e,t,n){"use strict";e.exports=function(e,t){return e(t,"hr")}},function(e,t,n){"use strict";e.exports=function(e,t,n){var o=t&&t.type,s=a.call(e.handlers,o)?e.handlers[o]:null;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof s?s:function(e,t){if(function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t))return e.augment(t,r("text",t.value));return e(t,"div",i(e,t))})(e,t,n)};var r=n(15),i=n(11),a={}.hasOwnProperty},function(e,t,n){"use strict";var r=t;function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}r.start=i("start"),r.end=i("end")},function(e,t,n){"use strict";e.exports=function(e,t){var n=e.indexOf("[",t),r=e.indexOf("![",t);if(-1===r)return n;return n`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(367);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(155),i=n(154);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(379),i=n(374);e.exports=n(91)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return j}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(128),i=(n(387),n(386),n(385),n(384),n(206)),a=n.n(i),o=n(205),s=n.n(o),u=n(0),l=n.n(u),c=n(127),f=n(201),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},j=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];j(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){j(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":N(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;j(this,t);for(var i=arguments.length,a=Array(i),o=0;o-1?'"'+e+'"':e}).join(", ");s.defaultProps={css:"\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font-family: "+u+";\n line-height: "+o.theme.lineHeight+";\n }\n "},t.default=s},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(661)},function(e,t,n){var r=n(56),i=n(59),a=n(34),o=n(122),s=n(35),u=n(197),l=Object.getOwnPropertyDescriptor;t.f=n(28)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(195),i=n(117).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(685),__esModule:!0}},function(e,t,n){var r=n(17),i=n(6),a=n(47);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(200),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(689)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(25),i=n(29),a=n(114);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(48),s=n(695),u=n(193),l=n(123),c=n(14),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(58)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(25),i=n(77),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(46),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(35),i=n(57),a=n(119)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(14).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(58);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=n(34),a=n(703)(!1),o=n(119)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(36)},function(e,t,n){e.exports=!n(28)&&!n(47)(function(){return 7!=Object.defineProperty(n(123)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(78),i=n(17),a=n(196),o=n(36),s=n(35),u=n(46),l=n(705),c=n(75),f=n(192),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(381),e.exports=n(93).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return N}),n.d(t,"SourceLocation",function(){return j}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var j=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new j(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new j(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(203);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(96).Buffer,n(55))},function(e,t,n){var r=n(383),i=n(382);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(388)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,N=D-b;return M*M+T*T>P*P+N*N&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,N=C,j=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(j+=U*=D?1:-1,F-=U):(L=0,j=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,N-=q):(R=0,P=N=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(N),Y=k*m(N),$=E*h(j),Z=E*m(j);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return N().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(N().curve(B))},U=function(){var e=j().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function je(e,t){this._context=e,this._k=(1-t)/6}je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new je(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new je(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function N(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var j="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var Nt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),jt=l(x([],l(function(e,t){return new Nt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),Nn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(214),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(5)),i=g(n(184)),a=g(n(183)),o=g(n(23)),s=g(n(22)),u=g(n(21)),l=g(n(20)),c=g(n(19)),f=g(n(138)),h=n(0),p=g(h),d=n(160),m=g(n(215)),v=n(24);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(217);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(219),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u @@ -183,7 +183,7 @@ _.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(44),i=n(72),a=n(0),o=n(43),s=n(108),u=n(429),l=n(427);function c(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=0;it}return!1}function S(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new S(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new S(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new S(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){C[e]=new S(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new S(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new S(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){C[e]=new S(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){C[e]=new S(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){C[e]=new S(e,5,!1,e.toLowerCase(),null)});var A=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),C.tabIndex=new S("tabIndex",1,!1,"tabindex",null);var D=/["'&<>]/;function M(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",i=0;for(n=t.index;n=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type?this.currentSelectValue=null:null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===v&&this.popProvider(n.type)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?M(n):this.previousWasTextNode?"\x3c!-- --\x3e"+M(n):(this.previousWasTextNode=!0,M(n));if(e=(t=G(e,t)).child,t=t.context,null===e||!1===e)return"";if(!a.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var r=e.$$typeof;r===h&&c("257"),c("258",r.toString())}return e=R(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(r=e.type))return this.renderDOM(e,t,n);switch(r){case d:case y:case m:case p:return e=R(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("object"==typeof r&&null!==r)switch(r.$$typeof){case b:return e=R(r.render(e.props,e.ref)),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case v:return n={type:e,domNamespace:n,children:r=R(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case g:return r=R(e.props.children(e.type._currentValue)),this.stack.push({type:e,domNamespace:n,children:r,childIndex:0,context:t,footer:""}),""}c("130",null==r?r:typeof r,"")},e.prototype.renderDOM=function(e,t,n){var r=e.type.toLowerCase();n===T.html&&P(r),V.hasOwnProperty(r)||(H.test(r)||c("65",r),V[r]=!0);var o=e.props;if("input"===r)o=i({type:void 0},o,{defaultChecked:void 0,defaultValue:void 0,value:null!=o.value?o.value:o.defaultValue,checked:null!=o.checked?o.checked:o.defaultChecked});else if("textarea"===r){var s=o.value;if(null==s){s=o.defaultValue;var u=o.children;null!=u&&(null!=s&&c("92"),Array.isArray(u)&&(1>=u.length||c("93"),u=u[0]),s=""+u),null==s&&(s="")}o=i({},o,{value:void 0,children:""+s})}else if("select"===r)this.currentSelectValue=null!=o.value?o.value:o.defaultValue,o=i({},o,{value:void 0});else if("option"===r){u=this.currentSelectValue;var l=function(e){var t="";return a.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(o.children);if(null!=u){var f=null!=o.value?o.value+"":l;if(s=!1,Array.isArray(u)){for(var h=0;h":(y+=">",s="");e:{if(null!=(u=o.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=o.children)||"number"==typeof u){u=M(u);break e}u=null}return null!=u?(o=[],I[r]&&"\n"===u.charAt(0)&&(y+="\n"),y+=u):o=R(o.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?P(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:r,children:o,childIndex:0,context:t,footer:s}),this.previousWasTextNode=!1,y},e}(),J={renderToString:function(e){return new X(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new X(e,!0).read(1/0)},renderToNodeStream:function(){c("207")},renderToStaticNodeStream:function(){c("208")},version:"16.4.1"},K={default:J},Y=K&&J||K;e.exports=Y.default?Y.default:Y},function(e,t,n){"use strict";e.exports=n(430)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.space=void 0;var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=s(n(3)),a=n(100),o=s(n(167));function s(e){return e&&e.__esModule?e:{default:e}}var u=/^[mp][trblxy]?$/,l=t.space=function(e){var t=Object.keys(e).filter(function(e){return u.test(e)}).sort(),n=(0,a.breaks)(e),r=(0,a.get)(e,"theme.space",o.default.space);return t.map(function(t){var i=e[t],o=f(t);return Array.isArray(i)?(0,a.arr)(i).map(c(r)).map((0,a.dec)(o)).map((0,a.media)(n)).reduce(a.merge,{}):o.reduce(function(e,t){return Object.assign(e,(n={},a=t,o=c(r)(i),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n));var n,a,o},{})}).reduce(a.merge,{})},c=function(e){return function(t){if(!(0,a.num)(t))return t;var n=e[Math.abs(t)]||Math.abs(t);return(0,a.num)(n)?(0,a.px)(n*((0,a.neg)(t)?-1:1)):(0,a.neg)(t)?"-"+n:n}},f=function(e){var t=e.split(""),n=r(t,2),i=n[0],a=n[1],o=h[i];return(p[a]||[""]).map(function(e){return o+e})},h={m:"margin",p:"padding"},p={t:["Top"],r:["Right"],b:["Bottom"],l:["Left"],x:["Left","Right"],y:["Top","Bottom"]},d=i.default.oneOfType([i.default.number,i.default.string,i.default.array]);l.propTypes={m:d,mt:d,mr:d,mb:d,ml:d,mx:d,my:d,p:d,pt:d,pr:d,pb:d,pl:d,px:d,py:d},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flex=t.flexDirection=t.flexBasis=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.ratioPadding=t.size=t.sizeHeight=t.sizeWidth=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=void 0;var r=Object.assign||function(e){for(var t=1;t0?e+"px solid":e},p=t.border=(0,a.responsiveStyle)({prop:"border",key:"borders",getter:h}),d=t.borderTop=(0,a.responsiveStyle)({prop:"borderTop",key:"borders",getter:h}),m=t.borderRight=(0,a.responsiveStyle)({prop:"borderRight",key:"borders",getter:h}),v=t.borderBottom=(0,a.responsiveStyle)({prop:"borderBottom",key:"borders",getter:h}),g=t.borderLeft=(0,a.responsiveStyle)({prop:"borderLeft",key:"borders",getter:h});(t.borders=function(e){return r({},p(e),d(e),m(e),v(e),g(e))}).propTypes=r({},p.propTypes,d.propTypes,m.propTypes,v.propTypes,g.propTypes);t.borderColor=(0,a.style)({prop:"borderColor",key:"colors"}),t.borderRadius=(0,a.style)({prop:"borderRadius",key:"radii",numberToPx:!0}),t.boxShadow=(0,a.style)({prop:"boxShadow",key:"shadows"}),t.background=(0,a.style)({prop:"background"}),t.backgroundImage=(0,a.style)({prop:"backgroundImage",alias:"bgImage",getter:function(e){return"url("+e+")"}}),t.backgroundSize=(0,a.style)({prop:"backgroundSize",alias:"bgSize"}),t.backgroundPosition=(0,a.style)({prop:"backgroundPosition",alias:"bgPosition"}),t.backgroundRepeat=(0,a.style)({prop:"backgroundRepeat",alias:"bgRepeat"}),t.position=(0,a.responsiveStyle)({prop:"position"}),t.zIndex=(0,a.style)({prop:"zIndex"}),t.top=(0,a.responsiveStyle)({prop:"top",numberToPx:!0}),t.right=(0,a.responsiveStyle)({prop:"right",numberToPx:!0}),t.bottom=(0,a.responsiveStyle)({prop:"bottom",numberToPx:!0}),t.left=(0,a.responsiveStyle)({prop:"left",numberToPx:!0}),t.hover=(0,a.pseudoStyle)({prop:"hover",pseudoclass:"hover",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.focus=(0,a.pseudoStyle)({prop:"focus",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.active=(0,a.pseudoStyle)({prop:"active",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.disabled=(0,a.pseudoStyle)({prop:"disabledStyle",pseudoclass:"disabled",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.textStyle=(0,a.complexStyle)({prop:"textStyle",key:"textStyles"}),t.colorStyle=(0,a.complexStyle)({prop:"colors",key:"colorStyles"}),t.buttonStyle=(0,a.complexStyle)({prop:"buttonStyle",key:"buttons"}),t.borderWidth=(0,a.style)({prop:"borderWidth",cssProperty:"border",key:"borderWidths",getter:function(e){return h(e)}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=t.util=t.theme=t.themeGet=t.complexStyle=t.responsiveStyle=t.pseudoStyle=t.style=t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flexBasis=t.flex=t.flexDirection=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.size=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=t.styles=void 0;var r=n(433);Object.defineProperty(t,"space",{enumerable:!0,get:function(){return r.space}}),Object.defineProperty(t,"width",{enumerable:!0,get:function(){return r.width}}),Object.defineProperty(t,"fontSize",{enumerable:!0,get:function(){return r.fontSize}}),Object.defineProperty(t,"textColor",{enumerable:!0,get:function(){return r.textColor}}),Object.defineProperty(t,"bgColor",{enumerable:!0,get:function(){return r.bgColor}}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return r.color}}),Object.defineProperty(t,"fontFamily",{enumerable:!0,get:function(){return r.fontFamily}}),Object.defineProperty(t,"textAlign",{enumerable:!0,get:function(){return r.textAlign}}),Object.defineProperty(t,"lineHeight",{enumerable:!0,get:function(){return r.lineHeight}}),Object.defineProperty(t,"fontWeight",{enumerable:!0,get:function(){return r.fontWeight}}),Object.defineProperty(t,"letterSpacing",{enumerable:!0,get:function(){return r.letterSpacing}}),Object.defineProperty(t,"display",{enumerable:!0,get:function(){return r.display}}),Object.defineProperty(t,"maxWidth",{enumerable:!0,get:function(){return r.maxWidth}}),Object.defineProperty(t,"minWidth",{enumerable:!0,get:function(){return r.minWidth}}),Object.defineProperty(t,"height",{enumerable:!0,get:function(){return r.height}}),Object.defineProperty(t,"maxHeight",{enumerable:!0,get:function(){return r.maxHeight}}),Object.defineProperty(t,"minHeight",{enumerable:!0,get:function(){return r.minHeight}}),Object.defineProperty(t,"size",{enumerable:!0,get:function(){return r.size}}),Object.defineProperty(t,"ratio",{enumerable:!0,get:function(){return r.ratio}}),Object.defineProperty(t,"alignItems",{enumerable:!0,get:function(){return r.alignItems}}),Object.defineProperty(t,"alignContent",{enumerable:!0,get:function(){return r.alignContent}}),Object.defineProperty(t,"justifyContent",{enumerable:!0,get:function(){return r.justifyContent}}),Object.defineProperty(t,"flexWrap",{enumerable:!0,get:function(){return r.flexWrap}}),Object.defineProperty(t,"flexDirection",{enumerable:!0,get:function(){return r.flexDirection}}),Object.defineProperty(t,"flex",{enumerable:!0,get:function(){return r.flex}}),Object.defineProperty(t,"flexBasis",{enumerable:!0,get:function(){return r.flexBasis}}),Object.defineProperty(t,"justifySelf",{enumerable:!0,get:function(){return r.justifySelf}}),Object.defineProperty(t,"alignSelf",{enumerable:!0,get:function(){return r.alignSelf}}),Object.defineProperty(t,"order",{enumerable:!0,get:function(){return r.order}}),Object.defineProperty(t,"gridGap",{enumerable:!0,get:function(){return r.gridGap}}),Object.defineProperty(t,"gridColumnGap",{enumerable:!0,get:function(){return r.gridColumnGap}}),Object.defineProperty(t,"gridRowGap",{enumerable:!0,get:function(){return r.gridRowGap}}),Object.defineProperty(t,"gridColumn",{enumerable:!0,get:function(){return r.gridColumn}}),Object.defineProperty(t,"gridRow",{enumerable:!0,get:function(){return r.gridRow}}),Object.defineProperty(t,"gridAutoFlow",{enumerable:!0,get:function(){return r.gridAutoFlow}}),Object.defineProperty(t,"gridAutoColumns",{enumerable:!0,get:function(){return r.gridAutoColumns}}),Object.defineProperty(t,"gridAutoRows",{enumerable:!0,get:function(){return r.gridAutoRows}}),Object.defineProperty(t,"gridTemplateColumns",{enumerable:!0,get:function(){return r.gridTemplateColumns}}),Object.defineProperty(t,"gridTemplateRows",{enumerable:!0,get:function(){return r.gridTemplateRows}}),Object.defineProperty(t,"border",{enumerable:!0,get:function(){return r.border}}),Object.defineProperty(t,"borderTop",{enumerable:!0,get:function(){return r.borderTop}}),Object.defineProperty(t,"borderRight",{enumerable:!0,get:function(){return r.borderRight}}),Object.defineProperty(t,"borderBottom",{enumerable:!0,get:function(){return r.borderBottom}}),Object.defineProperty(t,"borderLeft",{enumerable:!0,get:function(){return r.borderLeft}}),Object.defineProperty(t,"borders",{enumerable:!0,get:function(){return r.borders}}),Object.defineProperty(t,"borderColor",{enumerable:!0,get:function(){return r.borderColor}}),Object.defineProperty(t,"borderRadius",{enumerable:!0,get:function(){return r.borderRadius}}),Object.defineProperty(t,"boxShadow",{enumerable:!0,get:function(){return r.boxShadow}}),Object.defineProperty(t,"background",{enumerable:!0,get:function(){return r.background}}),Object.defineProperty(t,"backgroundImage",{enumerable:!0,get:function(){return r.backgroundImage}}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return r.backgroundSize}}),Object.defineProperty(t,"backgroundPosition",{enumerable:!0,get:function(){return r.backgroundPosition}}),Object.defineProperty(t,"backgroundRepeat",{enumerable:!0,get:function(){return r.backgroundRepeat}}),Object.defineProperty(t,"position",{enumerable:!0,get:function(){return r.position}}),Object.defineProperty(t,"zIndex",{enumerable:!0,get:function(){return r.zIndex}}),Object.defineProperty(t,"top",{enumerable:!0,get:function(){return r.top}}),Object.defineProperty(t,"right",{enumerable:!0,get:function(){return r.right}}),Object.defineProperty(t,"bottom",{enumerable:!0,get:function(){return r.bottom}}),Object.defineProperty(t,"left",{enumerable:!0,get:function(){return r.left}}),Object.defineProperty(t,"hover",{enumerable:!0,get:function(){return r.hover}}),Object.defineProperty(t,"focus",{enumerable:!0,get:function(){return r.focus}}),Object.defineProperty(t,"active",{enumerable:!0,get:function(){return r.active}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return r.disabled}}),Object.defineProperty(t,"textStyle",{enumerable:!0,get:function(){return r.textStyle}}),Object.defineProperty(t,"colorStyle",{enumerable:!0,get:function(){return r.colorStyle}}),Object.defineProperty(t,"buttonStyle",{enumerable:!0,get:function(){return r.buttonStyle}}),Object.defineProperty(t,"borderWidth",{enumerable:!0,get:function(){return r.borderWidth}});var i=n(100);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i.style}}),Object.defineProperty(t,"pseudoStyle",{enumerable:!0,get:function(){return i.pseudoStyle}}),Object.defineProperty(t,"responsiveStyle",{enumerable:!0,get:function(){return i.responsiveStyle}}),Object.defineProperty(t,"complexStyle",{enumerable:!0,get:function(){return i.complexStyle}}),Object.defineProperty(t,"themeGet",{enumerable:!0,get:function(){return i.themeGet}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return i.themeGet}});var a=u(r),o=u(r),s=u(i);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.styles=o,t.util=s;var l=t.propTypes={};Object.keys(a).forEach(function(e){l[e]=a[e].propTypes}),a.propTypes=l,t.default=a},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)},e)}(this.props.theme)}}},{key:"render",value:function(){return i.createElement("div",null,this.props.children)}}]),t}();o.childContextTypes={theme:a.oneOfType([a.func,a.object])},e.exports=o},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",i=arguments[2],o=[],s=[];for(var u in t){var l=t[u];if(null!==l)if("object"!==(void 0===l?"undefined":r(l))){var c=a(u,l);s.push(c)}else{var f=/^@/.test(u)?u:null;e(l,f?n:n+u.replace(/&/g,""),f).forEach(function(e){return o.push(e)})}}return o.unshift({media:i,child:n,declarations:s}),o}(t).filter(function(e){return e.declarations.length}).forEach(function(t){var r=JSON.stringify(t),a=function(e){var t=e.selector,n=e.child,r=e.media;return function(e,t){return t?t+"{"+e+"}":e}(t+n+"{"+e.declarations.join(";")+"}",r)}(Object.assign(t,{selector:e}));n.push(a),i[r]=!0}),n.join("")}},function(e,t,n){"use strict";function r(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function a(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}e.exports=function(e,t){for(var n=1540483477,o=t^e.length,s=e.length,u=0;s>=4;){var l=r(e,u);l=a(l,n),l=a(l^=l>>>24,n),o=a(o,n),o^=l,u+=4,s-=4}switch(s){case 3:o^=i(e,u),o=a(o^=e.charCodeAt(u+2)<<16,n);break;case 2:o=a(o^=i(e,u),n);break;case 1:o=a(o^=e.charCodeAt(u),n)}return o=a(o^=o>>>13,n),((o^=o>>>15)>>>0).toString(36)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(439);function i(){}e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Head=t.Detail=t.Example=t.Library=void 0;var r,i,a=x(n(5)),o=x(n(71)),s=x(n(7)),u=x(n(23)),l=x(n(22)),c=x(n(21)),f=x(n(20)),h=x(n(19)),p=x(n(0)),d=x(n(32)),m=x(n(26)),v=n(49),g=n(24),y=x(n(99)),b=x(n(98));function x(e){return e&&e.__esModule?e:{default:e}}var w=(0,m.default)("div")({display:"flex",alignItems:"flex-start",height:"100vh"}),_=(0,m.default)("div")({flex:"1 1 auto",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch"}),E=(0,m.default)(v.Link)({display:"block",color:"inherit",textDecoration:"none",overflow:"hidden",border:"1px solid #f6f6f6","&:hover":{borderColor:"#ddd"}}),k=(0,m.default)("div")({width:"192px",flex:"none",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch",borderRight:"1px solid #f6f6f6"}),S=(0,m.default)(v.NavLink)({display:"block",paddingLeft:"8px",paddingRight:"8px",paddingTop:"4px",paddingBottom:"4px",fontSize:"12px",fontWeight:"bold",textDecoration:"none",color:"inherit",WebkitUserSelect:"none",userSelect:"none","&.active":{color:"white",backgroundColor:"black"}}),C="undefined"!=typeof document?v.BrowserRouter:v.StaticRouter,A=t.Library=function(e){function t(){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.basename,n=(0,s.default)(e,["basename"]);return p.default.createElement(C,{basename:t,context:{}},p.default.createElement(O,n))}}]),t}(p.default.Component),O=(0,v.withRouter)((i=r=function(e){function t(){var e,n,r,i;(0,l.default)(this,t);for(var a=arguments.length,s=Array(a),c=0;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?[]:t,a=e.props,o=void 0===a?[]:a,s=e.getter,u=void 0===s?i:s,l=o.reduce(function(e,t){return r({},e,(a=!0,(i=t)in(n={})?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,n));var n,i,a},{}),c=function(e){return function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}}(l);return function(e){var t=[],r=function(r){if(!l[r])return"continue";var i=e[r];return null===i||void 0===i?"continue":Array.isArray(i)?void i.forEach(function(e,i){if(null!==e&&void 0!==e){var a=n[i];t.push(u({breakpoint:a,prop:r,value:e}))}}):(t.push(u({prop:r,value:i})),"continue")};for(var i in e)r(i);var a=c(e);return a.className?a.className=[a.className].concat(t).join(" "):a.className=t.join(" "),a}}},function(e,t,n){var r=n(116),i=n(13)("iterator"),a=n(46);e.exports=n(6).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){n(74),n(60),e.exports=n(634)},function(e,t,n){e.exports={default:n(635),__esModule:!0}},function(e,t,n){"use strict";var r=n(27),i=n(59);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(48),i=n(17),a=n(57),o=n(191),s=n(190),u=n(120),l=n(637),c=n(115);i(i.S+i.F*!n(185)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,h=a(e),p="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(n=new p(t=u(h.length));t>g;g++)l(n,g,v?m(h[g],g):h[g]);else for(f=y.call(h),n=new p;!(i=f.next()).done;g++)l(n,g,v?o(f,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){n(60),n(638),e.exports=n(6).Array.from},function(e,t,n){e.exports={default:n(639),__esModule:!0}},function(e,t,n){var r=n(25),i=n(115);e.exports=n(6).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){n(74),n(60),e.exports=n(641)},function(e,t,n){var r=n(45),i=n(34),a=n(56).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,l=0,c=[];u>l;)a.call(o,n=s[l++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){var r=n(17),i=n(643)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){n(644),e.exports=n(6).Object.entries},function(e,t,n){e.exports={default:n(645),__esModule:!0}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(647);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){var r={"./CSS.js":177,"./ComponentPage.js":168,"./DemoPage.js":134,"./GitHubAvatar.js":135,"./Sandbox.js":133,"./SideNav.js":84,"./Swatch.js":136,"./_app.js":82,"./examples.js":137,"./index.js":132};function i(e){var t=a(e);return n(t)}function a(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id=649},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(651);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(653);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(655);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";var r=n(656);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var o=0;ot}return!1}function S(e,t,n,r,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){C[e]=new S(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];C[t]=new S(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){C[e]=new S(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){C[e]=new S(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){C[e]=new S(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){C[e]=new S(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){C[e]=new S(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){C[e]=new S(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){C[e]=new S(e,5,!1,e.toLowerCase(),null)});var A=/[\-:]([a-z])/g;function O(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,O);C[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),C.tabIndex=new S("tabIndex",1,!1,"tabindex",null);var D=/["'&<>]/;function M(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",i=0;for(n=t.index;n=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type?this.currentSelectValue=null:null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===v&&this.popProvider(n.type)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?M(n):this.previousWasTextNode?"\x3c!-- --\x3e"+M(n):(this.previousWasTextNode=!0,M(n));if(e=(t=G(e,t)).child,t=t.context,null===e||!1===e)return"";if(!a.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var r=e.$$typeof;r===h&&c("257"),c("258",r.toString())}return e=R(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(r=e.type))return this.renderDOM(e,t,n);switch(r){case d:case y:case m:case p:return e=R(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("object"==typeof r&&null!==r)switch(r.$$typeof){case b:return e=R(r.render(e.props,e.ref)),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case v:return n={type:e,domNamespace:n,children:r=R(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case g:return r=R(e.props.children(e.type._currentValue)),this.stack.push({type:e,domNamespace:n,children:r,childIndex:0,context:t,footer:""}),""}c("130",null==r?r:typeof r,"")},e.prototype.renderDOM=function(e,t,n){var r=e.type.toLowerCase();n===T.html&&P(r),V.hasOwnProperty(r)||(H.test(r)||c("65",r),V[r]=!0);var o=e.props;if("input"===r)o=i({type:void 0},o,{defaultChecked:void 0,defaultValue:void 0,value:null!=o.value?o.value:o.defaultValue,checked:null!=o.checked?o.checked:o.defaultChecked});else if("textarea"===r){var s=o.value;if(null==s){s=o.defaultValue;var u=o.children;null!=u&&(null!=s&&c("92"),Array.isArray(u)&&(1>=u.length||c("93"),u=u[0]),s=""+u),null==s&&(s="")}o=i({},o,{value:void 0,children:""+s})}else if("select"===r)this.currentSelectValue=null!=o.value?o.value:o.defaultValue,o=i({},o,{value:void 0});else if("option"===r){u=this.currentSelectValue;var l=function(e){var t="";return a.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(o.children);if(null!=u){var f=null!=o.value?o.value+"":l;if(s=!1,Array.isArray(u)){for(var h=0;h":(y+=">",s="");e:{if(null!=(u=o.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=o.children)||"number"==typeof u){u=M(u);break e}u=null}return null!=u?(o=[],I[r]&&"\n"===u.charAt(0)&&(y+="\n"),y+=u):o=R(o.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?P(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:r,children:o,childIndex:0,context:t,footer:s}),this.previousWasTextNode=!1,y},e}(),J={renderToString:function(e){return new X(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new X(e,!0).read(1/0)},renderToNodeStream:function(){c("207")},renderToStaticNodeStream:function(){c("208")},version:"16.4.1"},K={default:J},Y=K&&J||K;e.exports=Y.default?Y.default:Y},function(e,t,n){"use strict";e.exports=n(430)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.space=void 0;var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=s(n(3)),a=n(100),o=s(n(167));function s(e){return e&&e.__esModule?e:{default:e}}var u=/^[mp][trblxy]?$/,l=t.space=function(e){var t=Object.keys(e).filter(function(e){return u.test(e)}).sort(),n=(0,a.breaks)(e),r=(0,a.get)(e,"theme.space",o.default.space);return t.map(function(t){var i=e[t],o=f(t);return Array.isArray(i)?(0,a.arr)(i).map(c(r)).map((0,a.dec)(o)).map((0,a.media)(n)).reduce(a.merge,{}):o.reduce(function(e,t){return Object.assign(e,(n={},a=t,o=c(r)(i),a in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o,n));var n,a,o},{})}).reduce(a.merge,{})},c=function(e){return function(t){if(!(0,a.num)(t))return t;var n=e[Math.abs(t)]||Math.abs(t);return(0,a.num)(n)?(0,a.px)(n*((0,a.neg)(t)?-1:1)):(0,a.neg)(t)?"-"+n:n}},f=function(e){var t=e.split(""),n=r(t,2),i=n[0],a=n[1],o=h[i];return(p[a]||[""]).map(function(e){return o+e})},h={m:"margin",p:"padding"},p={t:["Top"],r:["Right"],b:["Bottom"],l:["Left"],x:["Left","Right"],y:["Top","Bottom"]},d=i.default.oneOfType([i.default.number,i.default.string,i.default.array]);l.propTypes={m:d,mt:d,mr:d,mb:d,ml:d,mx:d,my:d,p:d,pt:d,pr:d,pb:d,pl:d,px:d,py:d},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flex=t.flexDirection=t.flexBasis=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.ratioPadding=t.size=t.sizeHeight=t.sizeWidth=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=void 0;var r=Object.assign||function(e){for(var t=1;t0?e+"px solid":e},p=t.border=(0,a.responsiveStyle)({prop:"border",key:"borders",getter:h}),d=t.borderTop=(0,a.responsiveStyle)({prop:"borderTop",key:"borders",getter:h}),m=t.borderRight=(0,a.responsiveStyle)({prop:"borderRight",key:"borders",getter:h}),v=t.borderBottom=(0,a.responsiveStyle)({prop:"borderBottom",key:"borders",getter:h}),g=t.borderLeft=(0,a.responsiveStyle)({prop:"borderLeft",key:"borders",getter:h});(t.borders=function(e){return r({},p(e),d(e),m(e),v(e),g(e))}).propTypes=r({},p.propTypes,d.propTypes,m.propTypes,v.propTypes,g.propTypes);t.borderColor=(0,a.style)({prop:"borderColor",key:"colors"}),t.borderRadius=(0,a.style)({prop:"borderRadius",key:"radii",numberToPx:!0}),t.boxShadow=(0,a.style)({prop:"boxShadow",key:"shadows"}),t.background=(0,a.style)({prop:"background"}),t.backgroundImage=(0,a.style)({prop:"backgroundImage",alias:"bgImage",getter:function(e){return"url("+e+")"}}),t.backgroundSize=(0,a.style)({prop:"backgroundSize",alias:"bgSize"}),t.backgroundPosition=(0,a.style)({prop:"backgroundPosition",alias:"bgPosition"}),t.backgroundRepeat=(0,a.style)({prop:"backgroundRepeat",alias:"bgRepeat"}),t.position=(0,a.responsiveStyle)({prop:"position"}),t.zIndex=(0,a.style)({prop:"zIndex"}),t.top=(0,a.responsiveStyle)({prop:"top",numberToPx:!0}),t.right=(0,a.responsiveStyle)({prop:"right",numberToPx:!0}),t.bottom=(0,a.responsiveStyle)({prop:"bottom",numberToPx:!0}),t.left=(0,a.responsiveStyle)({prop:"left",numberToPx:!0}),t.hover=(0,a.pseudoStyle)({prop:"hover",pseudoclass:"hover",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.focus=(0,a.pseudoStyle)({prop:"focus",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.active=(0,a.pseudoStyle)({prop:"active",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.disabled=(0,a.pseudoStyle)({prop:"disabledStyle",pseudoclass:"disabled",keys:{color:"colors",backgroundColor:"colors",borderColor:"colors",boxShadow:"shadows"}}),t.textStyle=(0,a.complexStyle)({prop:"textStyle",key:"textStyles"}),t.colorStyle=(0,a.complexStyle)({prop:"colors",key:"colorStyles"}),t.buttonStyle=(0,a.complexStyle)({prop:"buttonStyle",key:"buttons"}),t.borderWidth=(0,a.style)({prop:"borderWidth",cssProperty:"border",key:"borderWidths",getter:function(e){return h(e)}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.propTypes=t.util=t.theme=t.themeGet=t.complexStyle=t.responsiveStyle=t.pseudoStyle=t.style=t.borderWidth=t.buttonStyle=t.colorStyle=t.textStyle=t.disabled=t.active=t.focus=t.hover=t.left=t.bottom=t.right=t.top=t.zIndex=t.position=t.backgroundRepeat=t.backgroundPosition=t.backgroundSize=t.backgroundImage=t.background=t.boxShadow=t.borderRadius=t.borderColor=t.borders=t.borderLeft=t.borderBottom=t.borderRight=t.borderTop=t.border=t.gridTemplateRows=t.gridTemplateColumns=t.gridAutoRows=t.gridAutoColumns=t.gridAutoFlow=t.gridRow=t.gridColumn=t.gridRowGap=t.gridColumnGap=t.gridGap=t.order=t.alignSelf=t.justifySelf=t.flexBasis=t.flex=t.flexDirection=t.flexWrap=t.justifyContent=t.alignContent=t.alignItems=t.ratio=t.size=t.minHeight=t.maxHeight=t.height=t.minWidth=t.maxWidth=t.display=t.letterSpacing=t.fontWeight=t.lineHeight=t.textAlign=t.fontFamily=t.color=t.bgColor=t.textColor=t.fontSize=t.width=t.space=t.styles=void 0;var r=n(433);Object.defineProperty(t,"space",{enumerable:!0,get:function(){return r.space}}),Object.defineProperty(t,"width",{enumerable:!0,get:function(){return r.width}}),Object.defineProperty(t,"fontSize",{enumerable:!0,get:function(){return r.fontSize}}),Object.defineProperty(t,"textColor",{enumerable:!0,get:function(){return r.textColor}}),Object.defineProperty(t,"bgColor",{enumerable:!0,get:function(){return r.bgColor}}),Object.defineProperty(t,"color",{enumerable:!0,get:function(){return r.color}}),Object.defineProperty(t,"fontFamily",{enumerable:!0,get:function(){return r.fontFamily}}),Object.defineProperty(t,"textAlign",{enumerable:!0,get:function(){return r.textAlign}}),Object.defineProperty(t,"lineHeight",{enumerable:!0,get:function(){return r.lineHeight}}),Object.defineProperty(t,"fontWeight",{enumerable:!0,get:function(){return r.fontWeight}}),Object.defineProperty(t,"letterSpacing",{enumerable:!0,get:function(){return r.letterSpacing}}),Object.defineProperty(t,"display",{enumerable:!0,get:function(){return r.display}}),Object.defineProperty(t,"maxWidth",{enumerable:!0,get:function(){return r.maxWidth}}),Object.defineProperty(t,"minWidth",{enumerable:!0,get:function(){return r.minWidth}}),Object.defineProperty(t,"height",{enumerable:!0,get:function(){return r.height}}),Object.defineProperty(t,"maxHeight",{enumerable:!0,get:function(){return r.maxHeight}}),Object.defineProperty(t,"minHeight",{enumerable:!0,get:function(){return r.minHeight}}),Object.defineProperty(t,"size",{enumerable:!0,get:function(){return r.size}}),Object.defineProperty(t,"ratio",{enumerable:!0,get:function(){return r.ratio}}),Object.defineProperty(t,"alignItems",{enumerable:!0,get:function(){return r.alignItems}}),Object.defineProperty(t,"alignContent",{enumerable:!0,get:function(){return r.alignContent}}),Object.defineProperty(t,"justifyContent",{enumerable:!0,get:function(){return r.justifyContent}}),Object.defineProperty(t,"flexWrap",{enumerable:!0,get:function(){return r.flexWrap}}),Object.defineProperty(t,"flexDirection",{enumerable:!0,get:function(){return r.flexDirection}}),Object.defineProperty(t,"flex",{enumerable:!0,get:function(){return r.flex}}),Object.defineProperty(t,"flexBasis",{enumerable:!0,get:function(){return r.flexBasis}}),Object.defineProperty(t,"justifySelf",{enumerable:!0,get:function(){return r.justifySelf}}),Object.defineProperty(t,"alignSelf",{enumerable:!0,get:function(){return r.alignSelf}}),Object.defineProperty(t,"order",{enumerable:!0,get:function(){return r.order}}),Object.defineProperty(t,"gridGap",{enumerable:!0,get:function(){return r.gridGap}}),Object.defineProperty(t,"gridColumnGap",{enumerable:!0,get:function(){return r.gridColumnGap}}),Object.defineProperty(t,"gridRowGap",{enumerable:!0,get:function(){return r.gridRowGap}}),Object.defineProperty(t,"gridColumn",{enumerable:!0,get:function(){return r.gridColumn}}),Object.defineProperty(t,"gridRow",{enumerable:!0,get:function(){return r.gridRow}}),Object.defineProperty(t,"gridAutoFlow",{enumerable:!0,get:function(){return r.gridAutoFlow}}),Object.defineProperty(t,"gridAutoColumns",{enumerable:!0,get:function(){return r.gridAutoColumns}}),Object.defineProperty(t,"gridAutoRows",{enumerable:!0,get:function(){return r.gridAutoRows}}),Object.defineProperty(t,"gridTemplateColumns",{enumerable:!0,get:function(){return r.gridTemplateColumns}}),Object.defineProperty(t,"gridTemplateRows",{enumerable:!0,get:function(){return r.gridTemplateRows}}),Object.defineProperty(t,"border",{enumerable:!0,get:function(){return r.border}}),Object.defineProperty(t,"borderTop",{enumerable:!0,get:function(){return r.borderTop}}),Object.defineProperty(t,"borderRight",{enumerable:!0,get:function(){return r.borderRight}}),Object.defineProperty(t,"borderBottom",{enumerable:!0,get:function(){return r.borderBottom}}),Object.defineProperty(t,"borderLeft",{enumerable:!0,get:function(){return r.borderLeft}}),Object.defineProperty(t,"borders",{enumerable:!0,get:function(){return r.borders}}),Object.defineProperty(t,"borderColor",{enumerable:!0,get:function(){return r.borderColor}}),Object.defineProperty(t,"borderRadius",{enumerable:!0,get:function(){return r.borderRadius}}),Object.defineProperty(t,"boxShadow",{enumerable:!0,get:function(){return r.boxShadow}}),Object.defineProperty(t,"background",{enumerable:!0,get:function(){return r.background}}),Object.defineProperty(t,"backgroundImage",{enumerable:!0,get:function(){return r.backgroundImage}}),Object.defineProperty(t,"backgroundSize",{enumerable:!0,get:function(){return r.backgroundSize}}),Object.defineProperty(t,"backgroundPosition",{enumerable:!0,get:function(){return r.backgroundPosition}}),Object.defineProperty(t,"backgroundRepeat",{enumerable:!0,get:function(){return r.backgroundRepeat}}),Object.defineProperty(t,"position",{enumerable:!0,get:function(){return r.position}}),Object.defineProperty(t,"zIndex",{enumerable:!0,get:function(){return r.zIndex}}),Object.defineProperty(t,"top",{enumerable:!0,get:function(){return r.top}}),Object.defineProperty(t,"right",{enumerable:!0,get:function(){return r.right}}),Object.defineProperty(t,"bottom",{enumerable:!0,get:function(){return r.bottom}}),Object.defineProperty(t,"left",{enumerable:!0,get:function(){return r.left}}),Object.defineProperty(t,"hover",{enumerable:!0,get:function(){return r.hover}}),Object.defineProperty(t,"focus",{enumerable:!0,get:function(){return r.focus}}),Object.defineProperty(t,"active",{enumerable:!0,get:function(){return r.active}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return r.disabled}}),Object.defineProperty(t,"textStyle",{enumerable:!0,get:function(){return r.textStyle}}),Object.defineProperty(t,"colorStyle",{enumerable:!0,get:function(){return r.colorStyle}}),Object.defineProperty(t,"buttonStyle",{enumerable:!0,get:function(){return r.buttonStyle}}),Object.defineProperty(t,"borderWidth",{enumerable:!0,get:function(){return r.borderWidth}});var i=n(100);Object.defineProperty(t,"style",{enumerable:!0,get:function(){return i.style}}),Object.defineProperty(t,"pseudoStyle",{enumerable:!0,get:function(){return i.pseudoStyle}}),Object.defineProperty(t,"responsiveStyle",{enumerable:!0,get:function(){return i.responsiveStyle}}),Object.defineProperty(t,"complexStyle",{enumerable:!0,get:function(){return i.complexStyle}}),Object.defineProperty(t,"themeGet",{enumerable:!0,get:function(){return i.themeGet}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return i.themeGet}});var a=u(r),o=u(r),s=u(i);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.styles=o,t.util=s;var l=t.propTypes={};Object.keys(a).forEach(function(e){l[e]=a[e].propTypes}),a.propTypes=l,t.default=a},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)},e)}(this.props.theme)}}},{key:"render",value:function(){return i.createElement("div",null,this.props.children)}}]),t}();o.childContextTypes={theme:a.oneOfType([a.func,a.object])},e.exports=o},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"",i=arguments[2],o=[],s=[];for(var u in t){var l=t[u];if(null!==l)if("object"!==(void 0===l?"undefined":r(l))){var c=a(u,l);s.push(c)}else{var f=/^@/.test(u)?u:null;e(l,f?n:n+u.replace(/&/g,""),f).forEach(function(e){return o.push(e)})}}return o.unshift({media:i,child:n,declarations:s}),o}(t).filter(function(e){return e.declarations.length}).forEach(function(t){var r=JSON.stringify(t),a=function(e){var t=e.selector,n=e.child,r=e.media;return function(e,t){return t?t+"{"+e+"}":e}(t+n+"{"+e.declarations.join(";")+"}",r)}(Object.assign(t,{selector:e}));n.push(a),i[r]=!0}),n.join("")}},function(e,t,n){"use strict";function r(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function a(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}e.exports=function(e,t){for(var n=1540483477,o=t^e.length,s=e.length,u=0;s>=4;){var l=r(e,u);l=a(l,n),l=a(l^=l>>>24,n),o=a(o,n),o^=l,u+=4,s-=4}switch(s){case 3:o^=i(e,u),o=a(o^=e.charCodeAt(u+2)<<16,n);break;case 2:o=a(o^=i(e,u),n);break;case 1:o=a(o^=e.charCodeAt(u),n)}return o=a(o^=o>>>13,n),((o^=o>>>15)>>>0).toString(36)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(439);function i(){}e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Head=t.Detail=t.Example=t.Library=void 0;var r,i,a=x(n(5)),o=x(n(71)),s=x(n(7)),u=x(n(23)),l=x(n(22)),c=x(n(21)),f=x(n(20)),h=x(n(19)),p=x(n(0)),d=x(n(32)),m=x(n(26)),v=n(49),g=n(24),y=x(n(99)),b=x(n(98));function x(e){return e&&e.__esModule?e:{default:e}}var w=(0,m.default)("div")({display:"flex",alignItems:"flex-start",height:"100vh"}),_=(0,m.default)("div")({flex:"1 1 auto",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch"}),E=(0,m.default)(v.Link)({display:"block",color:"inherit",textDecoration:"none",overflow:"hidden",border:"1px solid #f6f6f6","&:hover":{borderColor:"#ddd"}}),k=(0,m.default)("div")({width:"192px",flex:"none",height:"100vh",overflowY:"auto",WebkitOverflowScrolling:"touch",borderRight:"1px solid #f6f6f6"}),S=(0,m.default)(v.NavLink)({display:"block",paddingLeft:"8px",paddingRight:"8px",paddingTop:"4px",paddingBottom:"4px",fontSize:"12px",fontWeight:"bold",textDecoration:"none",color:"inherit",WebkitUserSelect:"none",userSelect:"none","&.active":{color:"white",backgroundColor:"black"}}),C="undefined"!=typeof document?v.BrowserRouter:v.StaticRouter,A=t.Library=function(e){function t(){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.basename,n=(0,s.default)(e,["basename"]);return p.default.createElement(C,{basename:t,context:{}},p.default.createElement(O,n))}}]),t}(p.default.Component),O=(0,v.withRouter)((i=r=function(e){function t(){var e,n,r,i;(0,l.default)(this,t);for(var a=arguments.length,s=Array(a),c=0;c0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?[]:t,a=e.props,o=void 0===a?[]:a,s=e.getter,u=void 0===s?i:s,l=o.reduce(function(e,t){return r({},e,(a=!0,(i=t)in(n={})?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,n));var n,i,a},{}),c=function(e){return function(t){var n={};for(var r in t)e[r]||(n[r]=t[r]);return n}}(l);return function(e){var t=[],r=function(r){if(!l[r])return"continue";var i=e[r];return null===i||void 0===i?"continue":Array.isArray(i)?void i.forEach(function(e,i){if(null!==e&&void 0!==e){var a=n[i];t.push(u({breakpoint:a,prop:r,value:e}))}}):(t.push(u({prop:r,value:i})),"continue")};for(var i in e)r(i);var a=c(e);return a.className?a.className=[a.className].concat(t).join(" "):a.className=t.join(" "),a}}},function(e,t,n){var r=n(116),i=n(13)("iterator"),a=n(46);e.exports=n(6).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){n(74),n(60),e.exports=n(634)},function(e,t,n){e.exports={default:n(635),__esModule:!0}},function(e,t,n){"use strict";var r=n(27),i=n(59);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){"use strict";var r=n(48),i=n(17),a=n(57),o=n(191),s=n(190),u=n(120),l=n(637),c=n(115);i(i.S+i.F*!n(185)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,f,h=a(e),p="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(n=new p(t=u(h.length));t>g;g++)l(n,g,v?m(h[g],g):h[g]);else for(f=y.call(h),n=new p;!(i=f.next()).done;g++)l(n,g,v?o(f,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){n(60),n(638),e.exports=n(6).Array.from},function(e,t,n){e.exports={default:n(639),__esModule:!0}},function(e,t,n){var r=n(25),i=n(115);e.exports=n(6).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){n(74),n(60),e.exports=n(641)},function(e,t,n){var r=n(45),i=n(34),a=n(56).f;e.exports=function(e){return function(t){for(var n,o=i(t),s=r(o),u=s.length,l=0,c=[];u>l;)a.call(o,n=s[l++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){var r=n(17),i=n(643)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){n(644),e.exports=n(6).Object.entries},function(e,t,n){e.exports={default:n(645),__esModule:!0}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(647);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){var r={"./CSS.js":177,"./ComponentPage.js":168,"./DemoPage.js":134,"./GitHubAvatar.js":135,"./Sandbox.js":133,"./SideNav.js":84,"./Swatch.js":136,"./_app.js":82,"./docs.js":132,"./examples.js":137};function i(e){var t=a(e);return n(t)}function a(e){var t=r[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id=649},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(651);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(43),i=n(44),a=n(653);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(655);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";var r=n(656);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(i(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var o=0;oM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529529435251.2852,mtimeMs:1529529319916.263,ctimeMs:1529529319916.263,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:17:15.251Z",mtime:"2018-06-20T21:15:19.916Z",ctime:"2018-06-20T21:15:19.916Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/primer-react",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function N(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+j(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(663)})},function(e,t,n){n(664),e.exports=n(6).Object.assign},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(121)})},function(e,t,n){n(666);var r=n(6).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(667),__esModule:!0}},function(e,t,n){var r=n(29),i=n(25),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(48)(Function.call,n(179).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(669).set})},function(e,t,n){n(670),e.exports=n(6).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(671),__esModule:!0}},function(e,t,n){n(112)("observable")},function(e,t,n){n(112)("asyncIterator")},function(e,t,n){var r=n(34),i=n(180).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(58);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(45),i=n(111),a=n(56);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(76)("meta"),i=n(29),a=n(35),o=n(27).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(47)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(14),i=n(35),a=n(28),o=n(17),s=n(196),u=n(678).KEY,l=n(47),c=n(118),f=n(75),h=n(76),p=n(13),d=n(113),m=n(112),v=n(677),g=n(676),y=n(25),b=n(29),x=n(34),w=n(122),_=n(59),E=n(121),k=n(675),S=n(179),C=n(27),A=n(45),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,N=P&&P.stringify,j=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,j)||D(e,j,_(1,{})),e[j][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,j)&&this[j][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==j||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(180).f=k.f=$,n(56).f=K,n(111).f=Z,a&&!n(78)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,N.apply(P,r)}}),T.prototype[F]||n(36)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(679),n(199),n(674),n(673),e.exports=n(6).Symbol},function(e,t,n){e.exports={default:n(680),__esModule:!0}},function(e,t,n){n(60),n(74),e.exports=n(113).f("iterator")},function(e,t,n){e.exports={default:n(682),__esModule:!0}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(28),"Object",{defineProperty:n(27).f})},function(e,t,n){n(684);var r=n(6).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(57),i=n(192);n(182)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(686),e.exports=n(6).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(688),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(17),i=n(114),a=n(187);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(6),a=n(14),o=n(189),s=n(186);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(14),i=n(6),a=n(27),o=n(28),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(36);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(14),i=n(188).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(58)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(48),i=n(191),a=n(190),o=n(25),s=n(120),u=n(115),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(78),u=n(14),l=n(48),c=n(116),f=n(17),h=n(29),p=n(77),d=n(697),m=n(696),v=n(189),g=n(188).set,y=n(694)(),b=n(114),x=n(187),w=n(186),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&N(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},N=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},j=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(j,r,1))}catch(e){j.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){j.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(j,this,1))}catch(e){j.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(693)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(j,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(75)(k,"Promise"),n(692)("Promise"),o=n(6).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(185)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(700),i=n(699),a=n(46),o=n(34);e.exports=n(198)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(125),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(34),i=n(120),a=n(702);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(27),i=n(25),a=n(45);e.exports=n(28)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(121),i=n(59),a=n(75),o={};n(36)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(125),i=n(124);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(199),n(60),n(74),n(698),n(691),n(690),e.exports=n(6).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(7)),i=g(n(200)),a=g(n(184)),o=g(n(183)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(19)),h=g(n(5)),p=g(n(109)),d=g(n(0)),m=n(178),v=n(49);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(649),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:13,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:416,blocks:0,atimeMs:1529528898685.9343,mtimeMs:1529520779366.0125,ctimeMs:1529520779366.0125,birthtimeMs:1529363602400.1438,atime:"2018-06-20T21:08:18.686Z",mtime:"2018-06-20T18:52:59.366Z",ctime:"2018-06-20T18:52:59.366Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}]},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-prop-table":"^0.1.1","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",meta:[{name:"og:title",content:"Primer React"},{name:"description",content:"Primer components built with React.js."}],links:[{rel:"stylesheet",href:"https://unpkg.com/primer-buttons/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-forms/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-layout/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-navigation/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-product/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-tooltips/build/build.css"},{rel:"stylesheet",href:"https://unpkg.com/primer-utilities/build/build.css"},{rel:"icon",href:"assets/favicon.png"},{rel:"apple-touch-icon",href:"assets/apple-touch-icon.png"}],open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),N=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lprimer-react
\ No newline at end of file + }
primer-reactAvatarBlockBoxBranchNameButtonsCaretCircleOcticonCaretBoxColorsCounterLabelDetailsDropdownDonutChartFlashFont sizesForm elementsHeadingLabelLinkStateLabelMergeStatusMergeBoxMergeButtonTextTooltip
bg='white'
white
gray
black
bg='gray-dark'
white
gray
black
bg='gray'
white
gray
black
bg='gray-light'
white
gray
black
bg='blue'
white
gray
black
bg='blue-light'
white
gray
black
bg='green'
white
gray
black
bg='green-light'
white
gray
black
bg='red'
white
gray
black
bg='red-light'
white
gray
black
bg='yellow'
white
gray
black
bg='yellow-light'
white
gray
black
bg='purple'
white
gray
black
bg='purple-light'
white
gray
black
This is a box.
This is a box with padding.
This is a box with shadow.
This is a box with a medium shadow.
This is a box with a large shadow.
This is a box with an extra-large shadow.
This is a box with a green border.
a_new_feature_branch
location='top'
location='top-left'
location='top-right'
location='right'
location='right-top'
location='right-bottom'
location='bottom'
location='bottom-left'
location='bottom-right'
location='left'
location='left-top'
location='left-bottom'
CaretBox with shadow
gray-light CaretBox with red border
green CaretBox

gray.0

#fafbfc

gray.1

#f6f8fa

gray.2

#e1e4e8

gray.3

#d1d5da

gray.4

#959da5

gray.5

#6a737d

gray.6

#586069

gray.7

#444d56

gray.8

#2f363d

gray.9

#24292e

blue.0

#f1f8ff

blue.1

#dbedff

blue.2

#c8e1ff

blue.3

#79b8ff

blue.4

#2188ff

blue.5

#0366d6

blue.6

#005cc5

blue.7

#044289

blue.8

#032f62

blue.9

#05264c

green.0

#f0fff4

green.1

#dcffe4

green.2

#bef5cb

green.3

#85e89d

green.4

#34d058

green.5

#28a745

green.6

#22863a

green.7

#176f2c

green.8

#165c26

green.9

#144620

purple.0

#f5f0ff

purple.1

#e6dcfd

purple.2

#d1bcf9

purple.3

#b392f0

purple.4

#8a63d2

purple.5

#6f42c1

purple.6

#5a32a3

purple.7

#4c2889

purple.8

#3a1d6e

purple.9

#29134e

yellow.0

#fffdef

yellow.1

#fffbdd

yellow.2

#fff5b1

yellow.3

#ffea7f

yellow.4

#ffdf5d

yellow.5

#ffd33d

yellow.6

#f9c513

yellow.7

#dbab09

yellow.8

#b08800

yellow.9

#735c0f

orange.0

#fff8f2

orange.1

#ffebda

orange.2

#ffd1ac

orange.3

#ffab70

orange.4

#fb8532

orange.5

#f66a0a

orange.6

#e36209

orange.7

#d15704

orange.8

#c24e00

orange.9

#a04100
121313

With static children

Click me

This should show and hide

With children as a function

Show

This should show and hide

With render prop

hi

Dropdown Primary

  • Item 1
  • Item 2
  • Item 3

Dropdown

  • Item 1
  • Item 2
  • Item 3

Dropdown with title

Options
  • Item 1
  • Item 2
  • Item 3

With data prop

With DonutSlice children

With custom fill colors

Flash
Flash yellow
Flash red
Flash green
Flash full
fontSize 5
fontSize 4
fontSize 3
fontSize 2
fontSize 1
fontSize 0

Input

Input Sizes

Block input

Default Heading

Default labelDarker gray labelOrange labelGreen label
Default outline labelGreen outline label
Open
Closed
Merged
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

Text
Text bold
Text green
Text lineHeight 'condensed'
Text fontSize 4
Text padding 4
Text with a tooltip
\ No newline at end of file diff --git a/examples/ComponentPage.js b/examples/ComponentPage.js index 3dfd25047f8..da27c40b84f 100644 --- a/examples/ComponentPage.js +++ b/examples/ComponentPage.js @@ -7,7 +7,7 @@ import examples from './examples' const ComponentPage = () => { return ( { return ( ( diff --git a/examples/docs.js b/examples/docs.js new file mode 100644 index 00000000000..cbd9bf3674a --- /dev/null +++ b/examples/docs.js @@ -0,0 +1,28 @@ +import React from 'react' +import classnames from 'classnames' +import { + BrowserRouter as Router, + Route, + NavLink +} from 'react-router-dom' + +import DemoPage from './DemoPage' +import ComponentPage from './ComponentPage' +import Sandbox from './Sandbox' + +const Index = props => ( +
+ + + + +
+) + +export default Index diff --git a/examples/index.js b/examples/index.js deleted file mode 100644 index 2a32f276d65..00000000000 --- a/examples/index.js +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react' -import classnames from 'classnames' -import { - BrowserRouter as Router, - Route, - NavLink -} from 'react-router-dom' - -import DemoPage from './DemoPage' -import ComponentPage from './ComponentPage' -import Sandbox from './Sandbox' - -const Index = props => ( -
- - - - -
-) - -export default Index diff --git a/package.json b/package.json index 5579ff3d0b9..909399c9a7c 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "x0": { "title": "primer-react", "cssLibrary": "styled-components", - "basename": "/primer-react", + "basename": "/", "meta": [ { "name": "og:title", From 6a26c5538964f99ada2e2c3f40967bb75b3a7e55 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 21 Jun 2018 08:58:45 -0700 Subject: [PATCH 24/38] move to _app.js --- docs/CSS/index.html | 2 +- docs/ComponentPage/index.html | 2 +- docs/DemoPage/index.html | 2 +- docs/GitHubAvatar/index.html | 2 +- docs/Sandbox/index.html | 2 +- docs/SideNav/index.html | 2 +- docs/Swatch/index.html | 2 +- docs/bundle.js | 4 +-- docs/docs/index.html | 2 +- examples/_app.js | 16 +++++++++++ package.json | 50 +---------------------------------- 11 files changed, 27 insertions(+), 59 deletions(-) diff --git a/docs/CSS/index.html b/docs/CSS/index.html index 13172f8f14e..a03e3fe4eb0 100644 --- a/docs/CSS/index.html +++ b/docs/CSS/index.html @@ -1,4 +1,4 @@ -primer-react
primer-react\
primer-react\
primer-react\
primer-react\
primer-react\
primer-react\
primer-react\
primer-react\
primer-react\
\ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 1478926929e..1dca379e433 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=708)}([function(e,t,n){"use strict";e.exports=n(662)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(53),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){N(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(j()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(j()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},N=B(),j=l(N);N!==j&&I(j);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(10),G=n.n(W),X=n(18),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(131),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(79),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var Ne=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);Ne.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},Ne.defaultProps={when:!0},Ne.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var je=Ne,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(61),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return je}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r=n(38);e.exports=new r({include:[n(165)],implicit:[n(408),n(407)],explicit:[n(406),n(402),n(401),n(400)]})},function(e,t,n){"use strict";function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(441);Object.defineProperty(t,"Library",{enumerable:!0,get:function(){return r.Library}}),Object.defineProperty(t,"Example",{enumerable:!0,get:function(){return r.Example}}),Object.defineProperty(t,"Detail",{enumerable:!0,get:function(){return r.Detail}}),Object.defineProperty(t,"Head",{enumerable:!0,get:function(){return r.Head}});var i=n(426);Object.defineProperty(t,"LiveEditor",{enumerable:!0,get:function(){return E(i).default}});var a=n(99);Object.defineProperty(t,"Frame",{enumerable:!0,get:function(){return E(a).default}});var o=n(98);Object.defineProperty(t,"Catch",{enumerable:!0,get:function(){return E(o).default}});var s=n(357);Object.defineProperty(t,"XRay",{enumerable:!0,get:function(){return E(s).default}});var u=n(355);Object.defineProperty(t,"PropsForm",{enumerable:!0,get:function(){return E(u).default}});var l=n(354);Object.defineProperty(t,"Responsive",{enumerable:!0,get:function(){return E(l).default}});var c=n(353);Object.defineProperty(t,"Cartesian",{enumerable:!0,get:function(){return E(c).default}});var f=n(352);Object.defineProperty(t,"Matrix",{enumerable:!0,get:function(){return E(f).default}});var h=n(351);Object.defineProperty(t,"Markdown",{enumerable:!0,get:function(){return E(h).default}});var p=n(246);Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return E(p).default}});var d=n(245);Object.defineProperty(t,"Debug",{enumerable:!0,get:function(){return d.Debug}}),Object.defineProperty(t,"withDebug",{enumerable:!0,get:function(){return d.withDebug}});var m=n(243);Object.defineProperty(t,"TypeScale",{enumerable:!0,get:function(){return E(m).default}});var v=n(242);Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return E(v).default}});var g=n(229);Object.defineProperty(t,"Style",{enumerable:!0,get:function(){return E(g).default}});var y=n(228);Object.defineProperty(t,"Font",{enumerable:!0,get:function(){return E(y).default}});var b=n(24);Object.defineProperty(t,"UI",{enumerable:!0,get:function(){return E(b).default}});var x=n(225);Object.defineProperty(t,"State",{enumerable:!0,get:function(){return E(x).default}});var w=n(224);Object.defineProperty(t,"Colorable",{enumerable:!0,get:function(){return E(w).default}});var _=n(216);function E(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Fetch",{enumerable:!0,get:function(){return E(_).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s(n(0));var r=s(n(3)),i=s(n(107)),a=n(176),o=s(a);function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.classifier)({color:function(e){return"text-"+e},fontSize:(0,a.valueMapper)({0:"6",1:"5",2:"4",3:"3",4:"2",5:"1",6:"0"},function(e){return"f"+e},!0),fontWeight:function(e){return"text-"+e},lineHeight:function(e){return"lh-"+e},mono:"text-mono",nowrap:"no-wrap"}),l=(0,i.default)("span",function(e){return u((0,o.default)(e))},!0);l.propTypes={color:r.default.string,fontSize:r.default.oneOfType([r.default.number,r.default.string]),fontWeight:r.default.oneOf(["normal","bold"]),lineHeight:r.default.oneOf(["normal","condensed","condensed-ultra"]),mono:r.default.bool,tag:r.default.string},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={bodytext:"#24292e",black:"#1b1f23",white:"#fff",gray:["#fafbfc","#f6f8fa","#e1e4e8","#d1d5da","#959da5","#6a737d","#586069","#444d56","#2f363d","#24292e"],blue:["#f1f8ff","#dbedff","#c8e1ff","#79b8ff","#2188ff","#0366d6","#005cc5","#044289","#032f62","#05264c"],green:["#f0fff4","#dcffe4","#bef5cb","#85e89d","#34d058","#28a745","#22863a","#176f2c","#165c26","#144620"],yellow:["#fffdef","#fffbdd","#fff5b1","#ffea7f","#ffdf5d","#ffd33d","#f9c513","#dbab09","#b08800","#735c0f"],orange:["#fff8f2","#ffebda","#ffd1ac","#ffab70","#fb8532","#f66a0a","#e36209","#d15704","#c24e00","#a04100"],red:["#ffeef0","#ffdce0","#fdaeb7","#f97583","#ea4a5a","#d73a49","#cb2431","#b31d28","#9e1c23","#86181d"],purple:["#f5f0ff","#e6dcfd","#d1bcf9","#b392f0","#8a63d2","#6f42c1","#5a32a3","#4c2889","#3a1d6e","#29134e"],blackfade15:"rgba(27, 31 ,35, 0.15)",blackfade20:"rgba(27, 31 ,35, 0.20)",whitefade15:"rgba(255, 255 ,255, 0.15)"},i=r.blue,a=r.gray,o=r.green,s=r.orange,u=r.purple,l=r.red,c=r.yellow;r.border={"black-fade":r.blackfade15,blue:i[5],"blue-light":i[2],green:o[4],"green-light":o[3],red:l[5],"red-light":l[3],purple:u[5],yellow:c[3],gray:a[2],"gray-light":a[2],"gray-dark":a[3],"gray-darker":a[7]},r.bg={"blue-light":i[0],blue:i[5],"gray-dark":a[9],"gray-light":a[0],gray:a[1],green:o[5],"green-light":o[1],orange:s[7],purple:u[5],"purple-light":u[0],red:l[5],"red-light":l[1],white:r.white,yellow:c[5],"yellow-light":c[2]};var f={breakpoints:["544px","768px","1012px","1280px"],maxWidths:{small:"544px",medium:"768px",large:"1012px",xlarge:"1280px"},fonts:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],lineHeight:1.5,colors:r,radii:[0,3,6],space:[0,4,8,16,24,32,40,48],fontSizes:[12,14,16,20,24,32,40,48]};t.default=f,t.colors=r},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,l=[],c=!1,f=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):f=-1,l.length&&p())}function p(){if(!c){var e=s(h);c=!0;for(var t=l.length;t;){for(u=l,l=[];++f1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(132),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(80),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(63),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r=n(40);e.exports=new r({include:[n(160)],implicit:[n(435),n(434)],explicit:[n(433),n(429),n(428),n(427)]})},function(e,t,n){"use strict";function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():""),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r.prototype.toString=function(e){var t=this.name+": ";return t+=this.reason||"(unknown reason)",!e&&this.mark&&(t+=" "+this.mark.toString()),t},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});s(n(0));var r=s(n(3)),i=s(n(108)),a=n(174),o=s(a);function s(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.classifier)({color:function(e){return"text-"+e},fontSize:(0,a.valueMapper)({0:"6",1:"5",2:"4",3:"3",4:"2",5:"1",6:"0"},function(e){return"f"+e},!0),fontWeight:function(e){return"text-"+e},lineHeight:function(e){return"lh-"+e},mono:"text-mono",nowrap:"no-wrap"}),l=(0,i.default)("span",function(e){return u((0,o.default)(e))},!0);l.propTypes={color:r.default.string,fontSize:r.default.oneOfType([r.default.number,r.default.string]),fontWeight:r.default.oneOf(["normal","bold"]),lineHeight:r.default.oneOf(["normal","condensed","condensed-ultra"]),mono:r.default.bool,tag:r.default.string},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkExternalOcticon=t.LightBulbOcticon=t.PlusSmallOcticon=t.GrabberOcticon=t.KeyOcticon=t.ZapOcticon=t.XOcticon=t.WatchOcticon=t.VersionsOcticon=t.VerifiedOcticon=t.UnverifiedOcticon=t.ScreenNormalOcticon=t.ScreenFullOcticon=t.NoteOcticon=t.ReportOcticon=t.KebabVerticalOcticon=t.KebabHorizontalOcticon=t.ProjectOcticon=t.UnmuteOcticon=t.UnfoldOcticon=t.TriangleUpOcticon=t.TriangleRightOcticon=t.TriangleLeftOcticon=t.TriangleDownOcticon=t.TrashcanOcticon=t.ToolsOcticon=t.ThumbsupOcticon=t.ThumbsdownOcticon=t.ThreeBarsOcticon=t.TextSizeOcticon=t.TerminalOcticon=t.TelescopeOcticon=t.TasklistOcticon=t.TagOcticon=t.SyncOcticon=t.StopOcticon=t.StarOcticon=t.SquirrelOcticon=t.SmileyOcticon=t.SignOutOcticon=t.SignInOcticon=t.ShieldOcticon=t.SettingsOcticon=t.ServerOcticon=t.SearchOcticon=t.RubyOcticon=t.RssOcticon=t.RocketOcticon=t.RepoOcticon=t.RepoPushOcticon=t.RepoPullOcticon=t.RepoForkedOcticon=t.RepoForcePushOcticon=t.RepoCloneOcticon=t.RadioTowerOcticon=t.QuoteOcticon=t.QuestionOcticon=t.PulseOcticon=t.PrimitiveSquareOcticon=t.PrimitiveDotOcticon=t.PlusOcticon=t.PlugOcticon=t.PinOcticon=t.PersonOcticon=t.PencilOcticon=t.PaintcanOcticon=t.PackageOcticon=t.OrganizationOcticon=t.OctofaceOcticon=t.NoNewlineOcticon=t.MuteOcticon=t.MortarBoardOcticon=t.MirrorOcticon=t.MilestoneOcticon=t.MentionOcticon=t.MegaphoneOcticon=void 0,t.MarkdownOcticon=t.MarkGithubOcticon=t.MailOcticon=t.ReplyOcticon=t.MailReadOcticon=t.LogoGithubOcticon=t.LogoGistOcticon=t.LockOcticon=t.LocationOcticon=t.ListUnorderedOcticon=t.ListOrderedOcticon=t.LinkOcticon=t.LawOcticon=t.KeyboardOcticon=t.JerseyOcticon=t.ItalicOcticon=t.IssueReopenedOcticon=t.IssueOpenedOcticon=t.IssueClosedOcticon=t.InfoOcticon=t.InboxOcticon=t.HubotOcticon=t.HorizontalRuleOcticon=t.HomeOcticon=t.HistoryOcticon=t.HeartOcticon=t.GraphOcticon=t.GlobeOcticon=t.GitPullRequestOcticon=t.GitMergeOcticon=t.GitCompareOcticon=t.GitCommitOcticon=t.GitBranchOcticon=t.GistOcticon=t.GistSecretOcticon=t.GiftOcticon=t.GearOcticon=t.FoldOcticon=t.FlameOcticon=t.FileZipOcticon=t.FileOcticon=t.FileSymlinkFileOcticon=t.FileSymlinkDirectoryOcticon=t.FileSubmoduleOcticon=t.FilePdfOcticon=t.FileMediaOcticon=t.FileDirectoryOcticon=t.FileCodeOcticon=t.FileBinaryOcticon=t.EyeOcticon=t.EllipsisOcticon=t.DiffOcticon=t.DiffRenamedOcticon=t.DiffRemovedOcticon=t.DiffModifiedOcticon=t.DiffIgnoredOcticon=t.DiffAddedOcticon=t.DeviceMobileOcticon=t.DeviceDesktopOcticon=t.DeviceCameraOcticon=t.DeviceCameraVideoOcticon=t.DesktopDownloadOcticon=t.DatabaseOcticon=t.DashboardOcticon=t.DashOcticon=t.CreditCardOcticon=t.CommentOcticon=t.CommentDiscussionOcticon=t.CodeOcticon=t.CloudUploadOcticon=t.CloudDownloadOcticon=t.ClockOcticon=t.ClippyOcticon=t.CircuitBoardOcticon=t.CircleSlashOcticon=t.ChevronUpOcticon=t.ChevronRightOcticon=t.ChevronLeftOcticon=t.ChevronDownOcticon=t.ChecklistOcticon=t.CheckOcticon=t.CalendarOcticon=t.BugOcticon=t.BrowserOcticon=t.BroadcastOcticon=t.BriefcaseOcticon=t.BookmarkOcticon=t.BookOcticon=t.BoldOcticon=t.BellOcticon=t.BeakerOcticon=t.ArrowSmallUpOcticon=t.ArrowSmallRightOcticon=t.ArrowSmallLeftOcticon=t.ArrowSmallDownOcticon=t.ArrowUpOcticon=t.ArrowRightOcticon=t.ArrowLeftOcticon=t.ArrowDownOcticon=t.AlertOcticon=void 0;var r,i=function(){function e(e,t){for(var n=0;n1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(150),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(38);e.exports=r.DEFAULT=new r({include:[n(50)],explicit:[n(399),n(398),n(397)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(166),i=n(95);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkExternalOcticon=t.LightBulbOcticon=t.PlusSmallOcticon=t.GrabberOcticon=t.KeyOcticon=t.ZapOcticon=t.XOcticon=t.WatchOcticon=t.VersionsOcticon=t.VerifiedOcticon=t.UnverifiedOcticon=t.ScreenNormalOcticon=t.ScreenFullOcticon=t.NoteOcticon=t.ReportOcticon=t.KebabVerticalOcticon=t.KebabHorizontalOcticon=t.ProjectOcticon=t.UnmuteOcticon=t.UnfoldOcticon=t.TriangleUpOcticon=t.TriangleRightOcticon=t.TriangleLeftOcticon=t.TriangleDownOcticon=t.TrashcanOcticon=t.ToolsOcticon=t.ThumbsupOcticon=t.ThumbsdownOcticon=t.ThreeBarsOcticon=t.TextSizeOcticon=t.TerminalOcticon=t.TelescopeOcticon=t.TasklistOcticon=t.TagOcticon=t.SyncOcticon=t.StopOcticon=t.StarOcticon=t.SquirrelOcticon=t.SmileyOcticon=t.SignOutOcticon=t.SignInOcticon=t.ShieldOcticon=t.SettingsOcticon=t.ServerOcticon=t.SearchOcticon=t.RubyOcticon=t.RssOcticon=t.RocketOcticon=t.RepoOcticon=t.RepoPushOcticon=t.RepoPullOcticon=t.RepoForkedOcticon=t.RepoForcePushOcticon=t.RepoCloneOcticon=t.RadioTowerOcticon=t.QuoteOcticon=t.QuestionOcticon=t.PulseOcticon=t.PrimitiveSquareOcticon=t.PrimitiveDotOcticon=t.PlusOcticon=t.PlugOcticon=t.PinOcticon=t.PersonOcticon=t.PencilOcticon=t.PaintcanOcticon=t.PackageOcticon=t.OrganizationOcticon=t.OctofaceOcticon=t.NoNewlineOcticon=t.MuteOcticon=t.MortarBoardOcticon=t.MirrorOcticon=t.MilestoneOcticon=t.MentionOcticon=t.MegaphoneOcticon=void 0,t.MarkdownOcticon=t.MarkGithubOcticon=t.MailOcticon=t.ReplyOcticon=t.MailReadOcticon=t.LogoGithubOcticon=t.LogoGistOcticon=t.LockOcticon=t.LocationOcticon=t.ListUnorderedOcticon=t.ListOrderedOcticon=t.LinkOcticon=t.LawOcticon=t.KeyboardOcticon=t.JerseyOcticon=t.ItalicOcticon=t.IssueReopenedOcticon=t.IssueOpenedOcticon=t.IssueClosedOcticon=t.InfoOcticon=t.InboxOcticon=t.HubotOcticon=t.HorizontalRuleOcticon=t.HomeOcticon=t.HistoryOcticon=t.HeartOcticon=t.GraphOcticon=t.GlobeOcticon=t.GitPullRequestOcticon=t.GitMergeOcticon=t.GitCompareOcticon=t.GitCommitOcticon=t.GitBranchOcticon=t.GistOcticon=t.GistSecretOcticon=t.GiftOcticon=t.GearOcticon=t.FoldOcticon=t.FlameOcticon=t.FileZipOcticon=t.FileOcticon=t.FileSymlinkFileOcticon=t.FileSymlinkDirectoryOcticon=t.FileSubmoduleOcticon=t.FilePdfOcticon=t.FileMediaOcticon=t.FileDirectoryOcticon=t.FileCodeOcticon=t.FileBinaryOcticon=t.EyeOcticon=t.EllipsisOcticon=t.DiffOcticon=t.DiffRenamedOcticon=t.DiffRemovedOcticon=t.DiffModifiedOcticon=t.DiffIgnoredOcticon=t.DiffAddedOcticon=t.DeviceMobileOcticon=t.DeviceDesktopOcticon=t.DeviceCameraOcticon=t.DeviceCameraVideoOcticon=t.DesktopDownloadOcticon=t.DatabaseOcticon=t.DashboardOcticon=t.DashOcticon=t.CreditCardOcticon=t.CommentOcticon=t.CommentDiscussionOcticon=t.CodeOcticon=t.CloudUploadOcticon=t.CloudDownloadOcticon=t.ClockOcticon=t.ClippyOcticon=t.CircuitBoardOcticon=t.CircleSlashOcticon=t.ChevronUpOcticon=t.ChevronRightOcticon=t.ChevronLeftOcticon=t.ChevronDownOcticon=t.ChecklistOcticon=t.CheckOcticon=t.CalendarOcticon=t.BugOcticon=t.BrowserOcticon=t.BroadcastOcticon=t.BriefcaseOcticon=t.BookmarkOcticon=t.BookOcticon=t.BoldOcticon=t.BellOcticon=t.BeakerOcticon=t.ArrowSmallUpOcticon=t.ArrowSmallRightOcticon=t.ArrowSmallLeftOcticon=t.ArrowSmallDownOcticon=t.ArrowUpOcticon=t.ArrowRightOcticon=t.ArrowLeftOcticon=t.ArrowDownOcticon=t.AlertOcticon=void 0;var r,i=function(){function e(e,t){for(var n=0;n=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(145),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(40);e.exports=r.DEFAULT=new r({include:[n(52)],explicit:[n(426),n(425),n(424)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(161),i=n(94);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(664)),i=a(n(172));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-j+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(j-1,z)),R=B):(s=e.slice(j-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(73)),i=l(n(104)),a=l(n(7)),o=l(n(110)),s=l(n(40)),u=n(210);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(55))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(90)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(394),i=n(94);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(96).Buffer)},function(e,t,n){"use strict";(function(e){ +*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(74)),i=l(n(105)),a=l(n(8)),o=l(n(111)),s=l(n(43)),u=n(208);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(57))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(89)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(421),i=n(93);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(95).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(405),i=n(404),a=n(403);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function N(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):N(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):N(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(68))},function(e,t,n){"use strict";var r=n(38);e.exports=new r({explicit:[n(415),n(414),n(413)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(23)),i=l(n(22)),a=l(n(21)),o=l(n(20)),s=l(n(19)),u=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.state={},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentDidCatch",value:function(e){this.setState({err:e})}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState({err:null})}},{key:"render",value:function(){var e=this.state.err;return e?u.default.createElement("pre",null,e.toString()):this.props.children}}]),t}(u.default.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(23)),i=h(n(22)),a=h(n(21)),o=h(n(20)),s=h(n(19)),u=h(n(0)),l=h(n(32)),c=h(n(178)),f=n(431);h(n(26));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.doc=null,e.win=null,e.div=null,e.getSrc=function(){var t=e.props,n=t.zoom,r=void 0===n?1:n,i=t.css,a=void 0===i?"":i,o=t.head,s="";return o&&(s=(0,f.renderToStaticMarkup)(o)),""+s+"\n
"},e.onLoad=function(t){e.doc=e.root.contentDocument,e.win=e.root.contentWindow,e.update(e.props)},e.update=function(t){var n=t.render,r=t.children;if(e.doc){var i=e.doc.getElementById("app");"function"==typeof n?c.default.render(n({document:e.doc,window:e.win}),i):c.default.render(r,i)}},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.update(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,i=t.zoom,a=t.children;return u.default.createElement("iframe",{ref:function(t){return e.root=t},style:{width:n,height:r,zoom:i,pointerEvents:"none",display:"block",margin:0,overflow:"scroll",backgroundColor:"#fff",opacity:a?1:.25,border:0},srcDoc:this.getSrc(),scrolling:"yes",onLoad:this.onLoad})}}]),t}(u.default.Component);p.propTypes={head:l.default.node,zoom:l.default.number,width:l.default.string,height:l.default.string,css:l.default.string},p.defaultProps={zoom:1,width:"100%",height:"100%",css:"body{font-family:system-ui,sans-serif;line-height:1.5}"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(25),i=n(704),a=n(117),o=n(119)("IE_PROTO"),s=function(){},u=function(){var e,t=n(123)("iframe"),r=a.length;for(t.style.display="none",n(193).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file + }
\ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/ComponentPage/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/DemoPage/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/ExampleHeading/index.html b/docs/ExampleHeading/index.html index a03e3fe4eb0..267a951d5a3 100644 --- a/docs/ExampleHeading/index.html +++ b/docs/ExampleHeading/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index a03e3fe4eb0..267a951d5a3 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/MergeActions/index.html b/docs/MergeActions/index.html deleted file mode 100644 index 634e183a361..00000000000 --- a/docs/MergeActions/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeBox/index.html b/docs/MergeBox/index.html deleted file mode 100644 index 56c53a8c17d..00000000000 --- a/docs/MergeBox/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeButton/index.html b/docs/MergeButton/index.html deleted file mode 100644 index dcbbfc4f9d3..00000000000 --- a/docs/MergeButton/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

\ No newline at end of file diff --git a/docs/MergeDetail/index.html b/docs/MergeDetail/index.html deleted file mode 100644 index d1075c54b88..00000000000 --- a/docs/MergeDetail/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

\ No newline at end of file diff --git a/docs/Meta/index.html b/docs/Meta/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Meta/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Navigation/index.html b/docs/Navigation/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Navigation/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Page/index.html b/docs/Page/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Page/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/Sandbox/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/SandboxPage/index.html b/docs/SandboxPage/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/SandboxPage/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html index a03e3fe4eb0..267a951d5a3 100644 --- a/docs/SideNav/index.html +++ b/docs/SideNav/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index a03e3fe4eb0..267a951d5a3 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 50c7e7fde2c..a5d98857187 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=735)}([function(e,t,n){"use strict";e.exports=n(689)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++lM.length&&M.push(e)}function j(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+N(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(690)})},function(e,t,n){n(691),e.exports=n(7).Object.assign},function(e,t,n){var r=n(16);r(r.S,"Object",{create:n(122)})},function(e,t,n){n(693);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(694),__esModule:!0}},function(e,t,n){var r=n(31),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(50)(Function.call,n(177).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(16);r(r.S,"Object",{setPrototypeOf:n(696).set})},function(e,t,n){n(697),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(698),__esModule:!0}},function(e,t,n){n(113)("observable")},function(e,t,n){n(113)("asyncIterator")},function(e,t,n){var r=n(36),i=n(178).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(59);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(47),i=n(112),a=n(57);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(77)("meta"),i=n(31),a=n(37),o=n(29).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(49)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(15),i=n(37),a=n(30),o=n(16),s=n(194),u=n(705).KEY,l=n(49),c=n(119),f=n(76),h=n(77),p=n(13),d=n(114),m=n(113),v=n(704),g=n(703),y=n(26),b=n(31),x=n(36),w=n(123),_=n(60),E=n(122),k=n(702),S=n(177),C=n(29),A=n(47),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,j=P&&P.stringify,N=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,N)||D(e,N,_(1,{})),e[N][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(178).f=k.f=$,n(57).f=K,n(112).f=Z,a&&!n(79)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,j.apply(P,r)}}),T.prototype[F]||n(38)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(706),n(197),n(701),n(700),e.exports=n(7).Symbol},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(61),n(75),e.exports=n(114).f("iterator")},function(e,t,n){e.exports={default:n(709),__esModule:!0}},function(e,t,n){var r=n(16);r(r.S+r.F*!n(30),"Object",{defineProperty:n(29).f})},function(e,t,n){n(711);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(58),i=n(190);n(180)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(713),e.exports=n(7).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(715),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(16),i=n(115),a=n(185);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(16),i=n(7),a=n(15),o=n(187),s=n(184);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(29),o=n(30),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(38);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(15),i=n(186).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(59)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(50),i=n(189),a=n(188),o=n(26),s=n(121),u=n(116),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(79),u=n(15),l=n(50),c=n(117),f=n(16),h=n(31),p=n(78),d=n(724),m=n(723),v=n(187),g=n(186).set,y=n(721)(),b=n(115),x=n(185),w=n(184),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&j(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(N,r,1))}catch(e){N.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(720)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(N,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(76)(k,"Promise"),n(719)("Promise"),o=n(7).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(183)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(727),i=n(726),a=n(48),o=n(36);e.exports=n(196)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(126),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(36),i=n(121),a=n(729);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(29),i=n(26),a=n(47);e.exports=n(30)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(122),i=n(60),a=n(76),o={};n(38)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(126),i=n(125);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(197),n(61),n(75),n(725),n(718),n(717),e.exports=n(7).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(8)),i=g(n(198)),a=g(n(182)),o=g(n(181)),s=g(n(24)),u=g(n(23)),l=g(n(22)),c=g(n(21)),f=g(n(20)),h=g(n(6)),p=g(n(110)),d=g(n(0)),m=n(176),v=n(63);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(676),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:12,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:384,blocks:0,atimeMs:1529606221088.3347,mtimeMs:1529604560563.8,ctimeMs:1529604560563.8,birthtimeMs:1529363602400.1438,atime:"2018-06-21T18:37:01.088Z",mtime:"2018-06-21T18:09:20.564Z",ctime:"2018-06-21T18:09:20.564Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/"},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),j=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function j(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+N(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(690)})},function(e,t,n){n(691),e.exports=n(7).Object.assign},function(e,t,n){var r=n(16);r(r.S,"Object",{create:n(122)})},function(e,t,n){n(693);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(694),__esModule:!0}},function(e,t,n){var r=n(31),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(50)(Function.call,n(177).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(16);r(r.S,"Object",{setPrototypeOf:n(696).set})},function(e,t,n){n(697),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(698),__esModule:!0}},function(e,t,n){n(113)("observable")},function(e,t,n){n(113)("asyncIterator")},function(e,t,n){var r=n(36),i=n(178).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(59);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(47),i=n(112),a=n(57);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(77)("meta"),i=n(31),a=n(37),o=n(29).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(49)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(15),i=n(37),a=n(30),o=n(16),s=n(194),u=n(705).KEY,l=n(49),c=n(119),f=n(76),h=n(77),p=n(13),d=n(114),m=n(113),v=n(704),g=n(703),y=n(26),b=n(31),x=n(36),w=n(123),_=n(60),E=n(122),k=n(702),S=n(177),C=n(29),A=n(47),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,j=P&&P.stringify,N=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,N)||D(e,N,_(1,{})),e[N][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(178).f=k.f=$,n(57).f=K,n(112).f=Z,a&&!n(79)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,j.apply(P,r)}}),T.prototype[F]||n(38)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(706),n(197),n(701),n(700),e.exports=n(7).Symbol},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(61),n(75),e.exports=n(114).f("iterator")},function(e,t,n){e.exports={default:n(709),__esModule:!0}},function(e,t,n){var r=n(16);r(r.S+r.F*!n(30),"Object",{defineProperty:n(29).f})},function(e,t,n){n(711);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(58),i=n(190);n(180)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(713),e.exports=n(7).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(715),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(16),i=n(115),a=n(185);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(16),i=n(7),a=n(15),o=n(187),s=n(184);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(29),o=n(30),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(38);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(15),i=n(186).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(59)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(50),i=n(189),a=n(188),o=n(26),s=n(121),u=n(116),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(79),u=n(15),l=n(50),c=n(117),f=n(16),h=n(31),p=n(78),d=n(724),m=n(723),v=n(187),g=n(186).set,y=n(721)(),b=n(115),x=n(185),w=n(184),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&j(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(N,r,1))}catch(e){N.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(720)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(N,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(76)(k,"Promise"),n(719)("Promise"),o=n(7).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(183)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(727),i=n(726),a=n(48),o=n(36);e.exports=n(196)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(126),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(36),i=n(121),a=n(729);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(29),i=n(26),a=n(47);e.exports=n(30)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(122),i=n(60),a=n(76),o={};n(38)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(126),i=n(125);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(197),n(61),n(75),n(725),n(718),n(717),e.exports=n(7).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(8)),i=g(n(198)),a=g(n(182)),o=g(n(181)),s=g(n(24)),u=g(n(23)),l=g(n(22)),c=g(n(21)),f=g(n(20)),h=g(n(6)),p=g(n(110)),d=g(n(0)),m=n(176),v=n(63);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(676),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:12,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:384,blocks:0,atimeMs:1529611499810.6143,mtimeMs:1529604560563.8,ctimeMs:1529604560563.8,birthtimeMs:1529363602400.1438,atime:"2018-06-21T20:04:59.811Z",mtime:"2018-06-21T18:09:20.564Z",ctime:"2018-06-21T18:09:20.564Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components"},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),j=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index acceddab165..00000000000 --- a/docs/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-reactAvatarBlockBoxBranchNameButtonsCaretCircleOcticonCaretBoxColorsCounterLabelDetailsDropdownDonutChartFlashFont sizesForm elementsHeadingLabelLinkStateLabelMergeStatusMergeBoxMergeButtonTextTooltip
bg='white'
white
gray
black
bg='gray-dark'
white
gray
black
bg='gray'
white
gray
black
bg='gray-light'
white
gray
black
bg='blue'
white
gray
black
bg='blue-light'
white
gray
black
bg='green'
white
gray
black
bg='green-light'
white
gray
black
bg='red'
white
gray
black
bg='red-light'
white
gray
black
bg='yellow'
white
gray
black
bg='yellow-light'
white
gray
black
bg='purple'
white
gray
black
bg='purple-light'
white
gray
black
This is a box.
This is a box with padding.
This is a box with shadow.
This is a box with a medium shadow.
This is a box with a large shadow.
This is a box with an extra-large shadow.
This is a box with a green border.
a_new_feature_branch
location='top'
location='top-left'
location='top-right'
location='right'
location='right-top'
location='right-bottom'
location='bottom'
location='bottom-left'
location='bottom-right'
location='left'
location='left-top'
location='left-bottom'
CaretBox with shadow
gray-light CaretBox with red border
green CaretBox

gray.0

#fafbfc

gray.1

#f6f8fa

gray.2

#e1e4e8

gray.3

#d1d5da

gray.4

#959da5

gray.5

#6a737d

gray.6

#586069

gray.7

#444d56

gray.8

#2f363d

gray.9

#24292e

blue.0

#f1f8ff

blue.1

#dbedff

blue.2

#c8e1ff

blue.3

#79b8ff

blue.4

#2188ff

blue.5

#0366d6

blue.6

#005cc5

blue.7

#044289

blue.8

#032f62

blue.9

#05264c

green.0

#f0fff4

green.1

#dcffe4

green.2

#bef5cb

green.3

#85e89d

green.4

#34d058

green.5

#28a745

green.6

#22863a

green.7

#176f2c

green.8

#165c26

green.9

#144620

purple.0

#f5f0ff

purple.1

#e6dcfd

purple.2

#d1bcf9

purple.3

#b392f0

purple.4

#8a63d2

purple.5

#6f42c1

purple.6

#5a32a3

purple.7

#4c2889

purple.8

#3a1d6e

purple.9

#29134e

yellow.0

#fffdef

yellow.1

#fffbdd

yellow.2

#fff5b1

yellow.3

#ffea7f

yellow.4

#ffdf5d

yellow.5

#ffd33d

yellow.6

#f9c513

yellow.7

#dbab09

yellow.8

#b08800

yellow.9

#735c0f

orange.0

#fff8f2

orange.1

#ffebda

orange.2

#ffd1ac

orange.3

#ffab70

orange.4

#fb8532

orange.5

#f66a0a

orange.6

#e36209

orange.7

#d15704

orange.8

#c24e00

orange.9

#a04100
121313

With static children

Click me

This should show and hide

With children as a function

Show

This should show and hide

With render prop

hi

Dropdown Primary

  • Item 1
  • Item 2
  • Item 3

Dropdown

  • Item 1
  • Item 2
  • Item 3

Dropdown with title

Options
  • Item 1
  • Item 2
  • Item 3

With data prop

With DonutSlice children

With custom fill colors

Flash
Flash yellow
Flash red
Flash green
Flash full
fontSize 5
fontSize 4
fontSize 3
fontSize 2
fontSize 1
fontSize 0

Input

Input Sizes

Block input

Default Heading

Default labelDarker gray labelOrange labelGreen label
Default outline labelGreen outline label
Open
Closed
Merged
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

Text
Text bold
Text green
Text lineHeight 'condensed'
Text fontSize 4
Text padding 4
Text with a tooltip
\ No newline at end of file diff --git a/package.json b/package.json index dabd9ff45c4..32a07cdc33e 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ "license": "MIT", "x0": { "title": "primer-react", - "cssLibrary": "styled-components", - "basename": "/" + "cssLibrary": "styled-components" }, "dependencies": { "@github/octicons-react": "1.2.0-alpha.0a0d8862", From 399a97b199c5b80cf6994ac46b080f78c2cb4d06 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 21 Jun 2018 13:07:12 -0700 Subject: [PATCH 31/38] Revert "try without basename on x0" This reverts commit ee7866ac88b85455f5bb892e1d2623939ee649b7. --- .DS_Store | Bin 8196 -> 0 bytes docs/.DS_Store | Bin 6148 -> 0 bytes docs/CSS/index.html | 2 +- docs/ComponentPage/index.html | 6 ++++++ docs/DemoPage/index.html | 6 ++++++ docs/ExampleHeading/index.html | 2 +- docs/GitHubAvatar/index.html | 2 +- docs/MergeActions/index.html | 1 + docs/MergeBox/index.html | 1 + docs/MergeButton/index.html | 1 + docs/MergeDetail/index.html | 1 + docs/Meta/index.html | 1 + docs/Navigation/index.html | 1 + docs/Page/index.html | 1 + docs/Sandbox/index.html | 6 ++++++ docs/SandboxPage/index.html | 1 + docs/SideNav/index.html | 2 +- docs/Swatch/index.html | 2 +- docs/bundle.js | 4 ++-- docs/docs/index.html | 2 +- docs/index.html | 6 ++++++ package.json | 3 ++- 22 files changed, 42 insertions(+), 9 deletions(-) delete mode 100644 .DS_Store delete mode 100644 docs/.DS_Store create mode 100644 docs/ComponentPage/index.html create mode 100644 docs/DemoPage/index.html create mode 100644 docs/MergeActions/index.html create mode 100644 docs/MergeBox/index.html create mode 100644 docs/MergeButton/index.html create mode 100644 docs/MergeDetail/index.html create mode 100644 docs/Meta/index.html create mode 100644 docs/Navigation/index.html create mode 100644 docs/Page/index.html create mode 100644 docs/Sandbox/index.html create mode 100644 docs/SandboxPage/index.html create mode 100644 docs/index.html diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 02ab0882aa539c991f4cb37fd43473461e73a4c7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHMT}&KR6h3F6WoBB+1t|;*)>Xt(3hhFnKyB;t*Ot@@y8N|8m))JQOq`veJF`mx zY1Y)orpEuo#>5z-iPRSpeK02aW~06sNvuBjV$=s;eD%TTxpQX;E#<)%HDPXY?|0{( zbN1f*%{Oy%W&r^Eb6Puq3IGySj%)`tcPZS?>xL5YM@k8i;vqHf%%w~_Mb}?$@D2t7 z1_A~G1_A~G1_B2D4-C+m&5N|jxi73i8!!+suq7Gb?}rFgjxiq#0=-uUHC_rp$Ws8X zP@nM*VZ_Inj|G8bp@JfmP=unNVxS18@rdsi^RXaMgai7?2l_LkpP`^PJNS~R2v`3d)BTMbk-uBkW;hx^*Wm&3iYCkqSlUZ0?dUpBp8)8%FzZjt6 zj!j-)zeCf>4~Q=mp=@!7w~9NIl^yDd>XS->Rpn{nBXh1{Th4@@bqEuz!lBI$r)_IA zt8@Eg+BS0;%So`xbka=c%%rRLnP%Kr)SW3;zvS}XImgbr1D@lQL9u)+!C21GpU^45 z$m@d?<}j33cJ2<}*Vx?F(S5XUwR~3vQ>v8e$-LnhDN`SxH#B$lY|=^VmS$KN&JkCZ zYdme}S-CRQC68IjjK0ctRg~A%s_IlOWn9b|?gDF+ByY67K~<(Tn(2(K@hFXbB*~s7 z(x9s6xn&@$Q>*y_4>qaFm_v(YN#Ai_i=vD@LpO~%vIsqJP*KOtWJ))gCX0Cvbt>v) zUNFW^`-45biaM3HGZ|X4Q;Dtq@Ui2n`V^n}(WK*!%;^@b>ZU(^KdtI4xAkcnUz5}r zYZmvlF%}ganNEy4I6x=UDVPQw=3oJ?!ZmmSuERTU13rXL;S0D4U%}V#4g3Hy#VLXaMcpA^(V>p6SID;unqlOvG;{qxPQA5fjg;trD+^8DO^M;5>J$Hw z62ITcu2=5eOy1)p zGyRgpwZh6)J?}{P0g2?nB=1sb3d=HSSlF7vEt14S!qOH#D3fSeiLiAjof65DZ4=gR zrB@~avr=I_svMU{r)>LbU9DOZ>r)g4{CSf9k>K8j75Ie2_AT6kA4zDxk;wiaft6vU zC$M^Kz&*H^MAm})u?-JnH};ay25^vsb`nSNag5^_PGG_pn~oORcoDPc;xb;w0zQXV z@G4%z7x5($-z)egzAJ>aCbv^Xp$WwI*2^s)&swH!U7)d|Ja2aouC^QlC1S@a&;N%u z|Ng(_cnLNfFtC*vz|z6^U_b46vy*}6+7YTVRC(ck1%X}&HC{SS=%wR?YkwG0KSHiN ZCgx*7AdOJ@*FOXV=fB5$&}?l6{stg~yfy#; diff --git a/docs/.DS_Store b/docs/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html new file mode 100644 index 00000000000..a03e3fe4eb0 --- /dev/null +++ b/docs/ComponentPage/index.html @@ -0,0 +1,6 @@ +primer-react
primer-react\
\ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html new file mode 100644 index 00000000000..a03e3fe4eb0 --- /dev/null +++ b/docs/DemoPage/index.html @@ -0,0 +1,6 @@ +primer-react
primer-react\
\ No newline at end of file diff --git a/docs/ExampleHeading/index.html b/docs/ExampleHeading/index.html index 267a951d5a3..a03e3fe4eb0 100644 --- a/docs/ExampleHeading/index.html +++ b/docs/ExampleHeading/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
\ No newline at end of file + }
\ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html index 267a951d5a3..a03e3fe4eb0 100644 --- a/docs/GitHubAvatar/index.html +++ b/docs/GitHubAvatar/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
\ No newline at end of file + } \ No newline at end of file diff --git a/docs/MergeActions/index.html b/docs/MergeActions/index.html new file mode 100644 index 00000000000..634e183a361 --- /dev/null +++ b/docs/MergeActions/index.html @@ -0,0 +1 @@ +primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeBox/index.html b/docs/MergeBox/index.html new file mode 100644 index 00000000000..56c53a8c17d --- /dev/null +++ b/docs/MergeBox/index.html @@ -0,0 +1 @@ +primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeButton/index.html b/docs/MergeButton/index.html new file mode 100644 index 00000000000..dcbbfc4f9d3 --- /dev/null +++ b/docs/MergeButton/index.html @@ -0,0 +1 @@ +primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

\ No newline at end of file diff --git a/docs/MergeDetail/index.html b/docs/MergeDetail/index.html new file mode 100644 index 00000000000..d1075c54b88 --- /dev/null +++ b/docs/MergeDetail/index.html @@ -0,0 +1 @@ +primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

\ No newline at end of file diff --git a/docs/Meta/index.html b/docs/Meta/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Meta/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Navigation/index.html b/docs/Navigation/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Navigation/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Page/index.html b/docs/Page/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Page/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html new file mode 100644 index 00000000000..a03e3fe4eb0 --- /dev/null +++ b/docs/Sandbox/index.html @@ -0,0 +1,6 @@ +primer-react
primer-react\
\ No newline at end of file diff --git a/docs/SandboxPage/index.html b/docs/SandboxPage/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/SandboxPage/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html index 267a951d5a3..a03e3fe4eb0 100644 --- a/docs/SideNav/index.html +++ b/docs/SideNav/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html index 267a951d5a3..a03e3fe4eb0 100644 --- a/docs/Swatch/index.html +++ b/docs/Swatch/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - } \ No newline at end of file + } \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index a5d98857187..50c7e7fde2c 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=735)}([function(e,t,n){"use strict";e.exports=n(689)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++lM.length&&M.push(e)}function j(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+N(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(690)})},function(e,t,n){n(691),e.exports=n(7).Object.assign},function(e,t,n){var r=n(16);r(r.S,"Object",{create:n(122)})},function(e,t,n){n(693);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(694),__esModule:!0}},function(e,t,n){var r=n(31),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(50)(Function.call,n(177).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(16);r(r.S,"Object",{setPrototypeOf:n(696).set})},function(e,t,n){n(697),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(698),__esModule:!0}},function(e,t,n){n(113)("observable")},function(e,t,n){n(113)("asyncIterator")},function(e,t,n){var r=n(36),i=n(178).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(59);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(47),i=n(112),a=n(57);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(77)("meta"),i=n(31),a=n(37),o=n(29).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(49)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(15),i=n(37),a=n(30),o=n(16),s=n(194),u=n(705).KEY,l=n(49),c=n(119),f=n(76),h=n(77),p=n(13),d=n(114),m=n(113),v=n(704),g=n(703),y=n(26),b=n(31),x=n(36),w=n(123),_=n(60),E=n(122),k=n(702),S=n(177),C=n(29),A=n(47),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,j=P&&P.stringify,N=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,N)||D(e,N,_(1,{})),e[N][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(178).f=k.f=$,n(57).f=K,n(112).f=Z,a&&!n(79)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,j.apply(P,r)}}),T.prototype[F]||n(38)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(706),n(197),n(701),n(700),e.exports=n(7).Symbol},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(61),n(75),e.exports=n(114).f("iterator")},function(e,t,n){e.exports={default:n(709),__esModule:!0}},function(e,t,n){var r=n(16);r(r.S+r.F*!n(30),"Object",{defineProperty:n(29).f})},function(e,t,n){n(711);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(58),i=n(190);n(180)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(713),e.exports=n(7).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(715),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(16),i=n(115),a=n(185);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(16),i=n(7),a=n(15),o=n(187),s=n(184);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(29),o=n(30),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(38);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(15),i=n(186).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(59)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(50),i=n(189),a=n(188),o=n(26),s=n(121),u=n(116),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(79),u=n(15),l=n(50),c=n(117),f=n(16),h=n(31),p=n(78),d=n(724),m=n(723),v=n(187),g=n(186).set,y=n(721)(),b=n(115),x=n(185),w=n(184),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&j(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(N,r,1))}catch(e){N.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(720)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(N,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(76)(k,"Promise"),n(719)("Promise"),o=n(7).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(183)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(727),i=n(726),a=n(48),o=n(36);e.exports=n(196)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(126),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(36),i=n(121),a=n(729);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(29),i=n(26),a=n(47);e.exports=n(30)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(122),i=n(60),a=n(76),o={};n(38)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(126),i=n(125);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(197),n(61),n(75),n(725),n(718),n(717),e.exports=n(7).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(8)),i=g(n(198)),a=g(n(182)),o=g(n(181)),s=g(n(24)),u=g(n(23)),l=g(n(22)),c=g(n(21)),f=g(n(20)),h=g(n(6)),p=g(n(110)),d=g(n(0)),m=n(176),v=n(63);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(676),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:12,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:384,blocks:0,atimeMs:1529611499810.6143,mtimeMs:1529604560563.8,ctimeMs:1529604560563.8,birthtimeMs:1529363602400.1438,atime:"2018-06-21T20:04:59.811Z",mtime:"2018-06-21T18:09:20.564Z",ctime:"2018-06-21T18:09:20.564Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components"},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),j=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function j(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+N(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(690)})},function(e,t,n){n(691),e.exports=n(7).Object.assign},function(e,t,n){var r=n(16);r(r.S,"Object",{create:n(122)})},function(e,t,n){n(693);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(694),__esModule:!0}},function(e,t,n){var r=n(31),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(50)(Function.call,n(177).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(16);r(r.S,"Object",{setPrototypeOf:n(696).set})},function(e,t,n){n(697),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(698),__esModule:!0}},function(e,t,n){n(113)("observable")},function(e,t,n){n(113)("asyncIterator")},function(e,t,n){var r=n(36),i=n(178).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(59);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(47),i=n(112),a=n(57);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(77)("meta"),i=n(31),a=n(37),o=n(29).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(49)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(15),i=n(37),a=n(30),o=n(16),s=n(194),u=n(705).KEY,l=n(49),c=n(119),f=n(76),h=n(77),p=n(13),d=n(114),m=n(113),v=n(704),g=n(703),y=n(26),b=n(31),x=n(36),w=n(123),_=n(60),E=n(122),k=n(702),S=n(177),C=n(29),A=n(47),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,j=P&&P.stringify,N=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,N)||D(e,N,_(1,{})),e[N][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(178).f=k.f=$,n(57).f=K,n(112).f=Z,a&&!n(79)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,j.apply(P,r)}}),T.prototype[F]||n(38)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(706),n(197),n(701),n(700),e.exports=n(7).Symbol},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(61),n(75),e.exports=n(114).f("iterator")},function(e,t,n){e.exports={default:n(709),__esModule:!0}},function(e,t,n){var r=n(16);r(r.S+r.F*!n(30),"Object",{defineProperty:n(29).f})},function(e,t,n){n(711);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(58),i=n(190);n(180)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(713),e.exports=n(7).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(715),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(16),i=n(115),a=n(185);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(16),i=n(7),a=n(15),o=n(187),s=n(184);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(29),o=n(30),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(38);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(15),i=n(186).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(59)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(50),i=n(189),a=n(188),o=n(26),s=n(121),u=n(116),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(79),u=n(15),l=n(50),c=n(117),f=n(16),h=n(31),p=n(78),d=n(724),m=n(723),v=n(187),g=n(186).set,y=n(721)(),b=n(115),x=n(185),w=n(184),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&j(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(N,r,1))}catch(e){N.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(720)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(N,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(76)(k,"Promise"),n(719)("Promise"),o=n(7).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(183)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(727),i=n(726),a=n(48),o=n(36);e.exports=n(196)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(126),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(36),i=n(121),a=n(729);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(29),i=n(26),a=n(47);e.exports=n(30)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(122),i=n(60),a=n(76),o={};n(38)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(126),i=n(125);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(197),n(61),n(75),n(725),n(718),n(717),e.exports=n(7).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(8)),i=g(n(198)),a=g(n(182)),o=g(n(181)),s=g(n(24)),u=g(n(23)),l=g(n(22)),c=g(n(21)),f=g(n(20)),h=g(n(6)),p=g(n(110)),d=g(n(0)),m=n(176),v=n(63);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(676),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:12,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:384,blocks:0,atimeMs:1529606221088.3347,mtimeMs:1529604560563.8,ctimeMs:1529604560563.8,birthtimeMs:1529363602400.1438,atime:"2018-06-21T18:37:01.088Z",mtime:"2018-06-21T18:09:20.564Z",ctime:"2018-06-21T18:09:20.564Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/"},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),j=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l \ No newline at end of file + } \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000000..acceddab165 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,6 @@ +primer-react
primer-reactAvatarBlockBoxBranchNameButtonsCaretCircleOcticonCaretBoxColorsCounterLabelDetailsDropdownDonutChartFlashFont sizesForm elementsHeadingLabelLinkStateLabelMergeStatusMergeBoxMergeButtonTextTooltip
bg='white'
white
gray
black
bg='gray-dark'
white
gray
black
bg='gray'
white
gray
black
bg='gray-light'
white
gray
black
bg='blue'
white
gray
black
bg='blue-light'
white
gray
black
bg='green'
white
gray
black
bg='green-light'
white
gray
black
bg='red'
white
gray
black
bg='red-light'
white
gray
black
bg='yellow'
white
gray
black
bg='yellow-light'
white
gray
black
bg='purple'
white
gray
black
bg='purple-light'
white
gray
black
This is a box.
This is a box with padding.
This is a box with shadow.
This is a box with a medium shadow.
This is a box with a large shadow.
This is a box with an extra-large shadow.
This is a box with a green border.
a_new_feature_branch
location='top'
location='top-left'
location='top-right'
location='right'
location='right-top'
location='right-bottom'
location='bottom'
location='bottom-left'
location='bottom-right'
location='left'
location='left-top'
location='left-bottom'
CaretBox with shadow
gray-light CaretBox with red border
green CaretBox

gray.0

#fafbfc

gray.1

#f6f8fa

gray.2

#e1e4e8

gray.3

#d1d5da

gray.4

#959da5

gray.5

#6a737d

gray.6

#586069

gray.7

#444d56

gray.8

#2f363d

gray.9

#24292e

blue.0

#f1f8ff

blue.1

#dbedff

blue.2

#c8e1ff

blue.3

#79b8ff

blue.4

#2188ff

blue.5

#0366d6

blue.6

#005cc5

blue.7

#044289

blue.8

#032f62

blue.9

#05264c

green.0

#f0fff4

green.1

#dcffe4

green.2

#bef5cb

green.3

#85e89d

green.4

#34d058

green.5

#28a745

green.6

#22863a

green.7

#176f2c

green.8

#165c26

green.9

#144620

purple.0

#f5f0ff

purple.1

#e6dcfd

purple.2

#d1bcf9

purple.3

#b392f0

purple.4

#8a63d2

purple.5

#6f42c1

purple.6

#5a32a3

purple.7

#4c2889

purple.8

#3a1d6e

purple.9

#29134e

yellow.0

#fffdef

yellow.1

#fffbdd

yellow.2

#fff5b1

yellow.3

#ffea7f

yellow.4

#ffdf5d

yellow.5

#ffd33d

yellow.6

#f9c513

yellow.7

#dbab09

yellow.8

#b08800

yellow.9

#735c0f

orange.0

#fff8f2

orange.1

#ffebda

orange.2

#ffd1ac

orange.3

#ffab70

orange.4

#fb8532

orange.5

#f66a0a

orange.6

#e36209

orange.7

#d15704

orange.8

#c24e00

orange.9

#a04100
121313

With static children

Click me

This should show and hide

With children as a function

Show

This should show and hide

With render prop

hi

Dropdown Primary

  • Item 1
  • Item 2
  • Item 3

Dropdown

  • Item 1
  • Item 2
  • Item 3

Dropdown with title

Options
  • Item 1
  • Item 2
  • Item 3

With data prop

With DonutSlice children

With custom fill colors

Flash
Flash yellow
Flash red
Flash green
Flash full
fontSize 5
fontSize 4
fontSize 3
fontSize 2
fontSize 1
fontSize 0

Input

Input Sizes

Block input

Default Heading

Default labelDarker gray labelOrange labelGreen label
Default outline labelGreen outline label
Open
Closed
Merged
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

Text
Text bold
Text green
Text lineHeight 'condensed'
Text fontSize 4
Text padding 4
Text with a tooltip
\ No newline at end of file diff --git a/package.json b/package.json index 32a07cdc33e..dabd9ff45c4 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "license": "MIT", "x0": { "title": "primer-react", - "cssLibrary": "styled-components" + "cssLibrary": "styled-components", + "basename": "/" }, "dependencies": { "@github/octicons-react": "1.2.0-alpha.0a0d8862", From 0220314f57b7de0b0512af23302ec00c872ed4f0 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 21 Jun 2018 13:11:35 -0700 Subject: [PATCH 32/38] delete old build and use new --- docs/.DS_Store | Bin 0 -> 6148 bytes docs/MergeActions/index.html | 1 - docs/MergeBox/index.html | 1 - docs/MergeButton/index.html | 1 - docs/MergeDetail/index.html | 1 - docs/Meta/index.html | 1 - docs/Navigation/index.html | 1 - docs/Page/index.html | 1 - docs/SandboxPage/index.html | 1 - docs/bundle.js | 30 +++++++++++++------------- docs/index.html | 6 ------ examples/{pages => }/ComponentPage.js | 4 ++-- examples/{pages => }/DemoPage.js | 6 +++--- examples/{pages => }/Sandbox.js | 2 +- examples/docs.js | 6 +++--- 15 files changed, 24 insertions(+), 38 deletions(-) create mode 100644 docs/.DS_Store delete mode 100644 docs/MergeActions/index.html delete mode 100644 docs/MergeBox/index.html delete mode 100644 docs/MergeButton/index.html delete mode 100644 docs/MergeDetail/index.html delete mode 100644 docs/Meta/index.html delete mode 100644 docs/Navigation/index.html delete mode 100644 docs/Page/index.html delete mode 100644 docs/SandboxPage/index.html delete mode 100644 docs/index.html rename examples/{pages => }/ComponentPage.js (82%) rename examples/{pages => }/DemoPage.js (87%) rename examples/{pages => }/Sandbox.js (89%) diff --git a/docs/.DS_Store b/docs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeBox/index.html b/docs/MergeBox/index.html deleted file mode 100644 index 56c53a8c17d..00000000000 --- a/docs/MergeBox/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeButton/index.html b/docs/MergeButton/index.html deleted file mode 100644 index dcbbfc4f9d3..00000000000 --- a/docs/MergeButton/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

\ No newline at end of file diff --git a/docs/MergeDetail/index.html b/docs/MergeDetail/index.html deleted file mode 100644 index d1075c54b88..00000000000 --- a/docs/MergeDetail/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

\ No newline at end of file diff --git a/docs/Meta/index.html b/docs/Meta/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Meta/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Navigation/index.html b/docs/Navigation/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Navigation/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Page/index.html b/docs/Page/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Page/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/SandboxPage/index.html b/docs/SandboxPage/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/SandboxPage/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 50c7e7fde2c..22ca64b620d 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=735)}([function(e,t,n){"use strict";e.exports=n(689)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(132),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(80),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(62),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(132),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(80),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(62),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(145),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(40);e.exports=r.DEFAULT=new r({include:[n(51)],explicit:[n(426),n(425),n(424)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(161),i=n(94);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(664)),i=a(n(172));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; + */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(150),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(40);e.exports=r.DEFAULT=new r({include:[n(51)],explicit:[n(424),n(423),n(422)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(166),i=n(96);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(664)),i=a(n(175));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(74)),i=l(n(105)),a=l(n(8)),o=l(n(111)),s=l(n(43)),u=n(208);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(56))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(89)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(421),i=n(93);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(95).Buffer)},function(e,t,n){"use strict";(function(e){ +*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(74)),i=l(n(105)),a=l(n(8)),o=l(n(111)),s=l(n(43)),u=n(211);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(56))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(91)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(419),i=n(95);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(97).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(432),i=n(431),a=n(430);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(70))},function(e,t,n){"use strict";var r=n(40);e.exports=new r({explicit:[n(442),n(441),n(440)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(24)),i=l(n(23)),a=l(n(22)),o=l(n(21)),s=l(n(20)),u=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.state={},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentDidCatch",value:function(e){this.setState({err:e})}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState({err:null})}},{key:"render",value:function(){var e=this.state.err;return e?u.default.createElement("pre",null,e.toString()):this.props.children}}]),t}(u.default.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(24)),i=h(n(23)),a=h(n(22)),o=h(n(21)),s=h(n(20)),u=h(n(0)),l=h(n(34)),c=h(n(176)),f=n(458);h(n(27));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.doc=null,e.win=null,e.div=null,e.getSrc=function(){var t=e.props,n=t.zoom,r=void 0===n?1:n,i=t.css,a=void 0===i?"":i,o=t.head,s="";return o&&(s=(0,f.renderToStaticMarkup)(o)),""+s+"\n
"},e.onLoad=function(t){e.doc=e.root.contentDocument,e.win=e.root.contentWindow,e.update(e.props)},e.update=function(t){var n=t.render,r=t.children;if(e.doc){var i=e.doc.getElementById("app");"function"==typeof n?c.default.render(n({document:e.doc,window:e.win}),i):c.default.render(r,i)}},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.update(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,i=t.zoom,a=t.children;return u.default.createElement("iframe",{ref:function(t){return e.root=t},style:{width:n,height:r,zoom:i,pointerEvents:"none",display:"block",margin:0,overflow:"scroll",backgroundColor:"#fff",opacity:a?1:.25,border:0},srcDoc:this.getSrc(),scrolling:"yes",onLoad:this.onLoad})}}]),t}(u.default.Component);p.propTypes={head:l.default.node,zoom:l.default.number,width:l.default.string,height:l.default.string,css:l.default.string},p.defaultProps={zoom:1,width:"100%",height:"100%",css:"body{font-family:system-ui,sans-serif;line-height:1.5}"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),i=n(731),a=n(118),o=n(120)("IE_PROTO"),s=function(){},u=function(){var e,t=n(124)("iframe"),r=a.length;for(t.style.display="none",n(191).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file diff --git a/examples/pages/ComponentPage.js b/examples/ComponentPage.js similarity index 82% rename from examples/pages/ComponentPage.js rename to examples/ComponentPage.js index 72149e210c2..27feb9d5e4c 100644 --- a/examples/pages/ComponentPage.js +++ b/examples/ComponentPage.js @@ -1,7 +1,7 @@ import React from 'react' import { Library } from '@compositor/kit' -import SideNav from '../SideNav' -import * as examples from '../component-examples' +import SideNav from './SideNav' +import * as examples from './component-examples' const ComponentPage = () => { return ( diff --git a/examples/pages/DemoPage.js b/examples/DemoPage.js similarity index 87% rename from examples/pages/DemoPage.js rename to examples/DemoPage.js index 83169c777f6..21da8588ef0 100644 --- a/examples/pages/DemoPage.js +++ b/examples/DemoPage.js @@ -1,8 +1,8 @@ import React from 'react' import { Library, LiveEditor } from '@compositor/kit' -import SideNav from '../SideNav' -import MergeBox from '../demos/MergeBox' -import MergeButton from '../demos/MergeButton' +import SideNav from './SideNav' +import MergeBox from './demos/MergeBox' +import MergeButton from './demos/MergeButton' const examples = [ { diff --git a/examples/pages/Sandbox.js b/examples/Sandbox.js similarity index 89% rename from examples/pages/Sandbox.js rename to examples/Sandbox.js index 7a8348a749c..52c8306ed8a 100644 --- a/examples/pages/Sandbox.js +++ b/examples/Sandbox.js @@ -1,6 +1,6 @@ import React from 'react' import { LiveEditor } from '@compositor/kit' -import * as components from '../../src' +import * as components from '../src' const code = ` diff --git a/examples/docs.js b/examples/docs.js index d51dcda9d95..71375ec74c5 100644 --- a/examples/docs.js +++ b/examples/docs.js @@ -1,8 +1,8 @@ import React from 'react' import { Route, NavLink } from 'react-router-dom' -import DemoPage from './pages/DemoPage' -import ComponentPage from './pages/ComponentPage' -import Sandbox from './pages/Sandbox' +import DemoPage from './DemoPage' +import ComponentPage from './ComponentPage' +import Sandbox from './Sandbox' const Index = props => (
From 63520cd236271061f58a2192f009f4f7f74d1e4f Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 21 Jun 2018 13:13:34 -0700 Subject: [PATCH 33/38] Revert "delete old build and use new" This reverts commit 0220314f57b7de0b0512af23302ec00c872ed4f0. --- docs/.DS_Store | Bin 6148 -> 0 bytes docs/MergeActions/index.html | 1 + docs/MergeBox/index.html | 1 + docs/MergeButton/index.html | 1 + docs/MergeDetail/index.html | 1 + docs/Meta/index.html | 1 + docs/Navigation/index.html | 1 + docs/Page/index.html | 1 + docs/SandboxPage/index.html | 1 + docs/bundle.js | 30 +++++++++++++------------- docs/index.html | 6 ++++++ examples/docs.js | 6 +++--- examples/{ => pages}/ComponentPage.js | 4 ++-- examples/{ => pages}/DemoPage.js | 6 +++--- examples/{ => pages}/Sandbox.js | 2 +- 15 files changed, 38 insertions(+), 24 deletions(-) delete mode 100644 docs/.DS_Store create mode 100644 docs/MergeActions/index.html create mode 100644 docs/MergeBox/index.html create mode 100644 docs/MergeButton/index.html create mode 100644 docs/MergeDetail/index.html create mode 100644 docs/Meta/index.html create mode 100644 docs/Navigation/index.html create mode 100644 docs/Page/index.html create mode 100644 docs/SandboxPage/index.html create mode 100644 docs/index.html rename examples/{ => pages}/ComponentPage.js (82%) rename examples/{ => pages}/DemoPage.js (87%) rename examples/{ => pages}/Sandbox.js (89%) diff --git a/docs/.DS_Store b/docs/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeBox/index.html b/docs/MergeBox/index.html new file mode 100644 index 00000000000..56c53a8c17d --- /dev/null +++ b/docs/MergeBox/index.html @@ -0,0 +1 @@ +primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeButton/index.html b/docs/MergeButton/index.html new file mode 100644 index 00000000000..dcbbfc4f9d3 --- /dev/null +++ b/docs/MergeButton/index.html @@ -0,0 +1 @@ +primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

\ No newline at end of file diff --git a/docs/MergeDetail/index.html b/docs/MergeDetail/index.html new file mode 100644 index 00000000000..d1075c54b88 --- /dev/null +++ b/docs/MergeDetail/index.html @@ -0,0 +1 @@ +primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

\ No newline at end of file diff --git a/docs/Meta/index.html b/docs/Meta/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Meta/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Navigation/index.html b/docs/Navigation/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Navigation/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/Page/index.html b/docs/Page/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/Page/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/SandboxPage/index.html b/docs/SandboxPage/index.html new file mode 100644 index 00000000000..722efadc409 --- /dev/null +++ b/docs/SandboxPage/index.html @@ -0,0 +1 @@ +primer-react \ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 22ca64b620d..50c7e7fde2c 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=735)}([function(e,t,n){"use strict";e.exports=n(689)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(132),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(80),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(62),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(132),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(80),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(62),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(150),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(40);e.exports=r.DEFAULT=new r({include:[n(51)],explicit:[n(424),n(423),n(422)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(166),i=n(96);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(664)),i=a(n(175));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; + */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(145),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(40);e.exports=r.DEFAULT=new r({include:[n(51)],explicit:[n(426),n(425),n(424)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(161),i=n(94);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(664)),i=a(n(172));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(74)),i=l(n(105)),a=l(n(8)),o=l(n(111)),s=l(n(43)),u=n(211);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(56))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(91)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(419),i=n(95);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(97).Buffer)},function(e,t,n){"use strict";(function(e){ +*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(74)),i=l(n(105)),a=l(n(8)),o=l(n(111)),s=l(n(43)),u=n(208);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(56))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(89)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(421),i=n(93);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(95).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(430),i=n(429),a=n(428);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(70))},function(e,t,n){"use strict";var r=n(40);e.exports=new r({explicit:[n(440),n(439),n(438)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(24)),i=l(n(23)),a=l(n(22)),o=l(n(21)),s=l(n(20)),u=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.state={},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentDidCatch",value:function(e){this.setState({err:e})}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState({err:null})}},{key:"render",value:function(){var e=this.state.err;return e?u.default.createElement("pre",null,e.toString()):this.props.children}}]),t}(u.default.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(24)),i=h(n(23)),a=h(n(22)),o=h(n(21)),s=h(n(20)),u=h(n(0)),l=h(n(34)),c=h(n(179)),f=n(456);h(n(28));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.doc=null,e.win=null,e.div=null,e.getSrc=function(){var t=e.props,n=t.zoom,r=void 0===n?1:n,i=t.css,a=void 0===i?"":i,o=t.head,s="";return o&&(s=(0,f.renderToStaticMarkup)(o)),""+s+"\n
"},e.onLoad=function(t){e.doc=e.root.contentDocument,e.win=e.root.contentWindow,e.update(e.props)},e.update=function(t){var n=t.render,r=t.children;if(e.doc){var i=e.doc.getElementById("app");"function"==typeof n?c.default.render(n({document:e.doc,window:e.win}),i):c.default.render(r,i)}},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.update(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,i=t.zoom,a=t.children;return u.default.createElement("iframe",{ref:function(t){return e.root=t},style:{width:n,height:r,zoom:i,pointerEvents:"none",display:"block",margin:0,overflow:"scroll",backgroundColor:"#fff",opacity:a?1:.25,border:0},srcDoc:this.getSrc(),scrolling:"yes",onLoad:this.onLoad})}}]),t}(u.default.Component);p.propTypes={head:l.default.node,zoom:l.default.number,width:l.default.string,height:l.default.string,css:l.default.string},p.defaultProps={zoom:1,width:"100%",height:"100%",css:"body{font-family:system-ui,sans-serif;line-height:1.5}"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),i=n(731),a=n(118),o=n(120)("IE_PROTO"),s=function(){},u=function(){var e,t=n(124)("iframe"),r=a.length;for(t.style.display="none",n(194).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file diff --git a/examples/docs.js b/examples/docs.js index 71375ec74c5..d51dcda9d95 100644 --- a/examples/docs.js +++ b/examples/docs.js @@ -1,8 +1,8 @@ import React from 'react' import { Route, NavLink } from 'react-router-dom' -import DemoPage from './DemoPage' -import ComponentPage from './ComponentPage' -import Sandbox from './Sandbox' +import DemoPage from './pages/DemoPage' +import ComponentPage from './pages/ComponentPage' +import Sandbox from './pages/Sandbox' const Index = props => (
diff --git a/examples/ComponentPage.js b/examples/pages/ComponentPage.js similarity index 82% rename from examples/ComponentPage.js rename to examples/pages/ComponentPage.js index 27feb9d5e4c..72149e210c2 100644 --- a/examples/ComponentPage.js +++ b/examples/pages/ComponentPage.js @@ -1,7 +1,7 @@ import React from 'react' import { Library } from '@compositor/kit' -import SideNav from './SideNav' -import * as examples from './component-examples' +import SideNav from '../SideNav' +import * as examples from '../component-examples' const ComponentPage = () => { return ( diff --git a/examples/DemoPage.js b/examples/pages/DemoPage.js similarity index 87% rename from examples/DemoPage.js rename to examples/pages/DemoPage.js index 21da8588ef0..83169c777f6 100644 --- a/examples/DemoPage.js +++ b/examples/pages/DemoPage.js @@ -1,8 +1,8 @@ import React from 'react' import { Library, LiveEditor } from '@compositor/kit' -import SideNav from './SideNav' -import MergeBox from './demos/MergeBox' -import MergeButton from './demos/MergeButton' +import SideNav from '../SideNav' +import MergeBox from '../demos/MergeBox' +import MergeButton from '../demos/MergeButton' const examples = [ { diff --git a/examples/Sandbox.js b/examples/pages/Sandbox.js similarity index 89% rename from examples/Sandbox.js rename to examples/pages/Sandbox.js index 52c8306ed8a..7a8348a749c 100644 --- a/examples/Sandbox.js +++ b/examples/pages/Sandbox.js @@ -1,6 +1,6 @@ import React from 'react' import { LiveEditor } from '@compositor/kit' -import * as components from '../src' +import * as components from '../../src' const code = ` From 8169e489b305e63ba1a61b7fa75026cc86851243 Mon Sep 17 00:00:00 2001 From: Emily Date: Thu, 21 Jun 2018 15:15:21 -0700 Subject: [PATCH 34/38] fix builds & move everything into folders --- .DS_Store | Bin 0 -> 10244 bytes docs/.DS_Store | Bin 0 -> 6148 bytes docs/CSS/index.html | 6 ---- docs/ComponentPage/index.html | 6 ---- docs/DemoPage/index.html | 6 ---- docs/ExampleHeading/index.html | 6 ---- docs/GitHubAvatar/index.html | 6 ---- docs/MergeActions/index.html | 1 - docs/MergeBox/index.html | 1 - docs/MergeButton/index.html | 1 - docs/MergeDetail/index.html | 1 - docs/Meta/index.html | 1 - docs/Navigation/index.html | 1 - docs/Page/index.html | 1 - docs/Sandbox/index.html | 6 ---- docs/SandboxPage/index.html | 1 - docs/SideNav/index.html | 6 ---- docs/Swatch/index.html | 6 ---- docs/bundle.js | 34 +++++++++--------- docs/docs/index.html | 4 +-- docs/index.html | 6 ---- examples/_app.js | 4 +-- examples/component-examples/Avatar.js | 2 +- examples/component-examples/BranchName.js | 2 +- examples/component-examples/CaretBox.js | 2 +- examples/component-examples/Colors.js | 2 +- examples/component-examples/Details.js | 2 +- examples/component-examples/DonutChart.js | 2 +- examples/component-examples/Dropdown.js | 2 +- examples/component-examples/Form.js | 2 +- examples/component-examples/StateLabel.js | 2 +- examples/component-examples/Tooltip.js | 2 +- examples/demos/MergeActions.js | 6 +--- examples/demos/MergeBox.js | 3 +- examples/demos/MergeButton.js | 12 ++++--- examples/demos/MergeDetail.js | 4 +-- examples/{ => doc-components}/CSS.js | 2 +- .../{ => doc-components}/ExampleHeading.js | 2 +- examples/{ => doc-components}/GitHubAvatar.js | 2 +- examples/{ => doc-components}/SideNav.js | 2 +- examples/{ => doc-components}/Swatch.js | 2 +- examples/docs.js | 4 +-- examples/pages/ComponentPage.js | 4 +-- examples/pages/DemoPage.js | 2 +- package.json | 2 +- 45 files changed, 52 insertions(+), 119 deletions(-) create mode 100644 .DS_Store create mode 100644 docs/.DS_Store delete mode 100644 docs/CSS/index.html delete mode 100644 docs/ComponentPage/index.html delete mode 100644 docs/DemoPage/index.html delete mode 100644 docs/ExampleHeading/index.html delete mode 100644 docs/GitHubAvatar/index.html delete mode 100644 docs/MergeActions/index.html delete mode 100644 docs/MergeBox/index.html delete mode 100644 docs/MergeButton/index.html delete mode 100644 docs/MergeDetail/index.html delete mode 100644 docs/Meta/index.html delete mode 100644 docs/Navigation/index.html delete mode 100644 docs/Page/index.html delete mode 100644 docs/Sandbox/index.html delete mode 100644 docs/SandboxPage/index.html delete mode 100644 docs/SideNav/index.html delete mode 100644 docs/Swatch/index.html delete mode 100644 docs/index.html rename examples/{ => doc-components}/CSS.js (92%) rename examples/{ => doc-components}/ExampleHeading.js (79%) rename examples/{ => doc-components}/GitHubAvatar.js (88%) rename examples/{ => doc-components}/SideNav.js (93%) rename examples/{ => doc-components}/Swatch.js (89%) diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..d5a3b632644fdb49aeaeab8c74f19657eab86b42 GIT binary patch literal 10244 zcmeHMPiz!b82`R)fj84ar&zXKU|~aTTBSg@e^Dsewm={j+t5N={w=dRBORHYsXMc~ zg;LXSFh&VCGy(Ns6k@n2$iag~#e?yni8c|v7>!;$crY1_#Q)5)ytNzU`%H6O8NNMv|Si;RX67h zs@bEwG^)DODPJGAZL_4Ssl$d|NGc6Ow&kjZrDr{7L({3ru?fS{?82a(voy!+XG|Cv zlbDoLB6D-yJ@NKfXYcm;_Sjs!qmK%`y@>Pe-}p#|=z;%HXS(_$vlwwcRV zPEx5)t7bZ9s;)j@n!K?y>FTpC*N!-L)*bR1CKV;;=m&LbXXN$W)S6sZ^PWa#T*J1U z!+O>s*_`MQ)0VE+u35XWxot~l-_C)>m80Y1~pXy5|*c3`dyK%qDXw^2@)va8&J}e*8Xch--jeBXz zEhc%E*!pnzD7Oq{b;>oy#NaLAR!LFWxI^m_HBZXzlHy3?r|JEPp|;6!rfAY3Q%&in zsOpw`nevP@kr&Gol~2h#SUt8&lW9AXp?N#r$o;#*;S+r1VbyU*W^{{Y^(76@=Q~KV zn&P$rP2+Q7&51T2Cxu6h2yB9G*a@RBMI0``1-JyS!P{^hZo)@!8@`5b;9K|(?!eFR z3;YVd!5{E9R^xJ9feh<0iW_hvw&4@F8QU?APvZ{k$6Yvt!*~Eka1;+?5>H|Z(|8(P z%;7Aa!SnbkUdA`@O?(Tl;RkpFZ{mmeF@7SZ7Ai7vzbF@T{FJoPw?<6#@5(|G_hMp{ znArMAnfOC3r(gZ*#~RjbXl`qd_wGoP-dx2CyNgrhH1c>Oh~W{YNC-jHaAQ+s?K(Mn zh^VB`R+76&dSwMC4O@&fHie_H=q5(=P()E~i4r|;F$IOSCAyh0CA7#p-m*0+D^phRygmw%}IWMilGBZjWLK9PnxOEYWNVkK%DWL1df8=h4IrT38^e z&EYwm$CvPBe1%AN0Waa}M7=8>`K}6LmFTvwNHihwS~=bFV_D0zty5IT>B&HcSx_MZ zGhmWlzV-igFFHy!t7@dXH~*xv-ruq(_^vdrTYF4BuUjM8Vftc4YfiULGP?q;>DX6S?yjFJF1*-K*C=zwLQJDN59faw-3U zv?ZWafL03@#Yv6eN)m8f%l)^(>xpylx*iC4_XVc{#42zg3+am5(t8M$0D%C30D%C3 z0D%C3hl@a!=sw2p|M%Sg|Nq0CM9_PHK!Cs_MF6XJkL@0$DHJa*Drdv*+GF&bq=zTo zZb3-Tg|fST1WbWb?1KJii3hbN>Y)J$EX5?j*%+{zLy6&=d*I|H1j6Q?Qu+ Icjy0q0BIoy761SM literal 0 HcmV?d00001 diff --git a/docs/.DS_Store b/docs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0primer-react
primer-react\
\ No newline at end of file diff --git a/docs/ComponentPage/index.html b/docs/ComponentPage/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/ComponentPage/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/DemoPage/index.html b/docs/DemoPage/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/DemoPage/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/ExampleHeading/index.html b/docs/ExampleHeading/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/ExampleHeading/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/GitHubAvatar/index.html b/docs/GitHubAvatar/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/GitHubAvatar/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/MergeActions/index.html b/docs/MergeActions/index.html deleted file mode 100644 index 634e183a361..00000000000 --- a/docs/MergeActions/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeBox/index.html b/docs/MergeBox/index.html deleted file mode 100644 index 56c53a8c17d..00000000000 --- a/docs/MergeBox/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

You can also open this in Github Desktop or view
\ No newline at end of file diff --git a/docs/MergeButton/index.html b/docs/MergeButton/index.html deleted file mode 100644 index dcbbfc4f9d3..00000000000 --- a/docs/MergeButton/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

\ No newline at end of file diff --git a/docs/MergeDetail/index.html b/docs/MergeDetail/index.html deleted file mode 100644 index d1075c54b88..00000000000 --- a/docs/MergeDetail/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react

This branch has no conflicts with the base branch

Merging can be performed automatically

\ No newline at end of file diff --git a/docs/Meta/index.html b/docs/Meta/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Meta/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Navigation/index.html b/docs/Navigation/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Navigation/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Page/index.html b/docs/Page/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/Page/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/Sandbox/index.html b/docs/Sandbox/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/Sandbox/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/SandboxPage/index.html b/docs/SandboxPage/index.html deleted file mode 100644 index 722efadc409..00000000000 --- a/docs/SandboxPage/index.html +++ /dev/null @@ -1 +0,0 @@ -primer-react \ No newline at end of file diff --git a/docs/SideNav/index.html b/docs/SideNav/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/SideNav/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/Swatch/index.html b/docs/Swatch/index.html deleted file mode 100644 index a03e3fe4eb0..00000000000 --- a/docs/Swatch/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react\
\ No newline at end of file diff --git a/docs/bundle.js b/docs/bundle.js index 50c7e7fde2c..a0531416f4d 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=735)}([function(e,t,n){"use strict";e.exports=n(689)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(52),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(132),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(80),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(62),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(127),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(78),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(60),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(145),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(40);e.exports=r.DEFAULT=new r({include:[n(51)],explicit:[n(426),n(425),n(424)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(161),i=n(94);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(664)),i=a(n(172));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; + */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(141),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(39);e.exports=r.DEFAULT=new r({include:[n(50)],explicit:[n(420),n(419),n(418)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(157),i=n(92);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(663)),i=a(n(165));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(74)),i=l(n(105)),a=l(n(8)),o=l(n(111)),s=l(n(43)),u=n(208);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(56))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(89)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(421),i=n(93);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(95).Buffer)},function(e,t,n){"use strict";(function(e){ +*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(72)),i=l(n(98)),a=l(n(8)),o=l(n(106)),s=l(n(42)),u=n(200);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(54))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(87)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(415),i=n(91);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(93).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(432),i=n(431),a=n(430);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(70))},function(e,t,n){"use strict";var r=n(40);e.exports=new r({explicit:[n(442),n(441),n(440)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(24)),i=l(n(23)),a=l(n(22)),o=l(n(21)),s=l(n(20)),u=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.state={},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentDidCatch",value:function(e){this.setState({err:e})}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState({err:null})}},{key:"render",value:function(){var e=this.state.err;return e?u.default.createElement("pre",null,e.toString()):this.props.children}}]),t}(u.default.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(24)),i=h(n(23)),a=h(n(22)),o=h(n(21)),s=h(n(20)),u=h(n(0)),l=h(n(34)),c=h(n(176)),f=n(458);h(n(27));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.doc=null,e.win=null,e.div=null,e.getSrc=function(){var t=e.props,n=t.zoom,r=void 0===n?1:n,i=t.css,a=void 0===i?"":i,o=t.head,s="";return o&&(s=(0,f.renderToStaticMarkup)(o)),""+s+"\n
"},e.onLoad=function(t){e.doc=e.root.contentDocument,e.win=e.root.contentWindow,e.update(e.props)},e.update=function(t){var n=t.render,r=t.children;if(e.doc){var i=e.doc.getElementById("app");"function"==typeof n?c.default.render(n({document:e.doc,window:e.win}),i):c.default.render(r,i)}},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.update(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,i=t.zoom,a=t.children;return u.default.createElement("iframe",{ref:function(t){return e.root=t},style:{width:n,height:r,zoom:i,pointerEvents:"none",display:"block",margin:0,overflow:"scroll",backgroundColor:"#fff",opacity:a?1:.25,border:0},srcDoc:this.getSrc(),scrolling:"yes",onLoad:this.onLoad})}}]),t}(u.default.Component);p.propTypes={head:l.default.node,zoom:l.default.number,width:l.default.string,height:l.default.string,css:l.default.string},p.defaultProps={zoom:1,width:"100%",height:"100%",css:"body{font-family:system-ui,sans-serif;line-height:1.5}"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),i=n(731),a=n(118),o=n(120)("IE_PROTO"),s=function(){},u=function(){var e,t=n(124)("iframe"),r=a.length;for(t.style.display="none",n(191).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file + }
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index acceddab165..00000000000 --- a/docs/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-reactAvatarBlockBoxBranchNameButtonsCaretCircleOcticonCaretBoxColorsCounterLabelDetailsDropdownDonutChartFlashFont sizesForm elementsHeadingLabelLinkStateLabelMergeStatusMergeBoxMergeButtonTextTooltip
bg='white'
white
gray
black
bg='gray-dark'
white
gray
black
bg='gray'
white
gray
black
bg='gray-light'
white
gray
black
bg='blue'
white
gray
black
bg='blue-light'
white
gray
black
bg='green'
white
gray
black
bg='green-light'
white
gray
black
bg='red'
white
gray
black
bg='red-light'
white
gray
black
bg='yellow'
white
gray
black
bg='yellow-light'
white
gray
black
bg='purple'
white
gray
black
bg='purple-light'
white
gray
black
This is a box.
This is a box with padding.
This is a box with shadow.
This is a box with a medium shadow.
This is a box with a large shadow.
This is a box with an extra-large shadow.
This is a box with a green border.
a_new_feature_branch
location='top'
location='top-left'
location='top-right'
location='right'
location='right-top'
location='right-bottom'
location='bottom'
location='bottom-left'
location='bottom-right'
location='left'
location='left-top'
location='left-bottom'
CaretBox with shadow
gray-light CaretBox with red border
green CaretBox

gray.0

#fafbfc

gray.1

#f6f8fa

gray.2

#e1e4e8

gray.3

#d1d5da

gray.4

#959da5

gray.5

#6a737d

gray.6

#586069

gray.7

#444d56

gray.8

#2f363d

gray.9

#24292e

blue.0

#f1f8ff

blue.1

#dbedff

blue.2

#c8e1ff

blue.3

#79b8ff

blue.4

#2188ff

blue.5

#0366d6

blue.6

#005cc5

blue.7

#044289

blue.8

#032f62

blue.9

#05264c

green.0

#f0fff4

green.1

#dcffe4

green.2

#bef5cb

green.3

#85e89d

green.4

#34d058

green.5

#28a745

green.6

#22863a

green.7

#176f2c

green.8

#165c26

green.9

#144620

purple.0

#f5f0ff

purple.1

#e6dcfd

purple.2

#d1bcf9

purple.3

#b392f0

purple.4

#8a63d2

purple.5

#6f42c1

purple.6

#5a32a3

purple.7

#4c2889

purple.8

#3a1d6e

purple.9

#29134e

yellow.0

#fffdef

yellow.1

#fffbdd

yellow.2

#fff5b1

yellow.3

#ffea7f

yellow.4

#ffdf5d

yellow.5

#ffd33d

yellow.6

#f9c513

yellow.7

#dbab09

yellow.8

#b08800

yellow.9

#735c0f

orange.0

#fff8f2

orange.1

#ffebda

orange.2

#ffd1ac

orange.3

#ffab70

orange.4

#fb8532

orange.5

#f66a0a

orange.6

#e36209

orange.7

#d15704

orange.8

#c24e00

orange.9

#a04100
121313

With static children

Click me

This should show and hide

With children as a function

Show

This should show and hide

With render prop

hi

Dropdown Primary

  • Item 1
  • Item 2
  • Item 3

Dropdown

  • Item 1
  • Item 2
  • Item 3

Dropdown with title

Options
  • Item 1
  • Item 2
  • Item 3

With data prop

With DonutSlice children

With custom fill colors

Flash
Flash yellow
Flash red
Flash green
Flash full
fontSize 5
fontSize 4
fontSize 3
fontSize 2
fontSize 1
fontSize 0

Input

Input Sizes

Block input

Default Heading

Default labelDarker gray labelOrange labelGreen label
Default outline labelGreen outline label
Open
Closed
Merged
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

Text
Text bold
Text green
Text lineHeight 'condensed'
Text fontSize 4
Text padding 4
Text with a tooltip
\ No newline at end of file diff --git a/examples/_app.js b/examples/_app.js index 0b5250eb152..d8a4a4f6f2f 100644 --- a/examples/_app.js +++ b/examples/_app.js @@ -1,4 +1,4 @@ -import CSS from './CSS' +import CSS from './doc-components/CSS' import React from 'react' import Index from './docs' @@ -8,7 +8,7 @@ const Page = ({ render }) => ( primer-react - \ + diff --git a/examples/component-examples/Avatar.js b/examples/component-examples/Avatar.js index 26fb23a3b92..6f2da990059 100644 --- a/examples/component-examples/Avatar.js +++ b/examples/component-examples/Avatar.js @@ -1,6 +1,6 @@ import React from 'react' import { Block } from '../../src' -import GitHubAvatar from '../GitHubAvatar' +import GitHubAvatar from '../doc-components/GitHubAvatar' const AvatarExample = { diff --git a/examples/component-examples/BranchName.js b/examples/component-examples/BranchName.js index 97cef615c97..f0801622a00 100644 --- a/examples/component-examples/BranchName.js +++ b/examples/component-examples/BranchName.js @@ -2,7 +2,7 @@ import React from 'react' import { Detail } from '@compositor/kit' import Octicon from '@github/octicons-react' import { BranchName } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const BranchNameExample = { diff --git a/examples/component-examples/CaretBox.js b/examples/component-examples/CaretBox.js index 7329822fcc9..d91e9282bba 100644 --- a/examples/component-examples/CaretBox.js +++ b/examples/component-examples/CaretBox.js @@ -1,7 +1,7 @@ import React from 'react' import { PropsForm } from '@compositor/kit' import { Block, Caret, CaretBox, theme } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const CaretBoxExample = { diff --git a/examples/component-examples/Colors.js b/examples/component-examples/Colors.js index bcc8b1b2935..98d5d34075c 100644 --- a/examples/component-examples/Colors.js +++ b/examples/component-examples/Colors.js @@ -1,6 +1,6 @@ import React from 'react' import { Block, theme } from '../../src' -import Swatch from '../Swatch' +import Swatch from '../doc-components/Swatch' const ColorsExample = { diff --git a/examples/component-examples/Details.js b/examples/component-examples/Details.js index 310b7619292..560a9343819 100644 --- a/examples/component-examples/Details.js +++ b/examples/component-examples/Details.js @@ -1,6 +1,6 @@ import React from 'react' import { Block, Details } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const DetailsExample = { diff --git a/examples/component-examples/DonutChart.js b/examples/component-examples/DonutChart.js index 301adb84364..39253f7a6ff 100644 --- a/examples/component-examples/DonutChart.js +++ b/examples/component-examples/DonutChart.js @@ -1,6 +1,6 @@ import React from 'react' import { Block, DonutChart, Text, DonutSlice, theme } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const DonutChartExample = { diff --git a/examples/component-examples/Dropdown.js b/examples/component-examples/Dropdown.js index 7d7485166fa..e0b2e695edc 100644 --- a/examples/component-examples/Dropdown.js +++ b/examples/component-examples/Dropdown.js @@ -1,6 +1,6 @@ import React from 'react' import { Block, Dropdown } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const DropdownExample = { diff --git a/examples/component-examples/Form.js b/examples/component-examples/Form.js index 8371b4527cf..63fb49bd876 100644 --- a/examples/component-examples/Form.js +++ b/examples/component-examples/Form.js @@ -1,6 +1,6 @@ import React from 'react' import { TextInput, Box, } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const FormExample = { diff --git a/examples/component-examples/StateLabel.js b/examples/component-examples/StateLabel.js index c040cdb2856..67fc673a877 100644 --- a/examples/component-examples/StateLabel.js +++ b/examples/component-examples/StateLabel.js @@ -1,7 +1,7 @@ import React from 'react' import Octicon from '@github/octicons-react' import { Block, StateLabel } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const StateLabelExample = { diff --git a/examples/component-examples/Tooltip.js b/examples/component-examples/Tooltip.js index aee32989074..b24c6981619 100644 --- a/examples/component-examples/Tooltip.js +++ b/examples/component-examples/Tooltip.js @@ -1,6 +1,6 @@ import React from 'react' import { Box, Block, Tooltip } from '../../src' -import ExampleHeading from '../ExampleHeading' +import ExampleHeading from '../doc-components/ExampleHeading' const TooltipExample = { diff --git a/examples/demos/MergeActions.js b/examples/demos/MergeActions.js index ee83aae6f65..c571e2b5766 100644 --- a/examples/demos/MergeActions.js +++ b/examples/demos/MergeActions.js @@ -1,10 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' -import CircleOcticon from '../../src/CircleOcticon' -import Text from '../../src/Text' -import Block from '../../src/Block' -import Link from '../../src/Link' -import ButtonLink from '../../src/ButtonLink' +import { CircleOcticon, Text, Block, Link, ButtonLink } from '../../src' import MergeButton from './MergeButton' const MergeActions = ({ numCommits, repoUrl, branchName, state }) => { diff --git a/examples/demos/MergeBox.js b/examples/demos/MergeBox.js index 3efc61b8e22..9460c9b151b 100644 --- a/examples/demos/MergeBox.js +++ b/examples/demos/MergeBox.js @@ -1,7 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' -import MergeStatus from '../../src/MergeStatus' -import CaretBox from '../../src/CaretBox' +import { MergeStatus, CaretBox } from '../../src' import MergeButton from './MergeButton' import MergeDetail from './MergeDetail' import MergeActions from './MergeActions' diff --git a/examples/demos/MergeButton.js b/examples/demos/MergeButton.js index 8d902df2eab..70a1b9843bf 100644 --- a/examples/demos/MergeButton.js +++ b/examples/demos/MergeButton.js @@ -1,10 +1,12 @@ import React from 'react' import PropTypes from 'prop-types' -import Details from '../../src/Details' -import Button from '../../src/Button' -import CaretBox from '../../src/CaretBox' -import Text from '../../src/Text' -import Block from '../../src/Block' +import { + Details, + Button, + CaretBox, + Text, + Block +} from '../../src' const MergeButton = ({ primary, onClick, numCommits, children}) => { const arrowStyles = { diff --git a/examples/demos/MergeDetail.js b/examples/demos/MergeDetail.js index 176ade649ac..45fb4a4a5e9 100644 --- a/examples/demos/MergeDetail.js +++ b/examples/demos/MergeDetail.js @@ -1,8 +1,6 @@ import React from 'react' import PropTypes from 'prop-types' -import CircleOcticon from '../../src/CircleOcticon' -import Text from '../../src/Text' -import Block from '../../src/Block' +import { CircleOcticon, Text, Block } from '../../src' const stateColorMap = { ready: 'green', diff --git a/examples/CSS.js b/examples/doc-components/CSS.js similarity index 92% rename from examples/CSS.js rename to examples/doc-components/CSS.js index f25a54b3fbc..20a62099767 100644 --- a/examples/CSS.js +++ b/examples/doc-components/CSS.js @@ -1,5 +1,5 @@ import React from 'react' -import {theme} from '../src' +import {theme} from '../../src' const CSS = ({css}) => ( "}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){N(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":j(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;N(this,t);for(var i=arguments.length,a=Array(i),o=0;ol;)a.call(o,n=s[l++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMapperWithPropTypes=t.oneOrMoreNumbers=t.oneOrMoreOf=void 0;var r=p(n(6)),i=p(n(672)),a=p(n(165)),o=p(n(106)),s=p(n(100)),u=p(n(70)),l=p(n(8));t.classifier=function(e){return function(t){var n=t.className,r=(0,l.default)(t,["className"]),c={},h=[],p=!0,d=!1,m=void 0;try{for(var v,g=(0,a.default)((0,i.default)(r));!(p=(v=g.next()).done);p=!0){var y=v.value,b=(0,u.default)(y,2),x=b[0],w=b[1];if(x in e){var _=e[x];if("function"==typeof _)w=_(w);else{if(!_)continue;w=_}h=h.concat(w)}else c[x]=r[x]}}catch(e){d=!0,m=e}finally{try{!p&&g.return&&g.return()}finally{if(d)throw m}}var E,k=f.default.apply(void 0,[n].concat((0,s.default)(h))).trim().split(" "),S=(E=k,E.filter(function(e,t){return E.indexOf(e)===t})).join(" ");return S?(0,o.default)(c,{className:S}):c}},t.valueMapper=function(e,t,n){return function(r){return r in e?d(t,e[r]):d(!0===n?t:n,r)}},t.expander=function(e){return function(t){return Array.isArray(t)?t.map(e):e(t)}},t.stylizer=function(e){return function(t){var n=(0,r.default)({},t);return n.style=e.reduce(function(e,r){return r in t&&(e[r]=t[r],delete n[r]),e},t.style||{}),n}};var c=p(n(3)),f=p(n(14)),h=p(n(660));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e,t){return"function"==typeof e?e(t):e||t},m=t.oneOrMoreOf=function(e){return c.default.oneOfType([e,c.default.arrayOf(e)])},v=t.oneOrMoreNumbers=m(c.default.number),g=(t.createMapperWithPropTypes=function(e){var t=(0,h.default)(e);return t.propTypes=e.props.reduce(function(e,t){return e[t]=v,e},{}),t})({breakpoints:[null,"sm","md","lg","xl"],props:["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py"],getter:function(e){var t=e.breakpoint,n=e.prop,r=e.value;return t?[n,t,r].join("-"):[n,r].join("-")}});t.default=g},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(688)},function(e,t,n){var r=n(55),i=n(58),a=n(35),o=n(118),s=n(36),u=n(187),l=Object.getOwnPropertyDescriptor;t.f=n(30)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(185),i=n(113).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(712),__esModule:!0}},function(e,t,n){var r=n(16),i=n(7),a=n(48);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(190),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(716)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(26),i=n(31),a=n(110);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(49),s=n(722),u=n(183),l=n(119),c=n(15),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(57)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(26),i=n(76),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(47),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(26);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(36),i=n(56),a=n(115)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(15).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(57);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(36),i=n(35),a=n(730)(!1),o=n(115)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(37)},function(e,t,n){e.exports=!n(30)&&!n(48)(function(){return 7!=Object.defineProperty(n(119)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(77),i=n(16),a=n(186),o=n(37),s=n(36),u=n(47),l=n(732),c=n(74),f=n(182),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(734),__esModule:!0}},function(e,t,n){n(402),e.exports=n(90).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return j}),n.d(t,"SourceLocation",function(){return N}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},j=function(e,t){this.line=e,this.column=t};j.prototype.offset=function(e){return new j(this.line,this.column+e)};var N=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new N(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new N(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(193);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(93).Buffer,n(54))},function(e,t,n){var r=n(404),i=n(403);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(409)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,j=D-b;return M*M+T*T>P*P+j*j&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,j=C,N=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(N+=U*=D?1:-1,F-=U):(L=0,N=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,j-=q):(R=0,P=j=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(j),Y=k*m(j),$=E*h(N),Z=E*m(N);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return j().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(j().curve(B))},U=function(){var e=N().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var je=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ne(e,t){this._context=e,this._k=(1-t)/6}Ne.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new Ne(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new Ne(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function j(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var N="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var jt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),Nt=l(x([],l(function(e,t){return new jt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),jn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:s})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Tooltip",element:r.default.createElement("div",null,r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),r.default.createElement(i.Block,{p:2},r.default.createElement(a.default,{mt:3},"Directions"),i.Tooltip.directions.map(function(e,t){return r.default.createElement(i.Box,{p:3,key:t},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),r.default.createElement(a.default,{mt:3},"Alignment"),r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),r.default.createElement(a.default,{mt:3},"Word wrap"),r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),r.default.createElement(a.default,{mt:3},"No Delay"),r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Text",element:a.default.createElement("div",null,a.default.createElement(o.Text,{tag:"div"},"Text"),a.default.createElement(o.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(o.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(o.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(o.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(o.Text,{tag:"div",p:4},"Text padding 4"))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(0)),i=s(n(52)),a=n(5),o=s(n(29));function s(e){return e&&e.__esModule?e:{default:e}}var u={name:"StateLabel",element:r.default.createElement("div",null,r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"open"},"Open")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"closed"},"Closed")),r.default.createElement(a.Block,{mb:4},r.default.createElement(a.StateLabel,{state:"merged"},"Merged")),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"By state (Octicons built in)"),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,null,"Unknown")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"open"},"Open")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"closed"},"Closed")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"merged"},"Merged")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"reopened"},"Reopened"))),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"By color"),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"invalid"},"Invalid")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"green"},"Green")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"red"},"Red")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"purple"},"Purple"))),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"Small, by state"),r.default.createElement(a.Block,{mb:2},r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0},"Unknown")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"open"},"Open")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"closed"},"Closed")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"merged"},"Merged")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"reopened"},"Reopened")))),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"Small, by color"),r.default.createElement(a.Block,{mb:2},r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"green"},"Green")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"red"},"Red")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"purple"},"Purple")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"green",icon:r.default.createElement(i.default,{name:"git-branch"})},"Custom Octicon")))))};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"pending"})),a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"invalid"})),a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"merged"})),a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"ready"})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Link",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{href:"https://github.com"},"Link")),a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Label",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Label,null,"Default label"),a.default.createElement(o.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(o.Label,{scheme:"orange"},"Orange label"),a.default.createElement(o.Label,{scheme:"green"},"Green label")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Label,{outline:!0},"Default outline label"),a.default.createElement(o.Label,{outline:!0,scheme:"green"},"Green outline label")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Heading",element:a.default.createElement("div",null,a.default.createElement(o.Heading,{mb:2},"Default Heading"),[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(o.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Form elements",element:r.default.createElement("div",null,r.default.createElement(a.default,null,"Input"),r.default.createElement(i.TextInput,{name:"zipcode"}),r.default.createElement(a.default,null,"Input Sizes"),r.default.createElement(i.Box,null,r.default.createElement(i.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),r.default.createElement(i.Box,null,r.default.createElement(i.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),r.default.createElement(a.default,null,"Block input"),r.default.createElement(i.TextInput,{block:!0,placeholder:"Full width block input"}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(o.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Flash",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,null," Flash ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{red:!0}," Flash red ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{green:!0}," Flash green ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{full:!0}," Flash full ")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"DonutChart",element:r.default.createElement("div",null,r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,null,"With ",r.default.createElement(i.Text,{mono:!0},"data")," prop"),r.default.createElement(i.DonutChart,{data:{error:2,pending:3,success:5}})," ",r.default.createElement(i.DonutChart,{data:{error:1,pending:4,success:2}})," ",r.default.createElement(i.DonutChart,{data:{pending:2,success:6}})," ",r.default.createElement(i.DonutChart,{data:{pending:0,success:1}})," ",r.default.createElement(i.DonutChart,{data:{pending:1,queued:1}})," ",r.default.createElement(i.DonutChart,{data:{unknown:1}})),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,null,"With ",r.default.createElement(i.Text,{mono:!0},"DonutSlice")," children"),r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"pending"}),r.default.createElement(i.DonutSlice,{value:1,state:"success"}),r.default.createElement(i.DonutSlice,{value:1,state:"error"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"error"}),r.default.createElement(i.DonutSlice,{value:4,state:"pending"}),r.default.createElement(i.DonutSlice,{value:2,state:"success"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:2,state:"pending"}),r.default.createElement(i.DonutSlice,{value:6,state:"success"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:0,state:"pending"}),r.default.createElement(i.DonutSlice,{value:1,state:"success"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"pending"}),r.default.createElement(i.DonutSlice,{value:1,state:"queued"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"queued"}))),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,null,"With custom ",r.default.createElement(i.Text,{mono:!0},"fill")," colors"),r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[0]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[1]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[2]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[3]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[4]}))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Dropdown",element:r.default.createElement("div",null,r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"Dropdown Primary"),r.default.createElement(i.Dropdown,{scheme:"primary"},r.default.createElement("ul",null,r.default.createElement("li",null,"Item 1"),r.default.createElement("li",null,"Item 2"),r.default.createElement("li",null,"Item 3")))),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"Dropdown"),r.default.createElement(i.Dropdown,null,r.default.createElement("ul",null,r.default.createElement("li",null,"Item 1"),r.default.createElement("li",null,"Item 2"),r.default.createElement("li",null,"Item 3")))),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"Dropdown with title"),r.default.createElement(i.Dropdown,{title:"Options"},r.default.createElement("ul",null,r.default.createElement("li",null,"Item 1"),r.default.createElement("li",null,"Item 2"),r.default.createElement("li",null,"Item 3")))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Details",element:r.default.createElement("div",null,r.default.createElement(i.Block,{mb:4},r.default.createElement(a.default,null,"With static children"),r.default.createElement(i.Details,null,r.default.createElement("summary",{className:"btn"},"Click me"),r.default.createElement("p",null,"This should show and hide"))),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"With children as a function"),r.default.createElement(i.Details,null,function(e){var t=e.open,n=e.toggle;return r.default.createElement(r.default.Fragment,null,r.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),r.default.createElement("p",null,"This should show and hide"))})),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"With render prop"),r.default.createElement(i.Details,{render:function(){return"hi"}})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(o.CounterLabel,null,"12"),a.default.createElement(o.CounterLabel,{theme:"gray"},"13"),a.default.createElement(o.CounterLabel,{theme:"gray-light"},"13"))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(8));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(5);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(216));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Colors",element:r.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return r.default.createElement("div",{className:"d-flex",key:t},i.theme.colors[e].map(function(t,n){return r.default.createElement(a.default,{name:e,index:n,key:n,color:t})}))}),r.default.createElement("div",{className:"d-flex"},r.default.createElement(i.Block,{bg:"blue",p:4,m:1}),r.default.createElement(i.Block,{bg:"green",p:4,m:1}),r.default.createElement(i.Block,{bg:"purple",p:4,m:1}),r.default.createElement(i.Block,{bg:"yellow",p:4,m:1}),r.default.createElement(i.Block,{bg:"red",p:4,m:1}),r.default.createElement(i.Block,{bg:"white",p:4,m:1,border:!0}),r.default.createElement(i.Block,{bg:"gray",p:4,m:1}),r.default.createElement(i.Block,{bg:"gray-light",p:4,m:1}),r.default.createElement(i.Block,{bg:"blue-light",p:4,m:1}),r.default.createElement(i.Block,{bg:"purple-light",p:4,m:1}),r.default.createElement(i.Block,{bg:"red-light",p:4,m:1})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(o.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(42)),i=u(n(0)),a=n(41),o=n(5),s=u(n(29));function u(e){return e&&e.__esModule?e:{default:e}}var l={name:"CaretBox",element:i.default.createElement(o.Block,{p:2},i.default.createElement(s.default,{mt:2},"CaretBox"),i.default.createElement(a.PropsForm,null,i.default.createElement(o.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),i.default.createElement(a.PropsForm.Select,{name:"caret"},o.Caret.locations.map(function(e,t){return i.default.createElement("option",null,e)})),i.default.createElement(a.PropsForm.Select,{name:"border"},(0,r.default)(o.theme.colors.border).map(function(e){return i.default.createElement("option",null,"[true, borderColor]")})),i.default.createElement(a.PropsForm.Select,{name:"bg"},(0,r.default)(o.theme.colors.bg).map(function(e){return i.default.createElement("option",null,e)}))))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Caret",element:a.default.createElement(o.Block,{p:4},o.Caret.locations.map(function(e,t){return a.default.createElement(o.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(o.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(o.Caret,{location:e}))}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,null," Button ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{size:"sm"}," Button small ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{size:"large"}," Button large ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonDanger,null," ButtonDanger ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonOutline,null," ButtonOutline ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{block:!0}," Button block ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ",""," styled as a button")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(41),a=u(n(52)),o=n(5),s=u(n(29));function u(e){return e&&e.__esModule?e:{default:e}}var l={name:"BranchName",element:r.default.createElement("div",null,r.default.createElement(o.BranchName,null,"a_new_feature_branch"),r.default.createElement(i.Detail,null,r.default.createElement(s.default,{mt:3},"Linked BranchName"),r.default.createElement(o.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),r.default.createElement(s.default,{mt:3},"BranchName with Octicon"),r.default.createElement(o.BranchName,null,r.default.createElement(a.default,{name:"git-branch"})," a_new_feature_branch")))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Box",element:a.default.createElement("div",null,a.default.createElement(o.Box,{m:2},"This is a box"),a.default.createElement(o.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(o.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(o.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(o.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(o.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(o.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(o.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(o.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(o.Text,{color:t},t)))}))})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(6)),i=s(n(8));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(5);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(225));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Avatar",element:r.default.createElement("div",null,r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,{username:"primer",size:128})),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,{username:"github",size:64})),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,{username:"reactjs",size:32})," ",r.default.createElement(a.default,{username:"npm"})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(226);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function(){return C(r).default}});var i=n(224);Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return C(i).default}});var a=n(223);Object.defineProperty(t,"Box",{enumerable:!0,get:function(){return C(a).default}});var o=n(222);Object.defineProperty(t,"BranchName",{enumerable:!0,get:function(){return C(o).default}});var s=n(221);Object.defineProperty(t,"Buttons",{enumerable:!0,get:function(){return C(s).default}});var u=n(220);Object.defineProperty(t,"Caret",{enumerable:!0,get:function(){return C(u).default}});var l=n(219);Object.defineProperty(t,"CaretBox",{enumerable:!0,get:function(){return C(l).default}});var c=n(218);Object.defineProperty(t,"CircleOcticon",{enumerable:!0,get:function(){return C(c).default}});var f=n(217);Object.defineProperty(t,"Colors",{enumerable:!0,get:function(){return C(f).default}});var h=n(215);Object.defineProperty(t,"CounterLabel",{enumerable:!0,get:function(){return C(h).default}});var p=n(214);Object.defineProperty(t,"Details",{enumerable:!0,get:function(){return C(p).default}});var d=n(213);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return C(d).default}});var m=n(212);Object.defineProperty(t,"DonutChart",{enumerable:!0,get:function(){return C(m).default}});var v=n(211);Object.defineProperty(t,"Flash",{enumerable:!0,get:function(){return C(v).default}});var g=n(210);Object.defineProperty(t,"FontSizes",{enumerable:!0,get:function(){return C(g).default}});var y=n(209);Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return C(y).default}});var b=n(208);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return C(b).default}});var x=n(207);Object.defineProperty(t,"Label",{enumerable:!0,get:function(){return C(x).default}});var w=n(206);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return C(w).default}});var _=n(205);Object.defineProperty(t,"MergeStatus",{enumerable:!0,get:function(){return C(_).default}});var E=n(204);Object.defineProperty(t,"StateLabel",{enumerable:!0,get:function(){return C(E).default}});var k=n(203);Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return C(k).default}});var S=n(202);function C(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return C(S).default}})},function(e,t,n){var r=n(16),i=n(166)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){n(228),e.exports=n(7).Object.values},function(e,t,n){e.exports={default:n(229),__esModule:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(230)),i=u(n(0)),a=n(41),o=u(n(128)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(227));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return i.default.createElement(a.Library,{basename:"/docs/components",title:"Primer-react Library",examples:(0,r.default)(s),renderSideNav:function(e){var t=e.title,n=e.examples;return i.default.createElement(o.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(0)),i=s(n(3)),a=n(5),o=s(n(81));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.numCommits,n=e.repoUrl,i=e.branchName,s=e.state;return r.default.createElement(a.Block,{py:3,px:4,bg:"gray-light",style:{borderBottomLeftRadius:"3px",borderBottomRightRadius:"3px"}},r.default.createElement(o.default,{primary:"ready"===s,numCommits:t}),r.default.createElement(a.Text,{ml:2},"You can also "),r.default.createElement(a.Link,{nounderline:!0,href:"x-github-client://openRepo/"+n+"?branch="+i},"open this in Github Desktop"),r.default.createElement(a.Text,null," or view "),r.default.createElement(a.ButtonLink,null,"command line instructions."))};u.propTypes={numCommits:i.default.number.isRequired,repoUrl:i.default.string.isRequired,branchName:i.default.string.isRequired},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(3)),a=n(5);function o(e){return e&&e.__esModule?e:{default:e}}var s={ready:"green",invalid:"invalid",merged:"purple",pending:"yellow"},u=function(e){var t=e.state;return r.default.createElement("div",{className:"p-2 d-flex border-bottom"},r.default.createElement(a.Block,{mt:2},r.default.createElement(a.CircleOcticon,{name:"check",size:32,bg:s[t],color:"white"})),r.default.createElement(a.Block,{p:2,display:"inline"},r.default.createElement(a.Text,{tag:"p",p:0,m:0,fontSize:2,fontWeight:"bold"},"This branch has no conflicts with the base branch"),r.default.createElement(a.Text,{tag:"p",pt:1,m:0,fontSize:0},"Merging can be performed automatically")))};u.propTypes={state:i.default.oneOf(["ready","invalid","merged","pending"]).isRequired},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=u(n(3)),a=n(5),o=(u(n(81)),u(n(233))),s=u(n(232));function u(e){return e&&e.__esModule?e:{default:e}}var l={ready:"green",invalid:"invalid",merged:"purple",pending:"yellow"},c=function(e){var t=e.state,n=e.repoUrl,i=e.branchName,u=e.numCommits;return r.default.createElement("div",{className:"d-flex flex-items-start"},r.default.createElement(a.MergeStatus,{state:t}),r.default.createElement(a.CaretBox,{ml:3,border:[!0,l[t]],caret:"left-top"},r.default.createElement(o.default,{state:t}),r.default.createElement(s.default,{state:t,numCommits:u,repoUrl:n,branchName:i})))};c.propTypes={state:i.default.oneOf(["ready","invalid","merged","pending"]).isRequired,repoUrl:i.default.string.isRequired,branchName:i.default.string.isRequired,numCommits:i.default.number.isRequired},t.default=c},function(e,t){!function(e){"use strict";if(!e.fetch){var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=function(e){return e&&DataView.prototype.isPrototypeOf(e)},i=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(235),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(6)),i=g(n(174)),a=g(n(173)),o=g(n(24)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(129)),h=n(0),p=g(h),d=n(151),m=g(n(236)),v=n(25);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(238);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(240),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";t.openCloseTag=new RegExp("^(?:"+r+"|"+i+")"),t.tag=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)")},function(e,t,n){"use strict";e.exports=function(e){var t,n=0,i=0,a=e.charAt(n),o={};for(;a in r;)t=r[a],i+=t,t>1&&(i=Math.floor(i/t)*t),o[i]=n,a=e.charAt(++n);return{indent:i,stops:o}};var r={" ":1,"\t":4}},function(e,t,n){"use strict";function r(e){if("string"==typeof e)return function(e){return function(t){return Boolean(t&&t.type===e)}}(e);if(null===e||void 0===e)return i;if("object"==typeof e)return("length"in e?function(e){var t=function(e){var t=[],n=e.length,i=-1;for(;++i=97&&t<=122||t>=65&&t<=90}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(388);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(146),i=n(145);e.exports=function(e){return r(i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(400),i=n(395);e.exports=n(88)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.r(t),n.d(t,"Editor",function(){return N}),n.d(t,"LiveProvider",function(){return W}),n.d(t,"LiveEditor",function(){return G}),n.d(t,"LiveError",function(){return X}),n.d(t,"LivePreview",function(){return J}),n.d(t,"withLive",function(){return K}),n.d(t,"generateElement",function(){return z}),n.d(t,"renderElementAsync",function(){return H});var r=n(124),i=(n(408),n(407),n(406),n(405),n(196)),a=n.n(i),o=n(195),s=n.n(o),u=n(0),l=n.n(u),c=n(123),f=n(191),h=n.n(f),p=n(3),d=n.n(p),m=function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:"jsx";return Object(r.highlight)(e,r.languages[t])},g=/^((\t| )+)/gm,y=/\t/g,b=function(e){return e.replace(g,function(e,t){return t.replace(y," ")})},x=function(e){return e.replace("\n","
")},w=function(e){return a()(e.replace(/
/gm,"\n").replace(/<\/?[^>]*>/gm,""))};function _(e,t){var n=window.getSelection();if(1==arguments.length){if(!n.rangeCount)return;var r={},i=(c=n.getRangeAt(0)).cloneRange();return i.selectNodeContents(e),i.setEnd(c.endContainer,c.endOffset),r.end=i.toString().length,i.setStart(c.startContainer,c.startOffset),r.start=r.end-i.toString().length,r.atStart=0===i.startOffset,r.commonAncestorContainer=i.commonAncestorContainer,r.endContainer=i.endContainer,r.startContainer=i.startContainer,r}for(var a,o,u=t.end&&t.end!==t.start,l=0,c=document.createRange(),f=s()(e).select(Node.TEXT_NODE).revisit(!1),h=t.start>e.textContent.length?e.textContent.length:t.start,p=t.end>e.textContent.length?e.textContent.length:t.end,d=t.atStart;a=f.next();){var m=l;if(l+=a.textContent.length,!o&&(d?l>h:l>=h)&&(o=!0,c.setStart(a,h-m),!u)){c.collapse(!0),E(e,c);break}if(u&&l>=p){c.setEnd(a,p-m),E(e,c);break}}}function E(e,t){var n=window.getSelection();e.focus(),n.removeAllRanges(),n.addRange(t)}var k=function(e,t){var n=e.slice(0,t),r=n.lastIndexOf("\n")+1;return n.slice(r)},S=/^\s+/,C=function(e,t){var n=k(e,t).match(S);return null===n?"":n[0]||""},A=/^(\t| )* $/,O=function(e,t){var n=k(e,t);return A.test(n)?2:0},D=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},j=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},N=function(e){function t(){var n,r;D(this,t);for(var i=arguments.length,a=Array(i),o=0;o0&&(r.undoStack=r.undoStack.slice(0,-r.undoOffset),r.undoOffset=0);var n=Date.now(),i={plain:e,selection:t};n-r.undoTimestamp<3e3?r.undoStack[r.undoStack.length-1]=i:(r.undoStack.push(i),r.undoStack.length>50&&r.undoStack.shift()),r.undoTimestamp=n}},r.updateContent=function(e){r.compositing||(r.setState({html:v(e,r.props.language)}),r.props.onChange&&r.props.onChange(e))},r.restoreStackState=function(e){var t=r.undoStack[r.undoStack.length-1-e],n=t.plain,i=t.selection;r.selection=i,r.undoOffset=e,r.updateContent(n)},r.undo=function(){var e=r.undoOffset+1;e>=r.undoStack.length||r.restoreStackState(e)},r.redo=function(){var e=r.undoOffset-1;e<0||r.restoreStackState(e)},r.onKeyDown=function(e){if(r.props.onKeyDown&&r.props.onKeyDown(e),9!==e.keyCode||r.props.ignoreTabKey)if(8===e.keyCode){var t=_(r.ref),n=t.start;if(n!==t.end)return;var i=O(r.getPlain(),n);if(i<=0)return;for(var a=0;a25?39:97))},T=function(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=M(n%52)+t;return M(n%52)+t},P=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},I=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},z=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"+e()+""}},re=function(e,t){return function(){var n,r=((n={})[H]=Y(t),n),i=G();return i&&(r.nonce=i),f.a.createElement("style",L({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{styleTag:null,getIds:ie(i),hasNameForId:K(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),X(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",J(r,e))},css:o,toHTML:ne(o,r),toElement:re(o,r),clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=L({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)}}},oe=function(e,t,n,r,i){if(U&&!n){var a=function(e,t,n){var r=document.createElement("style");r.setAttribute(H,"");var i=G();if(i&&r.setAttribute("nonce",i),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new Error("");t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r}(e,t,r);return function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),J(n,e),r[e])},u=function(){var t=$(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],s=te(i,o),u=s-i[o];u0&&(o=!0,t().insertRules(r+"-import",d)),i[c]+=p,X(n,r,l)},removeRules:function(s){var u=r[s];if(void 0!==u){var l=i[u];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}($(e),te(i,u),l),i[u]=0,J(n,s),a&&o&&t().removeRules(s+"-import")}},css:u,toHTML:ne(u,n),toElement:re(u,n),clone:Q}}(a,i)}return ae()},se=void 0;se=U?1e3:-1;var ue,le=0,ce=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.sealed=!1,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!U||this.forceServer)return this;var e=[],t=[],n=[],r=!1,i=document.querySelectorAll("style["+H+"]"),a=i.length;if(0===a)return this;for(var o=0;o0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<+~=|^:(),"'`-]+/g,ve=/(^-|-$)/g;function ge(e){return e.replace(me,"-").replace(ve,"")}function ye(e){return e.displayName||e.name||"Component"}function be(e){return"string"==typeof e}var xe=/^((?:s(?:uppressContentEditableWarn|croll|pac)|(?:shape|image|text)Render|(?:letter|word)Spac|vHang|hang)ing|(?:on(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:Animation|Touch|Load|Drag)Start|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|Lo(?:stPointer|ad)|TimeUpdate|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|GotPointer|MouseDown|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|KeyPress|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|P(?:rogress|laying)|DragEnd|Key(?:Down|Up)|(?:MouseU|Dro)p|(?:Wait|Seek)ing|Scroll|Focus|Paste|Abort|Drag|Play|Blur)Captur|alignmentBaselin|(?:limitingConeAng|xlink(?:(?:Arcr|R)o|Tit)|s(?:urfaceSca|ty|ca)|unselectab|baseProfi|fontSty|(?:focus|dragg)ab|multip|profi|tit)l|d(?:ominantBaselin|efaultValu)|onPointerLeav|a(?:uto(?:Capitaliz|Revers|Sav)|dditiv)|(?:(?:formNoValid|xlinkActu|noValid|accumul|rot)a|autoComple|decelera)t|(?:(?:attribute|item)T|datat)yp|onPointerMov|(?:attribute|glyph)Nam|playsInlin|(?:writing|input|edge)Mod|(?:formE|e)ncTyp|(?:amplitu|mo)d|(?:xlinkTy|itemSco|keyTy|slo)p|(?:xmlSpa|non)c|fillRul|(?:dateTi|na)m|r(?:esourc|ol)|xmlBas|wmod)e|(?:glyphOrientationHorizont|loc)al|(?:externalResourcesRequir|select|revers|mut)ed|c(?:o(?:lorInterpolationFilter|ord)s|o(?:lor(?:Interpolation)?|nt(?:rols|ent))|(?:ontentS(?:cript|tyle)Typ|o(?:ntentEditab|lorProfi)l|l(?:assNam|ipRul)|a(?:lcMod|ptur)|it)e|olorRendering|l(?:ipPathUnits|assID)|(?:ontrolsLis|apHeigh)t|h(?:eckedLink|a(?:llenge|rSet)|ildren|ecked)|ell(?:Spac|Padd)ing|o(?:ntextMenu|ls)|(?:rossOrigi|olSpa)n|lip(?:Path)?|ursor|[xy])|glyphOrientationVertical|d(?:angerouslySetInnerHTML|efaultChecked|ownload|isabled|isplay|[xy])|(?:s(?:trikethroughThickn|eaml)es|(?:und|ov)erlineThicknes|r(?:equiredExtension|adiu)|(?:requiredFeatur|tableValu|stitchTil|numOctav|filterR)e|key(?:(?:Splin|Tim)e|Param)|autoFocu|header|bia)s|(?:(?:st(?:rikethroughPosi|dDevia)|(?:und|ov)erlinePosi|(?:textDecor|elev)a|orienta)tio|(?:strokeLinejo|orig)i|on(?:PointerDow|FocusI)|formActio|zoomAndPa|directio|(?:vers|act)io|rowSpa|begi|ico)n|o(?:n(?:AnimationIteration|C(?:o(?:mposition(?:Update|Start|End)|ntextMenu|py)|anPlayThrough|anPlay|hange|lick|ut)|(?:(?:Duration|Volume|Rate)Chang|(?:MouseLea|(?:Touch|Mouse)Mo|DragLea)v|Paus)e|Loaded(?:Metad|D)ata|(?:Animation|Touch|Load|Drag)Start|(?:(?:T(?:ransition|ouch)|Animation)E|Suspe)nd|DoubleClick|(?:TouchCanc|Whe)el|(?:Mouse(?:Ent|Ov)e|Drag(?:Ent|Ov)e|Erro)r|TimeUpdate|(?:E(?:n(?:crypt|d)|mpti)|S(?:tall|eek))ed|MouseDown|P(?:rogress|laying)|(?:MouseOu|DragExi|S(?:elec|ubmi)|Rese|Inpu)t|KeyPress|DragEnd|Key(?:Down|Up)|(?:Wait|Seek)ing|(?:MouseU|Dro)p|Scroll|Paste|Focus|Abort|Drag|Play|Load|Blur)|rient)|p(?:reserveA(?:spectRatio|lpha)|ointsAt[X-Z]|anose1)|(?:patternContent|ma(?:sk(?:Content)?|rker)|primitive|gradient|pattern|filter)Units|(?:(?:allowTranspar|baseFrequ)enc|re(?:ferrerPolic|adOnl)|(?:(?:st(?:roke|op)O|floodO|fillO|o)pac|integr|secur)it|visibilit|fontFamil|accessKe|propert|summar)y|(?:gradientT|patternT|t)ransform|(?:[xy]ChannelSelect|lightingCol|textAnch|floodCol|stopCol|operat|htmlF)or|(?:strokeMiterlimi|(?:specularConsta|repeatCou|fontVaria)n|(?:(?:specularE|e)xpon|renderingInt|asc)en|d(?:iffuseConsta|esce)n|(?:fontSizeAdju|lengthAdju|manife)s|baselineShif|onPointerOu|vectorEffec|(?:(?:mar(?:ker|gin)|x)H|accentH|fontW)eigh|markerStar|a(?:utoCorrec|bou)|onFocusOu|intercep|restar|forma|inlis|heigh|lis)t|(?:(?:st(?:rokeDasho|artO)|o)ffs|acceptChars|formTarg|viewTarg|srcS)et|k(?:ernel(?:UnitLength|Matrix)|[1-4])|(?:(?:enableBackgrou|markerE)n|s(?:p(?:readMetho|ee)|ee)|formMetho|(?:markerM|onInval)i|preloa|metho|kin)d|strokeDasharray|(?:onPointerCanc|lab)el|(?:allowFullScre|hidd)en|systemLanguage|(?:(?:o(?:nPointer(?:Ent|Ov)|rd)|allowReord|placehold|frameBord|paintOrd|post)e|repeatDu|d(?:efe|u))r|v(?:Mathematical|ert(?:Origin[XY]|AdvY)|alues|ocab)|(?:pointerEve|keyPoi)nts|(?:strokeLineca|onPointerU|itemPro|useMa|wra|loo)p|h(?:oriz(?:Origin|Adv)X|ttpEquiv)|(?:vI|i)deographic|unicodeRange|mathematical|vAlphabetic|u(?:nicodeBidi|[12])|(?:fontStretc|hig)h|(?:(?:mar(?:ker|gin)W|strokeW)id|azimu)th|(?:xmlnsXl|valueL)ink|mediaGroup|spellCheck|(?:text|m(?:in|ax))Length|(?:unitsPerE|optimu|fro)m|r(?:adioGroup|e(?:sults|f[XY]|l)|ows|[xy])|a(?:rabicForm|l(?:phabetic|t)|sync)|pathLength|innerHTML|xlinkShow|(?:xlinkHr|glyphR)ef|(?:tabInde|(?:sand|b)bo|viewBo)x|(?:(?:href|xml|src)La|kerni)ng|autoPlay|o(?:verflow|pen)|f(?:o(?:ntSize|rm)|il(?:ter|l))|r(?:e(?:quired|sult|f))?|divisor|p(?:attern|oints)|unicode|d(?:efault|ata|ir)?|i(?:temRef|n2|s)|t(?:arget[XY]|o)|srcDoc|s(?:coped|te(?:m[hv]|p)|pan)|(?:width|size)s|prefix|typeof|itemID|s(?:t(?:roke|art)|hape|cope|rc)|t(?:arget|ype)|(?:stri|la)ng|a(?:ccept|s)|m(?:edia|a(?:sk|x)|in)|x(?:mlns)?|width|value|size|href|k(?:ey)?|end|low|by|i[dn]|y[12]|g[12]|x[12]|f[xy]|[yz])$/,we=RegExp.prototype.test.bind(new RegExp("^(x|data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"));var _e,Ee,ke="__styled-components__",Se=ke+"next__",Ce=p.a.shape({getTheme:p.a.func,subscribe:p.a.func,unsubscribe:p.a.func});var Ae=function(e){function t(){N(this,t);var n=I(this,e.call(this));return n.unsubscribeToOuterId=-1,n.getTheme=n.getTheme.bind(n),n}return R(t,e),t.prototype.componentWillMount=function(){var e=this,t=this.context[Se];void 0!==t&&(this.unsubscribeToOuterId=t.subscribe(function(t){e.outerTheme=t,void 0!==e.broadcast&&e.publish(e.props.theme)})),this.broadcast=function(e){var t={},n=0,r=e;return{publish:function(e){for(var n in r=e,t){var i=t[n];void 0!==i&&i(r)}},subscribe:function(e){var i=n;return t[i]=e,n+=1,e(r),i},unsubscribe:function(e){t[e]=void 0}}}(this.getTheme())},t.prototype.getChildContext=function(){var e,t=this;return L({},this.context,((e={})[Se]={getTheme:this.getTheme,subscribe:this.broadcast.subscribe,unsubscribe:this.broadcast.unsubscribe},e[ke]=function(e){var n=t.broadcast.subscribe(e);return function(){return t.broadcast.unsubscribe(n)}},e))},t.prototype.componentWillReceiveProps=function(e){this.props.theme!==e.theme&&this.publish(e.theme)},t.prototype.componentWillUnmount=function(){-1!==this.unsubscribeToOuterId&&this.context[Se].unsubscribe(this.unsubscribeToOuterId)},t.prototype.getTheme=function(e){var t=e||this.props.theme;if("function"==typeof t)return t(this.outerTheme);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":j(t)))throw new Error("");return L({},this.outerTheme,t)},t.prototype.publish=function(e){this.broadcast.publish(this.getTheme(e))},t.prototype.render=function(){return this.props.children?f.a.Children.only(this.props.children):null},t}(c.Component);Ae.childContextTypes=((_e={})[ke]=p.a.func,_e[Se]=Ce,_e),Ae.contextTypes=((Ee={})[Se]=Ce,Ee);var Oe={};function De(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0}var Me=U,Te=function e(t,n){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(v.isValidElementType)(r))throw new Error("");var a=function(){return n(r,i,e.apply(void 0,arguments))};return a.withConfig=function(e){return t(n,r,L({},i,e))},a.attrs=function(e){return t(n,r,L({},i,{attrs:L({},i.attrs||{},e)}))},a}}(z),Be=function(e,t){var n={},r=function(e){function t(){var n,r;N(this,t);for(var i=arguments.length,a=Array(i),o=0;ol;)a.call(o,n=s[l++])&&c.push(e?[n,o[n]]:o[n]);return c}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMapperWithPropTypes=t.oneOrMoreNumbers=t.oneOrMoreOf=void 0;var r=p(n(6)),i=p(n(672)),a=p(n(165)),o=p(n(106)),s=p(n(100)),u=p(n(70)),l=p(n(8));t.classifier=function(e){return function(t){var n=t.className,r=(0,l.default)(t,["className"]),c={},h=[],p=!0,d=!1,m=void 0;try{for(var v,g=(0,a.default)((0,i.default)(r));!(p=(v=g.next()).done);p=!0){var y=v.value,b=(0,u.default)(y,2),x=b[0],w=b[1];if(x in e){var _=e[x];if("function"==typeof _)w=_(w);else{if(!_)continue;w=_}h=h.concat(w)}else c[x]=r[x]}}catch(e){d=!0,m=e}finally{try{!p&&g.return&&g.return()}finally{if(d)throw m}}var E,k=f.default.apply(void 0,[n].concat((0,s.default)(h))).trim().split(" "),S=(E=k,E.filter(function(e,t){return E.indexOf(e)===t})).join(" ");return S?(0,o.default)(c,{className:S}):c}},t.valueMapper=function(e,t,n){return function(r){return r in e?d(t,e[r]):d(!0===n?t:n,r)}},t.expander=function(e){return function(t){return Array.isArray(t)?t.map(e):e(t)}},t.stylizer=function(e){return function(t){var n=(0,r.default)({},t);return n.style=e.reduce(function(e,r){return r in t&&(e[r]=t[r],delete n[r]),e},t.style||{}),n}};var c=p(n(3)),f=p(n(14)),h=p(n(660));function p(e){return e&&e.__esModule?e:{default:e}}var d=function(e,t){return"function"==typeof e?e(t):e||t},m=t.oneOrMoreOf=function(e){return c.default.oneOfType([e,c.default.arrayOf(e)])},v=t.oneOrMoreNumbers=m(c.default.number),g=(t.createMapperWithPropTypes=function(e){var t=(0,h.default)(e);return t.propTypes=e.props.reduce(function(e,t){return e[t]=v,e},{}),t})({breakpoints:[null,"sm","md","lg","xl"],props:["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py"],getter:function(e){var t=e.breakpoint,n=e.prop,r=e.value;return t?[n,t,r].join("-"):[n,r].join("-")}});t.default=g},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(688)},function(e,t,n){var r=n(55),i=n(58),a=n(35),o=n(118),s=n(36),u=n(187),l=Object.getOwnPropertyDescriptor;t.f=n(30)?l:function(e,t){if(e=a(e),t=o(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(185),i=n(113).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports={default:n(712),__esModule:!0}},function(e,t,n){var r=n(16),i=n(7),a=n(48);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(190),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){return function r(i,o){try{var s=t[i](o),u=s.value}catch(e){return void n(e)}if(!s.done)return a.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)});e(u)}("next")})}}},function(e,t,n){e.exports=n(716)},function(e,t,n){var r=n(13)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},e(a)}catch(e){}return n}},function(e,t,n){var r=n(26),i=n(31),a=n(110);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r,i,a,o=n(49),s=n(722),u=n(183),l=n(119),c=n(15),f=c.process,h=c.setImmediate,p=c.clearImmediate,d=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(57)(f)?r=function(e){f.nextTick(o(y,e,1))}:m&&m.now?r=function(e){m.now(o(y,e,1))}:d?(a=(i=new d).port2,i.port1.onmessage=b,r=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(o(y,e,1),0)}),e.exports={set:h,clear:p}},function(e,t,n){var r=n(26),i=n(76),a=n(13)("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},function(e,t,n){var r=n(47),i=n(13)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var r=n(26);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(36),i=n(56),a=n(115)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){var r=n(15).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(57);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(36),i=n(35),a=n(730)(!1),o=n(115)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=o&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(37)},function(e,t,n){e.exports=!n(30)&&!n(48)(function(){return 7!=Object.defineProperty(n(119)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(77),i=n(16),a=n(186),o=n(37),s=n(36),u=n(47),l=n(732),c=n(74),f=n(182),h=n(13)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,m,v,g,y){l(n,t,m);var b,x,w,_=function(e){if(!p&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",k="values"==v,S=!1,C=e.prototype,A=C[h]||C["@@iterator"]||v&&C[v],O=!p&&A||_(v),D=v?k?_("entries"):O:void 0,M="Array"==t&&C.entries||A;if(M&&(w=f(M.call(new e)))!==Object.prototype&&w.next&&(c(w,E,!0),r||s(w,h)||o(w,h,d)),k&&A&&"values"!==A.name&&(S=!0,O=function(){return A.call(this)}),r&&!y||!p&&!S&&C[h]||o(C,h,O),u[t]=O,u[E]=d,v)if(b={values:k?O:_("values"),keys:g?O:_("keys"),entries:D},y)for(x in b)x in C||a(C,x,b[x]);else i(i.P+i.F*(p||S),t,b);return b}},function(e,t){},function(e,t,n){e.exports={default:n(734),__esModule:!0}},function(e,t,n){n(402),e.exports=n(90).Object.assign},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return ve}),n.d(t,"parse",function(){return ge}),n.d(t,"parseExpressionAt",function(){return ye}),n.d(t,"tokenizer",function(){return be}),n.d(t,"parse_dammit",function(){return pe}),n.d(t,"LooseParser",function(){return de}),n.d(t,"pluginsLoose",function(){return me}),n.d(t,"addLooseExports",function(){return xe}),n.d(t,"Parser",function(){return z}),n.d(t,"plugins",function(){return B}),n.d(t,"defaultOptions",function(){return L}),n.d(t,"Position",function(){return j}),n.d(t,"SourceLocation",function(){return N}),n.d(t,"getLineInfo",function(){return F}),n.d(t,"Node",function(){return ee}),n.d(t,"TokenType",function(){return v}),n.d(t,"tokTypes",function(){return _}),n.d(t,"keywordTypes",function(){return x}),n.d(t,"TokContext",function(){return re}),n.d(t,"tokContexts",function(){return ie}),n.d(t,"isIdentifierChar",function(){return m}),n.d(t,"isIdentifierStart",function(){return d}),n.d(t,"Token",function(){return oe}),n.d(t,"isNewLine",function(){return S}),n.d(t,"lineBreak",function(){return E}),n.d(t,"lineBreakG",function(){return k}),n.d(t,"nonASCIIwhitespace",function(){return C});var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",l=new RegExp("["+s+"]"),c=new RegExp("["+s+u+"]");s=u=null;var f=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],h=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function d(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&p(e,f)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(p(e,f)||p(e,h)))))}var v=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new v(e,{beforeExpr:!0,binop:t})}var y={beforeExpr:!0},b={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new v(e,t)}var _={num:new v("num",b),regexp:new v("regexp",b),string:new v("string",b),name:new v("name",b),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",y),semi:new v(";",y),colon:new v(":",y),dot:new v("."),question:new v("?",y),arrow:new v("=>",y),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",y),backQuote:new v("`",b),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new v("**",{beforeExpr:!0}),_break:w("break"),_case:w("case",y),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",y),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",y),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",b),_if:w("if"),_return:w("return",y),_switch:w("switch"),_throw:w("throw",y),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",b),_super:w("super",b),_class:w("class",b),_extends:w("extends",y),_export:w("export"),_import:w("import"),_null:w("null",b),_true:w("true",b),_false:w("false",b),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(E.source,"g");function S(e){return 10===e||13===e||8232===e||8233===e}var C=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,D=O.hasOwnProperty,M=O.toString;function T(e,t){return D.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===M.call(e)},j=function(e,t){this.line=e,this.column=t};j.prototype.offset=function(e){return new j(this.line,this.column+e)};var N=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function F(e,t){for(var n=1,r=0;;){k.lastIndex=r;var i=k.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,a,o,s){var u={type:n?"Block":"Line",value:r,start:i,end:a};e.locations&&(u.loc=new N(this,o,s)),e.ranges&&(u.range=[i,a]),t.push(u)}}(t,t.onComment)),t}var B={};function I(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var z=function(e,t,n){this.options=e=R(e),this.sourceFile=e.sourceFile,this.keywords=I(a[e.ecmaVersion>=6?6:5]);var i="";if(!e.allowReserved){for(var o=e.ecmaVersion;!(i=r[o]);o--);"module"==e.sourceType&&(i+=" await")}this.reservedWords=I(i);var s=(i?i+" ":"")+r.strict;this.reservedWordsStrict=I(s),this.reservedWordsStrictBind=I(s+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,this.loadPlugins(e.plugins),n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.inFunction=this.inGenerator=this.inAsync=!1,this.yieldPos=this.awaitPos=0,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterFunctionScope()};z.prototype.isKeyword=function(e){return this.keywords.test(e)},z.prototype.isReservedWord=function(e){return this.reservedWords.test(e)},z.prototype.extend=function(e,t){this[e]=t(this[e])},z.prototype.loadPlugins=function(e){for(var t in e){var n=B[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},z.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var H=z.prototype,V=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)"|;)/;function U(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.strictDirective=function(e){for(;;){A.lastIndex=e,e+=A.exec(this.input)[0].length;var t=V.exec(this.input.slice(e));if(!t)return!1;if("use strict"==(t[1]||t[2]))return!0;e+=t[0].length}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var W={kind:"loop"},G={kind:"switch"};q.isLet=function(){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(d(n,!0)){for(var r=t+1;m(this.input.charCodeAt(r),!0);)++r;var i=this.input.slice(t,r);if(!o.test(i))return!0}return!1},q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!=this.input.length&&m(this.input.charAt(t+8)))},q.parseStatement=function(e,t,n){var r,i=this.type,a=this.startNode();switch(this.isLet()&&(i=_._var,r="let"),i){case _._break:case _._continue:return this.parseBreakContinueStatement(a,i.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1);case _._class:return e||this.unexpected(),this.parseClass(a,!0);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:return r=r||this.value,e||"var"==r||this.unexpected(),this.parseVarStatement(a,r);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock();case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(a):this.parseExport(a,n);default:if(this.isAsyncFunction())return e||this.unexpected(),this.next(),this.parseFunctionStatement(a,!0);var o=this.value,s=this.parseExpression();return i===_.name&&"Identifier"===s.type&&this.eat(_.colon)?this.parseLabeledStatement(a,o,s):this.parseExpressionStatement(a,s)}},q.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.inAsync&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterLexicalScope(),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(t>-1&&this.unexpected(t),this.parseFor(e,r)):(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r))}var a=new U,o=this.parseExpression(!0,a);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},q.parseFunctionStatement=function(e,t){return this.next(),this.parseFunction(e,!0,!1,t)},q.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!this.strict&&this.type==_._function),e.alternate=this.eat(_._else)?this.parseStatement(!this.strict&&this.type==_._function):null,this.finishNode(e,"IfStatement")},q.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},q.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(G),this.enterLexicalScope();for(var n=!1;this.type!=_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return this.exitLexicalScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},q.parseThrowStatement=function(e){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var X=[];q.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();this.next(),this.expect(_.parenL),t.param=this.parseBindingAtom(),this.enterLexicalScope(),this.checkLVal(t.param,"let"),this.expect(_.parenR),t.body=this.parseBlock(!1),this.exitLexicalScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},q.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},q.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},q.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},q.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},q.parseLabeledStatement=function(e,t,n){for(var r=0,i=this.labels;r=0;o--){var s=this.labels[o];if(s.statementStart!=e.start)break;s.statementStart=this.start,s.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!=e.body.kind||"FunctionDeclaration"==e.body.type&&(this.strict||e.body.generator))&&this.raiseRecoverable(e.body.start,"Invalid labeled declaration"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},q.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},q.parseBlock=function(e){void 0===e&&(e=!0);var t=this.startNode();for(t.body=[],this.expect(_.braceL),e&&this.enterLexicalScope();!this.eat(_.braceR);){var n=this.parseStatement(!0);t.body.push(n)}return e&&this.exitLexicalScope(),this.finishNode(t,"BlockStatement")},q.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},q.parseForIn=function(e,t){var n=this.type===_._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"==n&&("AssignmentPattern"===t.type||"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(this.strict||"Identifier"!==t.declarations[0].id.type))&&this.raise(t.start,"Invalid assignment in for-in loop head"),e.left=t,e.right="ForInStatement"==n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),this.exitLexicalScope(),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},q.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},q.parseVarId=function(e,t){e.id=this.parseBindingAtom(t),this.checkLVal(e.id,t,!1)},q.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&&(e.id="nullableID"===t&&this.type!=_.name?null:this.parseIdent(),e.id&&this.checkLVal(e.id,"var"));var i=this.inGenerator,a=this.inAsync,o=this.yieldPos,s=this.awaitPos,u=this.inFunction;return this.inGenerator=e.generator,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),t||(e.id=this.type==_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=i,this.inAsync=a,this.yieldPos=o,this.awaitPos=s,this.inFunction=u,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},q.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},q.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),r=!1;for(n.body=[],this.expect(_.braceL);!this.eat(_.braceR);){var i=this.parseClassMember(n);i&&"MethodDefinition"===i.type&&"constructor"===i.kind&&(r&&this.raise(i.start,"Duplicate constructor in the same class"),r=!0)}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},q.parseClassMember=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===_.parenL||r&&t.canInsertSemicolon())||(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,a),n.key.name=e,t.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),a=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor"),this.parseClassMethod(e,n,i,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},q.parseClassMethod=function(e,t,n,r){t.value=this.parseMethod(n,r),e.body.push(this.finishNode(t,"MethodDefinition"))},q.parseClassId=function(e,t){e.id=this.type===_.name?this.parseIdent():!0===t?this.unexpected():null},q.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},q.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,"nullableID",!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Can not use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r,i=e.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===a&&(t.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);else{var o=t[r="$"+r];if(o)("init"===a?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=t[r]={init:!1,get:!1,set:!1};o[a]=!0}}},K.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===_.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(_.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},K.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var r=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new U,r=!0);var o=this.start,s=this.startLoc;this.type!=_.parenL&&this.type!=_.name||(this.potentialArrowAt=this.start);var u=this.parseMaybeConditional(e,t);if(n&&(u=n.call(this,u,o,s)),this.type.isAssign){var l=this.startNodeAt(o,s);return l.operator=this.value,l.left=this.type===_.eq?this.toAssignable(u,!1,t):u,r||U.call(t),t.shorthandAssign=-1,this.checkLVal(u),this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),u},K.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(_.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(_.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},K.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?i:i.start==n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},K.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==_._in)&&a>r){var o=this.type===_.logicalOR||this.type===_.logicalAND,s=this.value;this.next();var u=this.start,l=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,l,a,i),f=this.buildBinary(t,n,e,c,s,o);return this.parseExprOp(f,t,n,r,i)}return e},K.buildBinary=function(e,t,n,r,i,a){var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},K.parseMaybeUnary=function(e,t){var n,r=this.start,i=this.startLoc;if(this.inAsync&&this.isContextual("await"))n=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===_.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(r,i);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(_.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},K.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||i)return r;var a=this.parseSubscripts(r,t,n);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1)),a},K.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd==e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end),a=void 0;;)if((a=this.eat(_.bracketL))||this.eat(_.dot)){var o=this.startNodeAt(t,n);o.object=e,o.property=a?this.parseExpression():this.parseIdent(!0),o.computed=!!a,a&&this.expect(_.bracketR),e=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(_.parenL)){var s=new U,u=this.yieldPos,l=this.awaitPos;this.yieldPos=0,this.awaitPos=0;var c=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1,s);if(i&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(s,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=u,this.awaitPos=l,this.parseArrowExpression(this.startNodeAt(t,n),c,!0);this.checkExpressionErrors(s,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=l||this.awaitPos;var f=this.startNodeAt(t,n);f.callee=e,f.arguments=c,e=this.finishNode(f,"CallExpression")}else{if(this.type!==_.backQuote)return e;var h=this.startNodeAt(t,n);h.tag=e,h.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(h,"TaggedTemplateExpression")}},K.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case _._super:return this.inFunction||this.raise(this.start,"'super' outside of function or class"),t=this.startNode(),this.next(),this.type!==_.dot&&this.type!==_.bracketL&&this.type!==_.parenL&&this.unexpected(),this.finishNode(t,"Super");case _._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case _.name:var r=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(this.type!==_.name);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),!1,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!a)return o=this.parseIdent(),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var u=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();default:this.unexpected()}},K.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},K.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},K.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,u=[],l=!0,c=!1,f=new U,h=this.yieldPos,p=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){c=!0;break}if(this.type===_.ellipsis){a=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var d=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=p,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=p||this.awaitPos,u.length>1?((t=this.startNodeAt(o,s)).expressions=u,this.finishNodeAt(t,"SequenceExpression",d,m)):t=u[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,r);return v.expression=t,this.finishNode(v,"ParenthesizedExpression")}return t},K.parseParenItem=function(e){return e},K.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var Y=[];K.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||n)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Y,this.finishNode(e,"NewExpression")},K.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},K.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},K.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},K.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.afterTrailingComma(_.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},K.parseProperty=function(e,t){var n,r,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(n=this.eat(_.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,a,t,s),this.finishNode(o,"Property")},K.parsePropertyValue=function(e,t,n,r,i,a,o,s){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type==_.comma||this.type==_.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?(this.checkUnreserved(e.key),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},K.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(!0)},K.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},K.parseMethod=function(e,t){var n=this.startNode(),r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.inGenerator=n.generator,this.inAsync=n.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,this.enterFunctionScope(),this.expect(_.parenL),n.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(n,"FunctionExpression")},K.parseArrowExpression=function(e,t,n){var r=this.inGenerator,i=this.inAsync,a=this.yieldPos,o=this.awaitPos,s=this.inFunction;return this.enterFunctionScope(),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.inGenerator=!1,this.inAsync=e.async,this.yieldPos=0,this.awaitPos=0,this.inFunction=!0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=r,this.inAsync=i,this.yieldPos=a,this.awaitPos=o,this.inFunction=s,this.finishNode(e,"ArrowFunctionExpression")},K.parseFunctionBody=function(e,t){var n=t&&this.type!==_.braceL,r=this.strict,i=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);r&&!a||(i=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var o=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!r&&!i&&!t&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=o}this.exitFunctionScope(),this.strict&&e.id&&this.checkLVal(e.id,"none"),this.strict=r},K.isSimpleParamList=function(e){for(var t=0,n=e;t0;)t[n]=arguments[n+1];for(var r=0,i=t;r=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,n=this.type;n.keyword&&e==_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===ie.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){e.beforeExpr&&e!==_.semi&&e!==_._else&&(e!==_.colon&&e!==_.braceL||this.curContext()!==ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e==_._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&("of"==this.value&&!this.exprAllowed||"yield"==this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var oe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new N(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},se=z.prototype,ue="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);function le(e,t,n,r){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&r.raise(n,"Error parsing regular expression: "+e.message),e}}se.next=function(){this.options.onToken&&this.options.onToken(new oe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},se.getToken=function(){return this.next(),new oe(this)},"undefined"!=typeof Symbol&&(se[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),se.curContext=function(){return this.context[this.context.length-1]},se.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},se.readToken=function(e){return d(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},se.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},se.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(k.lastIndex=n;(e=k.exec(this.input))&&e.index8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},se.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},se.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},se.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},se.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42==e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},se.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},se.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},se.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!=t||this.inModule||62!=this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},se.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!=t||60!=e||this.inModule||45!=this.input.charCodeAt(this.pos+2)||45!=this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},se.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},se.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 63:return++this.pos,this.finishToken(_.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+fe(e)+"'")},se.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var ce=!!le("￿","u");function fe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}se.readRegexp=function(){for(var e,t,n=this,r=this.pos;;){n.pos>=n.input.length&&n.raise(r,"Unterminated regular expression");var i=n.input.charAt(n.pos);if(E.test(i)&&n.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++n.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var u=a,l="";if(s){var c="gim";this.options.ecmaVersion>=6&&(c+="uy"),this.options.ecmaVersion>=9&&(c+="s");for(var f=0;f-1&&n.raise(r,"Duplicate regular expression flag")}s.indexOf("u")>=0&&(ce?l="u":(u=(u=u.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,i){return(t=Number("0x"+t))>1114111&&n.raise(r+i+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var p=null;return ue||(le(u,l,r,this),p=le(a,s)),this.finishToken(_.regexp,{pattern:a,flags:s,value:p})},se.readInt=function(e,t){for(var n=this.pos,r=0,i=0,a=null==t?1/0:t;i=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,r=r*e+s}return this.pos===n||null!=t&&this.pos-n!==t?null:r},se.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,t)},se.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number"),n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(t,this.pos),a=n?parseInt(i,8):parseFloat(i);return this.finishToken(_.num,a)},se.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},se.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(S(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var he={};se.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==he)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},se.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw he;this.raise(e,t)},se.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},se.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!=t&&57!=t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,"Octal literal in strict mode"),String.fromCharCode(r)}return String.fromCharCode(t)}},se.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},se.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos>=5)>0&&(n|=32),t+=i[n]}while(e>0);return t}"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,t){r[e]=t,i[t]=e})},function(e,t,n){"use strict";(function(e,r){var i=n(193);function a(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}a.prototype={appendLeft:function(e){this.outro+=e},appendRight:function(e){this.intro=this.intro+e},clone:function(){var e=new a(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function(e){return this.start=t.end?1:-1;t;){if(i(t,e))return a(t,e);t=n[r+=o]}}}function h(e){var t=this,n={generatedCodeColumn:0,sourceIndex:0,sourceCodeLine:0,sourceCodeColumn:0,sourceCodeName:0},r=0,a=0;this.raw=[];var o=this.raw[r]=[],s=null;this.addEdit=function(e,n,r,i,u){n.length?o.push([a,e,i.line,i.column,u]):s&&o.push(s),t.advance(n),s=null},this.addUneditedChunk=function(n,i,u,l,c){for(var f=i.start,h=!0;f=r.length)return"\t";var i=r.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(i+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}m.prototype={addSourcemapLocation:function(e){this.sourcemapLocations[e]=!0},append:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},appendLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.appendLeft(t):this.intro+=t,this},appendRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.appendRight(t):this.outro+=t,this},clone:function(){for(var e=new m(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var r=t.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),t=r}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function(e){var t=this;e=e||{};var n=Object.keys(this.storedNames),r=new h(e.hires),i=f(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(e){var a=i(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,e.original,a,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(0,e,t.original,a,t.sourcemapLocations),e.outro.length&&r.advance(e.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?u(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:n,mappings:r.encode()})},getIndentString:function(){return null===this.indentStr?"\t":this.indentStr},indent:function(e,t){var n=/^[^\r\n]/gm;if(c(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var r={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var r=this.byStart[e],i=this.byEnd[t],a=r.previous,o=i.next,s=this.byStart[n];if(!s&&i===this.lastChunk)return this;var u=s?s.previous:this.lastChunk;return a&&(a.next=o),o&&(o.previous=a),u&&(u.next=r),s&&(s.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=s||null,u||(this.firstChunk=r),s||(this.lastChunk=i),this},overwrite:function(e,t,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(d.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),d.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,o=void 0!==r&&r.contentOnly;if(i){var s=this.original.slice(e,t);this.storedNames[s]=!0}var u=this.byStart[e],l=this.byEnd[t];if(u){if(t>u.end&&u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");if(u.edit(n,i,o),u!==l){for(var c=u.next;c!==l;)c.edit("",!1),c=c.next;c.edit("",!1)}}else{var f=new a(e,t,"").edit(n,i);l.next=f,f.previous=l}return this},prepend:function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},prependLeft:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.prependLeft(t):this.intro=t+this.intro,this},prependRight:function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prependRight(t):this.outro=t+this.outro,this},remove:function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var n=this.byStart[e];n;)n.intro="",n.outro="",n.edit(""),n=t>n.end?this.byStart[n.end]:null;return this},slice:function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>e||r.end<=e);){if(r.start=t)return n;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==e||(n+=r.intro);var a=r.start=t;if(a&&r.edited&&r.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=i===r?e-r.start:0,s=a?r.content.length+t-r.end:r.content.length;if(n+=r.content.slice(o,s),!r.outro||a&&r.end!==t||(n+=r.outro),a)break;r=r.next}return n},snip:function(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function(e,t){if(e.edited&&e.content.length){var n=f(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0},toString:function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimEnd:function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(t);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.previous}while(n);return this},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(t);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return this;n=n.next}while(n);return this}};var v=Object.prototype.hasOwnProperty;function g(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}g.prototype={addSource:function(e){if(e instanceof m)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!c(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){v.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(v.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function(e,t){return this.addSource({content:new m(e),separator:t&&t.separator||""}),this},clone:function(){var e=new g({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function(e){var t=this;void 0===e&&(e={});var n=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~n.indexOf(e)||n.push(e)})});var r=new h(e.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(e,i){i>0&&r.advance(t.separator);var a=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1,o=e.content,s=f(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(t){var i=s(t.start);t.intro.length&&r.advance(t.intro),e.filename?t.edited?r.addEdit(a,t.content,t.original,i,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(a,t,o.original,i,o.sourcemapLocations):r.advance(t.content),t.outro.length&&r.advance(t.outro)}),o.outro&&r.advance(o.outro)}),new s({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?u(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:n,mappings:r.encode()})},getIndentString:function(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var a=void 0!==r.separator?r.separator:t.separator,o=n||i>0&&/\r?\n$/.test(a);r.content.indent(e,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function(e){return this.intro=e+this.intro,this},toString:function(){var e=this,t=this.sources.map(function(t,n){var r=void 0!==t.separator?t.separator:e.separator;return(n>0?r:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function(){return this.trim("[\\r\\n]")},trim:function(e){return this.trimStart(e).trimEnd(e)},trimStart:function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r]))break;n.content.trimStart(e),r+=1}while(""===n.content.toString())}return this},trimEnd:function(e){var t,n=new RegExp((e||"\\s")+"+$"),r=this.sources.length-1;do{if(!(t=this.sources[r])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),r-=1}while(""===t.content.toString());return this}},t.a=m}).call(this,n(93).Buffer,n(54))},function(e,t,n){var r=n(404),i=n(403);function a(e,t){if(!(this instanceof a))return new a(e,t);if(this.node=this.start=this.peeked=e,this.root=t,this.closingTag=!1,this._revisit=!0,this._selects=[],this._rejects=[],e&&this.higher(e))throw new Error("root must be a parent or ancestor to node")}function o(e,t){var n="nextSibling"==e;return function(i,a,o){i=this.compile(i),a=a&&a>0?a:1;for(var s=this.node,u=this.closingTag,l=this._revisit;s;){if(r(n,u)&&s[t])s=s[t],u=!n;else if(1==s.nodeType&&!s[t]&&r(n,u)){if(u=n,!l)continue}else if(s[e])s=s[e],u=!n;else if(s=s.parentNode,u=n,!l)continue;if(!s||this.higher(s,this.root))break;if(i(s)&&this.selects(s,o)&&this.rejects(s,o)){if(--a)continue;return o||(this.node=s),this.closingTag=u,s}}return null}}e.exports=a,a.prototype.reset=function(e){return this.node=e||this.start,this},a.prototype.revisit=function(e){return this._revisit=void 0==e||e,this},a.prototype.opening=function(){return 1==this.node.nodeType&&(this.closingTag=!1),this},a.prototype.atOpening=function(){return!this.closingTag},a.prototype.closing=function(){return 1==this.node.nodeType&&(this.closingTag=!0),this},a.prototype.atClosing=function(){return this.closingTag},a.prototype.next=o("nextSibling","firstChild"),a.prototype.previous=a.prototype.prev=o("previousSibling","lastChild"),a.prototype.select=function(e){return e=this.compile(e),this._selects.push(e),this},a.prototype.selects=function(e,t){var n=this._selects,r=n.length;if(!r)return!0;for(var i=0;i0?this.next(e,t,!0):this.prev(e,Math.abs(t),!0):this.node},a.prototype.use=function(e){return e(this),this}},function(e,t,n){"use strict";var r,i=(e.exports=function(e){if(null==e)return"";var t=r||(r=new RegExp("("+Object.keys(i).join("|")+")","g"));return String(e).replace(t,function(e){return i[e]})}).chars={"'":"'","'":"'","&":"&",">":">","<":"<",""":'"'}},function(e,t,n){"use strict";e.exports=n(409)},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,s,u,l,c,f){switch(n){case 1:if(0===c&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===l)return r+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";n.r(t);var r=Math.PI,i=2*r,a=i-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function s(){return new o}o.prototype=s.prototype={constructor:o,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,i,a){e=+e,t=+t,n=+n,i=+i,a=+a;var o=this._x1,s=this._y1,u=n-e,l=i-t,c=o-e,f=s-t,h=c*c+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(h>1e-6)if(Math.abs(f*u-l*c)>1e-6&&a){var p=n-o,d=i-s,m=u*u+l*l,v=p*p+d*d,g=Math.sqrt(m),y=Math.sqrt(h),b=a*Math.tan((r-Math.acos((m+h-v)/(2*g*y)))/2),x=b/y,w=b/g;Math.abs(x-1)>1e-6&&(this._+="L"+(e+x*c)+","+(t+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*p>c*d)+","+(this._x1=e+w*u)+","+(this._y1=t+w*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,o,s,u){e=+e,t=+t;var l=(n=+n)*Math.cos(o),c=n*Math.sin(o),f=e+l,h=t+c,p=1^u,d=u?o-s:s-o;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+f+","+h),n&&(d<0&&(d=d%i+i),d>a?this._+="A"+n+","+n+",0,1,"+p+","+(e-l)+","+(t-c)+"A"+n+","+n+",0,1,"+p+","+(this._x1=f)+","+(this._y1=h):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=r)+","+p+","+(this._x1=e+n*Math.cos(s))+","+(this._y1=t+n*Math.sin(s))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var u=s,l=function(e){return function(){return e}},c=Math.abs,f=Math.atan2,h=Math.cos,p=Math.max,d=Math.min,m=Math.sin,v=Math.sqrt,g=1e-12,y=Math.PI,b=y/2,x=2*y;function w(e){return e>=1?b:e<=-1?-b:Math.asin(e)}function _(e){return e.innerRadius}function E(e){return e.outerRadius}function k(e){return e.startAngle}function S(e){return e.endAngle}function C(e){return e&&e.padAngle}function A(e,t,n,r,i,a,o){var s=e-n,u=t-r,l=(o?a:-a)/v(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+f,m=n+c,g=r+f,y=(h+m)/2,b=(d+g)/2,x=m-h,w=g-d,_=x*x+w*w,E=i-a,k=h*g-m*d,S=(w<0?-1:1)*v(p(0,E*E*_-k*k)),C=(k*w-x*S)/_,A=(-k*x-w*S)/_,O=(k*w+x*S)/_,D=(-k*x+w*S)/_,M=C-y,T=A-b,P=O-y,j=D-b;return M*M+T*T>P*P+j*j&&(C=O,A=D),{cx:C,cy:A,x01:-c,y01:-f,x11:C*(i/E-1),y11:A*(i/E-1)}}var O=function(){var e=_,t=E,n=l(0),r=null,i=k,a=S,o=C,s=null;function p(){var l,p,_,E=+e.apply(this,arguments),k=+t.apply(this,arguments),S=i.apply(this,arguments)-b,C=a.apply(this,arguments)-b,O=c(C-S),D=C>S;if(s||(s=l=u()),kg)if(O>x-g)s.moveTo(k*h(S),k*m(S)),s.arc(0,0,k,S,C,!D),E>g&&(s.moveTo(E*h(C),E*m(C)),s.arc(0,0,E,C,S,D));else{var M,T,P=S,j=C,N=S,F=C,L=O,R=O,B=o.apply(this,arguments)/2,I=B>g&&(r?+r.apply(this,arguments):v(E*E+k*k)),z=d(c(k-E)/2,+n.apply(this,arguments)),H=z,V=z;if(I>g){var U=w(I/E*m(B)),q=w(I/k*m(B));(L-=2*U)>g?(N+=U*=D?1:-1,F-=U):(L=0,N=F=(S+C)/2),(R-=2*q)>g?(P+=q*=D?1:-1,j-=q):(R=0,P=j=(S+C)/2)}var W=k*h(P),G=k*m(P),X=E*h(F),J=E*m(F);if(z>g){var K=k*h(j),Y=k*m(j),$=E*h(N),Z=E*m(N);if(Og?function(e,t,n,r,i,a,o,s){var u=n-e,l=r-t,c=o-i,f=s-a,h=(c*(t-a)-f*(e-i))/(f*u-c*l);return[e+h*u,t+h*l]}(W,G,$,Z,K,Y,X,J):[X,J],ee=W-Q[0],te=G-Q[1],ne=K-Q[0],re=Y-Q[1],ie=1/m(((_=(ee*ne+te*re)/(v(ee*ee+te*te)*v(ne*ne+re*re)))>1?0:_<-1?y:Math.acos(_))/2),ae=v(Q[0]*Q[0]+Q[1]*Q[1]);H=d(z,(E-ae)/(ie-1)),V=d(z,(k-ae)/(ie+1))}}R>g?V>g?(M=A($,Z,W,G,k,V,D),T=A(K,Y,X,J,k,V,D),s.moveTo(M.cx+M.x01,M.cy+M.y01),Vg&&L>g?H>g?(M=A(X,J,K,Y,E,-H,D),T=A(W,G,$,Z,E,-H,D),s.lineTo(M.cx+M.x01,M.cy+M.y01),H=f;--h)s.point(g[h],y[h]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+e(p,c,l),y[c]=+n(p,c,l),s.point(t?+t(p,c,l):g[c],r?+r(p,c,l):y[c]))}if(d)return s=null,d+""||null}function f(){return j().defined(i).curve(o).context(a)}return c.x=function(n){return arguments.length?(e="function"==typeof n?n:l(+n),t=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),c):e},c.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:l(+e),c):t},c.y=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),r=null,c):n},c.y0=function(e){return arguments.length?(n="function"==typeof e?e:l(+e),c):n},c.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:l(+e),c):r},c.lineX0=c.lineY0=function(){return f().x(e).y(n)},c.lineY1=function(){return f().x(e).y(r)},c.lineX1=function(){return f().x(t).y(n)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:l(!!e),c):i},c.curve=function(e){return arguments.length?(o=e,null!=a&&(s=o(a)),c):o},c.context=function(e){return arguments.length?(null==e?a=s=null:s=o(a=e),c):a},c},F=function(e,t){return te?1:t>=e?0:NaN},L=function(e){return e},R=function(){var e=L,t=F,n=null,r=l(0),i=l(x),a=l(0);function o(o){var s,u,l,c,f,h=o.length,p=0,d=new Array(h),m=new Array(h),v=+r.apply(this,arguments),g=Math.min(x,Math.max(-x,i.apply(this,arguments)-v)),y=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=y*(g<0?-1:1);for(s=0;s0&&(p+=f);for(null!=t?d.sort(function(e,n){return t(m[e],m[n])}):null!=n&&d.sort(function(e,t){return n(o[e],o[t])}),s=0,l=p?(g-h*b)/p:0;s0?f*l:0)+b,m[u]={data:o[u],index:s,value:f,startAngle:v,endAngle:c,padAngle:y};return m}return o.value=function(t){return arguments.length?(e="function"==typeof t?t:l(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:l(+e),o):a},o},B=z(M);function I(e){this._curve=e}function z(e){function t(t){return new I(e(t))}return t._curve=e,t}function H(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var V=function(){return H(j().curve(B))},U=function(){var e=N().curve(B),t=e.curve,n=e.lineX0,r=e.lineX1,i=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return H(n())},delete e.lineX0,e.lineEndAngle=function(){return H(r())},delete e.lineX1,e.lineInnerRadius=function(){return H(i())},delete e.lineY0,e.lineOuterRadius=function(){return H(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(z(e)):t()._curve},e},q=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},W=Array.prototype.slice;function G(e){return e.source}function X(e){return e.target}function J(e){var t=G,n=X,r=T,i=P,a=null;function o(){var o,s=W.call(arguments),l=t.apply(this,s),c=n.apply(this,s);if(a||(a=o=u()),e(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(e){return arguments.length?(n=e,o):n},o.x=function(e){return arguments.length?(r="function"==typeof e?e:l(+e),o):r},o.y=function(e){return arguments.length?(i="function"==typeof e?e:l(+e),o):i},o.context=function(e){return arguments.length?(a=null==e?null:e,o):a},o}function K(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,i,r,i)}function Y(e,t,n,r,i){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+i)/2,r,n,r,i)}function $(e,t,n,r,i){var a=q(t,n),o=q(t,n=(n+i)/2),s=q(r,n),u=q(r,i);e.moveTo(a[0],a[1]),e.bezierCurveTo(o[0],o[1],s[0],s[1],u[0],u[1])}function Z(){return J(K)}function Q(){return J(Y)}function ee(){var e=J($);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var te={draw:function(e,t){var n=Math.sqrt(t/y);e.moveTo(n,0),e.arc(0,0,n,0,x)}},ne={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},re=Math.sqrt(1/3),ie=2*re,ae={draw:function(e,t){var n=Math.sqrt(t/ie),r=n*re;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},oe=Math.sin(y/10)/Math.sin(7*y/10),se=Math.sin(x/10)*oe,ue=-Math.cos(x/10)*oe,le={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=se*n,i=ue*n;e.moveTo(0,-n),e.lineTo(r,i);for(var a=1;a<5;++a){var o=x*a/5,s=Math.cos(o),u=Math.sin(o);e.lineTo(u*n,-s*n),e.lineTo(s*r-u*i,u*r+s*i)}e.closePath()}},ce={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},fe=Math.sqrt(3),he={draw:function(e,t){var n=-Math.sqrt(t/(3*fe));e.moveTo(0,2*n),e.lineTo(-fe*n,-n),e.lineTo(fe*n,-n),e.closePath()}},pe=Math.sqrt(3)/2,de=1/Math.sqrt(12),me=3*(de/2+1),ve={draw:function(e,t){var n=Math.sqrt(t/me),r=n/2,i=n*de,a=r,o=n*de+n,s=-a,u=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,u),e.lineTo(-.5*r-pe*i,pe*r+-.5*i),e.lineTo(-.5*a-pe*o,pe*a+-.5*o),e.lineTo(-.5*s-pe*u,pe*s+-.5*u),e.lineTo(-.5*r+pe*i,-.5*i-pe*r),e.lineTo(-.5*a+pe*o,-.5*o-pe*a),e.lineTo(-.5*s+pe*u,-.5*u-pe*s),e.closePath()}},ge=[te,ne,ae,ce,le,he,ve],ye=function(){var e=l(te),t=l(64),n=null;function r(){var r;if(n||(n=r=u()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"==typeof t?t:l(t),r):e},r.size=function(e){return arguments.length?(t="function"==typeof e?e:l(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},be=function(){};function xe(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function we(e){this._context=e}we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xe(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var _e=function(e){return new we(e)};function Ee(e){this._context=e}Ee.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ke=function(e){return new Ee(e)};function Se(e){this._context=e}Se.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xe(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Ce=function(e){return new Se(e)};function Ae(e,t){this._basis=new we(e),this._beta=t}Ae.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,s=t[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*e[u]+(1-this._beta)*(i+r*o),this._beta*t[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var Oe=function e(t){function n(e){return 1===t?new we(e):new Ae(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function De(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Me(e,t){this._context=e,this._k=(1-t)/6}Me.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:De(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Te=function e(t){function n(e){return new Me(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Pe(e,t){this._context=e,this._k=(1-t)/6}Pe.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var je=function e(t){function n(e){return new Pe(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Ne(e,t){this._context=e,this._k=(1-t)/6}Ne.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:De(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return new Ne(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Le(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>g){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>g){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/c,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Re(e,t){this._context=e,this._alpha=t}Re.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new Re(e,t):new Me(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ie(e,t){this._context=e,this._alpha=t}Ie.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ze=function e(t){function n(e){return t?new Ie(e,t):new Pe(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function He(e,t){this._context=e,this._alpha=t}He.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Le(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ve=function e(t){function n(e){return t?new He(e,t):new Ne(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ue(e){this._context=e}Ue.prototype={areaStart:be,areaEnd:be,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var qe=function(e){return new Ue(e)};function We(e){return e<0?-1:1}function Ge(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(We(a)+We(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Xe(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Je(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Ke(e){this._context=e}function Ye(e){this._context=new $e(e)}function $e(e){this._context=e}function Ze(e){return new Ke(e)}function Qe(e){return new Ye(e)}function et(e){this._context=e}function tt(e){var t,n,r=e.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var it=function(e){return new rt(e,.5)};function at(e){return new rt(e,0)}function ot(e){return new rt(e,1)}var st=function(e,t){if((i=e.length)>1)for(var n,r,i,a=1,o=e[t[0]],s=o.length;a=0;)n[t]=t;return n};function lt(e,t){return e[t]}var ct=function(){var e=l([]),t=ut,n=st,r=lt;function i(i){var a,o,s=e.apply(this,arguments),u=i.length,l=s.length,c=new Array(l);for(a=0;a0){for(var n,r,i,a=0,o=e[0].length;a1)for(var n,r,i,a,o,s,u=0,l=e[t[0]].length;u=0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):r[0]=a},pt=function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],a=i.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,a=0,o=1;o=arguments.length)?u=t[s]:(u=arguments[a],a+=1),i[s]=u,r(u)||(o-=1),s+=1}return o<=0?n.apply(this,i):h(o,p(e,i,n))}}var d=l(function(e,t){return 1===e?i(t):h(e,p(e,[],t))}),m=i(function(e){return d(e.length,function(){var t=0,n=arguments[0],r=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var e=n.apply(this,f(arguments,[t,r]));return t+=1,e},e.apply(this,i)})});function v(e){return function t(n,a,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:l(function(t,r){return e(n,t,r)});case 2:return r(n)&&r(a)?t:r(n)?l(function(t,n){return e(t,a,n)}):r(a)?l(function(t,r){return e(n,t,r)}):i(function(t){return e(n,a,t)});default:return r(n)&&r(a)&&r(o)?t:r(n)&&r(a)?l(function(t,n){return e(t,n,o)}):r(n)&&r(o)?l(function(t,n){return e(t,a,n)}):r(a)&&r(o)?l(function(t,r){return e(n,t,r)}):r(n)?i(function(t){return e(t,a,o)}):r(a)?i(function(t){return e(n,t,o)}):r(o)?i(function(t){return e(n,a,t)}):e(n,a,o)}}}var g=v(function(e,t,n){if(t>=n.length||t<-n.length)return n;var r=(t<0?n.length:0)+t,i=f(n);return i[r]=e(n[r]),i}),y=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)};function b(e){return"function"==typeof e["@@transducer/step"]}function x(e,t,n){return function(){if(0===arguments.length)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!y(i)){for(var a=0;ae?t:e});function C(e,t){for(var n=0,r=t.length,i=Array(r);n0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}),D=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();function M(e){return new D(e)}var T=l(function(e,t){return h(e.length,function(){return e.apply(t,arguments)})});function P(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function j(e,t,n,r){return e["@@transducer/result"](n[r](T(e["@@transducer/step"],e),t))}var N="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function F(e,t,n){if("function"==typeof e&&(e=M(e)),O(n))return function(e,t,n){for(var r=0,i=n.length;r=0;)B(t=V[n],e)&&!q(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)}),G=l(x(["fantasy-land/map","map"],R,function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return d(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return F(function(n,r){return n[r]=e(t[r]),n},{},W(t));default:return C(e,t)}})),X=l(function(e,t){for(var n=t,r=0;r=0?r:0);ni?1:0}),he=v(function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}),pe=Number.isInteger||function(e){return e<<0===e},de=i(function(e){return null==e}),me=v(function e(t,n,r){if(0===t.length)return n;var i=t[0];if(t.length>1){var a=!de(r)&&B(i,r)?r[i]:pe(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,a)}if(pe(i)&&y(r)){var o=[].concat(r);return o[i]=n,o}return he(i,n,r)}),ve=l(function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,a){return t.call(this,e,n,r,i,a)};case 6:return function(e,n,r,i,a,o){return t.call(this,e,n,r,i,a,o)};case 7:return function(e,n,r,i,a,o,s){return t.call(this,e,n,r,i,a,o,s)};case 8:return function(e,n,r,i,a,o,s,u){return t.call(this,e,n,r,i,a,o,s,u)};case 9:return function(e,n,r,i,a,o,s,u,l){return t.call(this,e,n,r,i,a,o,s,u,l)};case 10:return function(e,n,r,i,a,o,s,u,l,c){return t.call(this,e,n,r,i,a,o,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}),ge=i(function(e){return ve(2,e)});function ye(e){return"[object Function]"===Object.prototype.toString.call(e)}var be=l(function(e,t){var n=d(e,t);return d(e,function(){return F(re,G(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),xe=i(function(e){return be(e.length,e)}),we=l(function(e,t){return ye(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:xe(Z)(e,t)}),_e=i(function(e){return d(e.length,e)}),Ee=_e(function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))});function ke(e){return function t(n){for(var r,i,a,o=[],s=0,u=n.length;st)throw new Error("min must not be greater than max in clamp(min, max, value)");return nt?t:n});function Oe(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}var De=i(function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Me(e,t,n,r){var i=function(i){for(var a=t.length,o=0;o=0;){if(n[s]===e)return r[s]===t;s-=1}switch(o){case"Map":return e.size===t.size&&Ke(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size===t.size&&Ke(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=W(e);if(u.length!==W(t).length)return!1;var l=n.concat([e]),c=r.concat([t]);for(s=u.length-1;s>=0;){var f=u[s];if(!B(f,t)||!Ye(t[f],e[f],l,c))return!1;s-=1}return!0}var $e=l(function(e,t){return Ye(e,t,[],[])});function Ze(e,t,n){var r,i;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n=0}function et(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(e){return(e<10?"0":"")+e},nt="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+tt(e.getUTCMonth()+1)+"-"+tt(e.getUTCDate())+"T"+tt(e.getUTCHours())+":"+tt(e.getUTCMinutes())+":"+tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(e){return function(){return!e.apply(this,arguments)}}function it(e,t){for(var n=0,r=t.length,i=[];n":e(r,i)},i=function(e,t){return C(function(t){return et(t)+": "+r(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+C(r,t).join(", ")+"))";case"[object Array]":return"["+C(r,t).concat(i(t,ut(function(e){return/^\d+$/.test(e)},W(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):et(nt(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":et(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var a=t.toString();if("[object Object]"!==a)return a}return"{"+i(t,W(t)).join(", ")+"}"}}(e,[])}),ct=l(function(e,t){if(y(e)){if(y(t))return e.concat(t);throw new TypeError(lt(t)+" is not an array")}if(A(e)){if(A(t))return e+t;throw new TypeError(lt(t)+" is not a string")}if(null!=e&&ye(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&ye(e.concat))return e.concat(t);throw new TypeError(lt(e)+' does not have a method named "concat" or "fantasy-land/concat"')}),ft=i(function(e){return h(Y(S,0,G(function(e){return e[0].length},e)),function(){for(var t=0;t10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:_e(ve(e,function(e,n,r,i,a,o,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,a);case 6:return new t(e,n,r,i,a,o);case 7:return new t(e,n,r,i,a,o,s);case 8:return new t(e,n,r,i,a,o,s,u);case 9:return new t(e,n,r,i,a,o,s,u,l);case 10:return new t(e,n,r,i,a,o,s,u,l,c)}}))}),pt=i(function(e){return ht(e.length,e)}),dt=l(Qe),mt=l(function(e,t){return d(Y(S,0,K("length",t)),function(){var n=arguments,r=this;return e.apply(r,C(function(e){return e.apply(r,n)},t))})}),vt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(B(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}(),gt=p(4,[],x([],p(4,[],function(e,t,n,r){return new vt(e,t,n,r)}),function(e,t,n,r){return F(function(r,i){var a=n(i);return r[a]=e(B(a,r)?r[a]:t,i),r},{},r)})),yt=gt(function(e,t){return e+1},0),bt=c(-1),xt=l(function(e,t){return null==t||t!=t?e:t}),wt=v(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},e}(),Mt=l(x(["drop"],l(function(e,t){return new Dt(e,t)}),function(e,t){return Re(Math.max(0,e),1/0,t)})),Tt=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?w(n):n},e}(),Pt=l(x(["take"],l(function(e,t){return new Tt(e,t)}),function(e,t){return Re(0,e<0?1/0:e,t)}));var jt=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e}(),Nt=l(x([],l(function(e,t){return new jt(e,t)}),function(e,t){return Pt(e=0&&e(t[n]);)n-=1;return Re(0,n+1,t)})),Rt=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},e}(),Bt=l(function(e,t){return new Rt(e,t)}),It=l(function(e,t){var n=e<0?t.length+e:e;return A(t)?t.charAt(n):t[n]}),zt=It(-1),Ht=l(x([],Bt,function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r=0?t.length-e:0,t)}),Kt=l(function(e,t){return $e(Jt(e.length,t),e)}),Yt=v(function(e,t,n){return $e(e(t),e(n))}),$t=v(function(e,t,n){return $e(t[e],n[e])}),Zt=l(function e(t,n){var r,i,a,o={};for(i in n)a=typeof(r=t[i]),o[i]="function"===a?r(n[i]):r&&"object"===a?e(r,n[i]):n[i];return o}),Qt=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=w(this.xf["@@transducer/step"](e,t))),e},e}(),en=l(x(["find"],l(function(e,t){return new Qt(e,t)}),function(e,t){for(var n=0,r=t.length;n=0;){if(e(t[n]))return t[n];n-=1}})),on=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},e}(),sn=l(x([],l(function(e,t){return new on(e,t)}),function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})),un=i(ke(!0)),ln=i(function(e){return d(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),cn=l(Le("forEach",function(e,t){for(var n=t.length,r=0;rt}),vn=l(function(e,t){return e>=t}),gn=l(B),yn=l(function(e,t){return e in t}),bn=It(0);function xn(e){return e}var wn=i(xn),_n=v(function(e,t,n){return d(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),En=c(1),kn=gt(function(e,t){return t},null),Sn=l(function(e,t){return"function"!=typeof t.indexOf||y(t)?Ze(t,e,0):t.indexOf(e)}),Cn=Re(0,-1),An=v(function(e,t,n){return it(function(t){return Xe(e,t,n)},t)}),On=v(function(e,t,n){e=e=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}),Dn=v(function(e,t,n){return e=e=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))});function Mn(e,t,n){var r,i=typeof e;switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?e in n._items[i]||(t&&(n._items[i][e]=!0),!1):(t&&(n._items[i]={},n._items[i][e]=!0),!1);case"boolean":if(i in n._items){var a=e?1:0;return!!n._items[i][a]||(t&&(n._items[i][a]=!0),!1)}return t&&(n._items[i]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):i in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1);case"undefined":return!!n._items[i]||(t&&(n._items[i]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(i=Object.prototype.toString.call(e))in n._items?!!Qe(e,n._items[i])||(t&&n._items[i].push(e),!1):(t&&(n._items[i]=[e]),!1)}}var Tn=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!Mn(e,!0,this)},e.prototype.has=function(e){return Mn(e,!1,this)},e}(),Pn=l(function(e,t){for(var n,r,i=new Tn,a=[],o=0;ot.length?(n=e,r=t):(n=t,r=e),jn(it(ln(Qe)(n),r))}),Fn=l(Le("intersperse",function(e,t){for(var n=[],r=0,i=t.length;r=0;){if($e(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)});function $n(e){return"[object Number]"===Object.prototype.toString.call(e)}var Zn=i(function(e){return null!=e&&$n(e.length)?e.length:NaN}),Qn=l(function(e,t){return function(n){return function(r){return G(function(e){return t(e,r)},n(e(r)))}}}),er=i(function(e){return Qn(It(e),Ct(e))}),tr=i(function(e){return Qn(X(e),me(e))}),nr=i(function(e){return Qn(J(e),he(e))}),rr=l(function(e,t){return e=0;)a=e(n[r],a[0]),i[r]=a[1],r-=1;return[i,a[0]]}),sr=l(function(e,t){return F(function(n,r){return n[r]=e(t[r],r,t),n},{},W(t))}),ur=l(function(e,t){return t.match(e)||[]}),lr=l(function(e,t){return pe(e)?!pe(t)||t<1?NaN:(e%t+t)%t:NaN}),cr=v(function(e,t,n){return e(n)>e(t)?n:t}),fr=Y(c,0),hr=i(function(e){return fr(e)/e.length}),pr=i(function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return hr(Array.prototype.slice.call(e,0).sort(function(e,t){return et?1:0}).slice(r,r+n))}),dr=l(function(e,t){var n={};return h(t.length,function(){var r=e.apply(this,arguments);return B(r,n)||(n[r]=t.apply(this,arguments)),n[r]})}),mr=dr(function(){return lt(arguments)}),vr=l(function(e,t){return Ln({},e,t)}),gr=i(function(e){return Ln.apply(null,[{}].concat(e))}),yr=v(function(e,t,n){var r,i={};for(r in t)B(r,t)&&(i[r]=B(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)B(r,n)&&!B(r,i)&&(i[r]=n[r]);return i}),br=v(function e(t,n,r){return yr(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),xr=l(function(e,t){return br(function(e,t,n){return t},e,t)}),wr=l(function(e,t){return br(function(e,t,n){return n},e,t)}),_r=v(function(e,t,n){return br(function(t,n,r){return e(n,r)},t,n)}),Er=v(function(e,t,n){return yr(function(t,n,r){return e(n,r)},t,n)}),kr=l(function(e,t){return t0&&e(X(t,n))}),Wr=l(function(e,t){for(var n={},r=0;r=0;)t=e(n[r],t),r-=1;return t}),oi=p(4,[],function(e,t,n,r){return F(function(n,r){return e(n,r)?t(n,r):w(n)},n,r)}),si=i(w),ui=l(function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);ii?1:0})}),vi=l(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;0===r&&i=0&&e(t[n]);)n-=1;return Re(n+1,1/0,t)}),Ci=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=_.init,e.prototype["@@transducer/result"]=_.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):w(e)},e}(),Ai=l(x(["takeWhile"],l(function(e,t){return new Ci(e,t)}),function(e,t){for(var n=0,r=t.length;n\n Hello World!\n To get started with the Sandbox, start adding some primer-react components\n ",scope:s})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Tooltip",element:r.default.createElement("div",null,r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip!"},"Text with a tooltip")),r.default.createElement(i.Block,{p:2},r.default.createElement(a.default,{mt:3},"Directions"),i.Tooltip.directions.map(function(e,t){return r.default.createElement(i.Box,{p:3,key:t},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip!",direction:e},"Tooltip direction=",e))}),r.default.createElement(a.default,{mt:3},"Alignment"),r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip!",direction:"ne",align:"left"},"Tooltip align left")),r.default.createElement(a.default,{mt:3},"Word wrap"),r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{text:"Hello, Tooltip! This tooltip has a sentence that will wrap to a newline.",wrap:!0,direction:"ne",align:"left"},"Word wrapping tooltip")),r.default.createElement(a.default,{mt:3},"No Delay"),r.default.createElement(i.Box,{p:3},r.default.createElement(i.Tooltip,{noDelay:!0,text:"Hello, Tooltip!"},"Text with a tooltip"))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Text",element:a.default.createElement("div",null,a.default.createElement(o.Text,{tag:"div"},"Text"),a.default.createElement(o.Text,{tag:"div",fontWeight:"bold"},"Text bold"),a.default.createElement(o.Text,{tag:"div",color:"green"},"Text green"),a.default.createElement(o.Text,{tag:"div",lineHeight:"condensed"},"Text lineHeight 'condensed'"),a.default.createElement(o.Text,{tag:"div",fontSize:4},"Text fontSize 4"),a.default.createElement(o.Text,{tag:"div",p:4},"Text padding 4"))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(0)),i=s(n(52)),a=n(5),o=s(n(29));function s(e){return e&&e.__esModule?e:{default:e}}var u={name:"StateLabel",element:r.default.createElement("div",null,r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"open"},"Open")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"closed"},"Closed")),r.default.createElement(a.Block,{mb:4},r.default.createElement(a.StateLabel,{state:"merged"},"Merged")),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"By state (Octicons built in)"),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,null,"Unknown")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"open"},"Open")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"closed"},"Closed")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"merged"},"Merged")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{state:"reopened"},"Reopened"))),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"By color"),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"invalid"},"Invalid")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"green"},"Green")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"red"},"Red")),r.default.createElement(a.Block,{mb:2},r.default.createElement(a.StateLabel,{scheme:"purple"},"Purple"))),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"Small, by state"),r.default.createElement(a.Block,{mb:2},r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0},"Unknown")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"open"},"Open")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"closed"},"Closed")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"merged"},"Merged")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,state:"reopened"},"Reopened")))),r.default.createElement(a.Block,{mb:4},r.default.createElement(o.default,null,"Small, by color"),r.default.createElement(a.Block,{mb:2},r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"invalid"},"Invalid")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"green"},"Green")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"red"},"Red")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"purple"},"Purple")),r.default.createElement("span",{className:"mr-2"},r.default.createElement(a.StateLabel,{small:!0,scheme:"green",icon:r.default.createElement(i.default,{name:"git-branch"})},"Custom Octicon")))))};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"MergeStatus",element:a.default.createElement("div",null,a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"pending"})),a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"invalid"})),a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"merged"})),a.default.createElement(o.Block,{m:2},a.default.createElement(o.MergeStatus,{state:"ready"})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Link",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{href:"https://github.com"},"Link")),a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{muted:!0,href:"https://github.com"},"Link muted")),a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{gray:!0,href:"https://github.com"},"Link gray")),a.default.createElement(o.Block,{mb:1},a.default.createElement(o.Link,{graydark:!0,href:"https://github.com"},"Link graydark")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Label",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Label,null,"Default label"),a.default.createElement(o.Label,{scheme:"gray-darker"},"Darker gray label"),a.default.createElement(o.Label,{scheme:"orange"},"Orange label"),a.default.createElement(o.Label,{scheme:"green"},"Green label")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Label,{outline:!0},"Default outline label"),a.default.createElement(o.Label,{outline:!0,scheme:"green"},"Green outline label")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Heading",element:a.default.createElement("div",null,a.default.createElement(o.Heading,{mb:2},"Default Heading"),[0,1,2,3,4,5,"00-light","0-light","1-light","2-light","3-light"].map(function(e,t){return a.default.createElement(o.Heading,{key:t,fontSize:e,mb:2},"With fontSize=",e)}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Form elements",element:r.default.createElement("div",null,r.default.createElement(a.default,null,"Input"),r.default.createElement(i.TextInput,{name:"zipcode"}),r.default.createElement(a.default,null,"Input Sizes"),r.default.createElement(i.Box,null,r.default.createElement(i.TextInput,{name:"zipcode",size:"small",placeholder:"Small input"})),r.default.createElement(i.Box,null,r.default.createElement(i.TextInput,{name:"zipcode",size:"large",placeholder:"Large input"})),r.default.createElement(a.default,null,"Block input"),r.default.createElement(i.TextInput,{block:!0,placeholder:"Full width block input"}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Font sizes",element:a.default.createElement("div",null,[5,4,3,2,1,0].map(function(e,t){return a.default.createElement(o.Text,{tag:"div",key:t,fontSize:e},"fontSize ",e)}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Flash",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,null," Flash ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{yellow:!0}," Flash yellow ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{red:!0}," Flash red ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{green:!0}," Flash green ")),a.default.createElement(o.Block,{mb:3},a.default.createElement(o.Flash,{full:!0}," Flash full ")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"DonutChart",element:r.default.createElement("div",null,r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,null,"With ",r.default.createElement(i.Text,{mono:!0},"data")," prop"),r.default.createElement(i.DonutChart,{data:{error:2,pending:3,success:5}})," ",r.default.createElement(i.DonutChart,{data:{error:1,pending:4,success:2}})," ",r.default.createElement(i.DonutChart,{data:{pending:2,success:6}})," ",r.default.createElement(i.DonutChart,{data:{pending:0,success:1}})," ",r.default.createElement(i.DonutChart,{data:{pending:1,queued:1}})," ",r.default.createElement(i.DonutChart,{data:{unknown:1}})),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,null,"With ",r.default.createElement(i.Text,{mono:!0},"DonutSlice")," children"),r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"pending"}),r.default.createElement(i.DonutSlice,{value:1,state:"success"}),r.default.createElement(i.DonutSlice,{value:1,state:"error"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"error"}),r.default.createElement(i.DonutSlice,{value:4,state:"pending"}),r.default.createElement(i.DonutSlice,{value:2,state:"success"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:2,state:"pending"}),r.default.createElement(i.DonutSlice,{value:6,state:"success"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:0,state:"pending"}),r.default.createElement(i.DonutSlice,{value:1,state:"success"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"pending"}),r.default.createElement(i.DonutSlice,{value:1,state:"queued"}))," ",r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,state:"queued"}))),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,null,"With custom ",r.default.createElement(i.Text,{mono:!0},"fill")," colors"),r.default.createElement(i.DonutChart,null,r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[0]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[1]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[2]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[3]}),r.default.createElement(i.DonutSlice,{value:1,fill:i.theme.colors.purple[4]}))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Dropdown",element:r.default.createElement("div",null,r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"Dropdown Primary"),r.default.createElement(i.Dropdown,{scheme:"primary"},r.default.createElement("ul",null,r.default.createElement("li",null,"Item 1"),r.default.createElement("li",null,"Item 2"),r.default.createElement("li",null,"Item 3")))),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"Dropdown"),r.default.createElement(i.Dropdown,null,r.default.createElement("ul",null,r.default.createElement("li",null,"Item 1"),r.default.createElement("li",null,"Item 2"),r.default.createElement("li",null,"Item 3")))),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"Dropdown with title"),r.default.createElement(i.Dropdown,{title:"Options"},r.default.createElement("ul",null,r.default.createElement("li",null,"Item 1"),r.default.createElement("li",null,"Item 2"),r.default.createElement("li",null,"Item 3")))))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Details",element:r.default.createElement("div",null,r.default.createElement(i.Block,{mb:4},r.default.createElement(a.default,null,"With static children"),r.default.createElement(i.Details,null,r.default.createElement("summary",{className:"btn"},"Click me"),r.default.createElement("p",null,"This should show and hide"))),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"With children as a function"),r.default.createElement(i.Details,null,function(e){var t=e.open,n=e.toggle;return r.default.createElement(r.default.Fragment,null,r.default.createElement("summary",{className:"btn",onClick:n},t?"Hide":"Show"),r.default.createElement("p",null,"This should show and hide"))})),r.default.createElement(i.Block,{my:4},r.default.createElement(a.default,null,"With render prop"),r.default.createElement(i.Details,{render:function(){return"hi"}})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"CounterLabel",element:a.default.createElement("div",null,a.default.createElement(o.CounterLabel,null,"12"),a.default.createElement(o.CounterLabel,{theme:"gray"},"13"),a.default.createElement(o.CounterLabel,{theme:"gray-light"},"13"))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(8));t.default=function(e){var t=e.name,n=e.index,o=e.color,s=(0,r.default)(e,["name","index","color"]);return i.default.createElement("div",s,i.default.createElement("div",{className:"m-1 mt-3 p-6",style:{background:o}}),i.default.createElement(a.Heading,{tag:"h3",fontSize:2,px:1},t,".",n),i.default.createElement(a.Text,{px:1},o))};var i=o(n(0)),a=n(5);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(216));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Colors",element:r.default.createElement("div",null,["gray","blue","green","purple","yellow","orange"].map(function(e,t){return r.default.createElement("div",{className:"d-flex",key:t},i.theme.colors[e].map(function(t,n){return r.default.createElement(a.default,{name:e,index:n,key:n,color:t})}))}),r.default.createElement("div",{className:"d-flex"},r.default.createElement(i.Block,{bg:"blue",p:4,m:1}),r.default.createElement(i.Block,{bg:"green",p:4,m:1}),r.default.createElement(i.Block,{bg:"purple",p:4,m:1}),r.default.createElement(i.Block,{bg:"yellow",p:4,m:1}),r.default.createElement(i.Block,{bg:"red",p:4,m:1}),r.default.createElement(i.Block,{bg:"white",p:4,m:1,border:!0}),r.default.createElement(i.Block,{bg:"gray",p:4,m:1}),r.default.createElement(i.Block,{bg:"gray-light",p:4,m:1}),r.default.createElement(i.Block,{bg:"blue-light",p:4,m:1}),r.default.createElement(i.Block,{bg:"purple-light",p:4,m:1}),r.default.createElement(i.Block,{bg:"red-light",p:4,m:1})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"CircleOcticon",element:a.default.createElement("div",{className:"d-flex"},a.default.createElement(o.CircleOcticon,{name:"check",size:"32",bg:"green",color:"white"}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(42)),i=u(n(0)),a=n(41),o=n(5),s=u(n(29));function u(e){return e&&e.__esModule?e:{default:e}}var l={name:"CaretBox",element:i.default.createElement(o.Block,{p:2},i.default.createElement(s.default,{mt:2},"CaretBox"),i.default.createElement(a.PropsForm,null,i.default.createElement(o.CaretBox,{my:4,p:2,minHeight:100,border:[!0,"purple"]},"CaretBox"),i.default.createElement(a.PropsForm.Select,{name:"caret"},o.Caret.locations.map(function(e,t){return i.default.createElement("option",null,e)})),i.default.createElement(a.PropsForm.Select,{name:"border"},(0,r.default)(o.theme.colors.border).map(function(e){return i.default.createElement("option",null,"[true, borderColor]")})),i.default.createElement(a.PropsForm.Select,{name:"bg"},(0,r.default)(o.theme.colors.bg).map(function(e){return i.default.createElement("option",null,e)}))))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Caret",element:a.default.createElement(o.Block,{p:4},o.Caret.locations.map(function(e,t){return a.default.createElement(o.Box,{p:2,mb:4,position:"relative",maxWidth:300,minHeight:96,shadow:!0,key:t},a.default.createElement(o.Text,{fontSize:1,mono:!0},"location='",e,"'"),a.default.createElement(o.Caret,{location:e}))}))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Buttons",element:a.default.createElement("div",null,a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,null," Button ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{size:"sm"}," Button small ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{size:"large"}," Button large ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonDanger,null," ButtonDanger ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonPrimary,null," ButtonPrimary ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonOutline,null," ButtonOutline ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{block:!0}," Button block ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.Button,{linkStyle:!0}," Button linkStyle ")),a.default.createElement(o.Block,{mb:2},a.default.createElement(o.ButtonLink,{href:"https://www.goatslive.com/"},"This is an ","
"," styled as a button")))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=n(41),a=u(n(52)),o=n(5),s=u(n(29));function u(e){return e&&e.__esModule?e:{default:e}}var l={name:"BranchName",element:r.default.createElement("div",null,r.default.createElement(o.BranchName,null,"a_new_feature_branch"),r.default.createElement(i.Detail,null,r.default.createElement(s.default,{mt:3},"Linked BranchName"),r.default.createElement(o.BranchName,{tag:"a",href:"/"},"a_new_feature_branch"),r.default.createElement(s.default,{mt:3},"BranchName with Octicon"),r.default.createElement(o.BranchName,null,r.default.createElement(a.default,{name:"git-branch"})," a_new_feature_branch")))};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Box",element:a.default.createElement("div",null,a.default.createElement(o.Box,{m:2},"This is a box"),a.default.createElement(o.Box,{p:2,m:2},"This is a box with padding."),a.default.createElement(o.Box,{shadow:!0,p:2,m:2},"This is a box with shadow."),a.default.createElement(o.Box,{shadow:"medium",p:2,m:2},"This is a box with a medium shadow."),a.default.createElement(o.Box,{shadow:"large",p:2,m:2},"This is a box with a large shadow."),a.default.createElement(o.Box,{shadow:"extra-large",p:2,m:2},"This is a box with an extra-large shadow."),a.default.createElement(o.Box,{border:[!0,"green"],p:2,m:2},"This is a box with a green border."))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(0),a=(r=i)&&r.__esModule?r:{default:r},o=n(5);var s={name:"Block",element:a.default.createElement("table",null,a.default.createElement("tbody",null,["white","gray-dark","gray","gray-light","blue","blue-light","green","green-light","red","red-light","yellow","yellow-light","purple","purple-light"].map(function(e,t,n){return a.default.createElement("tr",{key:t},a.default.createElement("td",null,a.default.createElement(o.Text,{mono:!0,nowrap:!0},"bg='"+e+"'")),["white","gray","black"].map(function(t,n){return a.default.createElement("td",{key:n},a.default.createElement(o.Block,{p:3,mb:2,bg:e,border:"white"===e},a.default.createElement(o.Text,{color:t},t)))}))})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(6)),i=s(n(8));t.default=function(e){var t=e.username,n=e.size,s=void 0===n?20:n,u=(0,i.default)(e,["username","size"]);return a.default.createElement(o.Avatar,(0,r.default)({src:"https://avatars.githubusercontent.com/"+t+"?v=3&s="+2*s,size:s},u))};var a=s(n(0)),o=n(5);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=n(5),a=o(n(225));function o(e){return e&&e.__esModule?e:{default:e}}var s={name:"Avatar",element:r.default.createElement("div",null,r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,{username:"primer",size:128})),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,{username:"github",size:64})),r.default.createElement(i.Block,{mb:2},r.default.createElement(a.default,{username:"reactjs",size:32})," ",r.default.createElement(a.default,{username:"npm"})))};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(226);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function(){return C(r).default}});var i=n(224);Object.defineProperty(t,"Block",{enumerable:!0,get:function(){return C(i).default}});var a=n(223);Object.defineProperty(t,"Box",{enumerable:!0,get:function(){return C(a).default}});var o=n(222);Object.defineProperty(t,"BranchName",{enumerable:!0,get:function(){return C(o).default}});var s=n(221);Object.defineProperty(t,"Buttons",{enumerable:!0,get:function(){return C(s).default}});var u=n(220);Object.defineProperty(t,"Caret",{enumerable:!0,get:function(){return C(u).default}});var l=n(219);Object.defineProperty(t,"CaretBox",{enumerable:!0,get:function(){return C(l).default}});var c=n(218);Object.defineProperty(t,"CircleOcticon",{enumerable:!0,get:function(){return C(c).default}});var f=n(217);Object.defineProperty(t,"Colors",{enumerable:!0,get:function(){return C(f).default}});var h=n(215);Object.defineProperty(t,"CounterLabel",{enumerable:!0,get:function(){return C(h).default}});var p=n(214);Object.defineProperty(t,"Details",{enumerable:!0,get:function(){return C(p).default}});var d=n(213);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return C(d).default}});var m=n(212);Object.defineProperty(t,"DonutChart",{enumerable:!0,get:function(){return C(m).default}});var v=n(211);Object.defineProperty(t,"Flash",{enumerable:!0,get:function(){return C(v).default}});var g=n(210);Object.defineProperty(t,"FontSizes",{enumerable:!0,get:function(){return C(g).default}});var y=n(209);Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return C(y).default}});var b=n(208);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return C(b).default}});var x=n(207);Object.defineProperty(t,"Label",{enumerable:!0,get:function(){return C(x).default}});var w=n(206);Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return C(w).default}});var _=n(205);Object.defineProperty(t,"MergeStatus",{enumerable:!0,get:function(){return C(_).default}});var E=n(204);Object.defineProperty(t,"StateLabel",{enumerable:!0,get:function(){return C(E).default}});var k=n(203);Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return C(k).default}});var S=n(202);function C(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function(){return C(S).default}})},function(e,t,n){var r=n(16),i=n(166)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){n(228),e.exports=n(7).Object.values},function(e,t,n){e.exports={default:n(229),__esModule:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(230)),i=u(n(0)),a=n(41),o=u(n(128)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(227));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return i.default.createElement(a.Library,{basename:"/docs/components",title:"Primer-react Library",examples:(0,r.default)(s),renderSideNav:function(e){var t=e.title,n=e.examples;return i.default.createElement(o.default,{title:t,examples:n})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(0)),i=s(n(3)),a=n(5),o=s(n(81));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.numCommits,n=e.repoUrl,i=e.branchName,s=e.state;return r.default.createElement(a.Block,{py:3,px:4,bg:"gray-light",style:{borderBottomLeftRadius:"3px",borderBottomRightRadius:"3px"}},r.default.createElement(o.default,{primary:"ready"===s,numCommits:t}),r.default.createElement(a.Text,{ml:2},"You can also "),r.default.createElement(a.Link,{nounderline:!0,href:"x-github-client://openRepo/"+n+"?branch="+i},"open this in Github Desktop"),r.default.createElement(a.Text,null," or view "),r.default.createElement(a.ButtonLink,null,"command line instructions."))};u.propTypes={numCommits:i.default.number.isRequired,repoUrl:i.default.string.isRequired,branchName:i.default.string.isRequired},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(3)),a=n(5);function o(e){return e&&e.__esModule?e:{default:e}}var s={ready:"green",invalid:"invalid",merged:"purple",pending:"yellow"},u=function(e){var t=e.state;return r.default.createElement("div",{className:"p-2 d-flex border-bottom"},r.default.createElement(a.Block,{mt:2},r.default.createElement(a.CircleOcticon,{name:"check",size:32,bg:s[t],color:"white"})),r.default.createElement(a.Block,{p:2,display:"inline"},r.default.createElement(a.Text,{tag:"p",p:0,m:0,fontSize:2,fontWeight:"bold"},"This branch has no conflicts with the base branch"),r.default.createElement(a.Text,{tag:"p",pt:1,m:0,fontSize:0},"Merging can be performed automatically")))};u.propTypes={state:i.default.oneOf(["ready","invalid","merged","pending"]).isRequired},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=u(n(3)),a=n(5),o=(u(n(81)),u(n(233))),s=u(n(232));function u(e){return e&&e.__esModule?e:{default:e}}var l={ready:"green",invalid:"invalid",merged:"purple",pending:"yellow"},c=function(e){var t=e.state,n=e.repoUrl,i=e.branchName,u=e.numCommits;return r.default.createElement("div",{className:"d-flex flex-items-start"},r.default.createElement(a.MergeStatus,{state:t}),r.default.createElement(a.CaretBox,{ml:3,border:[!0,l[t]],caret:"left-top"},r.default.createElement(o.default,{state:t}),r.default.createElement(s.default,{state:t,numCommits:u,repoUrl:n,branchName:i})))};c.propTypes={state:i.default.oneOf(["ready","invalid","merged","pending"]).isRequired,repoUrl:i.default.string.isRequired,branchName:i.default.string.isRequired,numCommits:i.default.number.isRequired},t.default=c},function(e,t){!function(e){"use strict";if(!e.fetch){var t={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(t.arrayBuffer)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=function(e){return e&&DataView.prototype.isPrototypeOf(e)},i=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};c.prototype.append=function(e,t){e=s(e),t=u(t);var n=this.map[e];this.map[e]=n?n+","+t:t},c.prototype.delete=function(e){delete this.map[s(e)]},c.prototype.get=function(e){return e=s(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(s(e))},c.prototype.set=function(e,t){this.map[s(e)]=u(t)},c.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),l(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),l(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),l(e)},t.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},m.call(v.prototype),m.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var o=[301,302,303,307,308];y.redirect=function(e,t){if(-1===o.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=c,e.Request=v,e.Response=y,e.fetch=function(e,n){return new Promise(function(r,i){var a=new v(e,n),o=new XMLHttpRequest;o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new c,e.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;r(new y(i,n))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(a.method,a.url,!0),"include"===a.credentials&&(o.withCredentials=!0),"responseType"in o&&t.blob&&(o.responseType="blob"),a.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),o.send(void 0===a._bodyInit?null:a._bodyInit)})},e.fetch.polyfill=!0}function s(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t.iterable&&(n[Symbol.iterator]=function(){return n}),n}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function p(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(t.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(t.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(t.arrayBuffer&&t.blob&&r(e))this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!t.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!i(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=d(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},t.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var e,t,n,r=f(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function y(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){n(235),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(6)),i=g(n(174)),a=g(n(173)),o=g(n(24)),s=g(n(23)),u=g(n(22)),l=g(n(21)),c=g(n(20)),f=g(n(129)),h=n(0),p=g(h),d=n(151),m=g(n(236)),v=n(25);function g(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){var e=this;(0,s.default)(this,t);var n=(0,l.default)(this,(t.__proto__||(0,o.default)(t)).call(this));return n.fetchData=(0,a.default)(i.default.mark(function t(){var r,a,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props.url,e.prev=1,e.next=4,(0,m.default)(r);case 4:return a=e.sent,e.next=7,a.json();case 7:o=e.sent,n.setState({fetchState:"fetched",code:(0,f.default)(o,null,2),data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.setState({error:e.t0,fetchState:"error"});case 14:n.setState({loading:!1,fetching:!1,fetched:!0});case 15:case"end":return e.stop()}},t,e,[[1,11]])})),n.handleDataChange=function(e){if(!n.state.fetching)try{var t=JSON.parse(e);n.setState({data:t})}catch(t){n.setState({code:e})}},n.handleFetchStateChange=function(e){if(!n.state.fetching){var t=e.target.value;n.setState({fetchState:t,loading:"loading"===t,error:"error"===t})}},n.render=function(){return p.default.createElement(h.Fragment,null,n.props.children(n.state),n.props.renderEditor((0,r.default)({onDataChange:n.handleDataChange,onFetchStateChange:n.handleFetchStateChange},n.state)))},n.state={fetchState:"loading",data:null,error:null,loading:!0,fetching:!0,fetched:!1},n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=(0,a.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.fetchData();case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),t}(h.Component);y.defaultProps={renderEditor:function(e){var t=e.onDataChange,n=e.onFetchStateChange,r=e.fetchState,i=e.data,a=void 0===i?{}:i,o=(0,f.default)(a,null,2);return p.default.createElement(h.Fragment,null,p.default.createElement(v.Divider,null),p.default.createElement(v.Box,{p:3},p.default.createElement(v.Label,null,"Fetch State"),p.default.createElement(v.Select,{mt:1,value:r,onChange:n,children:["loading","fetched","error"].map(function(e){return p.default.createElement("option",{key:e,value:e,children:e})})})),p.default.createElement(v.Divider,null),p.default.createElement(d.Editor,{code:o,onChange:t,lang:"jsx"}))}},t.default=y},function(e){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(238);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/);if(i){i=i[1];for(var a=0;a.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function l(e){var t=u(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function c(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[a=255*u,a,a];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i}function f(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),u=255*r*(1-n*(1-a));r*=255;switch(i){case 0:return[r,u,o];case 1:return[s,r,o];case 2:return[o,r,u];case 3:return[o,s,r];case 4:return[u,o,r];case 5:return[r,o,s]}}function h(e){var t,n,i,a,o=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),n=1-u,i=6*o-(t=Math.floor(6*o)),0!=(1&t)&&(i=1-i),a=s+i*(n-s),t){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function p(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function d(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function m(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(e){var t,n,r,i,a=e[0],o=e[1],s=e[2];return a<=8?i=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(o/500+i-16/116)/7.787:95.047*Math.pow(o/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function y(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function x(e){return d(v(e))}function w(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function _(e){return E[e]}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:u,rgb2lab:l,rgb2lch:function(e){return y(l(e))},hsl2rgb:c,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return a(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return s(c(e))},hsv2rgb:f,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,a=e[2]/100;return t=i*a,[r,100*(t=(t/=(n=(2-i)*a)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return a(f(e))},hsv2cmyk:function(e){return o(f(e))},hsv2keyword:function(e){return s(f(e))},hwb2rgb:h,hwb2hsl:function(e){return n(h(e))},hwb2hsv:function(e){return i(h(e))},hwb2cmyk:function(e){return o(h(e))},hwb2keyword:function(e){return s(h(e))},cmyk2rgb:p,cmyk2hsl:function(e){return n(p(e))},cmyk2hsv:function(e){return i(p(e))},cmyk2hwb:function(e){return a(p(e))},cmyk2keyword:function(e){return s(p(e))},keyword2rgb:_,keyword2hsl:function(e){return n(_(e))},keyword2hsv:function(e){return i(_(e))},keyword2hwb:function(e){return a(_(e))},keyword2cmyk:function(e){return o(_(e))},keyword2lab:function(e){return l(_(e))},keyword2xyz:function(e){return u(_(e))},xyz2rgb:d,xyz2lab:m,xyz2lch:function(e){return y(m(e))},lab2xyz:v,lab2rgb:x,lab2lch:y,lch2lab:w,lch2xyz:function(e){return v(w(e))},lch2rgb:function(e){return x(w(e))}};var E={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},k={};for(var S in E)k[JSON.stringify(E[S])]=S},function(e,t,n){var r=n(240),i=function(){return new l};for(var a in r){i[a+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],u=o[2];(i[s]=i[s]||{})[u]=i[a]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;in?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t=(t+e)%360)<0?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){for(var n=2*(t=1-(null==t?.5:t))-1,r=this.alpha()-e.alpha(),i=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,a=1-i,o=this.rgbArray(),s=e.rgbArray(),u=0;u @@ -199,4 +199,4 @@ _.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","# * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(71),i=n(45),a=n(104),o=n(44),s="function"==typeof Symbol&&Symbol.for,u=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,c=s?Symbol.for("react.fragment"):60107,f=s?Symbol.for("react.strict_mode"):60108,h=s?Symbol.for("react.profiler"):60114,p=s?Symbol.for("react.provider"):60109,d=s?Symbol.for("react.context"):60110,m=s?Symbol.for("react.async_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112;s&&Symbol.for("react.timeout");var g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rM.length&&M.push(e)}function j(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+N(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(690)})},function(e,t,n){n(691),e.exports=n(7).Object.assign},function(e,t,n){var r=n(16);r(r.S,"Object",{create:n(117)})},function(e,t,n){n(693);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(694),__esModule:!0}},function(e,t,n){var r=n(31),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(49)(Function.call,n(169).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(16);r(r.S,"Object",{setPrototypeOf:n(696).set})},function(e,t,n){n(697),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(698),__esModule:!0}},function(e,t,n){n(108)("observable")},function(e,t,n){n(108)("asyncIterator")},function(e,t,n){var r=n(35),i=n(170).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(57);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(46),i=n(107),a=n(55);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(75)("meta"),i=n(31),a=n(36),o=n(28).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(48)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(15),i=n(36),a=n(30),o=n(16),s=n(186),u=n(705).KEY,l=n(48),c=n(114),f=n(74),h=n(75),p=n(13),d=n(109),m=n(108),v=n(704),g=n(703),y=n(26),b=n(31),x=n(35),w=n(118),_=n(58),E=n(117),k=n(702),S=n(169),C=n(28),A=n(46),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,j=P&&P.stringify,N=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,N)||D(e,N,_(1,{})),e[N][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(170).f=k.f=$,n(55).f=K,n(107).f=Z,a&&!n(77)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,j.apply(P,r)}}),T.prototype[F]||n(37)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(706),n(189),n(701),n(700),e.exports=n(7).Symbol},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(59),n(73),e.exports=n(109).f("iterator")},function(e,t,n){e.exports={default:n(709),__esModule:!0}},function(e,t,n){var r=n(16);r(r.S+r.F*!n(30),"Object",{defineProperty:n(28).f})},function(e,t,n){n(711);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(56),i=n(182);n(172)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(713),e.exports=n(7).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(715),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(16),i=n(110),a=n(177);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(16),i=n(7),a=n(15),o=n(179),s=n(176);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(28),o=n(30),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(37);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(15),i=n(178).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(57)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(49),i=n(181),a=n(180),o=n(26),s=n(116),u=n(111),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(77),u=n(15),l=n(49),c=n(112),f=n(16),h=n(31),p=n(76),d=n(724),m=n(723),v=n(179),g=n(178).set,y=n(721)(),b=n(110),x=n(177),w=n(176),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&j(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(N,r,1))}catch(e){N.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(720)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(N,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(74)(k,"Promise"),n(719)("Promise"),o=n(7).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(175)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(727),i=n(726),a=n(47),o=n(35);e.exports=n(188)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(121),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(35),i=n(116),a=n(729);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(28),i=n(26),a=n(46);e.exports=n(30)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(117),i=n(58),a=n(74),o={};n(37)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(121),i=n(120);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(189),n(59),n(73),n(725),n(718),n(717),e.exports=n(7).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(8)),i=g(n(190)),a=g(n(174)),o=g(n(173)),s=g(n(24)),u=g(n(23)),l=g(n(22)),c=g(n(21)),f=g(n(20)),h=g(n(6)),p=g(n(105)),d=g(n(0)),m=n(168),v=n(61);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(676),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:8,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:256,blocks:0,atimeMs:1529619238722.3179,mtimeMs:1529618841691.3853,ctimeMs:1529618841691.3853,birthtimeMs:1529363602400.1438,atime:"2018-06-21T22:13:58.722Z",mtime:"2018-06-21T22:07:21.691Z",ctime:"2018-06-21T22:07:21.691Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/primer-react"},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),j=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;lM.length&&M.push(e)}function j(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case u:case l:a=!0}}if(a)return n(r,e,""===t?"."+N(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var o=0;ol;)for(var h,p=s(arguments[l++]),d=c?r(p).concat(c(p)):r(p),m=d.length,v=0;m>v;)f.call(p,h=d[v++])&&(n[h]=p[h]);return n}:u},function(e,t,n){var r=n(16);r(r.S+r.F,"Object",{assign:n(690)})},function(e,t,n){n(691),e.exports=n(7).Object.assign},function(e,t,n){var r=n(16);r(r.S,"Object",{create:n(117)})},function(e,t,n){n(693);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(694),__esModule:!0}},function(e,t,n){var r=n(31),i=n(26),a=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(49)(Function.call,n(169).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(16);r(r.S,"Object",{setPrototypeOf:n(696).set})},function(e,t,n){n(697),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(698),__esModule:!0}},function(e,t,n){n(108)("observable")},function(e,t,n){n(108)("asyncIterator")},function(e,t,n){var r=n(35),i=n(170).f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return o.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(57);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(46),i=n(107),a=n(55);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var o,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,o=s[l++])&&t.push(o);return t}},function(e,t,n){var r=n(75)("meta"),i=n(31),a=n(36),o=n(28).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(48)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&f.NEED&&u(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){"use strict";var r=n(15),i=n(36),a=n(30),o=n(16),s=n(186),u=n(705).KEY,l=n(48),c=n(114),f=n(74),h=n(75),p=n(13),d=n(109),m=n(108),v=n(704),g=n(703),y=n(26),b=n(31),x=n(35),w=n(118),_=n(58),E=n(117),k=n(702),S=n(169),C=n(28),A=n(46),O=S.f,D=C.f,M=k.f,T=r.Symbol,P=r.JSON,j=P&&P.stringify,N=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,R=c("symbol-registry"),B=c("symbols"),I=c("op-symbols"),z=Object.prototype,H="function"==typeof T,V=r.QObject,U=!V||!V.prototype||!V.prototype.findChild,q=a&&l(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(z,t);r&&delete z[t],D(e,t,n),r&&e!==z&&D(z,t,r)}:D,W=function(e){var t=B[e]=E(T.prototype);return t._k=e,t},G=H&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},X=function(e,t,n){return e===z&&X(I,t,n),y(e),t=w(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,N)&&e[N][t]&&(e[N][t]=!1),n=E(n,{enumerable:_(0,!1)})):(i(e,N)||D(e,N,_(1,{})),e[N][t]=!0),q(e,t,n)):D(e,t,n)},J=function(e,t){y(e);for(var n,r=v(t=x(t)),i=0,a=r.length;a>i;)X(e,n=r[i++],t[n]);return e},K=function(e){var t=L.call(this,e=w(e,!0));return!(this===z&&i(B,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,N)&&this[N][e])||t)},Y=function(e,t){if(e=x(e),t=w(t,!0),e!==z||!i(B,t)||i(I,t)){var n=O(e,t);return!n||!i(B,t)||i(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)i(B,t=n[a++])||t==N||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===z,r=M(n?I:x(e)),a=[],o=0;r.length>o;)!i(B,t=r[o++])||n&&!i(z,t)||a.push(B[t]);return a};H||(s((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(I,n),i(this,N)&&i(this[N],e)&&(this[N][e]=!1),q(this,e,_(1,n))};return a&&U&&q(z,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),S.f=Y,C.f=X,n(170).f=k.f=$,n(55).f=K,n(107).f=Z,a&&!n(77)&&s(z,"propertyIsEnumerable",K,!0),d.f=function(e){return W(p(e))}),o(o.G+o.W+o.F*!H,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)p(Q[ee++]);for(var te=A(p.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!H,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=T(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),o(o.S+o.F*!H,"Object",{create:function(e,t){return void 0===t?E(e):J(E(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:Y,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),P&&o(o.S+o.F*(!H||l(function(){var e=T();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,j.apply(P,r)}}),T.prototype[F]||n(37)(T.prototype,F,T.prototype.valueOf),f(T,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(706),n(189),n(701),n(700),e.exports=n(7).Symbol},function(e,t,n){e.exports={default:n(707),__esModule:!0}},function(e,t,n){n(59),n(73),e.exports=n(109).f("iterator")},function(e,t,n){e.exports={default:n(709),__esModule:!0}},function(e,t,n){var r=n(16);r(r.S+r.F*!n(30),"Object",{defineProperty:n(28).f})},function(e,t,n){n(711);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(56),i=n(182);n(172)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){n(713),e.exports=n(7).Object.getPrototypeOf},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag",l="object"==typeof e,c=t.regeneratorRuntime;if(c)l&&(e.exports=c);else{(c=t.regeneratorRuntime=l?e.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",m={},v={};v[o]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(T([])));y&&y!==r&&i.call(y,o)&&(v=y);var b=k.prototype=_.prototype=Object.create(v);E.prototype=b.constructor=k,k.constructor=E,k[u]=E.displayName="GeneratorFunction",c.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},c.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},c.awrap=function(e){return{__await:e}},S(C.prototype),C.prototype[s]=function(){return this},c.AsyncIterator=C,c.async=function(e,t,n,r){var i=new C(x(e,t,n,r));return c.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(b),b[u]="Generator",b[o]=function(){return this},b.toString=function(){return"[object Generator]"},c.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=T,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(u&&l){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;D(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),m}}}function x(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,a=Object.create(i.prototype),o=new M(r||[]);return a._invoke=function(e,t,n){var r=f;return function(i,a){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw a;return P()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=A(o,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?d:h,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,o),a}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function _(){}function E(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var t;this._invoke=function(n,r){function a(){return new Promise(function(t,a){!function t(n,r,a,o){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&i.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,a,o)},function(e){t("throw",e,a,o)}):Promise.resolve(l).then(function(e){u.value=e,a(u)},o)}o(s.arg)}(n,r,t,a)})}return t=t?t.then(a,a):a()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return m;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r=0,a=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(715),i)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t,n){"use strict";var r=n(16),i=n(110),a=n(177);r(r.S,"Promise",{try:function(e){var t=i.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";var r=n(16),i=n(7),a=n(15),o=n(179),s=n(176);r(r.P+r.R,"Promise",{finally:function(e){var t=o(this,i.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(28),o=n(30),s=n(13)("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];o&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(37);e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},function(e,t,n){var r=n(15),i=n(178).set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,u="process"==n(57)(o);e.exports=function(){var e,t,n,l=function(){var r,i;for(u&&(r=o.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){o.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve();n=function(){c.then(l)}}else n=function(){i.call(r,l)};else{var f=!0,h=document.createTextNode("");new a(l).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(49),i=n(181),a=n(180),o=n(26),s=n(116),u=n(111),l={},c={};(t=e.exports=function(e,t,n,f,h){var p,d,m,v,g=h?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if((v=t?y(o(d=e[b])[0],d[1]):y(e[b]))===l||v===c)return v}else for(m=g.call(e);!(d=m.next()).done;)if((v=i(m,y,d.value,t))===l||v===c)return v}).BREAK=l,t.RETURN=c},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){"use strict";var r,i,a,o,s=n(77),u=n(15),l=n(49),c=n(112),f=n(16),h=n(31),p=n(76),d=n(724),m=n(723),v=n(179),g=n(178).set,y=n(721)(),b=n(110),x=n(177),w=n(176),_=u.TypeError,E=u.process,k=u.Promise,S="process"==c(E),C=function(){},A=i=b.f,O=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(13)("species")]=function(e){e(C,C)};return(S||"function"==typeof PromiseRejectionEvent)&&e.then(C)instanceof t}catch(e){}}(),D=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,a=0,o=function(t){var n,a,o=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{o?(i||(2==e._h&&j(e),e._h=1),!0===o?n=r:(l&&l.enter(),n=o(r),l&&l.exit()),n===t.promise?u(_("Promise-chain cycle")):(a=D(n))?a.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>a;)o(n[a++]);e._c=[],e._n=!1,t&&!e._h&&T(e)})}},T=function(e){g.call(u,function(){var t,n,r,i=e._v,a=P(e);if(a&&(t=x(function(){S?E.emit("unhandledRejection",i,e):(n=u.onunhandledrejection)?n({promise:e,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=S||P(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;S?E.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=D(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(F,r,1),l(N,r,1))}catch(e){N.call(r,e)}}):(n._v=e,n._s=1,M(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(k=function(e){d(this,k,"Promise","_h"),p(e),r.call(this);try{e(l(F,this,1),l(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(720)(k.prototype,{then:function(e,t){var n=A(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=S?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(F,e,1),this.reject=l(N,e,1)},b.f=A=function(e){return e===k||e===o?new a(e):i(e)}),f(f.G+f.W+f.F*!O,{Promise:k}),n(74)(k,"Promise"),n(719)("Promise"),o=n(7).Promise,f(f.S+f.F*!O,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(e){return w(s&&this===o?k:this,e)}}),f(f.S+f.F*!(O&&n(175)(function(e){k.all(e).catch(C)})),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,i=n.reject,a=x(function(){var n=[],a=0,o=1;m(e,!1,function(e){var s=a++,u=!1;n.push(void 0),o++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,i=x(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(727),i=n(726),a=n(47),o=n(35);e.exports=n(188)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(121),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(35),i=n(116),a=n(729);e.exports=function(e){return function(t,n,o){var s,u=r(t),l=i(u.length),c=a(o,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(28),i=n(26),a=n(46);e.exports=n(30)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,u=0;s>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(117),i=n(58),a=n(74),o={};n(37)(o,n(13)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(121),i=n(120);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u))<55296||a>56319||u+1===l||(o=s.charCodeAt(u+1))<56320||o>57343?e?s.charAt(u):a:e?s.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(e,t,n){n(189),n(59),n(73),n(725),n(718),n(717),e.exports=n(7).Promise},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRoutes=void 0;var r=g(n(8)),i=g(n(190)),a=g(n(174)),o=g(n(173)),s=g(n(24)),u=g(n(23)),l=g(n(22)),c=g(n(21)),f=g(n(20)),h=g(n(6)),p=g(n(105)),d=g(n(0)),m=n(168),v=n(61);function g(e){return e&&e.__esModule?e:{default:e}}var y,b="undefined"!=typeof document,x=n(676),w={input:"/Users/emplums/primer-react/examples",dirname:"/Users/emplums/primer-react/examples",filename:null,stats:{dev:16777220,mode:16877,nlink:8,uid:499,gid:20,rdev:0,blksize:4194304,ino:4161146,size:256,blocks:0,atimeMs:1529619453960.1504,mtimeMs:1529618841691.3853,ctimeMs:1529618841691.3853,birthtimeMs:1529363602400.1438,atime:"2018-06-21T22:17:33.960Z",mtime:"2018-06-21T22:07:21.691Z",ctime:"2018-06-21T22:07:21.691Z",birthtime:"2018-06-18T23:13:22.400Z"},outDir:"/Users/emplums/primer-react/docs",basename:"/primer-react",scope:{},pkg:{name:"primer-react",version:"0.0.4-beta",description:"Primer react components",main:"src/index.js",scripts:{start:"x0 dev examples -op 8888",build:"x0 build examples --out-dir docs",test:"jest"},repository:{type:"git",url:"git+https://github.com/primer/primer-react.git"},keywords:["react","components","library","design-system"],author:{name:"GitHub, Inc."},license:"MIT",x0:{title:"primer-react",cssLibrary:"styled-components",basename:"/primer-react"},dependencies:{"@github/octicons-react":"1.2.0-alpha.0a0d8862",classnames:"^2.2.5","d3-shape":"^1.2.0",react:"^16.2.0","react-router-dom":"^4.3.1","system-classnames":"^1.0.0-3"},devDependencies:{"@compositor/kit":"^1.0.43","@compositor/x0":"^5.0.8","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1",jest:"^22.4.3","react-test-renderer":"^16.3.2","styled-components":"3.3.2","styled-system":"^2.0.2"},bugs:{url:"https://github.com/primer/primer-react/issues"},readme:"ERROR: No README data found!",homepage:"https://github.com/primer/primer-react#readme",_id:"primer-react@0.0.4-beta"},title:"primer-react",cssLibrary:"styled-components",open:!1,o:!1,static:!1,debug:!1,d:"docs",app:"/Users/emplums/primer-react/examples/_app.js"},_=w.filename,E=w.basename,k=void 0===E?"":E,S=w.disableScroll,C=_?p.default.basename(_,p.default.extname(_)):"index",A=function(e){return e.keys().map(function(t){return{key:t,name:p.default.basename(t,p.default.extname(t)),module:e(t),Component:e(t).default||e(t)}}).filter(function(e){return!/^(\.|_)/.test(e.name)}).filter(function(e){return"function"==typeof e.Component})}(x),O=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:A;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.map(function(){var e=(0,o.default)(a.default.mark(function e(t){t.key;var n,r,i,o=t.name,s=t.module,u=t.Component;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=o===C)?"/":"/"+o,!u.getInitialProps){e.next=8;break}return e.next=5,u.getInitialProps({path:r});case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0={};case 9:return i=e.t0,r=i.path||r,e.abrupt("return",{key:o,name:o,path:r,exact:n,module:s,Component:u,props:i});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}());case 2:return t=e.sent,e.abrupt("return",i.default.all(t));case 4:case"end":return e.stop()}},e,void 0)})),function(){return y.apply(this,arguments)}),j=function(e){function t(){var e,n,r,i;(0,u.default)(this,t);for(var a=arguments.length,o=Array(a),l=0;l ( Sandbox
- - + + ) From 83b1a469b56fd500ede0a747954b8365608521ec Mon Sep 17 00:00:00 2001 From: Emily Date: Fri, 22 Jun 2018 10:32:07 -0700 Subject: [PATCH 36/38] test out built in routing --- .DS_Store | Bin 10244 -> 10244 bytes docs/bundle.js | 30 +++++++++--------- docs/components/index.html | 6 ++++ docs/demos/index.html | 6 ++++ docs/docs/index.html | 6 ---- docs/sandbox/index.html | 11 +++++++ examples/_app.js | 14 +++++--- .../{pages/ComponentPage.js => components.js} | 6 ++-- examples/{pages/DemoPage.js => demos.js} | 8 ++--- examples/docs.js | 22 ------------- examples/{pages/Sandbox.js => sandbox.js} | 2 +- 11 files changed, 56 insertions(+), 55 deletions(-) create mode 100644 docs/components/index.html create mode 100644 docs/demos/index.html delete mode 100644 docs/docs/index.html create mode 100644 docs/sandbox/index.html rename examples/{pages/ComponentPage.js => components.js} (73%) rename examples/{pages/DemoPage.js => demos.js} (82%) delete mode 100644 examples/docs.js rename examples/{pages/Sandbox.js => sandbox.js} (89%) diff --git a/.DS_Store b/.DS_Store index d5a3b632644fdb49aeaeab8c74f19657eab86b42..7628a6de4ea2ba51f11a42e616522ad01e9c2b88 100644 GIT binary patch delta 992 zcmcK1OH30{6b9h))WoodL^nnj>cWjt7jE2|X!Mq0;l>ab&SGZnId^X6eE&@QO#8$8 zETg>K?Jml#bi1dDawk2WGVxwfWvsAXjUTltEoYczETo@r8;XS@;b^x$5*1Iwsdnx1 zhx#Moj?je8U@WMOdsu2(N~Vo-|7c%mcr+9nXAVhPPgJwAx$#4_$2mV048-(?5nbGa zo6Q4xT1vol3|@Ep(c68lq{Mr8&An z3v`c`=rOI(Dy`8=dPT44J$S;6eqeQG-LMMH5{_n2Ut((#lQx!0o+iue zskzYdG?yf?B(qbjmC7O%w$1#mT&a`4L@}!1fmdiZ zpiyWyqa7#FflhSeOhVi#$aRDf!7xS;!xS#!5-wvJvzWtGToVb*;}&i|S3Zam z$gZM^uZ0VVaibs$6D2V&bft-Qp>B*uH!fVbaqI2WD2Z`p;w)}*?te4qp6|Q!zIorh zWuEV;bvbQrZ~dIpHtVXc6NT4X6MMu5vy?q~^1ePJFcvywoY7=G`#0}atEzzIZ+scze zNgTw;N~PqXX7W)#X*5NPv_zNb7Tu*)dPq;{1-+zK^qSt#2l_~#=ret#??^=&(!pSX ziei+Y9NSR=CtPSm6I#%U4s@am2jQ#4VI0G8_z}PeBACE5W^fJ{aTV8b12?gZ`&hv$ z9^f(7V|}@uS*q|+_JdDWVnAQ z9MD6W5jxpBX@m`bQ0M6hOe}6KC{$FNTFUry#*?M&P=%2-#*s`NY6W9FC9V_{T6b2e zGT$V0NoMJ;kyXA~m|}{a?Y~p%r=} zpueN{0`(XACSa3*odHFFw!w~VaG(-Z0<{|+6LlNff8uU903Z4>fTI``(1&pfL5w1V zDS>H diff --git a/docs/bundle.js b/docs/bundle.js index 5618f18c6fd..4820e251ebc 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -1,4 +1,4 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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="/primer-react/",n(n.s=735)}([function(e,t,n){"use strict";e.exports=n(689)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";var r=n(51),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];e.exports=function(e,t){var n,o;if(t=t||{},Object.keys(t).forEach(function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,o={},null!==n&&Object.keys(n).forEach(function(e){n[e].forEach(function(t){o[String(t)]=e})}),o),-1===a.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t){var n,a,o=t.children||[],s=o.length,u=[],l=-1;for(;++l1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(127),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(78),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(60),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; +!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=function(){"use strict";var e={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,o=Object.getPrototypeOf,s=o&&o(Object);return function u(l,c,f){if("string"!=typeof c){if(s){var h=o(c);h&&h!==s&&u(l,h,f)}var p=r(c);i&&(p=p.concat(i(c)));for(var d=0;d1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&p(e),a=t&&p(t),o=i||a;if(e&&p(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var f=r[c];"."===f?d(r,c):".."===f?(d(r,c),l++):l&&(d(r,c),l--)}if(!o)for(;l--;l)r.unshift("..");!o||""===r[0]||r[0]&&p(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var g=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":v(t);if(r!==(void 0===n?"undefined":v(n)))return!1;if("object"===r){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var o=Object.keys(t),s=Object.keys(n);return o.length===s.length&&o.every(function(r){return e(t[r],n[r])})}return!1},y=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},x=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},w=function(e,t){return x(e,t)?e.substr(t.length):e},_=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i},k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Browser history needs a DOM");var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e.forceRefresh,o=void 0!==a&&a,s=e.getUserConfirmation,u=void 0===s?T:s,l=e.keyLength,f=void 0===l?6:l,p=e.basename?_(y(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,i=window.location,a=i.pathname+i.search+i.hash;return c()(!p||x(a,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+p+'".'),p&&(a=w(a,p)),S(a,r,n)},m=function(){return Math.random().toString(36).substr(2,f)},v=A(),g=function(e){j(q,e),q.length=n.length,v.notifyListeners(q.location,q.action)},b=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||F(d(e.state))},k=function(){F(d(N()))},C=!1,F=function(e){C?(C=!1,g()):v.confirmTransitionTo(e,"POP",u,function(t){t?g({action:"POP",location:e}):L(e)})},L=function(e){var t=q.location,n=B.indexOf(t.key);-1===n&&(n=0);var r=B.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(C=!0,z(i))},R=d(N()),B=[R.key],I=function(e){return p+E(e)},z=function(e){n.go(e)},H=0,V=function(e){1===(H+=e)?(D(window,"popstate",b),i&&D(window,"hashchange",k)):0===H&&(M(window,"popstate",b),i&&M(window,"hashchange",k))},U=!1,q={length:n.length,action:"POP",location:R,createHref:I,push:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"PUSH",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.pushState({key:a,state:s},null,t),o)window.location.href=t;else{var u=B.indexOf(q.location.key),l=B.slice(0,-1===u?0:u+1);l.push(i.key),B=l,g({action:"PUSH",location:i})}else c()(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=t}})},replace:function(e,t){c()(!("object"===(void 0===e?"undefined":P(e))&&void 0!==e.state&&void 0!==t),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=S(e,t,m(),q.location);v.confirmTransitionTo(i,"REPLACE",u,function(e){if(e){var t=I(i),a=i.key,s=i.state;if(r)if(n.replaceState({key:a,state:s},null,t),o)window.location.replace(t);else{var u=B.indexOf(q.location.key);-1!==u&&(B[u]=i.key),g({action:"REPLACE",location:i})}else c()(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(t)}})},go:z,goBack:function(){return z(-1)},goForward:function(){return z(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=v.setPrompt(e);return U||(V(1),U=!0),function(){return U&&(U=!1,V(-1)),t()}},listen:function(e){var t=v.appendListener(e);return V(1),function(){V(-1),t()}}};return q},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(O,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,i=void 0===r?T:r,a=e.hashType,o=void 0===a?"slash":a,s=e.basename?_(y(e.basename)):"",u=R[o],l=u.encodePath,f=u.decodePath,p=function(){var e=f(B());return c()(!s||x(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=w(e,s)),S(e)},d=A(),m=function(e){L(W,e),W.length=t.length,d.notifyListeners(W.location,W.action)},v=!1,g=null,b=function(){var e=B(),t=l(e);if(e!==t)I(t);else{var n=p(),r=W.location;if(!v&&C(r,n))return;if(g===E(n))return;g=null,k(n)}},k=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",i,function(t){t?m({action:"POP",location:e}):P(e)})},P=function(e){var t=W.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,H(i))},j=B(),N=l(j);j!==N&&I(N);var F=p(),z=[E(F)],H=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=0,U=function(e){1===(V+=e)?D(window,"hashchange",b):0===V&&M(window,"hashchange",b)},q=!1,W={length:t.length,action:"POP",location:F,createHref:function(e){return"#"+l(s+E(e))},push:function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=E(n),r=l(s+t);if(B()!==r){g=t,function(e){window.location.hash=e}(r);var i=z.lastIndexOf(E(W.location)),a=z.slice(0,-1===i?0:i+1);a.push(t),z=a,m({action:"PUSH",location:n})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n=S(e,void 0,void 0,W.location);d.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=E(n),r=l(s+t);B()!==r&&(g=t,I(r));var i=z.indexOf(E(W.location));-1!==i&&(z[i]=t),m({action:"REPLACE",location:n})}})},go:H,goBack:function(){return H(-1)},goForward:function(){return H(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return q||(U(1),q=!0),function(){return q&&(q=!1,U(-1)),t()}},listen:function(e){var t=d.appendListener(e);return U(1),function(){U(-1),t()}}};return W},H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,a=void 0===i?0:i,o=e.keyLength,s=void 0===o?6:o,u=A(),l=function(e){V(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)},f=function(){return Math.random().toString(36).substr(2,s)},h=U(a,0,r.length-1),p=r.map(function(e){return S(e,void 0,"string"==typeof e?f():e.key||f())}),d=E,m=function(e){var n=U(v.index+e,0,v.entries.length-1),r=v.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?l({action:"POP",location:r,index:n}):l()})},v={length:p.length,action:"POP",location:p[h],index:h,entries:p,createHref:d,push:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),l({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){c()(!("object"===(void 0===e?"undefined":H(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r=S(e,n,f(),v.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(v.entries[v.index]=r,l({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v},W=n(11),G=n.n(W),X=n(19),J=n.n(X),K=n(2),Y=n.n(K),$=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){G()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);Q.propTypes={history:Y.a.object.isRequired,children:Y.a.node},Q.contextTypes={router:Y.a.object},Q.childContextTypes={router:Y.a.object.isRequired};var ee=Q,te=ee;function ne(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var re=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);re.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ie=re;function ae(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var oe=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(te,{history:this.history,children:this.props.children})},t}(o.a.Component);oe.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var se=oe,ue=n(127),le=n.n(ue),ce=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);le()(this.context.router,"You should not use outside a "),le()(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?S(t,null,null,i.location):t,s=i.createHref(a);return o.a.createElement("a",ce({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(o.a.Component);pe.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},pe.defaultProps={replace:!1},pe.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var de=pe;function me(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ve=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(ee,{history:this.history,children:this.props.children})},t}(o.a.Component);ve.propTypes={initialEntries:Y.a.array,initialIndex:Y.a.number,getUserConfirmation:Y.a.func,keyLength:Y.a.number,children:Y.a.node};var ge=ve,ye=n(78),be=n.n(ye),xe={},we=0,_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,i=r.path,a=r.exact,o=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,l=r.sensitive,c=void 0!==l&&l;if(null==i)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=xe[n]||(xe[n]={});if(r[e])return r[e];var i=[],a={re:be()(e,i,t),keys:i};return we<1e4&&(r[e]=a,we++),a}(i,{end:o,strict:u,sensitive:c}),h=f.re,p=f.keys,d=h.exec(e);if(!d)return null;var m=d[0],v=d.slice(1),g=e===m;return o&&!g?null:{path:i,url:"/"===i&&""===m?"/":m,isExact:g,params:p.reduce(function(e,t,n){return e[t.name]=v[n],e},{})}},Ee=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,l=(r||u.location).pathname;return _e(l,{path:i,strict:a,exact:o,sensitive:s},u.match)},t.prototype.componentWillMount=function(){G()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),G()(!(this.props.component&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored"),G()(!(this.props.render&&this.props.children&&!Se(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,i=t.render,a=this.context.router,s=a.history,u=a.route,l=a.staticContext,c={match:e,location:this.props.location||u.location,history:s,staticContext:l};return r?e?o.a.createElement(r,c):null:i?e?i(c):null:"function"==typeof n?n(c):n&&!Se(n)?o.a.Children.only(n):null},t}(o.a.Component);Ce.propTypes={computedMatch:Y.a.object,path:Y.a.string,exact:Y.a.bool,strict:Y.a.bool,sensitive:Y.a.bool,component:Y.a.func,render:Y.a.func,children:Y.a.oneOfType([Y.a.func,Y.a.node]),location:Y.a.object},Ce.contextTypes={router:Y.a.shape({history:Y.a.object.isRequired,route:Y.a.object.isRequired,staticContext:Y.a.object})},Ce.childContextTypes={router:Y.a.object.isRequired};var Ae=Ce,Oe=Ae,De=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),p="object"===(void 0===t?"undefined":Me(t))?t.pathname:t,d=p&&p.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return o.a.createElement(Oe,{path:d,exact:n,strict:r,location:i,children:function(e){var n=e.location,r=e.match,i=!!(c?c(r,n):r);return o.a.createElement(de,De({to:t,className:i?[s,a].filter(function(e){return e}).join(" "):s,style:i?De({},l,u):l,"aria-current":i&&f||null},h))}})};Te.propTypes={to:de.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Te.defaultProps={activeClassName:"active","aria-current":"page"};var Pe=Te;var je=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);je.propTypes={when:Y.a.bool,message:Y.a.oneOfType([Y.a.func,Y.a.string]).isRequired},je.defaultProps={when:!0},je.contextTypes={router:Y.a.shape({history:Y.a.shape({block:Y.a.func.isRequired}).isRequired}).isRequired};var Ne=je,Fe={},Le=0,Re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Fe[t]||(Fe[t]={});if(n[e])return n[e];var r=be.a.compile(e);return Le<1e4&&(n[e]=r,Le++),r}(e)(t,{pretty:!0})},Be=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=S(e.to),n=S(this.props.to);C(t,n)?G()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Re(n,t.params):Be({},n,{pathname:Re(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(o.a.Component);Ie.propTypes={computedMatch:Y.a.object,push:Y.a.bool,from:Y.a.string,to:Y.a.oneOfType([Y.a.string,Y.a.object]).isRequired},Ie.defaultProps={push:!1},Ie.contextTypes={router:Y.a.shape({history:Y.a.shape({push:Y.a.func.isRequired,replace:Y.a.func.isRequired}).isRequired,staticContext:Y.a.object}).isRequired};var ze=Ie,He=Object.assign||function(e){for(var t=1;t",e)}},Xe=function(){},Je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ue(e);return 0!==t.pathname.indexOf(n)?t:He({},t,{pathname:t.pathname.substr(n.length)})}(t,S(n)),push:this.handlePush,replace:this.handleReplace,go:Ge("go"),goBack:Ge("goBack"),goForward:Ge("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(ee,He({},r,{history:i}))},t}(o.a.Component);Je.propTypes={basename:Y.a.string,context:Y.a.object.isRequired,location:Y.a.oneOfType([Y.a.string,Y.a.object])},Je.defaultProps={basename:"",location:"/"},Je.childContextTypes={router:Y.a.object.isRequired};var Ke=Je;var Ye=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){J()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){G()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),G()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,i=void 0;return o.a.Children.forEach(t,function(t){if(null==r&&o.a.isValidElement(t)){var a=t.props,s=a.path,u=a.exact,l=a.strict,c=a.sensitive,f=a.from,h=s||f;i=t,r=_e(n.pathname,{path:h,exact:u,strict:l,sensitive:c},e.match)}}),r?o.a.cloneElement(i,{location:n,computedMatch:r}):null},t}(o.a.Component);Ye.contextTypes={router:Y.a.shape({route:Y.a.object.isRequired}).isRequired},Ye.propTypes={children:Y.a.node,location:Y.a.object};var $e=Ye,Ze=Re,Qe=_e,et=n(60),tt=n.n(et),nt=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(Ae,{children:function(t){return o.a.createElement(e,nt({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:Y.a.func},tt()(t,e)};n.d(t,"BrowserRouter",function(){return ie}),n.d(t,"HashRouter",function(){return se}),n.d(t,"Link",function(){return de}),n.d(t,"MemoryRouter",function(){return ge}),n.d(t,"NavLink",function(){return Pe}),n.d(t,"Prompt",function(){return Ne}),n.d(t,"Redirect",function(){return ze}),n.d(t,"Route",function(){return Oe}),n.d(t,"Router",function(){return te}),n.d(t,"StaticRouter",function(){return Ke}),n.d(t,"Switch",function(){return $e}),n.d(t,"generatePath",function(){return Ze}),n.d(t,"matchPath",function(){return Qe}),n.d(t,"withRouter",function(){return rt})},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&u<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict"; /*! * repeat-string * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(141),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(39);e.exports=r.DEFAULT=new r({include:[n(50)],explicit:[n(420),n(419),n(418)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(157),i=n(92);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(663)),i=a(n(165));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; + */var r,i="";e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||void 0===r)r=e,i="";else if(i.length>=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i=(i+=e).substr(0,n)}},function(e,t,n){"use strict";e.exports=s;var r=n(141),i=!0,a="skip",o=!1;function s(e,t,n,s){function u(e,l,c){var f;return l=l||(c?0:null),t&&e.type!==t&&!r(t,e,l,c||null)||(f=n(e,l,c||null)),f===o?f:e.children&&f!==a&&function(e,t){var n,r,a=s?-1:1,l=(s?e.length:-1)+a;for(;l>-1&&l=48&&t<=57}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=n(39);e.exports=r.DEFAULT=new r({include:[n(50)],explicit:[n(416),n(415),n(414)]})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";const r=n(157),i=n(92);e.exports=function(e){const t=Object.assign({},e);return t.delimiters=i.arrayify(t.delims||t.delimiters||"---"),1===t.delimiters.length&&t.delimiters.push(t.delimiters[0]),t.language=(t.language||t.lang||"yaml").toLowerCase(),t.engines=Object.assign({},r,t.parsers,t.engines),t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(662)),i=a(n(164));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(72)),i=l(n(98)),a=l(n(8)),o=l(n(106)),s=l(n(42)),u=n(200);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(54))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(87)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(415),i=n(91);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(93).Buffer)},function(e,t,n){"use strict";(function(e){ +*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u=55296&&ie<=57343||ie>1114111?(D(k,I),A="�"):A in a?(D(E,I),A=a[A]):(T="",C(A)&&D(E,I),A>65535&&(T+=c((A-=65536)>>>10|55296),A=56320|1023&A),A=T+c(A))):F!==p&&D(w,I)),A?(se(),R=ae(),Z=z-1,ee+=z-N+1,re.push(A),(B=ae()).offset++,q&&q.call(X,A,{start:R,end:B},e.slice(N-1,z)),R=B):(s=e.slice(N-1,z),ne+=s,ee+=s.length,Z=z-1)}var ie;return re.join("");function ae(){return{line:te,column:ee,offset:Z+(K.offset||0)}}function oe(t){return e.charAt(t)}function se(){ne&&(re.push(ne),U&&U.call(G,ne,{start:R,end:ae()}),ne="")}}(e,s)};var l={}.hasOwnProperty,c=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",d="hexadecimal",m="decimal",v={};v[d]=16,v[m]=10;var g={};g[p]=u,g[m]=o,g[d]=s;var y=1,b=2,x=3,w=4,_=5,E=6,k=7,S={};function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}S[y]="Named character references must be terminated by a semicolon",S[b]="Numeric character references must be terminated by a semicolon",S[x]="Named character references cannot be empty",S[w]="Numeric character references cannot be empty",S[_]="Named character references must be known",S[E]="Numeric character references cannot be disallowed",S[k]="Numeric character references cannot be outside the permissible Unicode range"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=t.cartesianProduct=t.extendDefaultProps=t.displayObj=t.toSrcPath=t.titleize=t.isIndex=t.introPage=t.log=void 0;var r=l(n(72)),i=l(n(98)),a=l(n(8)),o=l(n(106)),s=l(n(42)),u=n(199);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){return e.join(".")},f=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))&&(t=e,!Array.isArray(t));var t};t.log=function(t){return e.env.VERBOSE&&console.log(t)},t.introPage=function(e){return e[ROOT_LEVEL_FILE]&&e[ROOT_LEVEL_FILE].find(function(e){return"introduction"===e.name})},t.isIndex=function(e){return/index\.md/.test(e)},t.titleize=function(e){return e.replace(/(?:^|\s|-)\S/g,function(e){return e.toUpperCase()}).replace(/(-|_)/g," ")},t.toSrcPath=function(e,t){return t.replace(/\md$/,"js").replace(e,"src").replace("components/","")},t.displayObj=function(e){return(0,s.default)(e).map(function(t){return t+"="+e[t]}).join(",")},t.extendDefaultProps=function(e,t){e.defaultProps=(0,o.default)({},e.defaultProps||{},t)},t.cartesianProduct=function(e){e.theme;var t=(0,a.default)(e,["theme"]),n=(0,u.reduce)((0,u.pipe)(u.xprod,(0,u.map)(u.unnest)),[[]]),r=(0,s.default)(t).reduce(function(e,n){return e.concat([(r=t[n],Array.isArray(r)?r:[r]).map(function(e){return(0,i.default)({},n,e)})]);var r},[]);return(0,u.map)(u.mergeAll,n(r))},t.flatten=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t).reduce(function(r,i){var a=t[i],s=n.concat([i]);return"string"==typeof a?(r[c(s)]=a,r):f(a)?(0,o.default)(r,e(a,s)):(a.forEach(function(e,t){var n=c(s.concat([t]));r[n]=e}),r)},{})}}).call(this,n(54))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports=!n(87)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t){var n=Object.prototype.toString;function r(e){return e.constructor?e.constructor.name:null}e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";var t=typeof e;if("boolean"===t)return"boolean";if("string"===t)return"string";if("number"===t)return"number";if("symbol"===t)return"symbol";if("function"===t)return"GeneratorFunction"===r(e)?"generatorfunction":"function";if(function(e){return Array.isArray?Array.isArray(e):e instanceof Array}(e))return"array";if(function(e){if(e.constructor&&"function"==typeof e.constructor.isBuffer)return e.constructor.isBuffer(e);return!1}(e))return"buffer";if(function(e){try{if("number"==typeof e.length&&"function"==typeof e.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}(e))return"arguments";if(function(e){return e instanceof Date||"function"==typeof e.toDateString&&"function"==typeof e.getDate&&"function"==typeof e.setDate}(e))return"date";if(function(e){return e instanceof Error||"string"==typeof e.message&&e.constructor&&"number"==typeof e.constructor.stackTraceLimit}(e))return"error";if(function(e){return e instanceof RegExp||"string"==typeof e.flags&&"boolean"==typeof e.ignoreCase&&"boolean"==typeof e.multiline&&"boolean"==typeof e.global}(e))return"regexp";switch(r(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(function(e){return"function"==typeof e.throw&&"function"==typeof e.return&&"function"==typeof e.next}(e))return"generator";switch(t=n.call(e)){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}},function(e,t,n){"use strict";(function(e){const r=n(411),i=n(91);t.define=function(e,t,n){Reflect.defineProperty(e,t,{enumerable:!1,configurable:!0,writable:!0,value:n})},t.isBuffer=(e=>"buffer"===i(e)),t.isObject=(e=>"object"===i(e)),t.toBuffer=function(t){return"string"==typeof t?e.from(t):t},t.toString=function(e){if(t.isBuffer(e))return r(String(e));if("string"!=typeof e)throw new TypeError("expected input to be a string or buffer");return r(e)},t.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},t.startsWith=function(e,t,n){return"number"!=typeof n&&(n=t.length),e.slice(0,n)===t}}).call(this,n(93).Buffer)},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ -var r=n(426),i=n(425),a=n(424);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(68))},function(e,t,n){"use strict";var r=n(39);e.exports=new r({explicit:[n(436),n(435),n(434)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(24)),i=l(n(23)),a=l(n(22)),o=l(n(21)),s=l(n(20)),u=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.state={},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentDidCatch",value:function(e){this.setState({err:e})}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState({err:null})}},{key:"render",value:function(){var e=this.state.err;return e?u.default.createElement("pre",null,e.toString()):this.props.children}}]),t}(u.default.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(24)),i=h(n(23)),a=h(n(22)),o=h(n(21)),s=h(n(20)),u=h(n(0)),l=h(n(34)),c=h(n(168)),f=n(452);h(n(27));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.doc=null,e.win=null,e.div=null,e.getSrc=function(){var t=e.props,n=t.zoom,r=void 0===n?1:n,i=t.css,a=void 0===i?"":i,o=t.head,s="";return o&&(s=(0,f.renderToStaticMarkup)(o)),""+s+"\n
"},e.onLoad=function(t){e.doc=e.root.contentDocument,e.win=e.root.contentWindow,e.update(e.props)},e.update=function(t){var n=t.render,r=t.children;if(e.doc){var i=e.doc.getElementById("app");"function"==typeof n?c.default.render(n({document:e.doc,window:e.win}),i):c.default.render(r,i)}},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.update(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,i=t.zoom,a=t.children;return u.default.createElement("iframe",{ref:function(t){return e.root=t},style:{width:n,height:r,zoom:i,pointerEvents:"none",display:"block",margin:0,overflow:"scroll",backgroundColor:"#fff",opacity:a?1:.25,border:0},srcDoc:this.getSrc(),scrolling:"yes",onLoad:this.onLoad})}}]),t}(u.default.Component);p.propTypes={head:l.default.node,zoom:l.default.number,width:l.default.string,height:l.default.string,css:l.default.string},p.defaultProps={zoom:1,width:"100%",height:"100%",css:"body{font-family:system-ui,sans-serif;line-height:1.5}"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),i=n(731),a=n(113),o=n(115)("IE_PROTO"),s=function(){},u=function(){var e,t=n(119)("iframe"),r=a.length;for(t.style.display="none",n(183).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file diff --git a/docs/demos/index.html b/docs/demos/index.html new file mode 100644 index 00000000000..34e277a7e00 --- /dev/null +++ b/docs/demos/index.html @@ -0,0 +1,6 @@ +primer-react
primer-react
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

<MergeButton scheme='primary'/>
\ No newline at end of file diff --git a/docs/docs/index.html b/docs/docs/index.html deleted file mode 100644 index b2658471a8e..00000000000 --- a/docs/docs/index.html +++ /dev/null @@ -1,6 +0,0 @@ -primer-react
primer-react
\ No newline at end of file diff --git a/docs/sandbox/index.html b/docs/sandbox/index.html new file mode 100644 index 00000000000..5fbd73a4410 --- /dev/null +++ b/docs/sandbox/index.html @@ -0,0 +1,11 @@ +primer-react
primer-react

Hello World!

To get started with the Sandbox, start adding some primer-react components
+
+  <Block p={4}>
+    <Heading>Hello World!</Heading>
+    <Text>To get started with the Sandbox, start adding some primer-react components</Text>
+  </Block>
\ No newline at end of file diff --git a/examples/_app.js b/examples/_app.js index d8a4a4f6f2f..eb374f4e28d 100644 --- a/examples/_app.js +++ b/examples/_app.js @@ -1,8 +1,7 @@ -import CSS from './doc-components/CSS' import React from 'react' -import Index from './docs' +import { Link } from 'react-router-dom' +import CSS from './doc-components/CSS' -// Generic page wrapper component const Page = ({ render }) => ( @@ -23,7 +22,14 @@ const Page = ({ render }) => (
- + + {render()}
) diff --git a/examples/pages/ComponentPage.js b/examples/components.js similarity index 73% rename from examples/pages/ComponentPage.js rename to examples/components.js index 0ea6f5a3d07..00cd74dcf24 100644 --- a/examples/pages/ComponentPage.js +++ b/examples/components.js @@ -1,12 +1,12 @@ import React from 'react' import { Library } from '@compositor/kit' -import SideNav from '../doc-components/SideNav' -import * as examples from '../component-examples' +import SideNav from './doc-components/SideNav' +import * as examples from './component-examples' const ComponentPage = () => { return ( { return ( ( -
- - - - -
-) - -export default Index diff --git a/examples/pages/Sandbox.js b/examples/sandbox.js similarity index 89% rename from examples/pages/Sandbox.js rename to examples/sandbox.js index 7a8348a749c..52c8306ed8a 100644 --- a/examples/pages/Sandbox.js +++ b/examples/sandbox.js @@ -1,6 +1,6 @@ import React from 'react' import { LiveEditor } from '@compositor/kit' -import * as components from '../../src' +import * as components from '../src' const code = ` From 666a5e9832d382938a8a3d4b97787ec96fe82ef0 Mon Sep 17 00:00:00 2001 From: Emily Date: Fri, 22 Jun 2018 10:37:41 -0700 Subject: [PATCH 37/38] move react-router-dom to devDeps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 372bfdacd24..8874724e5cf 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "classnames": "^2.2.5", "d3-shape": "^1.2.0", "react": "^16.2.0", - "react-router-dom": "^4.3.1", "system-classnames": "^1.0.0-3" }, "devDependencies": { @@ -39,6 +38,7 @@ "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "jest": "^22.4.3", + "react-router-dom": "^4.3.1", "react-test-renderer": "^16.3.2", "styled-components": "3.3.2", "styled-system": "^2.0.2" From f6b6c9e71a2d8b2190e9c78eed7ee747ba1dab17 Mon Sep 17 00:00:00 2001 From: Emily Date: Fri, 22 Jun 2018 11:10:34 -0700 Subject: [PATCH 38/38] change link back to navlink --- docs/bundle.js | 4 ++-- docs/components/index.html | 2 +- docs/demos/index.html | 2 +- docs/sandbox/index.html | 2 +- examples/_app.js | 8 ++++---- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/bundle.js b/docs/bundle.js index 4820e251ebc..9e3d52f902b 100644 --- a/docs/bundle.js +++ b/docs/bundle.js @@ -27,7 +27,7 @@ object-assign * @author Feross Aboukhadijeh * @license MIT */ -var r=n(422),i=n(421),a=n(420);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var a,o=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,u/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=n;as&&(n=s-u),a=n;a>=0;a--){for(var f=!0,h=0;hi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o>8,i=n%256,a.push(i),a.push(r);return a}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rthis.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,n,r,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function F(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,t,n,r,a){return a||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,a){return a||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,a=0;++a=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||P(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);P(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(68))},function(e,t,n){"use strict";var r=n(39);e.exports=new r({explicit:[n(432),n(431),n(430)]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(24)),i=l(n(23)),a=l(n(22)),o=l(n(21)),s=l(n(20)),u=l(n(0));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.state={},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentDidCatch",value:function(e){this.setState({err:e})}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.setState({err:null})}},{key:"render",value:function(){var e=this.state.err;return e?u.default.createElement("pre",null,e.toString()):this.props.children}}]),t}(u.default.Component);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(24)),i=h(n(23)),a=h(n(22)),o=h(n(21)),s=h(n(20)),u=h(n(0)),l=h(n(34)),c=h(n(167)),f=n(448);h(n(27));function h(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){(0,i.default)(this,t);var e=(0,o.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return e.doc=null,e.win=null,e.div=null,e.getSrc=function(){var t=e.props,n=t.zoom,r=void 0===n?1:n,i=t.css,a=void 0===i?"":i,o=t.head,s="";return o&&(s=(0,f.renderToStaticMarkup)(o)),""+s+"\n
"},e.onLoad=function(t){e.doc=e.root.contentDocument,e.win=e.root.contentWindow,e.update(e.props)},e.update=function(t){var n=t.render,r=t.children;if(e.doc){var i=e.doc.getElementById("app");"function"==typeof n?c.default.render(n({document:e.doc,window:e.win}),i):c.default.render(r,i)}},e}return(0,s.default)(t,e),(0,a.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this.update(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,i=t.zoom,a=t.children;return u.default.createElement("iframe",{ref:function(t){return e.root=t},style:{width:n,height:r,zoom:i,pointerEvents:"none",display:"block",margin:0,overflow:"scroll",backgroundColor:"#fff",opacity:a?1:.25,border:0},srcDoc:this.getSrc(),scrolling:"yes",onLoad:this.onLoad})}}]),t}(u.default.Component);p.propTypes={head:l.default.node,zoom:l.default.number,width:l.default.string,height:l.default.string,css:l.default.string},p.defaultProps={zoom:1,width:"100%",height:"100%",css:"body{font-family:system-ui,sans-serif;line-height:1.5}"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.complexStyle=t.themeGet=t.pseudoStyle=t.responsiveStyle=t.style=t.getValue=t.merge=t.media=t.dec=t.breaks=t.fallbackTheme=t.mq=t.get=t.getWidth=t.arr=t.neg=t.px=t.num=t.is=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1?p(e):100*e+"%"},t.get=function(e,t,n){return t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e)||n}),v=t.mq=function(e){return"@media screen and (min-width: "+p(e)+")"},g=t.fallbackTheme=function(e){return i({},s.default,m(e,"theme"))},y=t.breaks=function(e){return[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return r.exec(e).slice(1)};function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!r;i--){var o=i>=0?arguments[i]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=n(a(t.split("/"),function(e){return!!e}),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return(e=n(a(e.split("/"),function(e){return!!e}),!r).join("/"))||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(26),i=n(730),a=n(113),o=n(115)("IE_PROTO"),s=function(){},u=function(){var e,t=n(119)("iframe"),r=a.length;for(t.style.display="none",n(182).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(" \ No newline at end of file + }
bg='white'
white
gray
black
bg='gray-dark'
white
gray
black
bg='gray'
white
gray
black
bg='gray-light'
white
gray
black
bg='blue'
white
gray
black
bg='blue-light'
white
gray
black
bg='green'
white
gray
black
bg='green-light'
white
gray
black
bg='red'
white
gray
black
bg='red-light'
white
gray
black
bg='yellow'
white
gray
black
bg='yellow-light'
white
gray
black
bg='purple'
white
gray
black
bg='purple-light'
white
gray
black
This is a box
This is a box with padding.
This is a box with shadow.
This is a box with a medium shadow.
This is a box with a large shadow.
This is a box with an extra-large shadow.
This is a box with a green border.
a_new_feature_branch
location='top'
location='top-left'
location='top-right'
location='right'
location='right-top'
location='right-bottom'
location='bottom'
location='bottom-left'
location='bottom-right'
location='left'
location='left-top'
location='left-bottom'

CaretBox

CaretBox

gray.0

#fafbfc

gray.1

#f6f8fa

gray.2

#e1e4e8

gray.3

#d1d5da

gray.4

#959da5

gray.5

#6a737d

gray.6

#586069

gray.7

#444d56

gray.8

#2f363d

gray.9

#24292e

blue.0

#f1f8ff

blue.1

#dbedff

blue.2

#c8e1ff

blue.3

#79b8ff

blue.4

#2188ff

blue.5

#0366d6

blue.6

#005cc5

blue.7

#044289

blue.8

#032f62

blue.9

#05264c

green.0

#f0fff4

green.1

#dcffe4

green.2

#bef5cb

green.3

#85e89d

green.4

#34d058

green.5

#28a745

green.6

#22863a

green.7

#176f2c

green.8

#165c26

green.9

#144620

purple.0

#f5f0ff

purple.1

#e6dcfd

purple.2

#d1bcf9

purple.3

#b392f0

purple.4

#8a63d2

purple.5

#6f42c1

purple.6

#5a32a3

purple.7

#4c2889

purple.8

#3a1d6e

purple.9

#29134e

yellow.0

#fffdef

yellow.1

#fffbdd

yellow.2

#fff5b1

yellow.3

#ffea7f

yellow.4

#ffdf5d

yellow.5

#ffd33d

yellow.6

#f9c513

yellow.7

#dbab09

yellow.8

#b08800

yellow.9

#735c0f

orange.0

#fff8f2

orange.1

#ffebda

orange.2

#ffd1ac

orange.3

#ffab70

orange.4

#fb8532

orange.5

#f66a0a

orange.6

#e36209

orange.7

#d15704

orange.8

#c24e00

orange.9

#a04100
121313

With static children

Click me

This should show and hide

With children as a function

Show

This should show and hide

With render prop

hi

Dropdown Primary

  • Item 1
  • Item 2
  • Item 3

Dropdown

  • Item 1
  • Item 2
  • Item 3

Dropdown with title

Options
  • Item 1
  • Item 2
  • Item 3

With data prop

With DonutSlice children

With custom fill colors

Flash
Flash yellow
Flash red
Flash green
Flash full
fontSize 5
fontSize 4
fontSize 3
fontSize 2
fontSize 1
fontSize 0

Input

Input Sizes

Block input

Default Heading

With fontSize=0

With fontSize=1

With fontSize=2

With fontSize=3

With fontSize=4

With fontSize=5

With fontSize=00-light

With fontSize=0-light

With fontSize=1-light

With fontSize=2-light

With fontSize=3-light

Default labelDarker gray labelOrange labelGreen label
Default outline labelGreen outline label
Open
Closed
Merged

By state (Octicons built in)

Unknown
Open
Closed
Merged
Reopened

By color

Invalid
Green
Red
Purple

Small, by state

UnknownOpenClosedMergedReopened

Small, by color

InvalidGreenRedPurpleCustom Octicon
Text
Text bold
Text green
Text lineHeight 'condensed'
Text fontSize 4
Text padding 4
Text with a tooltip

Directions

Tooltip direction=n
Tooltip direction=ne
Tooltip direction=e
Tooltip direction=se
Tooltip direction=s
Tooltip direction=sw
Tooltip direction=w
Tooltip direction=nw

Alignment

Tooltip align left

Word wrap

Word wrapping tooltip

No Delay

Text with a tooltip
\ No newline at end of file diff --git a/docs/demos/index.html b/docs/demos/index.html index 34e277a7e00..404fd5b868d 100644 --- a/docs/demos/index.html +++ b/docs/demos/index.html @@ -3,4 +3,4 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

<MergeButton scheme='primary'/>
\ No newline at end of file + }
  • Create a merge commit

    All commits from this branch will be added to the base branch via a merge commit.

  • Squash and merge

    The from this branch will be combined into one commit in the base branch.

  • Rebase and merge

    The from this branch will be rebased and added to the base branch

<MergeButton scheme='primary'/>
\ No newline at end of file diff --git a/docs/sandbox/index.html b/docs/sandbox/index.html index 5fbd73a4410..739166d3f58 100644 --- a/docs/sandbox/index.html +++ b/docs/sandbox/index.html @@ -3,7 +3,7 @@ margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.5; - }

Hello World!

To get started with the Sandbox, start adding some primer-react components
+    }

Hello World!

To get started with the Sandbox, start adding some primer-react components
 
   <Block p={4}>
     <Heading>Hello World!</Heading>
diff --git a/examples/_app.js b/examples/_app.js
index eb374f4e28d..2d4a88600ed 100644
--- a/examples/_app.js
+++ b/examples/_app.js
@@ -1,5 +1,5 @@
 import React from 'react'
-import { Link } from 'react-router-dom'
+import { NavLink } from 'react-router-dom'
 import CSS from './doc-components/CSS'
 
 const Page = ({ render }) => (
@@ -24,9 +24,9 @@ const Page = ({ render }) => (
     
{render()}