diff --git a/.storybook/config.js b/.storybook/config.js index 51302d8..73fecf4 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -13,6 +13,7 @@ import Readme from '../README.md' import Simple from '../stories/Simple.js' import CellRenderers from '../stories/CellRenderers.js' import DefaultSorting from '../stories/DefaultSorting.js' +import CustomSorting from '../stories/CustomSorting.js' import CustomWidths from '../stories/CustomWidths.js' import CustomComponentProps from '../stories/CustomComponentProps.js' import ServerSide from '../stories/ServerSide.js' @@ -28,6 +29,7 @@ import Filtering from '../stories/Filtering.js' import ControlledTable from '../stories/ControlledTable.js' import PivotingOptions from '../stories/PivotingOptions.js' import EditableTable from '../stories/EditableTable.js' +import SubRows from '../stories/SubRows.js' // configure(() => { storiesOf('1. Docs') @@ -46,6 +48,7 @@ configure(() => { .add('Simple Table', Simple) .add('Cell Renderers & Custom Components', CellRenderers) .add('Default Sorting', DefaultSorting) + .add('Custom Sorting', CustomSorting) .add('Custom Column Widths', CustomWidths) .add('Custom Component Props', CustomComponentProps) .add('Server-side Data', ServerSide) @@ -61,4 +64,5 @@ configure(() => { .add('Custom Filtering', Filtering) .add('Controlled Component', ControlledTable) .add('Editable table', EditableTable) + // .add('Sub Rows', SubRows) }, module) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bf9304..cd37e14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,44 @@ ## 6.0.0 -* Pivot Columns can now be sorted and filtered individually. -* More control over Pivot Column rendering. -* Prevent transitions while column resizing for a smoother resize effect. -* Disable text selection while resizing columns. +##### New Features +- New Renderers: + - `Aggregated` - Custom renderer for aggregated cells + - `Pivot` - Custom renderer for Pivoted Cells (utilizes `Expander` and `PivotValue`) + - `PivotValue` - Custom renderer for Pivot cell values (deprecates the undocumented `pivotRender` option) + - `Expander` - Custom renderer for Pivot cell Expander +- Added custom sorting methods per table via `defaultSortMethod` and per column via `column.sortMethod` +- Pivot columns are now visibly separate and sorted/filtered independently. +- Added `column.resizable` to override global table `resizable` option for specific columns. +- Added `column.sortable` to override global table `sortable` option for specific columns. +- Added `column.filterable` to override global table `filterable` option for specific columns. +- Added `defaultExpanded` table option. +- All callbacks can now be utilized without needing to hoist and manage the piece of state they export. That is what their prop counterparts are for, so now the corresponding prop is used instead of the callback to detect a "fully controlled" state. +- Prevent transitions while column resizing for a smoother resize effect. +- Disable text selection while resizing columns. + ##### Breaking API Changes -* Removed `pivotRender` column option. You can now control how the value is displayed by overriding the `PivotValueComponent`. -* Changed how special `expander: true` column renders pivot columns. -See [Pivoting Options Story](https://react-table.js.org/?selectedKind=2.%20Demos&selectedStory=Pivoting%20Options&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel) for a reference on how to customize pivot column rendering. \ No newline at end of file +- New Renderers: + - `Cell` - deprecates and replaces `render` + - `Header` - deprecates and replaces `header` + - `Footer` - deprecates and replaces `footer` + - `Filter`- deprecates and replaces `filterRender` +- Callbacks now provide the destination state as the primary parameter(s). This makes hoisting and controlling the state in redux or component state much easier. eg. + - `onSorting` no longer requires you to build your own toggle logic + - `onResize` no longer requires you to build your own resize logic +- Renamed `onChange` callback -> `onFetchData` which will always fire when a new data model needs to be fetched (or if not using `manual`, when new data is materialized internally). +- Renamed `filtering` -> `filtered` +- Renamed `sorting` -> `sorted` +- Renamed `expandedRows` -> `expanded` +- Renamed `resizing` -> `resized` +- Renamed `defaultResizing` -> `defaultResized` +- Renamed `defaultFiltering` -> `defaultFiltered` +- Renamed `defaultSorting` -> `defaultSorted` +- Renamed `onSortingChange` -> `onSortedChange` +- Renamed `onFilteringChange` -> `onFilteredChange` +- Renamed `onResize` -> `onResizedChange` +- Renamed `onExpandRow` -> `onExpandedChange` +- Renamed `showFilters` -> `filterable` +- Renamed `hideFilter` -> `filterable` (Column option. Note the true/false value is now flipped.) +- `cellInfo.row` and `rowInfo.row` now reference the materialize data for the table. To reference the original row, use `cellInfo.original` and `rowInfo.original` +- Removed `pivotRender` column option. You can now control how the value is displayed by overriding the `PivotValueComponent` or the individual column's `PivotValue` renderer. See [Pivoting Options Story](https://react-table.js.org/?selectedKind=2.%20Demos&selectedStory=Pivoting%20Options&full=0&down=1&left=1&panelRight=0&downPanel=kadirahq%2Fstorybook-addon-actions%2Factions-panel) for a reference on how to customize pivot column rendering. diff --git a/README.md b/README.md index 043ab96..fad1b28 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,14 @@ -## Features +## Versions +This document refers to version 6.x.x of react-table. +Previous versions: + +[5.x.x Readme](https://github.com/tannerlinsley/react-table/blob/ad7d31cd3978eb45da7c6194dbab93c1e9a8594d/README.md) + +## Features - Lightweight at 7kb (and just 2kb more for styles) - Fully customizable JSX templating - Supports both Client-side & Server-side pagination and multi-sorting @@ -115,18 +121,18 @@ render() { }] const columns = [{ - header: 'Name', + Header: 'Name', accessor: 'name' // String-based value accessors! }, { - header: 'Age', + Header: 'Age', accessor: 'age', - render: props => {props.value} // Custom cell components! + Cell: props => {props.value} // Custom cell components! }, { id: 'friendName', // Required because our accessor is not a string - header: 'Friend Name', + Header: 'Friend Name', accessor: d => d.friend.name // Custom value accessors! }, { - header: props => Friend Age, // Custom header components! + Header: props => Friend Age, // Custom header components! accessor: 'friend.age' }] @@ -157,43 +163,66 @@ These are all of the available props (and their default values) for the main ` { const id = filter.pivotId || filter.id return row[id] !== undefined ? String(row[id]).startsWith(filter.value) : true }, - resizable: true, - defaultResizing: [], + defaultSortMethod: (a, b) => { + // force null and undefined to the bottom + a = (a === null || a === undefined) ? -Infinity : a + b = (b === null || b === undefined) ? -Infinity : b + // force any string values to lowercase + a = a === 'string' ? a.toLowerCase() : a + b = b === 'string' ? b.toLowerCase() : b + // Return either 1 or -1 to indicate a sort priority + if (a > b) { + return 1 + } + if (a < b) { + return -1 + } + // returning 0, undefined or any falsey value will use subsequent sorts or the index as a tiebreaker + return 0 + }, // Controlled State Overrides (see Fully Controlled Component section) page: undefined, pageSize: undefined, - sorting: undefined, + sorted: [], + filtered: [], + resized: [], + expanded: {}, // Controlled State Callbacks - onExpandSubComponent: undefined, onPageChange: undefined, onPageSizeChange: undefined, - onSortingChange: undefined, - onFilteringChange: undefined, - onResize: undefined, + onSortedChange: undefined, + onFilteredChange: undefined, + onResizedChange: undefined, + onExpandedChange: undefined, // Pivoting pivotBy: undefined, + + // Key Constants pivotValKey: '_pivotVal', pivotIDKey: '_pivotID', subRowsKey: '_subRows', + aggregatedKey: '_aggregated', + nestingLevelKey: '_nestingLevel', + originalKey: '_original', + indexKey: '_index', + groupedByPivotKey: '_groupedByPivot', - // Pivoting State Overrides (see Fully Controlled Component section) - expandedRows: {}, - - // Pivoting State Callbacks - onExpandRow: undefined, - - // General Callbacks - onChange: () => null, + // Server-side callbacks + onFetchData: () => null, // Classes className: '', @@ -226,50 +255,47 @@ These are all of the available props (and their default values) for the main ` ({}), // Headers only - header: undefined, headerClassName: '', headerStyle: {}, getHeaderProps: () => ({}) // Footers only - footer: undefined, footerClassName: '', footerStyle: {}, getFooterProps: () => ({}), filterMethod: undefined, - hideFilter: false, - filterRender: ({filter, onFilterChange}) => ( - onFilterChange(event.target.value)} - /> - ) + sortMethod: undefined }, - + // Global Expander Column Defaults expanderDefaults: { sortable: false, - width: 35, - hideFilter: true - // render: will be overriden in methods.js to display ExpanderComponent + resizable: false, + filterable: false, + width: 35 }, // Global Pivot Column Defaults - pivotDefaults: { - filterRender: undefined - // render: will be overriden in methods.js to display ExpanderComponent and PivotValueComponent - }, + pivotDefaults: {}, // Text previousText: 'Previous', @@ -309,37 +335,49 @@ Or just define them as props ```javascript [{ + // Renderers - For more information, see "Renderers" section below + Cell: JSX | String | Function // Used to render a standard cell, defaults to the accessed value + Header: JSX | String | Function // Used to render the header of a column or column group + Footer: JSX | String | Function // Used to render the footer of a column + Filter: JSX | cellInfo => ( // Used to render the filter UI of a filter-enabled column + + // The value passed to onFiltersChange will be the value passed to filter.value of the filterMethod + ) + Aggregated: JSX | String | Function // Used to render aggregated cells. Defaults to a comma separated list of values. + Pivot: JSX | String | Function | cellInfo => ( // Used to render a pivoted cell + + // By default, will utilize the the PivotValue and Expander components at run time + + ), + PivotValue: JSX | String | Function // Used to render the value inside of a Pivot cell + Expander: JSX | String | Function // Used to render the expander in both Pivot and Expander cells + // General accessor: 'propertyName', // or Accessor eg. (row) => row.propertyName (see "Accessors" section for more details) id: 'myProperty', // Conditional - A unique ID is required if the accessor is not a string or if you would like to override the column name used in server-side calls - sortable: true, + sortable: boolean, // Overrides the table option + resizable: boolean, // Overrides the table option + filterable: boolean, // Overrides the table option show: true, // can be used to hide a column width: undefined, // A hardcoded width for the column. This overrides both min and max width options minWidth: 100, // A minimum width for this column. If there is extra room, column will flex to fill available space (up to the max-width, if set) maxWidth: undefined, // A maximum width for this column. // Special - // Turns this column into a special column for specifying expander and pivot column options. - // If this option is true and there is NOT a pivot column, the `expanderDefaults` options will be applied on top of the column options. - // If this option is true and there IS a pivot column, the `pivotDefaults` options will be applied on top of the column options. - // Adding a column with the `expander` option set will allow you to rearrange expander and pivot column orderings in the table. + pivot: false, + // Turns this column into a special column for specifying pivot position in your column definitions. + // The `pivotDefaults` options will be applied on top of this column's options. + // It will also let you specify rendering of the header (and header group if this special column is placed in the `columns` option of another column) + expander: false, + // Turns this column into a special column for specifying expander position and options in your column definitions. + // The `expanderDefaults` options will be applied on top of this column's options. // It will also let you specify rendering of the header (and header group if this special column is placed in the `columns` option of another column) and - // the rendering of the expander itself. - expander: false, + // the rendering of the expander itself via the `Expander` property // Cell Options className: '', // Set the classname of the `td` element of the column style: {}, // Set the style of the `td` element of the column - render: JSX eg. (cellInfo: {value, rowValues, row, column, index, viewIndex}) => {value}, // Provide a JSX element or stateless function to render whatever you want as the column's cell with access to the entire row - // value == the accessed value of the column - // rowValues == an object of all of the accessed values for the row - // row == the original row of data supplied to the table - // column == the column properties (id, header, sortable, ...) - // index == the original index of the data supplied to the table - // viewIndex == the index of the row in the current page - // Header & HeaderGroup Options - header: 'Header Name', a function that returns a primitive, or JSX / React Component eg. ({data, column}) =>
Header Name
, headerClassName: '', // Set the classname of the `th` element of the column headerStyle: {}, // Set the style of the `th` element of the column getHeaderProps: (state, rowInfo, column, instance) => ({}), // a function that returns props to decorate the `th` element of the column @@ -348,7 +386,6 @@ Or just define them as props columns: [...], // See Header Groups section below // Footer - footer: 'Footer Name' or JSX eg. ({data, column}) =>
Footer Name
, footerClassName: '', // Set the classname of the `td` element of the column's footer footerStyle: {}, // Set the style of the `td` element of the column's footer getFooterProps: (state, rowInfo, column, instance) => ({}), // A function that returns props to decorate the `td` element of the column's footer @@ -358,11 +395,54 @@ Or just define them as props // filter == an object specifying which filter is being applied. Format: {id: [the filter column's id], value: [the value the user typed in the filter field], pivotId: [if filtering on a pivot column, the pivotId will be set to the pivot column's id and the `id` field will be set to the top level pivoting column]} // row == the row of data supplied to the table // column == the column that the filter is on - hideFilter: false, // If `showFilters` is set on the table, this option will let you selectively hide the filter on a particular row - filterRender: JSX // eg. ({filter, onFilterChange}) => // The value passed to onFilterChange will be the value passed to filter.value of the filterMethod }] ``` +## Renderers +React Table supports very flexible renderers for just about everything: +- `Cell` - Renders a standard cell +- `Header` - Renders a column header or column group header +- `Footer` - Renders a column footer +- `Filter` - Renders a column's filter UI +- `Aggregated` - Renders an aggregated cell +- `Pivot` - Renders a pivoted cell (by default, will utilize `Expander` and `PivotValue` renderers) +- `PivotValue` - Renders the value inside a `Pivot` renderer +- `Expander` - Renders the Expander used in both the default `Pivot` renderer and any expander-designated column + +Any of these renderers can be one of the following: +- A React Class +- JSX or any rendered react component +- Stateless functional component +- Function that returns any primitive + +All of these formats receive the following props: +```javascript +{ + // Row-level props + row: Object, // the materialized row of data + original: , // the original row of data + index: '', // the index of the row in the original arra + viewIndex: '', // the index of the row relative to the current view + level: '', // the nesting level of this row + nestingPath: '', // the nesting path of this row + aggregated: '', // true if this row's values were aggregated + groupedByPivot: '', // true if this row was produced by a pivot + subRows: '', // any sub rows defined by the `subRowKey` prop + + // Cells-level props + isExpanded: '', // true if this row is expanded + value: '', // the materialized value of this cell + resized: '', // the resize information for this cell's column + show: '', // true if the column is visible + width: '', // the resolved width of this cell + maxWidth: '', // the resolved maxWidth of this cell + tdProps: '', // the resolved tdProps from `getTdProps` for this cell + columnProps: '', // the resolved column props from 'getProps' for this cell's column + classes: '', // the resolved array of classes for this cell + styles: '' // the resolved styles for this cell +} +``` + ## Accessors Accessors are functions that return the value to populate the row's value for the column. This lets the render function not have to worry about accessing the correct data, the value is automatically populated in it's props. @@ -390,16 +470,16 @@ If your data has a field/key with a dot (`.`) you will need to supply a custom a To group columns with another header column, just nest your columns in a header column. Header columns utilize the same header properties as regular columns. ```javascript const columns = [{ - header: 'Favorites', + Header: 'Favorites', headerClassName: 'my-favorites-column-header-group' columns: [{ - header: 'Color', + Header: 'Color', accessor: 'favorites.color' }, { - header: 'Food', + Header: 'Food', accessor: 'favorites.food' } { - header: 'Actor', + Header: 'Actor', accessor: 'favorites.actor' }] }] @@ -408,7 +488,7 @@ const columns = [{ ## Custom Cell, Header and Footer Rendering You can use any react component or JSX to display content in column headers, cells and footers. Any component you use will be passed the following props (if available): - `row` - Original row from your data -- `rowValues` - The post-accessed values from the original row +- `row` - The post-accessed values from the original row - `index` - The index of the row - `viewIndex` - the index of the row relative to the current page - `level` - The nesting depth (zero-indexed) @@ -420,9 +500,9 @@ You can use any react component or JSX to display content in column headers, cel // This column uses a stateless component to produce a different colored bar depending on the value // You can also use stateful components or any other function that returns JSX const columns = [{ - header: () => Progress, + Header: () => Progress, accessor: 'progress', - render: row => ( + Cell: row => (
_.round(_.mean(values)), - render: row => { + Aggregated: row => { // You can even render the cell differently if it's an aggregated cell - return {row.aggregated ? `${row.value} (avg)` : row.value} + return row.value (avg) } }, { - header: 'Visits', + Header: 'Visits', accessor: 'visits', aggregate: (values, rows) => _.sum(values) }] @@ -604,8 +684,8 @@ If you want to handle pagination, sorting, and filtering on the server, `react-t 1. Feed React Table `data` from somewhere dynamic. eg. `state`, a redux store, etc... 1. Add `manual` as a prop. This informs React Table that you'll be handling sorting and pagination server-side -1. Subscribe to the `onChange` prop. This function is called at `compomentDidMount` and any time sorting or pagination is changed by the user -1. In the `onChange` callback, request your data using the provided information in the params of the function (state and instance) +1. Subscribe to the `onFetchData` prop. This function is called at `compomentDidMount` and any time sorting, pagination or filterting is changed in the table +1. In the `onFetchData` callback, request your data using the provided information in the params of the function (current state and instance) 1. Update your data with the rows to be displayed 1. Optionally set how many pages there are total @@ -616,15 +696,15 @@ If you want to handle pagination, sorting, and filtering on the server, `react-t pages={this.state.pages} // should default to -1 (which means we don't know how many pages we have) loading={this.state.loading} manual // informs React Table that you'll be handling sorting and pagination server-side - onChange={(state, instance) => { + onFetchData={(state, instance) => { // show the loading overlay this.setState({loading: true}) // fetch your data Axios.post('mysite.com/data', { page: state.page, pageSize: state.pageSize, - sorting: state.sorting, - filtering: state.filtering + sorted: state.sorted, + filtered: state.filtered }) .then((res) => { // Update react-table @@ -649,29 +729,37 @@ Here are the props and their corresponding callbacks that control the state of t // Props page={0} // the index of the page you wish to display pageSize={20} // the number of rows per page to be displayed - sorting={[{ + sorting={[{ // the sorting model for the table id: 'lastName', desc: true }, { id: 'firstName', desc: true - }]} // the sorting model for the table - expandedRows={{ + }]} + expandedRows={{ // The nested row indexes on the current page that should appear expanded 1: true, 4: true, 5: { 2: true, 3: true } - }} // The nested row indexes on the current page that should appear expanded + }} + filters={[{ // the current filters model + id: 'lastName', + value: 'linsley' + }]} + resizing={[{ // the current resized column model + "id": "lastName", + "value": 446.25 + }]} // Callbacks onPageChange={(pageIndex) => {...}} // Called when the page index is changed by the user onPageSizeChange={(pageSize, pageIndex) => {...}} // Called when the pageSize is changed by the user. The resolve page is also sent to maintain approximate position in the data - onSortingChange={(column, shiftKey) => {...}} // Called when a sortable column header is clicked with the column itself and if the shiftkey was held. If the column is a pivoted column, `column` will be an array of columns - onExpandRow={(index, event) => {...}} // Called when an expander is clicked. Use this to manage `expandedRows` - onFilteringChange={(column, value) => {...}} // Called when a user enters a value into a filter input field or the value passed to the onFilterChange handler by the filterRender option. - onResize={(column, event, isTouch) => {...}} // Called when a user clicks on a resizing component (the right edge of a column header) + onSortedChange={(newSorted, column, shiftKey) => {...}} // Called when a sortable column header is clicked with the column itself and if the shiftkey was held. If the column is a pivoted column, `column` will be an array of columns + onExpandedChange={(newExpanded, index, event) => {...}} // Called when an expander is clicked. Use this to manage `expandedRows` + onFilteredChange={(column, value) => {...}} // Called when a user enters a value into a filter input field or the value passed to the onFiltersChange handler by the filterRender option. + onResizedChange={(newResized, event) => {...}} // Called when a user clicks on a resizing component (the right edge of a column header) /> ``` @@ -712,19 +800,51 @@ Accessing internal state and wrapping with more UI: The possibilities are endless! +## Sorting +Sorting comes built in with React-Table. Click column header to sort by its column. Click it again to reverse the sort. + ## Multi-Sort When clicking on a column header, hold shift to multi-sort! You can toggle `ascending` `descending` and `none` for multi-sort columns. Clicking on a header without holding shift will clear the multi-sort and replace it with the single sort of that column. It's quite handy! -## Filtering -Filtering can be enabled by setting the `showFilters` option on the table. +## Custom Sorting Algorithm +To override the default sorting algorithm for the whole table use the `defaultSortMethod` prop. -If you don't want particular column to be filtered you can set the `hideFilter` option on the column. +To override the sorting algorithm for a single column, use the `sortMethod` column property. + +Supply a function that implements the native javascript [`Array.sort`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) interface. This is React Table's default sorting algorithm: +- `a` the first value to compare +- `b` the second value to compare +- `dir` the +```javascript +defaultSortMethod = (a, b) => { + // force null and undefined to the bottom + a = (a === null || a === undefined) ? -Infinity : a + b = (b === null || b === undefined) ? -Infinity : b + // force any string values to lowercase + a = a === 'string' ? a.toLowerCase() : a + b = b === 'string' ? b.toLowerCase() : b + // Return either 1 or -1 to indicate a sort priority + if (a > b) { + return 1 + } + if (a < b) { + return -1 + } + // returning 0 or undefined will use any subsequent column sorting methods or the row index as a tiebreaker + return 0 +} +``` + +## Filtering +Filtering can be enabled by setting the `filterable` option on the table. + +If you don't want particular column to be filtered you can set the `filterable={false}` option on the column. By default the table tries to filter by checking if the row's value starts with the filter text. The default method for filtering the table can be set with the table's `defaultFilterMethod` option. If you want to override a particular column's filtering method, you can set the `filterMethod` option on a column. -To completely override the filter that is shown, you can set the `filterRender` column option. Using this option you can specify the JSX that is shown. The option is passed an `onFilterChange` method which must be called with the the value that you wan't to pass to the `filterMethod` option whenever the filter has changed. +To completely override the filter that is shown, you can set the `Filter` column option. Using this option you can specify the JSX that is shown. The option is passed an `onChange` method which must be called with the the value that you wan't to pass to the `filterMethod` option whenever the filter has changed. See Custom Filtering demo for examples. @@ -743,7 +863,10 @@ Object.assign(ReactTableDefaults, { TdComponent: component, TfootComponent: component, ExpanderComponent: component, + AggregatedComponent: component, PivotValueComponent: component, + PivotComponent: component, + FilterComponent: component, PaginationComponent: component, PreviousComponent: undefined, NextComponent: undefined, diff --git a/docs/iframe.html b/docs/iframe.html index c22a59e..62285c4 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -16,7 +16,7 @@
- + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index cfec871..07687ad 100644 --- a/docs/index.html +++ b/docs/index.html @@ -38,7 +38,7 @@
- + \ No newline at end of file diff --git a/docs/static/manager.2e7b063c56eb89efa1fe.bundle.js.map b/docs/static/manager.2e7b063c56eb89efa1fe.bundle.js.map deleted file mode 100644 index 21875b8..0000000 --- a/docs/static/manager.2e7b063c56eb89efa1fe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/manager.2e7b063c56eb89efa1fe.bundle.js","sources":["webpack:///static/manager.2e7b063c56eb89efa1fe.bundle.js"],"mappings":"AAAA;AAkuDA;AA84DA;AA28DA;AA00DA;AAsvEA;AAuhDA;AAsrDA;AAsiDA;AAg6DA;AA2nDA;AA++CA;AAkvDA;AAsnEA;AA2oDA;AAivCA;AA+nDA;AAkpDA;AA6lEA;AAs4DA;AAquDA;AA+pDA;AAoxDA;AAsrDA;AA+yDA;AA88GA;AAj6CA;AAopGA;AAsuFA;AA+zEA;AAtMA;AAizEA","sourceRoot":""} \ No newline at end of file diff --git a/docs/static/manager.2e7b063c56eb89efa1fe.bundle.js b/docs/static/manager.9a120eb2943ac2bf0331.bundle.js similarity index 94% rename from docs/static/manager.2e7b063c56eb89efa1fe.bundle.js rename to docs/static/manager.9a120eb2943ac2bf0331.bundle.js index fea9c08..2459a40 100644 --- a/docs/static/manager.2e7b063c56eb89efa1fe.bundle.js +++ b/docs/static/manager.9a120eb2943ac2bf0331.bundle.js @@ -1,8 +1,8 @@ -!function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:!1};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.p="",__webpack_require__(0)}(function(modules){for(var i in modules)if(Object.prototype.hasOwnProperty.call(modules,i))switch(typeof modules[i]){case"function":break;case"object":modules[i]=function(_m){var args=_m.slice(1),fn=modules[_m[0]];return function(a,b,c){fn.apply(this,[a,b,c].concat(args))}}(modules[i]);break;default:modules[i]=modules[modules[i]]}return modules}([function(module,exports,__webpack_require__){__webpack_require__(490),__webpack_require__(204),module.exports=__webpack_require__(480)},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(51)},function(module,exports,__webpack_require__){"use strict";function invariant(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;error=new Error(format.replace(/%s/g,function(){return args[argIndex++]})),error.name="Invariant Violation"}throw error.framesToPop=1,error}}var validateFormat=function(format){};"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&(validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")}),module.exports=invariant},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(18),warning=emptyFunction;"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&!function(){var printWarning=function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}};warning=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==format.indexOf("Failed Composite propType: ")&&!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}}}(),module.exports=warning},function(module,exports){"use strict";function reactProdInvariant(code){for(var argCount=arguments.length-1,message="Minified React error #"+code+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+code,argIdx=0;argIdx1){for(var childArray=Array(childrenLength),i=0;i1){for(var childArray=Array(childrenLength),i=0;i=0||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports,__webpack_require__){var dP=__webpack_require__(26),createDesc=__webpack_require__(55);module.exports=__webpack_require__(31)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(139),enumBugKeys=__webpack_require__(80);module.exports=Object.keys||function(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){"use strict";var keys=__webpack_require__(293),foreach=__webpack_require__(282),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol(),toStr=Object.prototype.toString,isFunction=function(fn){return"function"==typeof fn&&"[object Function]"===toStr.call(fn)},arePropertyDescriptorsSupported=function(){var obj={};try{Object.defineProperty(obj,"x",{enumerable:!1,value:obj});for(var _ in obj)return!1;return obj.x===obj}catch(e){return!1}},supportsDescriptors=Object.defineProperty&&arePropertyDescriptorsSupported(),defineProperty=function(object,name,value,predicate){(!(name in object)||isFunction(predicate)&&predicate())&&(supportsDescriptors?Object.defineProperty(object,name,{configurable:!0,enumerable:!1,value:value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=props.concat(Object.getOwnPropertySymbols(map))),foreach(props,function(name){defineProperty(object,name,map[name],predicates[name])})};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties},function(module,exports,__webpack_require__){var implementation=__webpack_require__(283);module.exports=Function.prototype.bind||implementation},function(module,exports){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})})},,function(module,exports,__webpack_require__){"use strict";function recomputePluginOrdering(){if(eventPluginOrder)for(var pluginName in namesToPlugins){var pluginModule=namesToPlugins[pluginName],pluginIndex=eventPluginOrder.indexOf(pluginName);if(pluginIndex>-1?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",pluginName):_prodInvariant("96",pluginName),!EventPluginRegistry.plugins[pluginIndex]){pluginModule.extractEvents?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",pluginName):_prodInvariant("97",pluginName),EventPluginRegistry.plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName)?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",eventName,pluginName):_prodInvariant("98",eventName,pluginName)}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName)?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",eventName):_prodInvariant("99",eventName):void 0,EventPluginRegistry.eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phaseName)){var phasedRegistrationName=phasedRegistrationNames[phaseName];publishRegistrationName(phasedRegistrationName,pluginModule,eventName)}return!0}return!!dispatchConfig.registrationName&&(publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0)}function publishRegistrationName(registrationName,pluginModule,eventName){if(EventPluginRegistry.registrationNameModules[registrationName]?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",registrationName):_prodInvariant("100",registrationName):void 0,EventPluginRegistry.registrationNameModules[registrationName]=pluginModule,EventPluginRegistry.registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var lowerCasedName=registrationName.toLowerCase();EventPluginRegistry.possibleRegistrationNames[lowerCasedName]=registrationName,"onDoubleClick"===registrationName&&(EventPluginRegistry.possibleRegistrationNames.ondblclick=registrationName)}}var _prodInvariant=__webpack_require__(4),invariant=__webpack_require__(2),eventPluginOrder=null,namesToPlugins={},EventPluginRegistry={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?{}:null,injectEventPluginOrder:function(injectedEventPluginOrder){eventPluginOrder?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):_prodInvariant("101"):void 0,eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()},injectEventPluginsByName:function(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];namesToPlugins.hasOwnProperty(pluginName)&&namesToPlugins[pluginName]===pluginModule||(namesToPlugins[pluginName]?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",pluginName):_prodInvariant("102",pluginName):void 0,namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0)}isOrderingDirty&&recomputePluginOrdering()},getPluginModuleForEvent:function(event){var dispatchConfig=event.dispatchConfig;if(dispatchConfig.registrationName)return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName]||null;if(void 0!==dispatchConfig.phasedRegistrationNames){var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;for(var phase in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phase)){var pluginModule=EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]];if(pluginModule)return pluginModule}}return null},_resetEventPlugins:function(){eventPluginOrder=null;for(var pluginName in namesToPlugins)namesToPlugins.hasOwnProperty(pluginName)&&delete namesToPlugins[pluginName];EventPluginRegistry.plugins.length=0;var eventNameDispatchConfigs=EventPluginRegistry.eventNameDispatchConfigs;for(var eventName in eventNameDispatchConfigs)eventNameDispatchConfigs.hasOwnProperty(eventName)&&delete eventNameDispatchConfigs[eventName];var registrationNameModules=EventPluginRegistry.registrationNameModules;for(var registrationName in registrationNameModules)registrationNameModules.hasOwnProperty(registrationName)&&delete registrationNameModules[registrationName];if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var possibleRegistrationNames=EventPluginRegistry.possibleRegistrationNames;for(var lowerCasedName in possibleRegistrationNames)possibleRegistrationNames.hasOwnProperty(lowerCasedName)&&delete possibleRegistrationNames[lowerCasedName]}}};module.exports=EventPluginRegistry},function(module,exports,__webpack_require__){"use strict";function getListeningForDocument(mountAt){return Object.prototype.hasOwnProperty.call(mountAt,topListenersIDKey)||(mountAt[topListenersIDKey]=reactTopListenersCounter++,alreadyListeningTo[mountAt[topListenersIDKey]]={}),alreadyListeningTo[mountAt[topListenersIDKey]]}var hasEventPageXY,_assign=__webpack_require__(8),EventPluginRegistry=__webpack_require__(69),ReactEventEmitterMixin=__webpack_require__(339),ViewportMetrics=__webpack_require__(172),getVendorPrefixedEventName=__webpack_require__(375),isEventSupported=__webpack_require__(107),alreadyListeningTo={},isMonitoringScrollValue=!1,reactTopListenersCounter=0,topEventMapping={topAbort:"abort",topAnimationEnd:getVendorPrefixedEventName("animationend")||"animationend",topAnimationIteration:getVendorPrefixedEventName("animationiteration")||"animationiteration",topAnimationStart:getVendorPrefixedEventName("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:getVendorPrefixedEventName("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},topListenersIDKey="_reactListenersID"+String(Math.random()).slice(2),ReactBrowserEventEmitter=_assign({},ReactEventEmitterMixin,{ReactEventListener:null,injection:{injectReactEventListener:function(ReactEventListener){ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel),ReactBrowserEventEmitter.ReactEventListener=ReactEventListener}},setEnabled:function(enabled){ReactBrowserEventEmitter.ReactEventListener&&ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled)},isEnabled:function(){return!(!ReactBrowserEventEmitter.ReactEventListener||!ReactBrowserEventEmitter.ReactEventListener.isEnabled())},listenTo:function(registrationName,contentDocumentHandle){for(var mountAt=contentDocumentHandle,isListening=getListeningForDocument(mountAt),dependencies=EventPluginRegistry.registrationNameDependencies[registrationName],i=0;i]/;module.exports=escapeTextContentForBrowser},function(module,exports,__webpack_require__){"use strict";var reusableSVGContainer,ExecutionEnvironment=__webpack_require__(9),DOMNamespaces=__webpack_require__(96),WHITESPACE_TEST=/^[ \r\n\t\f]/,NONVISIBLE_TEST=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,createMicrosoftUnsafeLocalFunction=__webpack_require__(103),setInnerHTML=createMicrosoftUnsafeLocalFunction(function(node,html){if(node.namespaceURI!==DOMNamespaces.svg||"innerHTML"in node)node.innerHTML=html;else{reusableSVGContainer=reusableSVGContainer||document.createElement("div"),reusableSVGContainer.innerHTML=""+html+"";for(var svgNode=reusableSVGContainer.firstChild;svgNode.firstChild;)node.appendChild(svgNode.firstChild)}});if(ExecutionEnvironment.canUseDOM){var testElement=document.createElement("div");testElement.innerHTML=" ",""===testElement.innerHTML&&(setInnerHTML=function(node,html){if(node.parentNode&&node.parentNode.replaceChild(node,node),WHITESPACE_TEST.test(html)||"<"===html[0]&&NONVISIBLE_TEST.test(html)){node.innerHTML=String.fromCharCode(65279)+html;var textNode=node.firstChild;1===textNode.data.length?node.removeChild(textNode):textNode.deleteData(0,1)}else node.innerHTML=html}),testElement=null}module.exports=setInnerHTML},8,function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _manager=__webpack_require__(200);Object.defineProperty(exports,"register",{enumerable:!0,get:function(){return _manager.register}});var _preview=__webpack_require__(201);Object.defineProperty(exports,"linkTo",{enumerable:!0,get:function(){return _preview.linkTo}});var ADDON_ID=exports.ADDON_ID="kadirahq/storybook-addon-links";exports.EVENT_ID=ADDON_ID+"/link-to-message"},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(226);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports){module.exports=!0},function(module,exports,__webpack_require__){var anObject=__webpack_require__(32),dPs=__webpack_require__(191),enumBugKeys=__webpack_require__(80),IE_PROTO=__webpack_require__(85)("IE_PROTO"),Empty=function(){},PROTOTYPE="prototype",createDict=function(){var iframeDocument,iframe=__webpack_require__(133)("iframe"),i=enumBugKeys.length,lt="<",gt=">";for(iframe.style.display="none",__webpack_require__(231).appendChild(iframe),iframe.src="javascript:",iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(lt+"script"+gt+"document.F=Object"+lt+"/script"+gt),iframeDocument.close(),createDict=iframeDocument.F;i--;)delete createDict[PROTOTYPE][enumBugKeys[i]];return createDict()};module.exports=Object.create||function(O,Properties){var result;return null!==O?(Empty[PROTOTYPE]=anObject(O),result=new Empty,Empty[PROTOTYPE]=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:dPs(result,Properties)}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__webpack_require__){var def=__webpack_require__(26).f,has=__webpack_require__(33),TAG=__webpack_require__(17)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports,__webpack_require__){var shared=__webpack_require__(86)("keys"),uid=__webpack_require__(66);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__webpack_require__){var global=__webpack_require__(25),SHARED="__core-js_shared__",store=global[SHARED]||(global[SHARED]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(43);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){var global=__webpack_require__(25),core=__webpack_require__(11),LIBRARY=__webpack_require__(81),wksExt=__webpack_require__(90),defineProperty=__webpack_require__(26).f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},function(module,exports,__webpack_require__){exports.f=__webpack_require__(17)},function(module,exports,__webpack_require__){__webpack_require__(246);for(var global=__webpack_require__(25),hide=__webpack_require__(42),Iterators=__webpack_require__(44),TO_STRING_TAG=__webpack_require__(17)("toStringTag"),collections=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var NAME=collections[i],Collection=global[NAME],proto=Collection&&Collection.prototype;proto&&!proto[TO_STRING_TAG]&&hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=Iterators.Array}},,function(module,exports){"use strict";function is(x,y){return x===y?0!==x||0!==y||1/x===1/y:x!==x&&y!==y}function shallowEqual(objA,objB){if(is(objA,objB))return!0;if("object"!=typeof objA||null===objA||"object"!=typeof objB||null===objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}};warning=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==format.indexOf("Failed Composite propType: ")&&!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];printWarning.apply(void 0,[format].concat(args))}}}(),module.exports=warning},function(module,exports){"use strict";function reactProdInvariant(code){for(var argCount=arguments.length-1,message="Minified React error #"+code+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+code,argIdx=0;argIdx1){for(var childArray=Array(childrenLength),i=0;i1){for(var childArray=Array(childrenLength),i=0;i=0||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}},function(module,exports){module.exports=function(exec){try{return!!exec()}catch(e){return!0}}},function(module,exports,__webpack_require__){var dP=__webpack_require__(26),createDesc=__webpack_require__(55);module.exports=__webpack_require__(31)?function(object,key,value){return dP.f(object,key,createDesc(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports){module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it}},function(module,exports){module.exports={}},function(module,exports,__webpack_require__){var $keys=__webpack_require__(139),enumBugKeys=__webpack_require__(80);module.exports=Object.keys||function(O){return $keys(O,enumBugKeys)}},function(module,exports,__webpack_require__){"use strict";var keys=__webpack_require__(293),foreach=__webpack_require__(282),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol(),toStr=Object.prototype.toString,isFunction=function(fn){return"function"==typeof fn&&"[object Function]"===toStr.call(fn)},arePropertyDescriptorsSupported=function(){var obj={};try{Object.defineProperty(obj,"x",{enumerable:!1,value:obj});for(var _ in obj)return!1;return obj.x===obj}catch(e){return!1}},supportsDescriptors=Object.defineProperty&&arePropertyDescriptorsSupported(),defineProperty=function(object,name,value,predicate){(!(name in object)||isFunction(predicate)&&predicate())&&(supportsDescriptors?Object.defineProperty(object,name,{configurable:!0,enumerable:!1,value:value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=props.concat(Object.getOwnPropertySymbols(map))),foreach(props,function(name){defineProperty(object,name,map[name],predicates[name])})};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties},function(module,exports,__webpack_require__){var implementation=__webpack_require__(283);module.exports=Function.prototype.bind||implementation},function(module,exports){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout)return clearTimeout(marker);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(marker);try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i=O.length?{value:void 0,done:!0}:(point=$at(O,index),this._i+=point.length,{value:point,done:!1})})},,function(module,exports,__webpack_require__){"use strict";function recomputePluginOrdering(){if(eventPluginOrder)for(var pluginName in namesToPlugins){var pluginModule=namesToPlugins[pluginName],pluginIndex=eventPluginOrder.indexOf(pluginName);if(pluginIndex>-1?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",pluginName):_prodInvariant("96",pluginName),!EventPluginRegistry.plugins[pluginIndex]){pluginModule.extractEvents?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",pluginName):_prodInvariant("97",pluginName),EventPluginRegistry.plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName)?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",eventName,pluginName):_prodInvariant("98",eventName,pluginName)}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName)?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",eventName):_prodInvariant("99",eventName):void 0,EventPluginRegistry.eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phaseName)){var phasedRegistrationName=phasedRegistrationNames[phaseName];publishRegistrationName(phasedRegistrationName,pluginModule,eventName)}return!0}return!!dispatchConfig.registrationName&&(publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0)}function publishRegistrationName(registrationName,pluginModule,eventName){if(EventPluginRegistry.registrationNameModules[registrationName]?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",registrationName):_prodInvariant("100",registrationName):void 0,EventPluginRegistry.registrationNameModules[registrationName]=pluginModule,EventPluginRegistry.registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var lowerCasedName=registrationName.toLowerCase();EventPluginRegistry.possibleRegistrationNames[lowerCasedName]=registrationName,"onDoubleClick"===registrationName&&(EventPluginRegistry.possibleRegistrationNames.ondblclick=registrationName)}}var _prodInvariant=__webpack_require__(4),invariant=__webpack_require__(2),eventPluginOrder=null,namesToPlugins={},EventPluginRegistry={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?{}:null,injectEventPluginOrder:function(injectedEventPluginOrder){eventPluginOrder?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):_prodInvariant("101"):void 0,eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()},injectEventPluginsByName:function(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];namesToPlugins.hasOwnProperty(pluginName)&&namesToPlugins[pluginName]===pluginModule||(namesToPlugins[pluginName]?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",pluginName):_prodInvariant("102",pluginName):void 0,namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0)}isOrderingDirty&&recomputePluginOrdering()},getPluginModuleForEvent:function(event){var dispatchConfig=event.dispatchConfig;if(dispatchConfig.registrationName)return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName]||null;if(void 0!==dispatchConfig.phasedRegistrationNames){var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;for(var phase in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phase)){var pluginModule=EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]];if(pluginModule)return pluginModule}}return null},_resetEventPlugins:function(){eventPluginOrder=null;for(var pluginName in namesToPlugins)namesToPlugins.hasOwnProperty(pluginName)&&delete namesToPlugins[pluginName];EventPluginRegistry.plugins.length=0;var eventNameDispatchConfigs=EventPluginRegistry.eventNameDispatchConfigs;for(var eventName in eventNameDispatchConfigs)eventNameDispatchConfigs.hasOwnProperty(eventName)&&delete eventNameDispatchConfigs[eventName];var registrationNameModules=EventPluginRegistry.registrationNameModules;for(var registrationName in registrationNameModules)registrationNameModules.hasOwnProperty(registrationName)&&delete registrationNameModules[registrationName];if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var possibleRegistrationNames=EventPluginRegistry.possibleRegistrationNames;for(var lowerCasedName in possibleRegistrationNames)possibleRegistrationNames.hasOwnProperty(lowerCasedName)&&delete possibleRegistrationNames[lowerCasedName]}}};module.exports=EventPluginRegistry},function(module,exports,__webpack_require__){"use strict";function getListeningForDocument(mountAt){return Object.prototype.hasOwnProperty.call(mountAt,topListenersIDKey)||(mountAt[topListenersIDKey]=reactTopListenersCounter++,alreadyListeningTo[mountAt[topListenersIDKey]]={}),alreadyListeningTo[mountAt[topListenersIDKey]]}var hasEventPageXY,_assign=__webpack_require__(8),EventPluginRegistry=__webpack_require__(69),ReactEventEmitterMixin=__webpack_require__(339),ViewportMetrics=__webpack_require__(172),getVendorPrefixedEventName=__webpack_require__(375),isEventSupported=__webpack_require__(107),alreadyListeningTo={},isMonitoringScrollValue=!1,reactTopListenersCounter=0,topEventMapping={topAbort:"abort",topAnimationEnd:getVendorPrefixedEventName("animationend")||"animationend",topAnimationIteration:getVendorPrefixedEventName("animationiteration")||"animationiteration",topAnimationStart:getVendorPrefixedEventName("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:getVendorPrefixedEventName("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},topListenersIDKey="_reactListenersID"+String(Math.random()).slice(2),ReactBrowserEventEmitter=_assign({},ReactEventEmitterMixin,{ReactEventListener:null,injection:{injectReactEventListener:function(ReactEventListener){ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel),ReactBrowserEventEmitter.ReactEventListener=ReactEventListener}},setEnabled:function(enabled){ReactBrowserEventEmitter.ReactEventListener&&ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled)},isEnabled:function(){return!(!ReactBrowserEventEmitter.ReactEventListener||!ReactBrowserEventEmitter.ReactEventListener.isEnabled())},listenTo:function(registrationName,contentDocumentHandle){for(var mountAt=contentDocumentHandle,isListening=getListeningForDocument(mountAt),dependencies=EventPluginRegistry.registrationNameDependencies[registrationName],i=0;i]/;module.exports=escapeTextContentForBrowser},function(module,exports,__webpack_require__){"use strict";var reusableSVGContainer,ExecutionEnvironment=__webpack_require__(9),DOMNamespaces=__webpack_require__(96),WHITESPACE_TEST=/^[ \r\n\t\f]/,NONVISIBLE_TEST=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,createMicrosoftUnsafeLocalFunction=__webpack_require__(103),setInnerHTML=createMicrosoftUnsafeLocalFunction(function(node,html){if(node.namespaceURI!==DOMNamespaces.svg||"innerHTML"in node)node.innerHTML=html;else{reusableSVGContainer=reusableSVGContainer||document.createElement("div"),reusableSVGContainer.innerHTML=""+html+"";for(var svgNode=reusableSVGContainer.firstChild;svgNode.firstChild;)node.appendChild(svgNode.firstChild)}});if(ExecutionEnvironment.canUseDOM){var testElement=document.createElement("div");testElement.innerHTML=" ",""===testElement.innerHTML&&(setInnerHTML=function(node,html){if(node.parentNode&&node.parentNode.replaceChild(node,node),WHITESPACE_TEST.test(html)||"<"===html[0]&&NONVISIBLE_TEST.test(html)){node.innerHTML=String.fromCharCode(65279)+html;var textNode=node.firstChild;1===textNode.data.length?node.removeChild(textNode):textNode.deleteData(0,1)}else node.innerHTML=html}),testElement=null}module.exports=setInnerHTML},8,function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _manager=__webpack_require__(200);Object.defineProperty(exports,"register",{enumerable:!0,get:function(){return _manager.register}});var _preview=__webpack_require__(201);Object.defineProperty(exports,"linkTo",{enumerable:!0,get:function(){return _preview.linkTo}});var ADDON_ID=exports.ADDON_ID="kadirahq/storybook-addon-links";exports.EVENT_ID=ADDON_ID+"/link-to-message"},function(module,exports){var toString={}.toString;module.exports=function(it){return toString.call(it).slice(8,-1)}},function(module,exports,__webpack_require__){var aFunction=__webpack_require__(226);module.exports=function(fn,that,length){if(aFunction(fn),void 0===that)return fn;switch(length){case 1:return function(a){return fn.call(that,a)};case 2:return function(a,b){return fn.call(that,a,b)};case 3:return function(a,b,c){return fn.call(that,a,b,c)}}return function(){return fn.apply(that,arguments)}}},function(module,exports){module.exports=function(it){if(void 0==it)throw TypeError("Can't call method on "+it);return it}},function(module,exports){module.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(module,exports){module.exports=!0},function(module,exports,__webpack_require__){var anObject=__webpack_require__(32),dPs=__webpack_require__(191),enumBugKeys=__webpack_require__(80),IE_PROTO=__webpack_require__(85)("IE_PROTO"),Empty=function(){},PROTOTYPE="prototype",createDict=function(){var iframeDocument,iframe=__webpack_require__(133)("iframe"),i=enumBugKeys.length,lt="<",gt=">";for(iframe.style.display="none",__webpack_require__(231).appendChild(iframe),iframe.src="javascript:",iframeDocument=iframe.contentWindow.document,iframeDocument.open(),iframeDocument.write(lt+"script"+gt+"document.F=Object"+lt+"/script"+gt),iframeDocument.close(),createDict=iframeDocument.F;i--;)delete createDict[PROTOTYPE][enumBugKeys[i]];return createDict()};module.exports=Object.create||function(O,Properties){var result;return null!==O?(Empty[PROTOTYPE]=anObject(O),result=new Empty,Empty[PROTOTYPE]=null,result[IE_PROTO]=O):result=createDict(),void 0===Properties?result:dPs(result,Properties)}},function(module,exports){exports.f=Object.getOwnPropertySymbols},function(module,exports,__webpack_require__){var def=__webpack_require__(26).f,has=__webpack_require__(33),TAG=__webpack_require__(17)("toStringTag");module.exports=function(it,tag,stat){it&&!has(it=stat?it:it.prototype,TAG)&&def(it,TAG,{configurable:!0,value:tag})}},function(module,exports,__webpack_require__){var shared=__webpack_require__(86)("keys"),uid=__webpack_require__(66);module.exports=function(key){return shared[key]||(shared[key]=uid(key))}},function(module,exports,__webpack_require__){var global=__webpack_require__(25),SHARED="__core-js_shared__",store=global[SHARED]||(global[SHARED]={});module.exports=function(key){return store[key]||(store[key]={})}},function(module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(it){return isNaN(it=+it)?0:(it>0?floor:ceil)(it)}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(43);module.exports=function(it,S){if(!isObject(it))return it;var fn,val;if(S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;if("function"==typeof(fn=it.valueOf)&&!isObject(val=fn.call(it)))return val;if(!S&&"function"==typeof(fn=it.toString)&&!isObject(val=fn.call(it)))return val;throw TypeError("Can't convert object to primitive value")}},function(module,exports,__webpack_require__){var global=__webpack_require__(25),core=__webpack_require__(11),LIBRARY=__webpack_require__(81),wksExt=__webpack_require__(90),defineProperty=__webpack_require__(26).f;module.exports=function(name){var $Symbol=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==name.charAt(0)||name in $Symbol||defineProperty($Symbol,name,{value:wksExt.f(name)})}},function(module,exports,__webpack_require__){exports.f=__webpack_require__(17)},function(module,exports,__webpack_require__){__webpack_require__(246);for(var global=__webpack_require__(25),hide=__webpack_require__(42),Iterators=__webpack_require__(44),TO_STRING_TAG=__webpack_require__(17)("toStringTag"),collections=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],i=0;i<5;i++){var NAME=collections[i],Collection=global[NAME],proto=Collection&&Collection.prototype;proto&&!proto[TO_STRING_TAG]&&hide(proto,TO_STRING_TAG,NAME),Iterators[NAME]=Iterators.Array}},,function(module,exports){"use strict";function is(x,y){return x===y?0!==x||0!==y||1/x===1/y:x!==x&&y!==y}function shallowEqual(objA,objB){if(is(objA,objB))return!0;if("object"!=typeof objA||null===objA||"object"!=typeof objB||null===objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i0&&keys.length<20?displayName+" (keys: "+keys.join(", ")+")":displayName}function getInternalInstanceReadyForUpdate(publicInstance,callerName){var internalInstance=ReactInstanceMap.get(publicInstance);if(!internalInstance){if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var ctor=publicInstance.constructor;"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!callerName,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",callerName,callerName,ctor&&(ctor.displayName||ctor.name)||"ReactClass"):void 0}return null}return"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(null==ReactCurrentOwner.current,"%s(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`.",callerName):void 0),internalInstance}var _prodInvariant=__webpack_require__(4),ReactCurrentOwner=__webpack_require__(20),ReactInstanceMap=__webpack_require__(61),ReactInstrumentation=__webpack_require__(15),ReactUpdates=__webpack_require__(19),invariant=__webpack_require__(2),warning=__webpack_require__(3),ReactUpdateQueue={isMounted:function(publicInstance){if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var owner=ReactCurrentOwner.current;null!==owner&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(owner._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",owner.getName()||"A component"):void 0,owner._warnedAboutRefsInRender=!0)}var internalInstance=ReactInstanceMap.get(publicInstance);return!!internalInstance&&!!internalInstance._renderedComponent},enqueueCallback:function(publicInstance,callback,callerName){ReactUpdateQueue.validateCallback(callback,callerName);var internalInstance=getInternalInstanceReadyForUpdate(publicInstance);return internalInstance?(internalInstance._pendingCallbacks?internalInstance._pendingCallbacks.push(callback):internalInstance._pendingCallbacks=[callback],void enqueueUpdate(internalInstance)):null},enqueueCallbackInternal:function(internalInstance,callback){internalInstance._pendingCallbacks?internalInstance._pendingCallbacks.push(callback):internalInstance._pendingCallbacks=[callback],enqueueUpdate(internalInstance)},enqueueForceUpdate:function(publicInstance){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,"forceUpdate");internalInstance&&(internalInstance._pendingForceUpdate=!0,enqueueUpdate(internalInstance))},enqueueReplaceState:function(publicInstance,completeState){var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,"replaceState");internalInstance&&(internalInstance._pendingStateQueue=[completeState],internalInstance._pendingReplaceState=!0,enqueueUpdate(internalInstance))},enqueueSetState:function(publicInstance,partialState){"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&(ReactInstrumentation.debugTool.onSetState(),"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(null!=partialState,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."):void 0);var internalInstance=getInternalInstanceReadyForUpdate(publicInstance,"setState");if(internalInstance){var queue=internalInstance._pendingStateQueue||(internalInstance._pendingStateQueue=[]);queue.push(partialState),enqueueUpdate(internalInstance)}},enqueueElementInternal:function(internalInstance,nextElement,nextContext){internalInstance._pendingElement=nextElement,internalInstance._context=nextContext,enqueueUpdate(internalInstance)},validateCallback:function(callback,callerName){callback&&"function"!=typeof callback?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callerName,formatUnexpectedArgument(callback)):_prodInvariant("122",callerName,formatUnexpectedArgument(callback)):void 0}};module.exports=ReactUpdateQueue},function(module,exports){"use strict";var createMicrosoftUnsafeLocalFunction=function(func){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(arg0,arg1,arg2,arg3){MSApp.execUnsafeLocalFunction(function(){return func(arg0,arg1,arg2,arg3)})}:func};module.exports=createMicrosoftUnsafeLocalFunction},function(module,exports){"use strict";function getEventCharCode(nativeEvent){var charCode,keyCode=nativeEvent.keyCode;return"charCode"in nativeEvent?(charCode=nativeEvent.charCode,0===charCode&&13===keyCode&&(charCode=13)):charCode=keyCode,charCode>=32||13===charCode?charCode:0}module.exports=getEventCharCode},function(module,exports){"use strict";function modifierStateGetter(keyArg){var syntheticEvent=this,nativeEvent=syntheticEvent.nativeEvent;if(nativeEvent.getModifierState)return nativeEvent.getModifierState(keyArg);var keyProp=modifierKeyToProp[keyArg];return!!keyProp&&!!nativeEvent[keyProp]}function getEventModifierState(nativeEvent){return modifierStateGetter}var modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};module.exports=getEventModifierState},function(module,exports){"use strict";function getEventTarget(nativeEvent){var target=nativeEvent.target||nativeEvent.srcElement||window;return target.correspondingUseElement&&(target=target.correspondingUseElement),3===target.nodeType?target.parentNode:target}module.exports=getEventTarget},function(module,exports,__webpack_require__){"use strict";function isEventSupported(eventNameSuffix,capture){if(!ExecutionEnvironment.canUseDOM||capture&&!("addEventListener"in document))return!1;var eventName="on"+eventNameSuffix,isSupported=eventName in document;if(!isSupported){var element=document.createElement("div");element.setAttribute(eventName,"return;"),isSupported="function"==typeof element[eventName]}return!isSupported&&useHasFeature&&"wheel"===eventNameSuffix&&(isSupported=document.implementation.hasFeature("Events.wheel","3.0")),isSupported}var useHasFeature,ExecutionEnvironment=__webpack_require__(9);ExecutionEnvironment.canUseDOM&&(useHasFeature=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),module.exports=isEventSupported},function(module,exports){"use strict";function shouldUpdateReactComponent(prevElement,nextElement){var prevEmpty=null===prevElement||prevElement===!1,nextEmpty=null===nextElement||nextElement===!1;if(prevEmpty||nextEmpty)return prevEmpty===nextEmpty;var prevType=typeof prevElement,nextType=typeof nextElement;return"string"===prevType||"number"===prevType?"string"===nextType||"number"===nextType:"object"===nextType&&prevElement.type===nextElement.type&&prevElement.key===nextElement.key}module.exports=shouldUpdateReactComponent},function(module,exports,__webpack_require__){"use strict";var _assign=__webpack_require__(8),emptyFunction=__webpack_require__(18),warning=__webpack_require__(3),validateDOMNesting=emptyFunction;if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var specialTags=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],inScopeTags=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],buttonScopeTags=inScopeTags.concat(["button"]),impliedEndTags=["dd","dt","li","option","optgroup","p","rp","rt"],emptyAncestorInfo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},updatedAncestorInfo=function(oldInfo,tag,instance){var ancestorInfo=_assign({},oldInfo||emptyAncestorInfo),info={tag:tag,instance:instance};return inScopeTags.indexOf(tag)!==-1&&(ancestorInfo.aTagInScope=null,ancestorInfo.buttonTagInScope=null,ancestorInfo.nobrTagInScope=null),buttonScopeTags.indexOf(tag)!==-1&&(ancestorInfo.pTagInButtonScope=null),specialTags.indexOf(tag)!==-1&&"address"!==tag&&"div"!==tag&&"p"!==tag&&(ancestorInfo.listItemTagAutoclosing=null,ancestorInfo.dlItemTagAutoclosing=null),ancestorInfo.current=info,"form"===tag&&(ancestorInfo.formTag=info),"a"===tag&&(ancestorInfo.aTagInScope=info),"button"===tag&&(ancestorInfo.buttonTagInScope=info),"nobr"===tag&&(ancestorInfo.nobrTagInScope=info),"p"===tag&&(ancestorInfo.pTagInButtonScope=info),"li"===tag&&(ancestorInfo.listItemTagAutoclosing=info),"dd"!==tag&&"dt"!==tag||(ancestorInfo.dlItemTagAutoclosing=info),ancestorInfo},isTagValidWithParent=function(tag,parentTag){switch(parentTag){case"select":return"option"===tag||"optgroup"===tag||"#text"===tag;case"optgroup":return"option"===tag||"#text"===tag;case"option":return"#text"===tag;case"tr":return"th"===tag||"td"===tag||"style"===tag||"script"===tag||"template"===tag;case"tbody":case"thead":case"tfoot":return"tr"===tag||"style"===tag||"script"===tag||"template"===tag;case"colgroup":return"col"===tag||"template"===tag;case"table":return"caption"===tag||"colgroup"===tag||"tbody"===tag||"tfoot"===tag||"thead"===tag||"style"===tag||"script"===tag||"template"===tag;case"head":return"base"===tag||"basefont"===tag||"bgsound"===tag||"link"===tag||"meta"===tag||"title"===tag||"noscript"===tag||"noframes"===tag||"style"===tag||"script"===tag||"template"===tag;case"html":return"head"===tag||"body"===tag;case"#document":return"html"===tag}switch(tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==parentTag&&"h2"!==parentTag&&"h3"!==parentTag&&"h4"!==parentTag&&"h5"!==parentTag&&"h6"!==parentTag;case"rp":case"rt":return impliedEndTags.indexOf(parentTag)===-1;case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==parentTag}return!0},findInvalidAncestorForTag=function(tag,ancestorInfo){switch(tag){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return ancestorInfo.pTagInButtonScope;case"form":return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case"li":return ancestorInfo.listItemTagAutoclosing;case"dd":case"dt":return ancestorInfo.dlItemTagAutoclosing;case"button":return ancestorInfo.buttonTagInScope;case"a":return ancestorInfo.aTagInScope;case"nobr":return ancestorInfo.nobrTagInScope}return null},findOwnerStack=function(instance){if(!instance)return[];var stack=[];do stack.push(instance);while(instance=instance._currentElement._owner);return stack.reverse(),stack},didWarn={};validateDOMNesting=function(childTag,childText,childInstance,ancestorInfo){ancestorInfo=ancestorInfo||emptyAncestorInfo;var parentInfo=ancestorInfo.current,parentTag=parentInfo&&parentInfo.tag;null!=childText&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(null==childTag,"validateDOMNesting: when childText is passed, childTag should be null"):void 0,childTag="#text");var invalidParent=isTagValidWithParent(childTag,parentTag)?null:parentInfo,invalidAncestor=invalidParent?null:findInvalidAncestorForTag(childTag,ancestorInfo),problematic=invalidParent||invalidAncestor;if(problematic){var i,ancestorTag=problematic.tag,ancestorInstance=problematic.instance,childOwner=childInstance&&childInstance._currentElement._owner,ancestorOwner=ancestorInstance&&ancestorInstance._currentElement._owner,childOwners=findOwnerStack(childOwner),ancestorOwners=findOwnerStack(ancestorOwner),minStackLen=Math.min(childOwners.length,ancestorOwners.length),deepestCommon=-1;for(i=0;i "),warnKey=!!invalidParent+"|"+childTag+"|"+ancestorTag+"|"+ownerInfo;if(didWarn[warnKey])return;didWarn[warnKey]=!0;var tagDisplayName=childTag,whitespaceInfo="";if("#text"===childTag?/\S/.test(childText)?tagDisplayName="Text nodes":(tagDisplayName="Whitespace text nodes",whitespaceInfo=" Make sure you don't have any extra whitespace between tags on each line of your source code."):tagDisplayName="<"+childTag+">",invalidParent){var info="";"table"===ancestorTag&&"tr"===childTag&&(info+=" Add a to your code to match the DOM tree generated by the browser."),"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s See %s.%s",tagDisplayName,ancestorTag,whitespaceInfo,ownerInfo,info):void 0}else"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>. See %s.",tagDisplayName,ancestorTag,ownerInfo):void 0}},validateDOMNesting.updatedAncestorInfo=updatedAncestorInfo,validateDOMNesting.isTagValidInContext=function(tag,ancestorInfo){ancestorInfo=ancestorInfo||emptyAncestorInfo;var parentInfo=ancestorInfo.current,parentTag=parentInfo&&parentInfo.tag;return isTagValidWithParent(tag,parentTag)&&!findInvalidAncestorForTag(tag,ancestorInfo)}}module.exports=validateDOMNesting},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}Object.defineProperty(exports,"__esModule",{value:!0});var _extends2=__webpack_require__(5),_extends3=_interopRequireDefault(_extends2),_react=__webpack_require__(1),_react2=_interopRequireDefault(_react),_createStyles=__webpack_require__(30),_createStyles2=_interopRequireDefault(_createStyles),ObjectName=function(_ref,_ref2){var name=_ref.name,dimmed=_ref.dimmed,theme=_ref2.theme,styles=(0,_createStyles2.default)("ObjectName",theme);return _react2.default.createElement("span",{style:(0,_extends3.default)({},styles.base,dimmed&&styles.dimmed)},name)};ObjectName.propTypes={name:_react.PropTypes.string,dimmed:_react.PropTypes.bool},ObjectName.defaultProps={dimmed:!1},ObjectName.contextTypes={theme:_react2.default.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.object])},exports.default=ObjectName},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}Object.defineProperty(exports,"__esModule",{value:!0});var _typeof2=__webpack_require__(16),_typeof3=_interopRequireDefault(_typeof2),_react=__webpack_require__(1),_react2=_interopRequireDefault(_react),_createStyles=__webpack_require__(30),_createStyles2=_interopRequireDefault(_createStyles),ObjectValue=function(_ref,_ref2){var object=_ref.object,theme=_ref2.theme,styles=(0,_createStyles2.default)("ObjectValue",theme);switch("undefined"==typeof object?"undefined":(0,_typeof3.default)(object)){case"number":return _react2.default.createElement("span",{style:styles.objectValueNumber},object);case"string":return _react2.default.createElement("span",{style:styles.objectValueString},'"',object,'"');case"boolean":return _react2.default.createElement("span",{style:styles.objectValueBoolean},String(object));case"undefined":return _react2.default.createElement("span",{style:styles.objectValueUndefined},"undefined");case"object":return null===object?_react2.default.createElement("span",{style:styles.objectValueNull},"null"):object instanceof Date?_react2.default.createElement("span",null,object.toString()):object instanceof RegExp?_react2.default.createElement("span",{style:styles.objectValueRegExp},object.toString()):Array.isArray(object)?_react2.default.createElement("span",null,"Array["+object.length+"]"):_react2.default.createElement("span",null,object.constructor.name);case"function":return _react2.default.createElement("span",null,_react2.default.createElement("span",{style:styles.objectValueFunctionKeyword},"function"),_react2.default.createElement("span",{style:styles.objectValueFunctionName}," ",object.name,"()"));case"symbol":return _react2.default.createElement("span",{style:styles.objectValueSymbol},object.toString());default:return _react2.default.createElement("span",null)}};ObjectValue.propTypes={object:_react.PropTypes.any},ObjectValue.contextTypes={theme:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.object])},exports.default=ObjectValue},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}Object.defineProperty(exports,"__esModule",{value:!0});var _classCallCheck2=__webpack_require__(7),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(10),_createClass3=_interopRequireDefault(_createClass2),_possibleConstructorReturn2=__webpack_require__(13),_possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2),_inherits2=__webpack_require__(12),_inherits3=_interopRequireDefault(_inherits2),_react=__webpack_require__(1),ThemeProvider=(_interopRequireDefault(_react),function(_Component){function ThemeProvider(){return(0,_classCallCheck3.default)(this,ThemeProvider),(0,_possibleConstructorReturn3.default)(this,Object.getPrototypeOf(ThemeProvider).apply(this,arguments))}return(0,_inherits3.default)(ThemeProvider,_Component),(0,_createClass3.default)(ThemeProvider,[{key:"getChildContext",value:function(){var theme=this.props.theme;return{theme:theme}}},{key:"render",value:function(){return this.props.children}}]),ThemeProvider}(_react.Component));ThemeProvider.childContextTypes={theme:_react.PropTypes.oneOfType([_react.PropTypes.string,_react.PropTypes.object])},exports.default=ThemeProvider},function(module,exports,__webpack_require__){"use strict";function ReactComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}var _prodInvariant=__webpack_require__(39),ReactNoopUpdateQueue=__webpack_require__(114),canDefineProperty=__webpack_require__(116),emptyObject=__webpack_require__(58),invariant=__webpack_require__(2),warning=__webpack_require__(3);if(ReactComponent.prototype.isReactComponent={},ReactComponent.prototype.setState=function(partialState,callback){"object"!=typeof partialState&&"function"!=typeof partialState&&null!=partialState?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):_prodInvariant("85"):void 0,this.updater.enqueueSetState(this,partialState),callback&&this.updater.enqueueCallback(this,callback,"setState")},ReactComponent.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this),callback&&this.updater.enqueueCallback(this,callback,"forceUpdate"); -},"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){canDefineProperty&&Object.defineProperty(ReactComponent.prototype,methodName,{get:function(){"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1]):void 0}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName])}module.exports=ReactComponent},function(module,exports,__webpack_require__){"use strict";function warnNoop(publicInstance,callerName){if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){var constructor=publicInstance.constructor;"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",callerName,callerName,constructor&&(constructor.displayName||constructor.name)||"ReactClass"):void 0}}var warning=__webpack_require__(3),ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueCallback:function(publicInstance,callback){},enqueueForceUpdate:function(publicInstance){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState){warnNoop(publicInstance,"setState")}};module.exports=ReactNoopUpdateQueue},function(module,exports,__webpack_require__){"use strict";var ReactPropTypeLocationNames={};"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&(ReactPropTypeLocationNames={prop:"prop",context:"context",childContext:"child context"}),module.exports=ReactPropTypeLocationNames},function(module,exports,__webpack_require__){"use strict";var canDefineProperty=!1;if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV)try{Object.defineProperty({},"x",{get:function(){}}),canDefineProperty=!0}catch(x){}module.exports=canDefineProperty},function(module,exports){"use strict";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if("function"==typeof iteratorFn)return iteratorFn}var ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";module.exports=getIteratorFn},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setActions=exports.setContext=void 0;var _reactKomposer=__webpack_require__(670),_context=void 0,_actions=void 0,compose=(exports.setContext=function(c){_context=c},exports.setActions=function(a){_actions=a},(0,_reactKomposer.setDefaults)({propsToWatch:[],pure:!0,env:{context:function(){return _context},actions:function(){return _actions}}}));exports.default=compose},function(module,exports,__webpack_require__){module.exports={default:__webpack_require__(217),__esModule:!0}},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.__esModule=!0;var _from=__webpack_require__(210),_from2=_interopRequireDefault(_from);exports.default=function(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);ii;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(42)},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(87),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){var classof=__webpack_require__(132),ITERATOR=__webpack_require__(17)("iterator"),Iterators=__webpack_require__(44);module.exports=__webpack_require__(11).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(408)},function(module,exports,__webpack_require__){"use strict";var toStr=Object.prototype.toString,hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,symbolToStr=hasSymbols?Symbol.prototype.toString:toStr,$isNaN=__webpack_require__(147),$isFinite=__webpack_require__(146),MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,assign=__webpack_require__(145),sign=__webpack_require__(149),mod=__webpack_require__(148),isPrimitive=__webpack_require__(262),toPrimitive=__webpack_require__(264),parseInteger=parseInt,bind=__webpack_require__(47),strSlice=bind.call(Function.call,String.prototype.slice),isBinary=bind.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),isOctal=bind.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),nonWS=["…","​","￾"].join(""),nonWSregex=new RegExp("["+nonWS+"]","g"),hasNonWS=bind.call(Function.call,RegExp.prototype.test,nonWSregex),invalidHexLiteral=/^[-+]0x[0-9a-f]+$/i,isInvalidHexLiteral=bind.call(Function.call,RegExp.prototype.test,invalidHexLiteral),ws=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),trimRegex=new RegExp("(^["+ws+"]+)|(["+ws+"]+$)","g"),replace=bind.call(Function.call,String.prototype.replace),trim=function(value){return replace(value,trimRegex,"")},ES5=__webpack_require__(261),hasRegExpMatcher=__webpack_require__(288),ES6=assign(assign({},ES5),{Call:function(F,V){var args=arguments.length>2?arguments[2]:[];if(!this.IsCallable(F))throw new TypeError(F+" is not a function");return F.apply(V,args)},ToPrimitive:toPrimitive,ToNumber:function(argument){var value=isPrimitive(argument)?argument:toPrimitive(argument,"number");if("symbol"==typeof value)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof value){if(isBinary(value))return this.ToNumber(parseInteger(strSlice(value,2),2));if(isOctal(value))return this.ToNumber(parseInteger(strSlice(value,2),8));if(hasNonWS(value)||isInvalidHexLiteral(value))return NaN;var trimmed=trim(value);if(trimmed!==value)return this.ToNumber(trimmed)}return Number(value)},ToInt16:function(argument){var int16bit=this.ToUint16(argument);return int16bit>=32768?int16bit-65536:int16bit},ToInt8:function(argument){var int8bit=this.ToUint8(argument);return int8bit>=128?int8bit-256:int8bit},ToUint8:function(argument){var number=this.ToNumber(argument);if($isNaN(number)||0===number||!$isFinite(number))return 0;var posInt=sign(number)*Math.floor(Math.abs(number));return mod(posInt,256)},ToUint8Clamp:function(argument){var number=this.ToNumber(argument);if($isNaN(number)||number<=0)return 0;if(number>=255)return 255;var f=Math.floor(argument);return f+.5MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:len},CanonicalNumericIndexString:function(argument){if("[object String]"!==toStr.call(argument))throw new TypeError("must be a string");if("-0"===argument)return-0;var n=this.ToNumber(argument);return this.SameValue(this.ToString(n),argument)?n:void 0},RequireObjectCoercible:ES5.CheckObjectCoercible,IsArray:Array.isArray||function(argument){return"[object Array]"===toStr.call(argument)},IsConstructor:function(argument){return"function"==typeof argument&&!!argument.prototype},IsExtensible:function(obj){return!Object.preventExtensions||!isPrimitive(obj)&&Object.isExtensible(obj)},IsInteger:function(argument){if("number"!=typeof argument||$isNaN(argument)||!$isFinite(argument))return!1;var abs=Math.abs(argument);return Math.floor(abs)===abs},IsPropertyKey:function(argument){return"string"==typeof argument||"symbol"==typeof argument},IsRegExp:function(argument){if(!argument||"object"!=typeof argument)return!1;if(hasSymbols){var isRegExp=argument[Symbol.match];if("undefined"!=typeof isRegExp)return ES5.ToBoolean(isRegExp)}return hasRegExpMatcher(argument)},SameValueZero:function(x,y){return x===y||$isNaN(x)&&$isNaN(y)},GetV:function(V,P){if(!this.IsPropertyKey(P))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var O=this.ToObject(V);return O[P]},GetMethod:function(O,P){if(!this.IsPropertyKey(P))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var func=this.GetV(O,P);if(null!=func){if(!this.IsCallable(func))throw new TypeError(P+"is not a function");return func}},Get:function(O,P){if("Object"!==this.Type(O))throw new TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(P))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");return O[P]},Type:function(x){return"symbol"==typeof x?"Symbol":ES5.Type(x)},SpeciesConstructor:function(O,defaultConstructor){if("Object"!==this.Type(O))throw new TypeError("Assertion failed: Type(O) is not Object");var C=O.constructor;if("undefined"==typeof C)return defaultConstructor;if("Object"!==this.Type(C))throw new TypeError("O.constructor is not an Object");var S=hasSymbols&&Symbol.species?C[Symbol.species]:void 0;if(null==S)return defaultConstructor;if(this.IsConstructor(S))return S;throw new TypeError("no constructor found")}});delete ES6.CheckObjectCoercible,module.exports=ES6},function(module,exports){var has=Object.prototype.hasOwnProperty;module.exports=Object.assign||function(target,source){for(var key in source)has.call(source,key)&&(target[key]=source[key]);return target}},function(module,exports){var $isNaN=Number.isNaN||function(a){return a!==a};module.exports=Number.isFinite||function(x){return"number"==typeof x&&!$isNaN(x)&&x!==1/0&&x!==-(1/0)}},function(module,exports){module.exports=Number.isNaN||function(a){return a!==a}},function(module,exports){module.exports=function(number,modulo){var remain=number%modulo;return Math.floor(remain>=0?remain:remain+modulo)}},function(module,exports){module.exports=function(number){return number>=0?1:-1}},function(module,exports){module.exports=function(value){return null===value||"function"!=typeof value&&"object"!=typeof value}},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(18),EventListener={listen:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!1),{remove:function(){target.removeEventListener(eventType,callback,!1)}}):target.attachEvent?(target.attachEvent("on"+eventType,callback),{remove:function(){target.detachEvent("on"+eventType,callback)}}):void 0},capture:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!0),{remove:function(){target.removeEventListener(eventType,callback,!0)}}):("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:emptyFunction})},registerDefault:function(){}};module.exports=EventListener},function(module,exports){"use strict";function focusNode(node){try{node.focus()}catch(e){}}module.exports=focusNode},function(module,exports){"use strict";function getActiveElement(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}module.exports=getActiveElement},function(module,exports,__webpack_require__){var bind=__webpack_require__(47);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},function(module,exports){function stringify(obj,replacer,spaces,cycleReplacer){return JSON.stringify(obj,serializer(replacer,cycleReplacer),spaces)}function serializer(replacer,cycleReplacer){var stack=[],keys=[];return null==cycleReplacer&&(cycleReplacer=function(key,value){return stack[0]===value?"[Circular ~]":"[Circular ~."+keys.slice(0,stack.indexOf(value)).join(".")+"]"}),function(key,value){if(stack.length>0){var thisPos=stack.indexOf(this);~thisPos?stack.splice(thisPos+1):stack.push(this),~thisPos?keys.splice(thisPos,1/0,key):keys.push(key),~stack.indexOf(value)&&(value=cycleReplacer.call(this,key,value))}else stack.push(value);return null==replacer?value:replacer.call(this,key,value)}}exports=module.exports=stringify,exports.getSerialize=serializer},function(module,exports){(function(global){function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayMap(array,iteratee){for(var index=-1,length=array?array.length:0,result=Array(length);++index0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}function basePick(object,props){return object=Object(object),basePickBy(object,props,function(value,key){return key in object})}function basePickBy(object,props,predicate){for(var index=-1,length=props.length,result={};++index-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&objectToString.call(value)==symbolTag}var INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",funcTag="[object Function]",genTag="[object GeneratorFunction]",symbolTag="[object Symbol]",freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,objectToString=objectProto.toString,Symbol=root.Symbol,propertyIsEnumerable=objectProto.propertyIsEnumerable,spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0,nativeMax=Math.max,isArray=Array.isArray,pick=baseRest(function(object,props){return null==object?{}:basePick(object,arrayMap(baseFlatten(props,1),toKey))});module.exports=pick}).call(exports,function(){return this}())},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function compose(fn,L1,E1){var _ref=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],contextTypes=_ref.contextTypes,_ref$pure=_ref.pure,pure=void 0===_ref$pure||_ref$pure,_ref$withRef=_ref.withRef,withRef=void 0!==_ref$withRef&&_ref$withRef;return function(ChildComponent,L2,E2){(0,_invariant2.default)(Boolean(ChildComponent),"Should provide a child component to build the higher order container."),(0,_utils.isReactNative)()&&((0,_invariant2.default)(L1||L2,"Should provide a loading component in ReactNative."),(0,_invariant2.default)(E1||E2,"Should provide a error handling component in ReactNative."));var LoadingComponent=L1||L2||(0,_._getDefaultLoadingComponent)(),ErrorComponent=E1||E2||(0,_._getDefaultErrorComponent)();if((0,_.getDisableMode)())return(0,_utils.inheritStatics)(_common_components.DummyComponent,ChildComponent);var Container=function(_React$Component){function Container(props,context){(0,_classCallCheck3.default)(this,Container);var _this=(0,_possibleConstructorReturn3.default)(this,(0,_getPrototypeOf2.default)(Container).call(this,props,context));return _this.getWrappedInstance=_this.getWrappedInstance.bind(_this),_this.state={},_this._subscribe(props,context),_this}return(0,_inherits3.default)(Container,_React$Component),(0,_createClass3.default)(Container,[{key:"componentDidMount",value:function(){this._mounted=!0}},{key:"componentWillReceiveProps",value:function(props,context){this._subscribe(props,context)}},{key:"componentWillUnmount",value:function(){this._mounted=!1,this._unsubscribe()}},{key:"shouldComponentUpdate",value:function(nextProps,nextState){return!pure||(!(0,_shallowequal2.default)(this.props,nextProps)||this.state.error!==nextState.error||!(0,_shallowequal2.default)(this.state.payload,nextState.payload))}},{key:"getWrappedInstance",value:function(){return(0,_invariant2.default)(withRef,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the compose() call."),this.refs.wrappedInstance}},{key:"render",value:function(){var error=this._getError(),loading=this._isLoading();return error?_react2.default.createElement(ErrorComponent,{error:error}):loading?_react2.default.createElement(LoadingComponent,this._getProps()):_react2.default.createElement(ChildComponent,this._getProps())}},{key:"_subscribe",value:function(props,context){var _this2=this;this._unsubscribe();var onData=function(error,payload){error&&(0,_invariant2.default)(error.message&&error.stack,"Passed error should be an instance of an Error.");var state={error:error,payload:payload};_this2._mounted?_this2.setState(state):_this2.state=state};this._stop=fn(props,onData,context)}},{key:"_unsubscribe",value:function(){this._stop&&this._stop()}},{key:"_getProps",value:function(){var _state$payload=this.state.payload,payload=void 0===_state$payload?{}:_state$payload,props=(0,_extends3.default)({},this.props,payload);return withRef&&(props.ref="wrappedInstance"),props}},{key:"_getError",value:function(){var error=this.state.error;return error}},{key:"_isLoading",value:function(){var payload=this.state.payload;return!Boolean(payload)}}]),Container}(_react2.default.Component);return Container.contextTypes=contextTypes,(0,_utils.inheritStatics)(Container,ChildComponent)}}Object.defineProperty(exports,"__esModule",{value:!0});var _extends2=__webpack_require__(5),_extends3=_interopRequireDefault(_extends2),_getPrototypeOf=__webpack_require__(52),_getPrototypeOf2=_interopRequireDefault(_getPrototypeOf),_classCallCheck2=__webpack_require__(7),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(10),_createClass3=_interopRequireDefault(_createClass2),_possibleConstructorReturn2=__webpack_require__(13),_possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2),_inherits2=__webpack_require__(12),_inherits3=_interopRequireDefault(_inherits2);exports.default=compose;var _react=__webpack_require__(1),_react2=_interopRequireDefault(_react),_invariant=__webpack_require__(285),_invariant2=_interopRequireDefault(_invariant),_shallowequal=__webpack_require__(439),_shallowequal2=_interopRequireDefault(_shallowequal),_utils=__webpack_require__(428),_common_components=__webpack_require__(291),_=__webpack_require__(292)},function(module,exports){"use strict";var replace=String.prototype.replace,percentTwenties=/%20/g;module.exports={default:"RFC3986",formatters:{RFC1738:function(value){return replace.call(value,percentTwenties,"+")},RFC3986:function(value){return value}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(module,exports){"use strict";var has=Object.prototype.hasOwnProperty,hexTable=function(){for(var array=[],i=0;i<256;++i)array.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return array}();exports.arrayToObject=function(source,options){for(var obj=options&&options.plainObjects?Object.create(null):{},i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?out+=string.charAt(i):c<128?out+=hexTable[c]:c<2048?out+=hexTable[192|c>>6]+hexTable[128|63&c]:c<55296||c>=57344?out+=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&string.charCodeAt(i)),out+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|63&c])}return out},exports.compact=function(obj,references){if("object"!=typeof obj||null===obj)return obj;var refs=references||[],lookup=refs.indexOf(obj);if(lookup!==-1)return refs[lookup];if(refs.push(obj),Array.isArray(obj)){for(var compacted=[],i=0;ii;)has(O,key=names[i++])&&(~arrayIndexOf(result,key)||result.push(key));return result}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(42)},function(module,exports,__webpack_require__){var toInteger=__webpack_require__(87),min=Math.min;module.exports=function(it){return it>0?min(toInteger(it),9007199254740991):0}},function(module,exports,__webpack_require__){var classof=__webpack_require__(132),ITERATOR=__webpack_require__(17)("iterator"),Iterators=__webpack_require__(44);module.exports=__webpack_require__(11).getIteratorMethod=function(it){if(void 0!=it)return it[ITERATOR]||it["@@iterator"]||Iterators[classof(it)]}},function(module,exports,__webpack_require__){module.exports=__webpack_require__(408)},function(module,exports,__webpack_require__){"use strict";var toStr=Object.prototype.toString,hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,symbolToStr=hasSymbols?Symbol.prototype.toString:toStr,$isNaN=__webpack_require__(147),$isFinite=__webpack_require__(146),MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,assign=__webpack_require__(145),sign=__webpack_require__(149),mod=__webpack_require__(148),isPrimitive=__webpack_require__(262),toPrimitive=__webpack_require__(264),parseInteger=parseInt,bind=__webpack_require__(47),strSlice=bind.call(Function.call,String.prototype.slice),isBinary=bind.call(Function.call,RegExp.prototype.test,/^0b[01]+$/i),isOctal=bind.call(Function.call,RegExp.prototype.test,/^0o[0-7]+$/i),nonWS=["…","​","￾"].join(""),nonWSregex=new RegExp("["+nonWS+"]","g"),hasNonWS=bind.call(Function.call,RegExp.prototype.test,nonWSregex),invalidHexLiteral=/^[-+]0x[0-9a-f]+$/i,isInvalidHexLiteral=bind.call(Function.call,RegExp.prototype.test,invalidHexLiteral),ws=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),trimRegex=new RegExp("(^["+ws+"]+)|(["+ws+"]+$)","g"),replace=bind.call(Function.call,String.prototype.replace),trim=function(value){return replace(value,trimRegex,"")},ES5=__webpack_require__(261),hasRegExpMatcher=__webpack_require__(288),ES6=assign(assign({},ES5),{Call:function(F,V){var args=arguments.length>2?arguments[2]:[];if(!this.IsCallable(F))throw new TypeError(F+" is not a function");return F.apply(V,args)},ToPrimitive:toPrimitive,ToNumber:function(argument){var value=isPrimitive(argument)?argument:toPrimitive(argument,"number");if("symbol"==typeof value)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof value){if(isBinary(value))return this.ToNumber(parseInteger(strSlice(value,2),2));if(isOctal(value))return this.ToNumber(parseInteger(strSlice(value,2),8));if(hasNonWS(value)||isInvalidHexLiteral(value))return NaN;var trimmed=trim(value);if(trimmed!==value)return this.ToNumber(trimmed)}return Number(value)},ToInt16:function(argument){var int16bit=this.ToUint16(argument);return int16bit>=32768?int16bit-65536:int16bit},ToInt8:function(argument){var int8bit=this.ToUint8(argument);return int8bit>=128?int8bit-256:int8bit},ToUint8:function(argument){var number=this.ToNumber(argument);if($isNaN(number)||0===number||!$isFinite(number))return 0;var posInt=sign(number)*Math.floor(Math.abs(number));return mod(posInt,256)},ToUint8Clamp:function(argument){var number=this.ToNumber(argument);if($isNaN(number)||number<=0)return 0;if(number>=255)return 255;var f=Math.floor(argument);return f+.5MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:len},CanonicalNumericIndexString:function(argument){if("[object String]"!==toStr.call(argument))throw new TypeError("must be a string");if("-0"===argument)return-0;var n=this.ToNumber(argument);return this.SameValue(this.ToString(n),argument)?n:void 0},RequireObjectCoercible:ES5.CheckObjectCoercible,IsArray:Array.isArray||function(argument){return"[object Array]"===toStr.call(argument)},IsConstructor:function(argument){return"function"==typeof argument&&!!argument.prototype},IsExtensible:function(obj){return!Object.preventExtensions||!isPrimitive(obj)&&Object.isExtensible(obj)},IsInteger:function(argument){if("number"!=typeof argument||$isNaN(argument)||!$isFinite(argument))return!1;var abs=Math.abs(argument);return Math.floor(abs)===abs},IsPropertyKey:function(argument){return"string"==typeof argument||"symbol"==typeof argument},IsRegExp:function(argument){if(!argument||"object"!=typeof argument)return!1;if(hasSymbols){var isRegExp=argument[Symbol.match];if("undefined"!=typeof isRegExp)return ES5.ToBoolean(isRegExp)}return hasRegExpMatcher(argument)},SameValueZero:function(x,y){return x===y||$isNaN(x)&&$isNaN(y)},GetV:function(V,P){if(!this.IsPropertyKey(P))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var O=this.ToObject(V);return O[P]},GetMethod:function(O,P){if(!this.IsPropertyKey(P))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");var func=this.GetV(O,P);if(null!=func){if(!this.IsCallable(func))throw new TypeError(P+"is not a function");return func}},Get:function(O,P){if("Object"!==this.Type(O))throw new TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(P))throw new TypeError("Assertion failed: IsPropertyKey(P) is not true");return O[P]},Type:function(x){return"symbol"==typeof x?"Symbol":ES5.Type(x)},SpeciesConstructor:function(O,defaultConstructor){if("Object"!==this.Type(O))throw new TypeError("Assertion failed: Type(O) is not Object");var C=O.constructor;if("undefined"==typeof C)return defaultConstructor;if("Object"!==this.Type(C))throw new TypeError("O.constructor is not an Object");var S=hasSymbols&&Symbol.species?C[Symbol.species]:void 0;if(null==S)return defaultConstructor;if(this.IsConstructor(S))return S;throw new TypeError("no constructor found")}});delete ES6.CheckObjectCoercible,module.exports=ES6},function(module,exports){var has=Object.prototype.hasOwnProperty;module.exports=Object.assign||function(target,source){for(var key in source)has.call(source,key)&&(target[key]=source[key]);return target}},function(module,exports){var $isNaN=Number.isNaN||function(a){return a!==a};module.exports=Number.isFinite||function(x){return"number"==typeof x&&!$isNaN(x)&&x!==1/0&&x!==-(1/0)}},function(module,exports){module.exports=Number.isNaN||function(a){return a!==a}},function(module,exports){module.exports=function(number,modulo){var remain=number%modulo;return Math.floor(remain>=0?remain:remain+modulo)}},function(module,exports){module.exports=function(number){return number>=0?1:-1}},function(module,exports){module.exports=function(value){return null===value||"function"!=typeof value&&"object"!=typeof value}},function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__(18),EventListener={listen:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!1),{remove:function(){target.removeEventListener(eventType,callback,!1)}}):target.attachEvent?(target.attachEvent("on"+eventType,callback),{remove:function(){target.detachEvent("on"+eventType,callback)}}):void 0},capture:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!0),{remove:function(){target.removeEventListener(eventType,callback,!0)}}):("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:emptyFunction})},registerDefault:function(){}};module.exports=EventListener},function(module,exports){"use strict";function focusNode(node){try{node.focus()}catch(e){}}module.exports=focusNode},function(module,exports){"use strict";function getActiveElement(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}module.exports=getActiveElement},function(module,exports,__webpack_require__){var bind=__webpack_require__(47);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},function(module,exports){function stringify(obj,replacer,spaces,cycleReplacer){return JSON.stringify(obj,serializer(replacer,cycleReplacer),spaces)}function serializer(replacer,cycleReplacer){var stack=[],keys=[];return null==cycleReplacer&&(cycleReplacer=function(key,value){return stack[0]===value?"[Circular ~]":"[Circular ~."+keys.slice(0,stack.indexOf(value)).join(".")+"]"}),function(key,value){if(stack.length>0){var thisPos=stack.indexOf(this);~thisPos?stack.splice(thisPos+1):stack.push(this),~thisPos?keys.splice(thisPos,1/0,key):keys.push(key),~stack.indexOf(value)&&(value=cycleReplacer.call(this,key,value))}else stack.push(value);return null==replacer?value:replacer.call(this,key,value)}}exports=module.exports=stringify,exports.getSerialize=serializer},function(module,exports){(function(global){function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayMap(array,iteratee){for(var index=-1,length=array?array.length:0,result=Array(length);++index0&&predicate(value)?depth>1?baseFlatten(value,depth-1,predicate,isStrict,result):arrayPush(result,value):isStrict||(result[result.length]=value)}return result}function basePick(object,props){return object=Object(object),basePickBy(object,props,function(value,key){return key in object})}function basePickBy(object,props,predicate){for(var index=-1,length=props.length,result={};++index-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&("object"==type||"function"==type)}function isObjectLike(value){return!!value&&"object"==typeof value}function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&objectToString.call(value)==symbolTag}var INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991,argsTag="[object Arguments]",funcTag="[object Function]",genTag="[object GeneratorFunction]",symbolTag="[object Symbol]",freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,objectToString=objectProto.toString,Symbol=root.Symbol,propertyIsEnumerable=objectProto.propertyIsEnumerable,spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0,nativeMax=Math.max,isArray=Array.isArray,pick=baseRest(function(object,props){return null==object?{}:basePick(object,arrayMap(baseFlatten(props,1),toKey))});module.exports=pick}).call(exports,function(){return this}())},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function compose(fn,L1,E1){var _ref=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],contextTypes=_ref.contextTypes,_ref$pure=_ref.pure,pure=void 0===_ref$pure||_ref$pure,_ref$withRef=_ref.withRef,withRef=void 0!==_ref$withRef&&_ref$withRef;return function(ChildComponent,L2,E2){(0,_invariant2.default)(Boolean(ChildComponent),"Should provide a child component to build the higher order container."),(0,_utils.isReactNative)()&&((0,_invariant2.default)(L1||L2,"Should provide a loading component in ReactNative."),(0,_invariant2.default)(E1||E2,"Should provide a error handling component in ReactNative."));var LoadingComponent=L1||L2||(0,_._getDefaultLoadingComponent)(),ErrorComponent=E1||E2||(0,_._getDefaultErrorComponent)();if((0,_.getDisableMode)())return(0,_utils.inheritStatics)(_common_components.DummyComponent,ChildComponent);var Container=function(_React$Component){function Container(props,context){(0,_classCallCheck3.default)(this,Container);var _this=(0,_possibleConstructorReturn3.default)(this,(0,_getPrototypeOf2.default)(Container).call(this,props,context));return _this.getWrappedInstance=_this.getWrappedInstance.bind(_this),_this.state={},_this._subscribe(props,context),_this}return(0,_inherits3.default)(Container,_React$Component),(0,_createClass3.default)(Container,[{key:"componentDidMount",value:function(){this._mounted=!0}},{key:"componentWillReceiveProps",value:function(props,context){this._subscribe(props,context)}},{key:"componentWillUnmount",value:function(){this._mounted=!1,this._unsubscribe()}},{key:"shouldComponentUpdate",value:function(nextProps,nextState){return!pure||(!(0,_shallowequal2.default)(this.props,nextProps)||this.state.error!==nextState.error||!(0,_shallowequal2.default)(this.state.payload,nextState.payload))}},{key:"getWrappedInstance",value:function(){return(0,_invariant2.default)(withRef,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the compose() call."),this.refs.wrappedInstance}},{key:"render",value:function(){var error=this._getError(),loading=this._isLoading();return error?_react2.default.createElement(ErrorComponent,{error:error}):loading?_react2.default.createElement(LoadingComponent,this._getProps()):_react2.default.createElement(ChildComponent,this._getProps())}},{key:"_subscribe",value:function(props,context){var _this2=this;this._unsubscribe();var onData=function(error,payload){error&&(0,_invariant2.default)(error.message&&error.stack,"Passed error should be an instance of an Error.");var state={error:error,payload:payload};_this2._mounted?_this2.setState(state):_this2.state=state};this._stop=fn(props,onData,context)}},{key:"_unsubscribe",value:function(){this._stop&&this._stop()}},{key:"_getProps",value:function(){var _state$payload=this.state.payload,payload=void 0===_state$payload?{}:_state$payload,props=(0,_extends3.default)({},this.props,payload);return withRef&&(props.ref="wrappedInstance"),props}},{key:"_getError",value:function(){var error=this.state.error;return error}},{key:"_isLoading",value:function(){var payload=this.state.payload;return!Boolean(payload)}}]),Container}(_react2.default.Component);return Container.contextTypes=contextTypes,(0,_utils.inheritStatics)(Container,ChildComponent)}}Object.defineProperty(exports,"__esModule",{value:!0});var _extends2=__webpack_require__(5),_extends3=_interopRequireDefault(_extends2),_getPrototypeOf=__webpack_require__(52),_getPrototypeOf2=_interopRequireDefault(_getPrototypeOf),_classCallCheck2=__webpack_require__(7),_classCallCheck3=_interopRequireDefault(_classCallCheck2),_createClass2=__webpack_require__(10),_createClass3=_interopRequireDefault(_createClass2),_possibleConstructorReturn2=__webpack_require__(13),_possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2),_inherits2=__webpack_require__(12),_inherits3=_interopRequireDefault(_inherits2);exports.default=compose;var _react=__webpack_require__(1),_react2=_interopRequireDefault(_react),_invariant=__webpack_require__(285),_invariant2=_interopRequireDefault(_invariant),_shallowequal=__webpack_require__(439),_shallowequal2=_interopRequireDefault(_shallowequal),_utils=__webpack_require__(428),_common_components=__webpack_require__(291),_=__webpack_require__(292)},function(module,exports){"use strict";var replace=String.prototype.replace,percentTwenties=/%20/g;module.exports={default:"RFC3986",formatters:{RFC1738:function(value){return replace.call(value,percentTwenties,"+")},RFC3986:function(value){return value}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(module,exports){"use strict";var has=Object.prototype.hasOwnProperty,hexTable=function(){for(var array=[],i=0;i<256;++i)array.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return array}();exports.arrayToObject=function(source,options){for(var obj=options&&options.plainObjects?Object.create(null):{},i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?out+=string.charAt(i):c<128?out+=hexTable[c]:c<2048?out+=hexTable[192|c>>6]+hexTable[128|63&c]:c<55296||c>=57344?out+=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|63&c]:(i+=1,c=65536+((1023&c)<<10|1023&string.charCodeAt(i)),out+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|63&c])}return out},exports.compact=function(obj,references){if("object"!=typeof obj||null===obj)return obj;var refs=references||[],lookup=refs.indexOf(obj);if(lookup!==-1)return refs[lookup];if(refs.push(obj),Array.isArray(obj)){for(var compacted=[],i=0;i must be an array if `multiple` is true.%s",propName,getDeclarationErrorAddendum(owner)):void 0:!props.multiple&&isArray&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"The `%s` prop supplied to ',""],tableWrap=[1,"","
"],trWrap=[3,"","
"],svgWrap=[1,'',""],markupWrap={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:selectWrap,option:selectWrap,caption:tableWrap,colgroup:tableWrap,tbody:tableWrap,tfoot:tableWrap,thead:tableWrap,td:trWrap,th:trWrap},svgElements=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];svgElements.forEach(function(nodeName){markupWrap[nodeName]=svgWrap,shouldWrap[nodeName]=!0}),module.exports=getMarkupWrap},function(module,exports){"use strict";function getUnboundedScrollPosition(scrollable){return scrollable===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:scrollable.scrollLeft,y:scrollable.scrollTop}}module.exports=getUnboundedScrollPosition},function(module,exports){"use strict";function hyphenate(string){return string.replace(_uppercasePattern,"-$1").toLowerCase()}var _uppercasePattern=/([A-Z])/g;module.exports=hyphenate},function(module,exports,__webpack_require__){"use strict";function hyphenateStyleName(string){return hyphenate(string).replace(msPattern,"-ms-")}var hyphenate=__webpack_require__(275),msPattern=/^ms-/;module.exports=hyphenateStyleName},function(module,exports){"use strict";function isNode(object){return!(!object||!("function"==typeof Node?object instanceof Node:"object"==typeof object&&"number"==typeof object.nodeType&&"string"==typeof object.nodeName))}module.exports=isNode},function(module,exports,__webpack_require__){"use strict";function isTextNode(object){return isNode(object)&&3==object.nodeType}var isNode=__webpack_require__(277);module.exports=isTextNode},function(module,exports){"use strict";function memoizeStringOnly(callback){var cache={};return function(string){return cache.hasOwnProperty(string)||(cache[string]=callback.call(this,string)),cache[string]}}module.exports=memoizeStringOnly},function(module,exports,__webpack_require__){"use strict";var performance,ExecutionEnvironment=__webpack_require__(9);ExecutionEnvironment.canUseDOM&&(performance=window.performance||window.msPerformance||window.webkitPerformance),module.exports=performance||{}},function(module,exports,__webpack_require__){"use strict";var performanceNow,performance=__webpack_require__(280);performanceNow=performance.now?function(){return performance.now()}:function(){return Date.now()},module.exports=performanceNow},function(module,exports){var hasOwn=Object.prototype.hasOwnProperty,toString=Object.prototype.toString;module.exports=function(obj,fn,ctx){if("[object Function]"!==toString.call(fn))throw new TypeError("iterator must be a function");var l=obj.length;if(l===+l)for(var i=0;i0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},function(module,exports,__webpack_require__){"use strict";var ES=__webpack_require__(57),has=__webpack_require__(154),bind=__webpack_require__(47),isEnumerable=bind.call(Function.call,Object.prototype.propertyIsEnumerable);module.exports=function(O){var obj=ES.RequireObjectCoercible(O),entrys=[];for(var key in obj)has(obj,key)&&isEnumerable(obj,key)&&entrys.push([key,obj[key]]);return entrys}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(295);module.exports=function(){return"function"==typeof Object.entries?Object.entries:implementation}},function(module,exports,__webpack_require__){"use strict";var getPolyfill=__webpack_require__(296),define=__webpack_require__(46);module.exports=function(){var polyfill=getPolyfill();return define(Object,{entries:polyfill},{entries:function(){return Object.entries!==polyfill}}),polyfill}},function(module,exports,__webpack_require__){"use strict";var ES=__webpack_require__(57),defineProperty=Object.defineProperty,getDescriptor=Object.getOwnPropertyDescriptor,getOwnNames=Object.getOwnPropertyNames,getSymbols=Object.getOwnPropertySymbols,concat=Function.call.bind(Array.prototype.concat),reduce=Function.call.bind(Array.prototype.reduce),getAll=getSymbols?function(obj){return concat(getOwnNames(obj),getSymbols(obj))}:getOwnNames,isES5=ES.IsCallable(getDescriptor)&&ES.IsCallable(getOwnNames),safePut=function(obj,prop,val){defineProperty&&prop in obj?defineProperty(obj,prop,{configurable:!0,enumerable:!0,value:val,writable:!0}):obj[prop]=val};module.exports=function(value){if(ES.RequireObjectCoercible(value),!isES5)throw new TypeError("getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor");var O=ES.ToObject(value);return reduce(getAll(O),function(acc,key){var descriptor=getDescriptor(O,key);return"undefined"!=typeof descriptor&&safePut(acc,key,descriptor),acc},{})}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(298);module.exports=function(){return"function"==typeof Object.getOwnPropertyDescriptors?Object.getOwnPropertyDescriptors:implementation}},function(module,exports,__webpack_require__){"use strict";var getPolyfill=__webpack_require__(299),define=__webpack_require__(46);module.exports=function(){var polyfill=getPolyfill();return define(Object,{getOwnPropertyDescriptors:polyfill},{getOwnPropertyDescriptors:function(){return Object.getOwnPropertyDescriptors!==polyfill}}),polyfill}},function(module,exports,__webpack_require__){"use strict";var ES=__webpack_require__(57),has=__webpack_require__(154),bind=__webpack_require__(47),isEnumerable=bind.call(Function.call,Object.prototype.propertyIsEnumerable);module.exports=function(O){var obj=ES.RequireObjectCoercible(O),vals=[];for(var key in obj)has(obj,key)&&isEnumerable(obj,key)&&vals.push(obj[key]);return vals}},function(module,exports,__webpack_require__){"use strict";var implementation=__webpack_require__(301);module.exports=function(){return"function"==typeof Object.values?Object.values:implementation}},function(module,exports,__webpack_require__){"use strict";var getPolyfill=__webpack_require__(302),define=__webpack_require__(46);module.exports=function(){var polyfill=getPolyfill();return define(Object,{values:polyfill},{values:function(){return Object.values!==polyfill}}),polyfill}},,function(module,exports,__webpack_require__){"use strict";var utils=__webpack_require__(159),has=Object.prototype.hasOwnProperty,defaults={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:utils.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},parseValues=function(str,options){for(var obj={},parts=str.split(options.delimiter,options.parameterLimit===1/0?void 0:options.parameterLimit),i=0;i=0&&options.parseArrays&&index<=options.arrayLimit?(obj=[],obj[index]=parseObject(chain,val,options)):obj[cleanRoot]=parseObject(chain,val,options)}return obj},parseKeys=function(givenKey,val,options){if(givenKey){var key=options.allowDots?givenKey.replace(/\.([^\.\[]+)/g,"[$1]"):givenKey,parent=/^([^\[\]]*)/,child=/(\[[^\[\]]*\])/g,segment=parent.exec(key),keys=[];if(segment[1]){if(!options.plainObjects&&has.call(Object.prototype,segment[1])&&!options.allowPrototypes)return;keys.push(segment[1])}for(var i=0;null!==(segment=child.exec(key))&&i8&&documentMode<=11),SPACEBAR_CODE=32,SPACEBAR_CHAR=String.fromCharCode(SPACEBAR_CODE),eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},hasSpaceKeypress=!1,currentComposition=null,BeforeInputEventPlugin={eventTypes:eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){return[extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget),extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget)]}};module.exports=BeforeInputEventPlugin},function(module,exports,__webpack_require__){"use strict";var CSSProperty=__webpack_require__(160),ExecutionEnvironment=__webpack_require__(9),ReactInstrumentation=__webpack_require__(15),camelizeStyleName=__webpack_require__(269),dangerousStyleValue=__webpack_require__(368),hyphenateStyleName=__webpack_require__(276),memoizeStringOnly=__webpack_require__(279),warning=__webpack_require__(3),processStyleName=memoizeStringOnly(function(styleName){return hyphenateStyleName(styleName)}),hasShorthandPropertyBug=!1,styleFloatAccessor="cssFloat";if(ExecutionEnvironment.canUseDOM){var tempStyle=document.createElement("div").style;try{tempStyle.font=""}catch(e){hasShorthandPropertyBug=!0}void 0===document.documentElement.style.cssFloat&&(styleFloatAccessor="styleFloat")}if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV)var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/,badStyleValueWithSemicolonPattern=/;\s*$/,warnedStyleNames={},warnedStyleValues={},warnedForNaNValue=!1,warnHyphenatedStyleName=function(name,owner){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"Unsupported style property %s. Did you mean %s?%s",name,camelizeStyleName(name),checkRenderMessage(owner)):void 0)},warnBadVendoredStyleName=function(name,owner){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",name,name.charAt(0).toUpperCase()+name.slice(1),checkRenderMessage(owner)):void 0)},warnStyleValueWithSemicolon=function(name,value,owner){warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]||(warnedStyleValues[value]=!0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,'Style property values shouldn\'t contain a semicolon.%s Try "%s: %s" instead.',checkRenderMessage(owner),name,value.replace(badStyleValueWithSemicolonPattern,"")):void 0)},warnStyleValueIsNaN=function(name,value,owner){warnedForNaNValue||(warnedForNaNValue=!0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"`NaN` is an invalid value for the `%s` css style property.%s",name,checkRenderMessage(owner)):void 0)},checkRenderMessage=function(owner){if(owner){var name=owner.getName();if(name)return" Check the render method of `"+name+"`."}return""},warnValidStyle=function(name,value,component){var owner;component&&(owner=component._currentElement._owner),name.indexOf("-")>-1?warnHyphenatedStyleName(name,owner):badVendoredStyleNamePattern.test(name)?warnBadVendoredStyleName(name,owner):badStyleValueWithSemicolonPattern.test(value)&&warnStyleValueWithSemicolon(name,value,owner),"number"==typeof value&&isNaN(value)&&warnStyleValueIsNaN(name,value,owner)};var CSSPropertyOperations={createMarkupForStyles:function(styles,component){var serialized="";for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var styleValue=styles[styleName];"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&warnValidStyle(styleName,styleValue,component),null!=styleValue&&(serialized+=processStyleName(styleName)+":",serialized+=dangerousStyleValue(styleName,styleValue,component)+";")}return serialized||null},setValueForStyles:function(node,styles,component){"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&ReactInstrumentation.debugTool.onHostOperation({instanceID:component._debugID,type:"update styles",payload:styles});var style=node.style;for(var styleName in styles)if(styles.hasOwnProperty(styleName)){"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&warnValidStyle(styleName,styles[styleName],component);var styleValue=dangerousStyleValue(styleName,styles[styleName],component);if("float"!==styleName&&"cssFloat"!==styleName||(styleName=styleFloatAccessor),styleValue)style[styleName]=styleValue;else{var expansion=hasShorthandPropertyBug&&CSSProperty.shorthandPropertyExpansions[styleName];if(expansion)for(var individualStyleName in expansion)style[individualStyleName]="";else style[styleName]=""}}}};module.exports=CSSPropertyOperations},function(module,exports,__webpack_require__){"use strict";function shouldUseChangeEvent(elem){var nodeName=elem.nodeName&&elem.nodeName.toLowerCase();return"select"===nodeName||"input"===nodeName&&"file"===elem.type}function manualDispatchChangeEvent(nativeEvent){var event=SyntheticEvent.getPooled(eventTypes.change,activeElementInst,nativeEvent,getEventTarget(nativeEvent));EventPropagators.accumulateTwoPhaseDispatches(event),ReactUpdates.batchedUpdates(runEventInBatch,event)}function runEventInBatch(event){EventPluginHub.enqueueEvents(event),EventPluginHub.processEventQueue(!1)}function startWatchingForChangeEventIE8(target,targetInst){activeElement=target,activeElementInst=targetInst,activeElement.attachEvent("onchange",manualDispatchChangeEvent)}function stopWatchingForChangeEventIE8(){activeElement&&(activeElement.detachEvent("onchange",manualDispatchChangeEvent),activeElement=null,activeElementInst=null)}function getTargetInstForChangeEvent(topLevelType,targetInst){if("topChange"===topLevelType)return targetInst}function handleEventsForChangeEventIE8(topLevelType,target,targetInst){"topFocus"===topLevelType?(stopWatchingForChangeEventIE8(),startWatchingForChangeEventIE8(target,targetInst)):"topBlur"===topLevelType&&stopWatchingForChangeEventIE8()}function startWatchingForValueChange(target,targetInst){activeElement=target,activeElementInst=targetInst,activeElementValue=target.value,activeElementValueProp=Object.getOwnPropertyDescriptor(target.constructor.prototype,"value"),Object.defineProperty(activeElement,"value",newValueProp),activeElement.attachEvent?activeElement.attachEvent("onpropertychange",handlePropertyChange):activeElement.addEventListener("propertychange",handlePropertyChange,!1)}function stopWatchingForValueChange(){activeElement&&(delete activeElement.value,activeElement.detachEvent?activeElement.detachEvent("onpropertychange",handlePropertyChange):activeElement.removeEventListener("propertychange",handlePropertyChange,!1),activeElement=null,activeElementInst=null,activeElementValue=null,activeElementValueProp=null)}function handlePropertyChange(nativeEvent){if("value"===nativeEvent.propertyName){var value=nativeEvent.srcElement.value;value!==activeElementValue&&(activeElementValue=value,manualDispatchChangeEvent(nativeEvent))}}function getTargetInstForInputEvent(topLevelType,targetInst){if("topInput"===topLevelType)return targetInst}function handleEventsForInputEventIE(topLevelType,target,targetInst){"topFocus"===topLevelType?(stopWatchingForValueChange(),startWatchingForValueChange(target,targetInst)):"topBlur"===topLevelType&&stopWatchingForValueChange()}function getTargetInstForInputEventIE(topLevelType,targetInst){if(("topSelectionChange"===topLevelType||"topKeyUp"===topLevelType||"topKeyDown"===topLevelType)&&activeElement&&activeElement.value!==activeElementValue)return activeElementValue=activeElement.value,activeElementInst}function shouldUseClickEvent(elem){return elem.nodeName&&"input"===elem.nodeName.toLowerCase()&&("checkbox"===elem.type||"radio"===elem.type)}function getTargetInstForClickEvent(topLevelType,targetInst){if("topClick"===topLevelType)return targetInst}var EventPluginHub=__webpack_require__(59),EventPropagators=__webpack_require__(60),ExecutionEnvironment=__webpack_require__(9),ReactDOMComponentTree=__webpack_require__(6),ReactUpdates=__webpack_require__(19),SyntheticEvent=__webpack_require__(22),getEventTarget=__webpack_require__(106),isEventSupported=__webpack_require__(107),isTextInputElement=__webpack_require__(178),eventTypes={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},activeElement=null,activeElementInst=null,activeElementValue=null,activeElementValueProp=null,doesChangeEventBubble=!1;ExecutionEnvironment.canUseDOM&&(doesChangeEventBubble=isEventSupported("change")&&(!document.documentMode||document.documentMode>8));var isInputEventSupported=!1;ExecutionEnvironment.canUseDOM&&(isInputEventSupported=isEventSupported("input")&&(!document.documentMode||document.documentMode>11));var newValueProp={get:function(){return activeElementValueProp.get.call(this)},set:function(val){activeElementValue=""+val,activeElementValueProp.set.call(this,val)}},ChangeEventPlugin={eventTypes:eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var getTargetInstFunc,handleEventFunc,targetNode=targetInst?ReactDOMComponentTree.getNodeFromInstance(targetInst):window;if(shouldUseChangeEvent(targetNode)?doesChangeEventBubble?getTargetInstFunc=getTargetInstForChangeEvent:handleEventFunc=handleEventsForChangeEventIE8:isTextInputElement(targetNode)?isInputEventSupported?getTargetInstFunc=getTargetInstForInputEvent:(getTargetInstFunc=getTargetInstForInputEventIE,handleEventFunc=handleEventsForInputEventIE):shouldUseClickEvent(targetNode)&&(getTargetInstFunc=getTargetInstForClickEvent),getTargetInstFunc){var inst=getTargetInstFunc(topLevelType,targetInst);if(inst){var event=SyntheticEvent.getPooled(eventTypes.change,inst,nativeEvent,nativeEventTarget);return event.type="change",EventPropagators.accumulateTwoPhaseDispatches(event),event}}handleEventFunc&&handleEventFunc(topLevelType,targetNode,targetInst)}};module.exports=ChangeEventPlugin},function(module,exports,__webpack_require__){"use strict";var _prodInvariant=__webpack_require__(4),DOMLazyTree=__webpack_require__(49),ExecutionEnvironment=__webpack_require__(9),createNodesFromMarkup=__webpack_require__(272),emptyFunction=__webpack_require__(18),invariant=__webpack_require__(2),Danger={dangerouslyReplaceNodeWithMarkup:function(oldChild,markup){if(ExecutionEnvironment.canUseDOM?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering."):_prodInvariant("56"),markup?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."):_prodInvariant("57"),"HTML"===oldChild.nodeName?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."):_prodInvariant("58"):void 0,"string"==typeof markup){var newChild=createNodesFromMarkup(markup,emptyFunction)[0];oldChild.parentNode.replaceChild(newChild,oldChild)}else DOMLazyTree.replaceChildWithTree(oldChild,markup)}};module.exports=Danger},function(module,exports){"use strict";var DefaultEventPluginOrder=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];module.exports=DefaultEventPluginOrder},function(module,exports,__webpack_require__){"use strict";var EventPropagators=__webpack_require__(60),ReactDOMComponentTree=__webpack_require__(6),SyntheticMouseEvent=__webpack_require__(71),eventTypes={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},EnterLeaveEventPlugin={eventTypes:eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){if("topMouseOver"===topLevelType&&(nativeEvent.relatedTarget||nativeEvent.fromElement))return null;if("topMouseOut"!==topLevelType&&"topMouseOver"!==topLevelType)return null;var win;if(nativeEventTarget.window===nativeEventTarget)win=nativeEventTarget;else{var doc=nativeEventTarget.ownerDocument;win=doc?doc.defaultView||doc.parentWindow:window}var from,to;if("topMouseOut"===topLevelType){from=targetInst;var related=nativeEvent.relatedTarget||nativeEvent.toElement;to=related?ReactDOMComponentTree.getClosestInstanceFromNode(related):null}else from=null,to=targetInst;if(from===to)return null;var fromNode=null==from?win:ReactDOMComponentTree.getNodeFromInstance(from),toNode=null==to?win:ReactDOMComponentTree.getNodeFromInstance(to),leave=SyntheticMouseEvent.getPooled(eventTypes.mouseLeave,from,nativeEvent,nativeEventTarget);leave.type="mouseleave",leave.target=fromNode,leave.relatedTarget=toNode;var enter=SyntheticMouseEvent.getPooled(eventTypes.mouseEnter,to,nativeEvent,nativeEventTarget);return enter.type="mouseenter",enter.target=toNode,enter.relatedTarget=fromNode,EventPropagators.accumulateEnterLeaveDispatches(leave,enter,from,to),[leave,enter]}};module.exports=EnterLeaveEventPlugin},function(module,exports,__webpack_require__){"use strict";function FallbackCompositionState(root){this._root=root,this._startText=this.getText(),this._fallbackText=null}var _assign=__webpack_require__(8),PooledClass=__webpack_require__(37),getTextContentAccessor=__webpack_require__(176);_assign(FallbackCompositionState.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[getTextContentAccessor()]},getData:function(){if(this._fallbackText)return this._fallbackText;var start,end,startValue=this._startText,startLength=startValue.length,endValue=this.getText(),endLength=endValue.length;for(start=0;start1?1-end:void 0;return this._fallbackText=endValue.slice(start,sliceTail),this._fallbackText}}),PooledClass.addPoolingTo(FallbackCompositionState),module.exports=FallbackCompositionState},function(module,exports,__webpack_require__){"use strict";var DOMProperty=__webpack_require__(29),MUST_USE_PROPERTY=DOMProperty.injection.MUST_USE_PROPERTY,HAS_BOOLEAN_VALUE=DOMProperty.injection.HAS_BOOLEAN_VALUE,HAS_NUMERIC_VALUE=DOMProperty.injection.HAS_NUMERIC_VALUE,HAS_POSITIVE_NUMERIC_VALUE=DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE,HAS_OVERLOADED_BOOLEAN_VALUE=DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE,HTMLDOMPropertyConfig={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+DOMProperty.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:HAS_BOOLEAN_VALUE,allowTransparency:0,alt:0,as:0,async:HAS_BOOLEAN_VALUE,autoComplete:0,autoPlay:HAS_BOOLEAN_VALUE,capture:HAS_BOOLEAN_VALUE,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,cite:0,classID:0,className:0,cols:HAS_POSITIVE_NUMERIC_VALUE,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:HAS_BOOLEAN_VALUE,coords:0,crossOrigin:0,data:0,dateTime:0,default:HAS_BOOLEAN_VALUE,defer:HAS_BOOLEAN_VALUE,dir:0,disabled:HAS_BOOLEAN_VALUE,download:HAS_OVERLOADED_BOOLEAN_VALUE,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:HAS_BOOLEAN_VALUE,formTarget:0,frameBorder:0,headers:0,height:0,hidden:HAS_BOOLEAN_VALUE,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:HAS_BOOLEAN_VALUE,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,muted:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,name:0,nonce:0,noValidate:HAS_BOOLEAN_VALUE,open:HAS_BOOLEAN_VALUE,optimum:0,pattern:0,placeholder:0,playsInline:HAS_BOOLEAN_VALUE,poster:0,preload:0,profile:0,radioGroup:0,readOnly:HAS_BOOLEAN_VALUE,referrerPolicy:0,rel:0,required:HAS_BOOLEAN_VALUE,reversed:HAS_BOOLEAN_VALUE,role:0,rows:HAS_POSITIVE_NUMERIC_VALUE,rowSpan:HAS_NUMERIC_VALUE,sandbox:0,scope:0,scoped:HAS_BOOLEAN_VALUE,scrolling:0,seamless:HAS_BOOLEAN_VALUE,selected:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,shape:0,size:HAS_POSITIVE_NUMERIC_VALUE,sizes:0,span:HAS_POSITIVE_NUMERIC_VALUE,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:HAS_NUMERIC_VALUE,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:HAS_BOOLEAN_VALUE,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};module.exports=HTMLDOMPropertyConfig},function(module,exports,__webpack_require__){(function(process){"use strict";function instantiateChild(childInstances,child,name,selfDebugID){var keyUnique=void 0===childInstances[name];"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&(ReactComponentTreeHook||(ReactComponentTreeHook=__webpack_require__(14)),keyUnique||("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.%s",KeyEscapeUtils.unescape(name),ReactComponentTreeHook.getStackAddendumByID(selfDebugID)):void 0)),null!=child&&keyUnique&&(childInstances[name]=instantiateReactComponent(child,!0))}var ReactComponentTreeHook,ReactReconciler=__webpack_require__(50),instantiateReactComponent=__webpack_require__(177),KeyEscapeUtils=__webpack_require__(98),shouldUpdateReactComponent=__webpack_require__(108),traverseAllChildren=__webpack_require__(180),warning=__webpack_require__(3);"undefined"!=typeof process&&"test"==={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&(ReactComponentTreeHook=__webpack_require__(14));var ReactChildReconciler={instantiateChildren:function(nestedChildNodes,transaction,context,selfDebugID){if(null==nestedChildNodes)return null;var childInstances={};return"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?traverseAllChildren(nestedChildNodes,function(childInsts,child,name){return instantiateChild(childInsts,child,name,selfDebugID)},childInstances):traverseAllChildren(nestedChildNodes,instantiateChild,childInstances),childInstances},updateChildren:function(prevChildren,nextChildren,mountImages,removedNodes,transaction,hostParent,hostContainerInfo,context,selfDebugID){if(nextChildren||prevChildren){var name,prevChild;for(name in nextChildren)if(nextChildren.hasOwnProperty(name)){prevChild=prevChildren&&prevChildren[name];var prevElement=prevChild&&prevChild._currentElement,nextElement=nextChildren[name];if(null!=prevChild&&shouldUpdateReactComponent(prevElement,nextElement))ReactReconciler.receiveComponent(prevChild,nextElement,transaction,context),nextChildren[name]=prevChild;else{prevChild&&(removedNodes[name]=ReactReconciler.getHostNode(prevChild),ReactReconciler.unmountComponent(prevChild,!1));var nextChildInstance=instantiateReactComponent(nextElement,!0);nextChildren[name]=nextChildInstance;var nextChildMountImage=ReactReconciler.mountComponent(nextChildInstance,transaction,hostParent,hostContainerInfo,context,selfDebugID);mountImages.push(nextChildMountImage)}}for(name in prevChildren)!prevChildren.hasOwnProperty(name)||nextChildren&&nextChildren.hasOwnProperty(name)||(prevChild=prevChildren[name],removedNodes[name]=ReactReconciler.getHostNode(prevChild),ReactReconciler.unmountComponent(prevChild,!1))}},unmountChildren:function(renderedChildren,safely){for(var name in renderedChildren)if(renderedChildren.hasOwnProperty(name)){var renderedChild=renderedChildren[name];ReactReconciler.unmountComponent(renderedChild,safely)}}};module.exports=ReactChildReconciler}).call(exports,__webpack_require__(48))},function(module,exports,__webpack_require__){"use strict";var DOMChildrenOperations=__webpack_require__(95),ReactDOMIDOperations=__webpack_require__(325),ReactComponentBrowserEnvironment={processChildrenUpdates:ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup};module.exports=ReactComponentBrowserEnvironment},function(module,exports,__webpack_require__){"use strict";function StatelessComponent(Component){}function warnIfInvalidElement(Component,element){"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(null===element||element===!1||React.isValidElement(element),"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",Component.displayName||Component.name||"Component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!Component.childContextTypes,"%s(...): childContextTypes cannot be defined on a functional component.",Component.displayName||Component.name||"Component"):void 0)}function shouldConstruct(Component){return!(!Component.prototype||!Component.prototype.isReactComponent)}function isPureComponent(Component){return!(!Component.prototype||!Component.prototype.isPureReactComponent)}function measureLifeCyclePerf(fn,debugID,timerType){if(0===debugID)return fn();ReactInstrumentation.debugTool.onBeginLifeCycleTimer(debugID,timerType);try{return fn()}finally{ReactInstrumentation.debugTool.onEndLifeCycleTimer(debugID,timerType)}}var _prodInvariant=__webpack_require__(4),_assign=__webpack_require__(8),React=__webpack_require__(51),ReactComponentEnvironment=__webpack_require__(100),ReactCurrentOwner=__webpack_require__(20),ReactErrorUtils=__webpack_require__(101),ReactInstanceMap=__webpack_require__(61),ReactInstrumentation=__webpack_require__(15),ReactNodeTypes=__webpack_require__(170),ReactReconciler=__webpack_require__(50);if("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV)var checkReactTypeSpec=__webpack_require__(367);var emptyObject=__webpack_require__(58),invariant=__webpack_require__(2),shallowEqual=__webpack_require__(93),shouldUpdateReactComponent=__webpack_require__(108),warning=__webpack_require__(3),CompositeTypes={ImpureClass:0,PureClass:1,StatelessFunctional:2};StatelessComponent.prototype.render=function(){var Component=ReactInstanceMap.get(this)._currentElement.type,element=Component(this.props,this.context,this.updater);return warnIfInvalidElement(Component,element),element};var nextMountID=1,ReactCompositeComponent={construct:function(element){this._currentElement=element,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&(this._warnedAboutRefsInRender=!1)},mountComponent:function(transaction,hostParent,hostContainerInfo,context){var _this=this;this._context=context,this._mountOrder=nextMountID++,this._hostParent=hostParent,this._hostContainerInfo=hostContainerInfo;var renderedElement,publicProps=this._currentElement.props,publicContext=this._processContext(context),Component=this._currentElement.type,updateQueue=transaction.getUpdateQueue(),doConstruct=shouldConstruct(Component),inst=this._constructComponent(doConstruct,publicProps,publicContext,updateQueue);if(doConstruct||null!=inst&&null!=inst.render?isPureComponent(Component)?this._compositeType=CompositeTypes.PureClass:this._compositeType=CompositeTypes.ImpureClass:(renderedElement=inst,warnIfInvalidElement(Component,renderedElement),null===inst||inst===!1||React.isValidElement(inst)?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",Component.displayName||Component.name||"Component"):_prodInvariant("105",Component.displayName||Component.name||"Component"),inst=new StatelessComponent(Component),this._compositeType=CompositeTypes.StatelessFunctional),"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV){null==inst.render&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",Component.displayName||Component.name||"Component"):void 0);var propsMutated=inst.props!==publicProps,componentName=Component.displayName||Component.name||"Component";"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(void 0===inst.props||!propsMutated,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",componentName,componentName):void 0}inst.props=publicProps,inst.context=publicContext,inst.refs=emptyObject,inst.updater=updateQueue,this._instance=inst,ReactInstanceMap.set(inst,this),"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!inst.getInitialState||inst.getInitialState.isReactClassApproved||inst.state,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!inst.getDefaultProps||inst.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!inst.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning(!inst.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning("function"!=typeof inst.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning("function"!=typeof inst.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"):void 0,"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?warning("function"!=typeof inst.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component"):void 0);var initialState=inst.state;void 0===initialState&&(inst.state=initialState=null),"object"!=typeof initialState||Array.isArray(initialState)?"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"):_prodInvariant("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var markup;return markup=inst.unstable_handleError?this.performInitialMountWithErrorHandling(renderedElement,hostParent,hostContainerInfo,transaction,context):this.performInitialMount(renderedElement,hostParent,hostContainerInfo,transaction,context),inst.componentDidMount&&("production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?transaction.getReactMountReady().enqueue(function(){measureLifeCyclePerf(function(){return inst.componentDidMount()},_this._debugID,"componentDidMount")}):transaction.getReactMountReady().enqueue(inst.componentDidMount,inst)), +}function createArrayFromMixed(obj){return hasArrayNature(obj)?Array.isArray(obj)?obj.slice():toArray(obj):[obj]}var invariant=__webpack_require__(2);module.exports=createArrayFromMixed},function(module,exports,__webpack_require__){"use strict";function getNodeName(markup){var nodeNameMatch=markup.match(nodeNamePattern);return nodeNameMatch&&nodeNameMatch[1].toLowerCase()}function createNodesFromMarkup(markup,handleScript){var node=dummyNode;dummyNode?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"createNodesFromMarkup dummy not initialized"):invariant(!1);var nodeName=getNodeName(markup),wrap=nodeName&&getMarkupWrap(nodeName);if(wrap){node.innerHTML=wrap[1]+markup+wrap[2];for(var wrapDepth=wrap[0];wrapDepth--;)node=node.lastChild}else node.innerHTML=markup;var scripts=node.getElementsByTagName("script");scripts.length&&(handleScript?void 0:"production"!=={NODE_ENV:"production",PUBLIC_URL:"."}.NODE_ENV?invariant(!1,"createNodesFromMarkup(...): Unexpected