react-history
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -26,5 +26,8 @@ 'use strict'; | ||
var props = _objectWithoutProperties(_ref, ['children']); | ||
var historyOptions = _objectWithoutProperties(_ref, ['children']); | ||
return _react2.default.createElement(_History2.default, _extends({}, (0, _createBrowserHistory2.default)(props), { children: children })); | ||
return _react2.default.createElement(_History2.default, _extends({ | ||
children: children, | ||
createHistory: _createBrowserHistory2.default | ||
}, historyOptions)); | ||
}; | ||
@@ -31,0 +34,0 @@ |
@@ -26,5 +26,8 @@ 'use strict'; | ||
var props = _objectWithoutProperties(_ref, ['children']); | ||
var historyOptions = _objectWithoutProperties(_ref, ['children']); | ||
return _react2.default.createElement(_History2.default, _extends({}, (0, _createHashHistory2.default)(props), { children: children })); | ||
return _react2.default.createElement(_History2.default, _extends({ | ||
children: children, | ||
createHistory: _createHashHistory2.default | ||
}, historyOptions)); | ||
}; | ||
@@ -31,0 +34,0 @@ |
@@ -5,2 +5,4 @@ 'use strict'; | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _react = require('react'); | ||
@@ -53,34 +55,31 @@ | ||
var location = _state.location; | ||
var _props = this.props; | ||
var push = _props.push; | ||
var replace = _props.replace; | ||
var go = _props.go; | ||
var goBack = _props.goBack; | ||
var goForward = _props.goForward; | ||
var canGo = _props.canGo; | ||
var block = _props.block; | ||
var history = this.history; | ||
return { | ||
return _extends({ | ||
action: action, | ||
location: location, | ||
push: push, | ||
replace: replace, | ||
go: go, | ||
goBack: goBack, | ||
goForward: goForward, | ||
canGo: canGo, | ||
block: block | ||
}; | ||
location: location | ||
}, history); | ||
}; | ||
History.prototype.componentWillMount = function componentWillMount() { | ||
this.setupHistory(this.props); | ||
}; | ||
History.prototype.setupHistory = function setupHistory(props) { | ||
var _this2 = this; | ||
var createHistory = props.createHistory; | ||
var children = props.children; | ||
var historyOptions = _objectWithoutProperties(props, ['createHistory', 'children']); // eslint-disable-line | ||
this.history = createHistory(historyOptions); | ||
this.setState({ | ||
action: 'POP', | ||
location: this.props.getCurrentLocation() | ||
location: this.history.getCurrentLocation() | ||
}); | ||
this.unlisten = this.props.listen(function (location, action) { | ||
this.unlisten = this.history.listen(function (location, action) { | ||
_this2.setState({ action: action, location: location }); | ||
@@ -90,2 +89,29 @@ }); | ||
History.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { | ||
var _props = this.props; | ||
var _1 = _props.children; | ||
var _2 = _props.createHistory; | ||
var prevHistoryOptions = _objectWithoutProperties(_props, ['children', 'createHistory']); // eslint-disable-line | ||
var _3 = nextProps.children; | ||
var _4 = nextProps.createHistory; | ||
var nextHistoryOptions = _objectWithoutProperties(nextProps, ['children', 'createHistory']); // eslint-disable-line | ||
var changed = false; | ||
for (var key in nextHistoryOptions) { | ||
if (nextHistoryOptions[key] !== prevHistoryOptions[key]) { | ||
changed = true; | ||
break; | ||
} | ||
} | ||
if (changed) { | ||
this.unlisten(); | ||
this.setupHistory(nextProps); | ||
} | ||
}; | ||
History.prototype.componentWillUnmount = function componentWillUnmount() { | ||
@@ -96,14 +122,3 @@ this.unlisten(); | ||
History.prototype.render = function render() { | ||
var _getHistoryContext = this.getHistoryContext(); | ||
var action = _getHistoryContext.action; | ||
var location = _getHistoryContext.location; | ||
var history = _objectWithoutProperties(_getHistoryContext, ['action', 'location']); | ||
return this.props.children({ | ||
action: action, | ||
location: location, | ||
history: history | ||
}); | ||
return this.props.children(this.getHistoryContext()); | ||
}; | ||
@@ -116,11 +131,3 @@ | ||
children: _react.PropTypes.func.isRequired, | ||
getCurrentLocation: _react.PropTypes.func.isRequired, | ||
push: _react.PropTypes.func.isRequired, | ||
replace: _react.PropTypes.func.isRequired, | ||
go: _react.PropTypes.func.isRequired, | ||
goBack: _react.PropTypes.func.isRequired, | ||
goForward: _react.PropTypes.func.isRequired, | ||
canGo: _react.PropTypes.func, | ||
block: _react.PropTypes.func.isRequired, | ||
listen: _react.PropTypes.func.isRequired | ||
createHistory: _react.PropTypes.func.isRequired | ||
}; | ||
@@ -127,0 +134,0 @@ History.childContextTypes = { |
@@ -26,5 +26,8 @@ 'use strict'; | ||
var props = _objectWithoutProperties(_ref, ['children']); | ||
var historyOptions = _objectWithoutProperties(_ref, ['children']); | ||
return _react2.default.createElement(_History2.default, _extends({}, (0, _createMemoryHistory2.default)(props), { children: children })); | ||
return _react2.default.createElement(_History2.default, _extends({ | ||
children: children, | ||
createHistory: _createMemoryHistory2.default | ||
}, historyOptions)); | ||
}; | ||
@@ -31,0 +34,0 @@ |
{ | ||
"name": "react-history", | ||
"version": "0.11.0", | ||
"description": "Manage the URL with React", | ||
"version": "0.12.0", | ||
"description": "Manage session history with React", | ||
"repository": "ReactTraining/react-history", | ||
@@ -19,5 +19,3 @@ "author": "Michael Jackson", | ||
"dependencies": { | ||
"history": "^4.0.0-0", | ||
"invariant": "^2.2.1", | ||
"warning": "^3.0.0" | ||
"history": "^4.0.0-0" | ||
}, | ||
@@ -57,6 +55,2 @@ "peerDependencies": { | ||
}, | ||
"tags": [ | ||
"react", | ||
"history" | ||
], | ||
"keywords": [ | ||
@@ -63,0 +57,0 @@ "react", |
@@ -9,3 +9,3 @@ # react-history [![Travis][build-badge]][build] [![npm package][npm-badge]][npm] | ||
[`react-history`](https://www.npmjs.com/package/react-history) provides tools to manage the URL history using [React](https://facebook.github.io/react). | ||
[`react-history`](https://www.npmjs.com/package/react-history) provides tools to manage session history using [React](https://facebook.github.io/react). In web browsers, this library also transparently manages changes to the URL. | ||
@@ -12,0 +12,0 @@ ## Installation |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReactHistory=e():t.ReactHistory=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.Prompt=e.MemoryHistory=e.HashHistory=e.BrowserHistory=void 0;var o=n(28);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})});var i=n(29),a=r(i),u=n(30),s=r(u),c=n(31),l=r(c),f=n(32),p=r(f);e.BrowserHistory=a["default"],e.HashHistory=s["default"],e.MemoryHistory=l["default"],e.Prompt=p["default"]},function(t,e,n){"use strict";var r=n(12),o=r;t.exports=o},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(6),a=n(20),u=(n(1),n(22),Object.prototype.hasOwnProperty),s="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,a){var u={$$typeof:s,type:t,key:e,ref:n,props:a,_owner:i};return u};l.createElement=function(t,e,n){var i,s={},f=null,p=null,d=null,h=null;if(null!=e){r(e)&&(p=e.ref),o(e)&&(f=""+e.key),d=void 0===e.__self?null:e.__self,h=void 0===e.__source?null:e.__source;for(i in e)u.call(e,i)&&!c.hasOwnProperty(i)&&(s[i]=e[i])}var y=arguments.length-2;if(1===y)s.children=n;else if(y>1){for(var v=Array(y),m=0;m<y;m++)v[m]=arguments[m+2];s.children=v}if(t&&t.defaultProps){var g=t.defaultProps;for(i in g)void 0===s[i]&&(s[i]=g[i])}return l(t,f,p,d,h,a.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){var n=l(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},l.cloneElement=function(t,e,n){var s,f=i({},t.props),p=t.key,d=t.ref,h=t._self,y=t._source,v=t._owner;if(null!=e){r(e)&&(d=e.ref,v=a.current),o(e)&&(p=""+e.key);var m;t.type&&t.type.defaultProps&&(m=t.type.defaultProps);for(s in e)u.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==m?f[s]=m[s]:f[s]=e[s])}var g=arguments.length-2;if(1===g)f.children=n;else if(g>1){for(var b=Array(g),P=0;P<g;P++)b[P]=arguments[P+2];f.children=b}return l(t.type,p,d,h,y,v,f)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},l.REACT_ELEMENT_TYPE=s,t.exports=l},function(t,e,n){"use strict";t.exports=n(37)},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}t.exports=r},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=n},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,u=n(t),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(u[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;l<a.length;l++)i.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(9),i=(r(o),n(8)),a=r(i),u=function(){var t=null,e=function(e){return"string"!=typeof e&&"function"!=typeof e?(0,a["default"])(!1):void 0,t=e,function(){t===e&&(t=null)}},n=function(e,n,r,o){if(t)if("function"==typeof r){var i="function"==typeof t?t(e,n):t;"string"==typeof i?r(i,o):o(i!==!1)}else o(!0);else o(!0)},r=[],o=function(t){return r.push(t),function(){r=r.filter(function(e){return e!==t})}},i=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.forEach(function(t){return t.apply(void 0,e)})};return{setPrompt:e,confirmTransitionTo:n,appendListener:o,transitionTo:i}};e["default"]=u},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};t.exports=r},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=n(3),c=r(s),l=n(11),f=function(t){function e(){var n,r,o;i(this,e);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return n=r=a(this,t.call.apply(t,[this].concat(s))),r.state={action:null,location:null},o=n,a(r,o)}return u(e,t),e.prototype.getChildContext=function(){return{history:this.getHistoryContext()}},e.prototype.getHistoryContext=function(){var t=this.state,e=t.action,n=t.location,r=this.props,o=r.push,i=r.replace,a=r.go,u=r.goBack,s=r.goForward,c=r.canGo,l=r.block;return{action:e,location:n,push:o,replace:i,go:a,goBack:u,goForward:s,canGo:c,block:l}},e.prototype.componentWillMount=function(){var t=this;this.setState({action:"POP",location:this.props.getCurrentLocation()}),this.unlisten=this.props.listen(function(e,n){t.setState({action:n,location:e})})},e.prototype.componentWillUnmount=function(){this.unlisten()},e.prototype.render=function(){var t=this.getHistoryContext(),e=t.action,n=t.location,r=o(t,["action","location"]);return this.props.children({action:e,location:n,history:r})},e}(c["default"].Component);f.propTypes={children:s.PropTypes.func.isRequired,getCurrentLocation:s.PropTypes.func.isRequired,push:s.PropTypes.func.isRequired,replace:s.PropTypes.func.isRequired,go:s.PropTypes.func.isRequired,goBack:s.PropTypes.func.isRequired,goForward:s.PropTypes.func.isRequired,canGo:s.PropTypes.func,block:s.PropTypes.func.isRequired,listen:s.PropTypes.func.isRequired},f.childContextTypes={history:l.historyContext.isRequired},e["default"]=f},function(t,e,n){"use strict";e.__esModule=!0,e.historyContext=e.location=e.action=void 0;var r=n(3),o=e.action=r.PropTypes.oneOf(["PUSH","REPLACE","POP"]),i=e.location=r.PropTypes.shape({path:r.PropTypes.string.isRequired,state:r.PropTypes.object,key:r.PropTypes.string});e.historyContext=r.PropTypes.shape({action:o.isRequired,location:i.isRequired,push:r.PropTypes.func.isRequired,replace:r.PropTypes.func.isRequired,go:r.PropTypes.func.isRequired,goBack:r.PropTypes.func.isRequired,goForward:r.PropTypes.func.isRequired,canGo:r.PropTypes.func,block:r.PropTypes.func.isRequired})},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||i}var o=n(5),i=n(15),a=(n(22),n(13));n(4),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t?o("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=r},function(t,e,n){"use strict";function r(t,e){}var o=(n(1),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t,e){r(t,"replaceState")},enqueueSetState:function(t,e){r(t,"setState")}});t.exports=o},function(t,e){"use strict";e.__esModule=!0;e.addEventListener=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},e.getConfirmation=function(t,e){return e(window.confirm(t))},e.supportsHistory=function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},e.supportsPopStateOnHashChange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},e.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1}},function(t,e){"use strict";e.__esModule=!0;e.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(t,e){"use strict";e.__esModule=!0;e.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},e.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t},e.stripPrefix=function(t,e){return 0===t.indexOf(e)?t.substr(e.length):t}},function(t,e,n){"use strict";var r=n(4),o=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)?void 0:r(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=o},function(t,e){"use strict";var n={current:null};t.exports=n},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e){"use strict";function n(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=n},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};e.__esModule=!0;var r="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(t){return"undefined"==typeof t?"undefined":n(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":"undefined"==typeof t?"undefined":n(t)},o=function i(t,e){if(null==t)return t==e;var n="undefined"==typeof t?"undefined":r(t),o="undefined"==typeof e?"undefined":r(e);if(n!==o)return!1;if(Array.isArray(t))return!(!Array.isArray(e)||t.length!==e.length)&&t.every(function(t,n){return i(t,e[n])});if("object"===n){var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every(function(n){return i(t[n],e[n])})}return t===e};e.locationsAreEqual=function(t,e){return t.path===e.path&&t.key===e.key&&o(t.state,e.state)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(9),a=(r(i),n(8)),u=r(a),s=n(18),c=n(7),l=r(c),f=n(17),p=n(16),d="popstate",h="hashchange",y=function(){try{return window.history.state||{}}catch(t){return{}}},v=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];f.canUseDOM?void 0:(0,u["default"])(!1);var e=(0,p.supportsHistory)(),n=!(0,p.supportsPopStateOnHashChange)(),r=t.basename,i=void 0===r?"":r,a=t.forceRefresh,c=void 0!==a&&a,v=t.getUserConfirmation,m=void 0===v?p.getConfirmation:v,g=t.keyLength,b=void 0===g?6:g,P=function(t){var e=t||{},n=e.key,r=e.state,o=window.location,a=o.pathname,u=o.search,c=o.hash,l=a+u+c;return i&&(l=(0,s.stripPrefix)(l,i)),{path:l,state:r,key:n}},w=function(){return Math.random().toString(36).substr(2,b)},E=P(y()),x={action:"POP",location:E,allKeys:[E.key]},_=(0,l["default"])(),O=function(t){o(x,t),_.transitionTo(x.location,x.action)},T=function(t){void 0!==t.state&&R(P(t.state))},A=function(){R(P(y()))},k=!1,R=function(t){k?(k=!1,O()):!function(){var e="POP";_.confirmTransitionTo(t,e,m,function(n){n?O({action:e,location:t}):j(t)})}()},j=function(t){var e=x.location,n=x.allKeys,r=n.indexOf(e.key);r===-1&&(r=0);var o=n.indexOf(t.key);o===-1&&(o=0);var i=r-o;i&&(k=!0,N(i))},M=function(){return x.location||P(y())},S=function(t,n){var r="PUSH",o=w(),a={path:t,state:n,key:o};_.confirmTransitionTo(a,r,m,function(u){if(u){var s=i+t;if(e)if(window.history.pushState({key:o,state:n},null,s),c)window.location.href=s;else{var l=x.allKeys,f=l.indexOf(x.location.key),p=l.slice(0,f===-1?0:f+1);p.push(a.key),O({action:r,location:a,allKeys:p})}else window.location.href=s}})},C=function(t,n){var r="REPLACE",o=w(),a={path:t,state:n,key:o};_.confirmTransitionTo(a,r,m,function(u){if(u){var s=i+t;if(e)if(window.history.replaceState({key:o,state:n},null,s),c)window.location.replace(s);else{var l=x.allKeys.slice(0),f=l.indexOf(x.location.key);f!==-1&&(l[f]=a.key),O({action:r,location:a,allKeys:l})}else window.location.replace(s)}})},N=function(t){window.history.go(t)},I=function(){return N(-1)},D=function(){return N(1)},q=function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];return _.setPrompt(t)},F=0,L=function(t){F+=t,1===F?((0,p.addEventListener)(window,d,T),n&&(0,p.addEventListener)(window,h,A)):0===F&&((0,p.removeEventListener)(window,d,T),n&&(0,p.removeEventListener)(window,h,A))},U=function(t){var e=_.appendListener(t);return L(1),function(){return L(-1),e()}};return{getCurrentLocation:M,push:S,replace:C,go:N,goBack:I,goForward:D,block:q,listen:U}};e["default"]=v},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(9),a=(r(i),n(8)),u=r(a),s=n(24),c=n(18),l=n(7),f=r(l),p=n(17),d=n(16),h="hashchange",y={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+(0,c.stripLeadingSlash)(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:c.stripLeadingSlash,decodePath:c.addLeadingSlash},slash:{encodePath:c.addLeadingSlash,decodePath:c.addLeadingSlash}},v=function(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.substring(e+1)},m=function(t){return window.location.hash=t},g=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},b=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];p.canUseDOM?void 0:(0,u["default"])(!1);var e=((0,d.supportsGoWithoutReloadUsingHash)(),t.basename),n=void 0===e?"":e,r=t.getUserConfirmation,i=void 0===r?d.getConfirmation:r,a=t.hashType,l=void 0===a?"slash":a,b=y[l],P=b.encodePath,w=b.decodePath,E=function(){var t=w(v());return n&&(t=(0,c.stripPrefix)(t,n)),{path:t}},x=v(),_=P(x);x!==_&&g(_);var O=E(),T={action:"POP",location:O,allPaths:[O.path]},A=(0,f["default"])(),k=function(t){o(T,t),A.transitionTo(T.location,T.action)},R=!1,j=null,M=function(){var t=v(),e=P(t);if(t!==e)g(e);else{var n=E(),r=T.location;if(!R&&(0,s.locationsAreEqual)(r,n))return;if(j===n.path)return;j=null,S(n)}},S=function(t){R?(R=!1,k()):!function(){var e="POP";A.confirmTransitionTo(t,e,i,function(n){n?k({action:e,location:t}):C(t)})}()},C=function(t){var e=T.location,n=T.allPaths,r=n.lastIndexOf(e.path);r===-1&&(r=0);var o=n.lastIndexOf(t.path);o===-1&&(o=0);var i=r-o;i&&(R=!0,q(i))},N=function(){return T.location||E()},I=function(t,e){var r="PUSH",o={path:t};A.confirmTransitionTo(o,r,i,function(e){if(e){var i=P(n+t),a=v()!==i;a&&(j=t,m(i));var u=T.allPaths,s=u.lastIndexOf(T.location.path),c=u.slice(0,s===-1?0:s+1);c.push(o.path),k({action:r,location:o,allPaths:c})}})},D=function(t,e){var r="REPLACE",o={path:t};A.confirmTransitionTo(o,r,i,function(e){if(e){var i=P(n+t),a=v()!==i;a&&(j=t,g(i));var u=T.allPaths.slice(0),s=u.indexOf(T.location.path);s!==-1&&(u[s]=o.path),k({action:r,location:o,allPaths:u})}})},q=function(t){window.history.go(t)},F=function(){return q(-1)},L=function(){return q(1)},U=function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];return A.setPrompt(t)},H=0,Y=function(t){H+=t,1===H?(0,d.addEventListener)(window,h,M):0===H&&(0,d.removeEventListener)(window,h,M)},B=function(t){var e=A.appendListener(t);return Y(1),function(){return Y(-1),e()}};return{getCurrentLocation:N,push:I,replace:D,go:q,goBack:F,goForward:L,block:U,listen:B}};e["default"]=b},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(7),a=r(i),u=function(t,e,n){return Math.min(Math.max(t,e),n)},s=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.getUserConfirmation,n=t.initialEntries,r=void 0===n?["/"]:n,i=t.initialIndex,s=void 0===i?0:i,c=t.keyLength,l=void 0===c?6:c,f=r.map(function(t){return"string"==typeof t?{path:t}:t}),p={prevIndex:null,action:"POP",index:u(s,0,f.length-1),entries:f},d=(0,a["default"])(),h=function(t){o(p,t),d.transitionTo(v(),p.action)},y=function(){return Math.random().toString(36).substr(2,l)},v=function(){return p.entries[p.index]},m=function(t,n){var r="PUSH",o=y(),i={path:t,state:n,key:o};d.confirmTransitionTo(i,r,e,function(t){if(t){var e=p.index,n=e+1,o=p.entries.slice(0);o.length>n?o.splice(n,o.length-n,i):o.push(i),h({prevIndex:p.index,action:r,index:n,entries:o})}})},g=function(t,n){var r="REPLACE",o=y(),i={path:t,state:n,key:o};d.confirmTransitionTo(i,r,e,function(t){if(t){var e=p.index,n=p.entries.slice(0);n[e]=i,h({prevIndex:p.index,action:r,entries:n})}})},b=function(t){var n=p.index,r=p.entries,o=u(n+t,0,r.length-1),i="POP",a=r[o];d.confirmTransitionTo(a,i,e,function(t){t?h({prevIndex:n,action:i,index:o}):h()})},P=function(){return b(-1)},w=function(){return b(1)},E=function(t){var e=p.index,n=p.entries,r=e+t;return r>=0&&r<n.length},x=function(){var t=!(arguments.length<=0||void 0===arguments[0])&&arguments[0];return d.setPrompt(t)},_=function(t){return d.appendListener(t)};return{getCurrentLocation:v,push:m,replace:g,go:b,goBack:P,goForward:w,canGo:E,block:x,listen:_}};e["default"]=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0,e.Forward=e.Back=e.Pop=e.Replace=e.Push=void 0;var u=n(3),s=r(u),c=n(11),l=function(t){function e(){return o(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.performAction=function(){this.props.perform(this.context.history)},e.prototype.componentDidMount=function(){this.performAction()},e.prototype.componentDidUpdate=function(){this.performAction()},e.prototype.render=function(){return null},e}(s["default"].Component);l.contextTypes={history:c.historyContext.isRequired},l.propTypes={perform:u.PropTypes.func.isRequired};var f=e.Push=function(t){var e=t.path,n=t.state;return s["default"].createElement(l,{perform:function(t){return t.push(e,n)}})};f.propTypes={path:u.PropTypes.string,state:u.PropTypes.any};var p=e.Replace=function(t){var e=t.path,n=t.state;return s["default"].createElement(l,{perform:function(t){return t.replace(e,n)}})};p.propTypes=f.propTypes;var d=e.Pop=function(t){var e=t.go;return s["default"].createElement(l,{perform:function(t){return t.go(e)}})};d.propTypes={go:u.PropTypes.number},d.defaultProps={go:-1};e.Back=function(){return s["default"].createElement(l,{perform:function(t){return t.goBack()}})},e.Forward=function(){return s["default"].createElement(l,{perform:function(t){return t.goForward()}})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(3),u=r(a),s=n(25),c=r(s),l=n(10),f=r(l),p=function(t){var e=t.children,n=o(t,["children"]);return u["default"].createElement(f["default"],i({},(0,c["default"])(n),{children:e}))};p.propTypes={children:a.PropTypes.func.isRequired,basename:a.PropTypes.string,forceRefresh:a.PropTypes.bool,getUserConfirmation:a.PropTypes.func,keyLength:a.PropTypes.number},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(3),u=r(a),s=n(26),c=r(s),l=n(10),f=r(l),p=function(t){var e=t.children,n=o(t,["children"]);return u["default"].createElement(f["default"],i({},(0,c["default"])(n),{children:e}))};p.propTypes={children:a.PropTypes.func.isRequired,basename:a.PropTypes.string,getUserConfirmation:a.PropTypes.func,hashType:a.PropTypes.oneOf(["hashbang","noslash","slash"])},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(3),u=r(a),s=n(27),c=r(s),l=n(10),f=r(l),p=function(t){var e=t.children,n=o(t,["children"]);return u["default"].createElement(f["default"],i({},(0,c["default"])(n),{children:e}))};p.propTypes={children:a.PropTypes.func.isRequired,getUserConfirmation:a.PropTypes.func,initialEntries:a.PropTypes.array,initialIndex:a.PropTypes.number,keyLength:a.PropTypes.number},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(3),s=r(u),c=n(11),l=function(t){function e(){return o(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.block=function(){this.teardownPrompt||(this.teardownPrompt=this.context.history.block(this.props.message))},e.prototype.unblock=function(){this.teardownPrompt&&(this.teardownPrompt(),this.teardownPrompt=null)},e.prototype.componentWillMount=function(){this.props.when&&this.block()},e.prototype.componentWillReceiveProps=function(t){t.when?this.block():this.unblock()},e.prototype.componentWillUnmount=function(){this.unblock()},e.prototype.render=function(){return null},e}(s["default"].Component);l.contextTypes={history:c.historyContext.isRequired},l.propTypes={when:u.PropTypes.bool,message:u.PropTypes.oneOfType([u.PropTypes.func,u.PropTypes.string]).isRequired},l.defaultProps={when:!0},e["default"]=l},function(t,e){"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=n},function(t,e){"use strict";function n(t,e,n){if(!t)return null;var o={};for(var i in t)r.call(t,i)&&(o[i]=e.call(n,t[i],i,t));return o}var r=Object.prototype.hasOwnProperty;t.exports=n},function(t,e){"use strict";function n(t){var e=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+t).replace(e,function(t){return n[t]});return"$"+r}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+r).replace(e,function(t){return n[t]})}var o={escape:n,unescape:r};t.exports=o},function(t,e,n){"use strict";var r=n(5),o=(n(4),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},u=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},s=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,r,o),a}return new i(t,e,n,r,o)},c=function(t){var e=this;t instanceof e?void 0:r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=10,f=o,p=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||f,n.poolSize||(n.poolSize=l),n.release=c,n},d={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u,fiveArgumentPooler:s};t.exports=d},function(t,e,n){"use strict";var r=n(6),o=n(38),i=n(14),a=n(44),u=n(39),s=n(40),c=n(2),l=n(42),f=n(45),p=n(46),d=(n(1),c.createElement),h=c.createFactory,y=c.cloneElement,v=r,m={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:p},Component:i,PureComponent:a,createElement:d,cloneElement:y,isValidElement:c.isValidElement,PropTypes:l,createClass:u.createClass,createFactory:h,createMixin:function(t){return t},DOM:s,version:f,__spread:v};t.exports=m},function(t,e,n){"use strict";function r(t){return(""+t).replace(P,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);m(t,i,r),o.release(r)}function u(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function s(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,o,n,v.thatReturnsArgument):null!=s&&(y.isValidElement(s)&&(s=y.cloneAndReplaceKey(s,i+(!s.key||e&&e.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=u.getPooled(e,a,o,i);m(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function f(t,e,n){return null}function p(t,e){return m(t,f,null)}function d(t){var e=[];return c(t,e,null,v.thatReturnsArgument),e}var h=n(36),y=n(2),v=n(12),m=n(47),g=h.twoArgumentPooler,b=h.fourArgumentPooler,P=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,g),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(u,b);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:p,toArray:d};t.exports=w},function(t,e,n){"use strict";function r(t,e){var n=E.hasOwnProperty(e)?E[e]:null;_.hasOwnProperty(e)&&(n!==P.OVERRIDE_BASE?f("73",e):void 0),t&&(n!==P.DEFINE_MANY&&n!==P.DEFINE_MANY_MERGED?f("74",e):void 0)}function o(t,e){if(e){"function"==typeof e?f("75"):void 0,h.isValidElement(e)?f("76"):void 0;var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(b)&&x.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==b){var a=e[i],c=n.hasOwnProperty(i);if(r(c,i),x.hasOwnProperty(i))x[i](t,a);else{var l=E.hasOwnProperty(i),p="function"==typeof a,d=p&&!l&&!c&&e.autobind!==!1;if(d)o.push(i,a),n[i]=a;else if(c){var y=E[i];!l||y!==P.DEFINE_MANY_MERGED&&y!==P.DEFINE_MANY?f("77",y,i):void 0,y===P.DEFINE_MANY_MERGED?n[i]=u(n[i],a):y===P.DEFINE_MANY&&(n[i]=s(n[i],a))}else n[i]=a}}}else;}function i(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;o?f("78",n):void 0;var i=n in t;i?f("79",n):void 0,t[n]=r}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?void 0:f("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?f("81",n):void 0,t[n]=e[n]);return t}function u(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return a(o,n),a(o,r),o}}function s(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=c(t,o)}}var f=n(5),p=n(6),d=n(14),h=n(2),y=(n(41),n(21),n(15)),v=n(13),m=(n(4),n(19)),g=n(33),b=(n(1),g({mixins:null})),P=m({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],E={mixins:P.DEFINE_MANY,statics:P.DEFINE_MANY,propTypes:P.DEFINE_MANY,contextTypes:P.DEFINE_MANY,childContextTypes:P.DEFINE_MANY,getDefaultProps:P.DEFINE_MANY_MERGED,getInitialState:P.DEFINE_MANY_MERGED,getChildContext:P.DEFINE_MANY_MERGED,render:P.DEFINE_ONCE,componentWillMount:P.DEFINE_MANY,componentDidMount:P.DEFINE_MANY,componentWillReceiveProps:P.DEFINE_MANY,shouldComponentUpdate:P.DEFINE_ONCE,componentWillUpdate:P.DEFINE_MANY,componentDidUpdate:P.DEFINE_MANY,componentWillUnmount:P.DEFINE_MANY,updateComponent:P.OVERRIDE_BASE},x={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=p({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=p({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=u(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=p({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},_={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this); | ||
}},O=function(){};p(O.prototype,d.prototype,_);var T={createClass:function(t){var e=function(t,n,r){this.__reactAutoBindPairs.length&&l(this),this.props=t,this.context=n,this.refs=v,this.updater=r||y,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=o};e.prototype=new O,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],w.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:f("83");for(var n in E)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){w.push(t)}}};t.exports=T},function(t,e,n){"use strict";function r(t){return o.createFactory(t)}var o=n(2),i=n(34),a=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);t.exports=a},function(t,e,n){"use strict";var r=n(19),o=r({prop:null,context:null,childContext:null});t.exports=o},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function o(t){function e(e,n,r,o,i,a,u){o=o||O,a=a||r;if(null==n[r]){var s=w[i];return e?new Error("Required "+s+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return t(n,r,o,i,a)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function i(t){function e(e,n,r,o,i,a){var u=e[n],s=m(u);if(s!==t){var c=w[o],l=g(u);return new Error("Invalid "+c+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("`"+t+"`."))}return null}return o(e)}function a(){return o(x.thatReturns(null))}function u(t){function e(e,n,r,o,i){if("function"!=typeof t)return new Error("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a)){var u=w[o],s=m(a);return new Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<a.length;c++){var l=t(a,c,r,o,i+"["+c+"]",E);if(l instanceof Error)return l}return null}return o(e)}function s(){function t(t,e,n,r,o){var i=t[e];if(!P.isValidElement(i)){var a=w[r],u=m(i);return new Error("Invalid "+a+" `"+o+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return o(t)}function c(t){function e(e,n,r,o,i){if(!(e[n]instanceof t)){var a=w[o],u=t.name||O,s=b(e[n]);return new Error("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return o(e)}function l(t){function e(e,n,o,i,a){for(var u=e[n],s=0;s<t.length;s++)if(r(u,t[s]))return null;var c=w[i],l=JSON.stringify(t);return new Error("Invalid "+c+" `"+a+"` of value `"+u+"` "+("supplied to `"+o+"`, expected one of "+l+"."))}return Array.isArray(t)?o(e):x.thatReturnsNull}function f(t){function e(e,n,r,o,i){if("function"!=typeof t)return new Error("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=e[n],u=m(a);if("object"!==u){var s=w[o];return new Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=t(a,c,r,o,i+"."+c,E);if(l instanceof Error)return l}return null}return o(e)}function p(t){function e(e,n,r,o,i){for(var a=0;a<t.length;a++){var u=t[a];if(null==u(e,n,r,o,i,E))return null}var s=w[o];return new Error("Invalid "+s+" `"+i+"` supplied to "+("`"+r+"`."))}return Array.isArray(t)?o(e):x.thatReturnsNull}function d(){function t(t,e,n,r,o){if(!y(t[e])){var i=w[r];return new Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return o(t)}function h(t){function e(e,n,r,o,i){var a=e[n],u=m(a);if("object"!==u){var s=w[o];return new Error("Invalid "+s+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in t){var l=t[c];if(l){var f=l(a,c,r,o,i+"."+c,E);if(f)return f}}return null}return o(e)}function y(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(y);if(null===t||P.isValidElement(t))return!0;var e=_(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function v(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":v(e,t)?"symbol":e}function g(t){var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function b(t){return t.constructor&&t.constructor.name?t.constructor.name:O}var P=n(2),w=n(21),E=n(43),x=n(12),_=n(23),O=(n(1),"<<anonymous>>"),T={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:a(),arrayOf:u,element:s(),instanceOf:c,node:d(),objectOf:f,oneOf:l,oneOfType:p,shape:h};t.exports=T},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=s,this.updater=n||u}function o(){}var i=n(6),a=n(14),u=n(15),s=n(13);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e){"use strict";t.exports="15.3.0"},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("23"),t}var o=n(5),i=n(2);n(4);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||u.isValidElement(t))return n(i,t,""===e?l+r(t,0):e),1;var d,h,y=0,v=""===e?l:e+f;if(Array.isArray(t))for(var m=0;m<t.length;m++)d=t[m],h=v+r(d,m),y+=o(d,h,n,i);else{var g=s(t);if(g){var b,P=g.call(t);if(g!==t.entries)for(var w=0;!(b=P.next()).done;)d=b.value,h=v+r(d,w++),y+=o(d,h,n,i);else for(;!(b=P.next()).done;){var E=b.value;E&&(d=E[1],h=v+c.escape(E[0])+f+r(d,0),y+=o(d,h,n,i))}}else if("object"===p){var x="",_=String(t);a("31","[object Object]"===_?"object with keys {"+Object.keys(t).join(", ")+"}":_,x)}}return y}function i(t,e,n){return null==t?0:o(t,"",e,n)}var a=n(5),u=(n(20),n(2)),s=n(23),c=(n(4),n(35)),l=(n(1),"."),f=":";t.exports=i}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReactHistory=e():t.ReactHistory=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.Prompt=e.MemoryHistory=e.HashHistory=e.BrowserHistory=void 0;var o=n(24);Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}})});var i=n(25),a=r(i),u=n(26),s=r(u),c=n(27),l=r(c),f=n(28),p=r(f);e.BrowserHistory=a["default"],e.HashHistory=s["default"],e.MemoryHistory=l["default"],e.Prompt=p["default"]},function(t,e,n){"use strict";var r=n(9),o=r;t.exports=o},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var i=n(6),a=n(20),u=(n(1),n(22),Object.prototype.hasOwnProperty),s="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,i,a){var u={$$typeof:s,type:t,key:e,ref:n,props:a,_owner:i};return u};l.createElement=function(t,e,n){var i,s={},f=null,p=null,d=null,h=null;if(null!=e){r(e)&&(p=e.ref),o(e)&&(f=""+e.key),d=void 0===e.__self?null:e.__self,h=void 0===e.__source?null:e.__source;for(i in e)u.call(e,i)&&!c.hasOwnProperty(i)&&(s[i]=e[i])}var y=arguments.length-2;if(1===y)s.children=n;else if(y>1){for(var v=Array(y),m=0;m<y;m++)v[m]=arguments[m+2];s.children=v}if(t&&t.defaultProps){var g=t.defaultProps;for(i in g)void 0===s[i]&&(s[i]=g[i])}return l(t,f,p,d,h,a.current,s)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){var n=l(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return n},l.cloneElement=function(t,e,n){var s,f=i({},t.props),p=t.key,d=t.ref,h=t._self,y=t._source,v=t._owner;if(null!=e){r(e)&&(d=e.ref,v=a.current),o(e)&&(p=""+e.key);var m;t.type&&t.type.defaultProps&&(m=t.type.defaultProps);for(s in e)u.call(e,s)&&!c.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==m?f[s]=m[s]:f[s]=e[s])}var g=arguments.length-2;if(1===g)f.children=n;else if(g>1){for(var b=Array(g),P=0;P<g;P++)b[P]=arguments[P+2];f.children=b}return l(t.type,p,d,h,y,v,f)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},l.REACT_ELEMENT_TYPE=s,t.exports=l},function(t,e,n){"use strict";t.exports=n(36)},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}t.exports=r},function(t,e){"use strict";function n(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=n},function(t,e){"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=r()?Object.assign:function(t,e){for(var r,a,u=n(t),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(u[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;l<a.length;l++)i.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c=n(3),l=r(c),f=n(8),p=function(t){function e(){var n,r,o;i(this,e);for(var u=arguments.length,s=Array(u),c=0;c<u;c++)s[c]=arguments[c];return n=r=a(this,t.call.apply(t,[this].concat(s))),r.state={action:null,location:null},o=n,a(r,o)}return u(e,t),e.prototype.getChildContext=function(){return{history:this.getHistoryContext()}},e.prototype.getHistoryContext=function(){var t=this.state,e=t.action,n=t.location,r=this.history;return s({action:e,location:n},r)},e.prototype.componentWillMount=function(){this.setupHistory(this.props)},e.prototype.setupHistory=function(t){var e=this,n=t.createHistory,r=(t.children,o(t,["createHistory","children"]));this.history=n(r),this.setState({action:"POP",location:this.history.getCurrentLocation()}),this.unlisten=this.history.listen(function(t,n){e.setState({action:n,location:t})})},e.prototype.componentWillReceiveProps=function(t){var e=this.props,n=(e.children,e.createHistory,o(e,["children","createHistory"])),r=(t.children,t.createHistory,o(t,["children","createHistory"])),i=!1;for(var a in r)if(r[a]!==n[a]){i=!0;break}i&&(this.unlisten(),this.setupHistory(t))},e.prototype.componentWillUnmount=function(){this.unlisten()},e.prototype.render=function(){return this.props.children(this.getHistoryContext())},e}(l["default"].Component);p.propTypes={children:c.PropTypes.func.isRequired,createHistory:c.PropTypes.func.isRequired},p.childContextTypes={history:f.historyContext.isRequired},e["default"]=p},function(t,e,n){"use strict";e.__esModule=!0,e.historyContext=e.location=e.action=void 0;var r=n(3),o=e.action=r.PropTypes.oneOf(["PUSH","REPLACE","POP"]),i=e.location=r.PropTypes.shape({path:r.PropTypes.string.isRequired,state:r.PropTypes.object,key:r.PropTypes.string});e.historyContext=r.PropTypes.shape({action:o.isRequired,location:i.isRequired,push:r.PropTypes.func.isRequired,replace:r.PropTypes.func.isRequired,go:r.PropTypes.func.isRequired,goBack:r.PropTypes.func.isRequired,goForward:r.PropTypes.func.isRequired,canGo:r.PropTypes.func,block:r.PropTypes.func.isRequired})},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(15),i=(r(o),n(12)),a=r(i),u=function(){var t=null,e=function(e){return"string"!=typeof e&&"function"!=typeof e?(0,a["default"])(!1):void 0,t=e,function(){t===e&&(t=null)}},n=function(e,n,r,o){if(t)if("function"==typeof r){var i="function"==typeof t?t(e,n):t;"string"==typeof i?r(i,o):o(i!==!1)}else o(!0);else o(!0)},r=[],o=function(t){return r.push(t),function(){r=r.filter(function(e){return e!==t})}},i=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r.forEach(function(t){return t.apply(void 0,e)})};return{setPrompt:e,confirmTransitionTo:n,appendListener:o,transitionTo:i}};e["default"]=u},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=new Error(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};t.exports=r},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=a,this.updater=n||i}var o=n(5),i=n(14),a=(n(22),n(10));n(4),n(1);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t?o("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=r},function(t,e,n){"use strict";function r(t,e){}var o=(n(1),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){r(t,"forceUpdate")},enqueueReplaceState:function(t,e){r(t,"replaceState")},enqueueSetState:function(t,e){r(t,"setState")}});t.exports=o},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";var r=n(4),o=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)?void 0:r(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=o},function(t,e){"use strict";e.__esModule=!0;e.addEventListener=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},e.getConfirmation=function(t,e){return e(window.confirm(t))},e.supportsHistory=function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},e.supportsPopStateOnHashChange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},e.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1}},function(t,e){"use strict";e.__esModule=!0;e.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},function(t,e){"use strict";e.__esModule=!0;e.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},e.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t},e.stripPrefix=function(t,e){return 0===t.indexOf(e)?t.substr(e.length):t}},function(t,e){"use strict";var n={current:null};t.exports=n},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e){"use strict";function n(t){var e=t&&(r&&t[r]||t[o]);if("function"==typeof e)return e}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0,e.Forward=e.Back=e.Pop=e.Replace=e.Push=void 0;var u=n(3),s=r(u),c=n(8),l=function(t){function e(){return o(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.performAction=function(){this.props.perform(this.context.history)},e.prototype.componentDidMount=function(){this.performAction()},e.prototype.componentDidUpdate=function(){this.performAction()},e.prototype.render=function(){return null},e}(s["default"].Component);l.contextTypes={history:c.historyContext.isRequired},l.propTypes={perform:u.PropTypes.func.isRequired};var f=e.Push=function(t){var e=t.path,n=t.state;return s["default"].createElement(l,{perform:function(t){return t.push(e,n)}})};f.propTypes={path:u.PropTypes.string,state:u.PropTypes.any};var p=e.Replace=function(t){var e=t.path,n=t.state;return s["default"].createElement(l,{perform:function(t){return t.replace(e,n)}})};p.propTypes=f.propTypes;var d=e.Pop=function(t){var e=t.go;return s["default"].createElement(l,{perform:function(t){return t.go(e)}})};d.propTypes={go:u.PropTypes.number},d.defaultProps={go:-1};e.Back=function(){return s["default"].createElement(l,{perform:function(t){return t.goBack()}})},e.Forward=function(){return s["default"].createElement(l,{perform:function(t){return t.goForward()}})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(3),u=r(a),s=n(31),c=r(s),l=n(7),f=r(l),p=function(t){var e=t.children,n=o(t,["children"]);return u["default"].createElement(f["default"],i({children:e,createHistory:c["default"]},n))};p.propTypes={children:a.PropTypes.func.isRequired,basename:a.PropTypes.string,forceRefresh:a.PropTypes.bool,getUserConfirmation:a.PropTypes.func,keyLength:a.PropTypes.number},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(3),u=r(a),s=n(32),c=r(s),l=n(7),f=r(l),p=function(t){var e=t.children,n=o(t,["children"]);return u["default"].createElement(f["default"],i({children:e,createHistory:c["default"]},n))};p.propTypes={children:a.PropTypes.func.isRequired,basename:a.PropTypes.string,getUserConfirmation:a.PropTypes.func,hashType:a.PropTypes.oneOf(["hashbang","noslash","slash"])},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=n(3),u=r(a),s=n(33),c=r(s),l=n(7),f=r(l),p=function(t){var e=t.children,n=o(t,["children"]);return u["default"].createElement(f["default"],i({children:e,createHistory:c["default"]},n))};p.propTypes={children:a.PropTypes.func.isRequired,getUserConfirmation:a.PropTypes.func,initialEntries:a.PropTypes.array,initialIndex:a.PropTypes.number,keyLength:a.PropTypes.number},e["default"]=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var u=n(3),s=r(u),c=n(8),l=function(t){function e(){return o(this,e),i(this,t.apply(this,arguments))}return a(e,t),e.prototype.block=function(){this.teardownPrompt||(this.teardownPrompt=this.context.history.block(this.props.message))},e.prototype.unblock=function(){this.teardownPrompt&&(this.teardownPrompt(),this.teardownPrompt=null)},e.prototype.componentWillMount=function(){this.props.when&&this.block()},e.prototype.componentWillReceiveProps=function(t){t.when?this.block():this.unblock()},e.prototype.componentWillUnmount=function(){this.unblock()},e.prototype.render=function(){return null},e}(s["default"].Component);l.contextTypes={history:c.historyContext.isRequired},l.propTypes={when:u.PropTypes.bool,message:u.PropTypes.oneOfType([u.PropTypes.func,u.PropTypes.string]).isRequired},l.defaultProps={when:!0},e["default"]=l},function(t,e){"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=n},function(t,e){"use strict";e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},r=function o(t,e){if(null==t)return t==e;var r="undefined"==typeof t?"undefined":n(t),i="undefined"==typeof e?"undefined":n(e);if(r!==i)return!1;if(Array.isArray(t))return!(!Array.isArray(e)||t.length!==e.length)&&t.every(function(t,n){return o(t,e[n])});if("object"===r){var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every(function(n){return o(t[n],e[n])})}return t===e};e.locationsAreEqual=function(t,e){return t.path===e.path&&t.key===e.key&&r(t.state,e.state)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(15),a=(r(i),n(12)),u=r(a),s=n(19),c=n(11),l=r(c),f=n(18),p=n(17),d="popstate",h="hashchange",y=function(){return!1},v=function(){try{return window.history.state||{}}catch(t){return{}}},m=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];f.canUseDOM?void 0:(0,u["default"])(!1);var e=(0,p.supportsHistory)(),n=!(0,p.supportsPopStateOnHashChange)(),r=t.basename,i=void 0===r?"":r,a=t.forceRefresh,c=void 0!==a&&a,m=t.getUserConfirmation,g=void 0===m?p.getConfirmation:m,b=t.keyLength,P=void 0===b?6:b,w=function(t){var e=t||{},n=e.key,r=e.state,o=window.location,a=o.pathname,u=o.search,c=o.hash,l=a+u+c;return i&&(l=(0,s.stripPrefix)(l,i)),{path:l,state:r,key:n}},E=function(){return Math.random().toString(36).substr(2,P)},x=w(v()),_={action:"POP",location:x,allKeys:[x.key]},O=(0,l["default"])(),T=function(t){o(_,t),O.transitionTo(_.location,_.action)},A=function(t){void 0!==t.state&&M(w(t.state))},j=function(){M(w(v()))},k=!1,M=function(t){k?(k=!1,T()):!function(){var e="POP";O.confirmTransitionTo(t,e,g,function(n){n?T({action:e,location:t}):R(t)})}()},R=function(t){var e=_.location,n=_.allKeys,r=n.indexOf(e.key);r===-1&&(r=0);var o=n.indexOf(t.key);o===-1&&(o=0);var i=r-o;i&&(k=!0,I(i))},S=function(){return _.location||w(v())},C=function(t,n){var r="PUSH",o=E(),a={path:t,state:n,key:o};O.confirmTransitionTo(a,r,g,function(u){if(u){var s=i+t;if(e)if(window.history.pushState({key:o,state:n},null,s),c)window.location.href=s;else{var l=_.allKeys,f=l.indexOf(_.location.key),p=l.slice(0,f===-1?0:f+1);p.push(a.key),T({action:r,location:a,allKeys:p})}else window.location.href=s}})},N=function(t,n){var r="REPLACE",o=E(),a={path:t,state:n,key:o};O.confirmTransitionTo(a,r,g,function(u){if(u){var s=i+t;if(e)if(window.history.replaceState({key:o,state:n},null,s),c)window.location.replace(s);else{var l=_.allKeys.slice(0),f=l.indexOf(_.location.key);f!==-1&&(l[f]=a.key),T({action:r,location:a,allKeys:l})}else window.location.replace(s)}})},I=function(t){window.history.go(t)},D=function(){return I(-1)},F=function(){return I(1)},q=function(){var t=arguments.length<=0||void 0===arguments[0]?y:arguments[0];return O.setPrompt(t)},L=0,H=function(t){L+=t,1===L?((0,p.addEventListener)(window,d,A),n&&(0,p.addEventListener)(window,h,j)):0===L&&((0,p.removeEventListener)(window,d,A),n&&(0,p.removeEventListener)(window,h,j))},U=function(t){var e=O.appendListener(t);return H(1),function(){return H(-1),e()}};return{getCurrentLocation:S,push:C,replace:N,go:I,goBack:D,goForward:F,block:q,listen:U}};e["default"]=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(15),a=(r(i),n(12)),u=r(a),s=n(30),c=n(19),l=n(11),f=r(l),p=n(18),d=n(17),h="hashchange",y=function(){return!1},v={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+(0,c.stripLeadingSlash)(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:c.stripLeadingSlash,decodePath:c.addLeadingSlash},slash:{encodePath:c.addLeadingSlash,decodePath:c.addLeadingSlash}},m=function(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.substring(e+1)},g=function(t){return window.location.hash=t},b=function(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},P=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];p.canUseDOM?void 0:(0,u["default"])(!1);var e=((0,d.supportsGoWithoutReloadUsingHash)(),t.basename),n=void 0===e?"":e,r=t.getUserConfirmation,i=void 0===r?d.getConfirmation:r,a=t.hashType,l=void 0===a?"slash":a,P=v[l],w=P.encodePath,E=P.decodePath,x=function(){var t=E(m());return n&&(t=(0,c.stripPrefix)(t,n)),{path:t}},_=m(),O=w(_);_!==O&&b(O);var T=x(),A={action:"POP",location:T,allPaths:[T.path]},j=(0,f["default"])(),k=function(t){o(A,t),j.transitionTo(A.location,A.action)},M=!1,R=null,S=function(){var t=m(),e=w(t);if(t!==e)b(e);else{var n=x(),r=A.location;if(!M&&(0,s.locationsAreEqual)(r,n))return;if(R===n.path)return;R=null,C(n)}},C=function(t){M?(M=!1,k()):!function(){var e="POP";j.confirmTransitionTo(t,e,i,function(n){n?k({action:e,location:t}):N(t)})}()},N=function(t){var e=A.location,n=A.allPaths,r=n.lastIndexOf(e.path);r===-1&&(r=0);var o=n.lastIndexOf(t.path);o===-1&&(o=0);var i=r-o;i&&(M=!0,q(i))},I=function(){return A.location||x()},D=function(t,e){var r="PUSH",o={path:t};j.confirmTransitionTo(o,r,i,function(e){if(e){var i=w(n+t),a=m()!==i;a&&(R=t,g(i));var u=A.allPaths,s=u.lastIndexOf(A.location.path),c=u.slice(0,s===-1?0:s+1);c.push(o.path),k({action:r,location:o,allPaths:c})}})},F=function(t,e){var r="REPLACE",o={path:t};j.confirmTransitionTo(o,r,i,function(e){if(e){var i=w(n+t),a=m()!==i;a&&(R=t,b(i));var u=A.allPaths.slice(0),s=u.indexOf(A.location.path);s!==-1&&(u[s]=o.path),k({action:r,location:o,allPaths:u})}})},q=function(t){window.history.go(t)},L=function(){return q(-1)},H=function(){return q(1)},U=function(){var t=arguments.length<=0||void 0===arguments[0]?y:arguments[0];return j.setPrompt(t)},Y=0,B=function(t){Y+=t,1===Y?(0,d.addEventListener)(window,h,S):0===Y&&(0,d.removeEventListener)(window,h,S)},G=function(t){var e=j.appendListener(t);return B(1),function(){return B(-1),e()}};return{getCurrentLocation:I,push:D,replace:F,go:q,goBack:L,goForward:H,block:U,listen:G}};e["default"]=P},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=n(11),a=r(i),u=function(){return!1},s=function(t,e,n){return Math.min(Math.max(t,e),n)},c=function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=t.getUserConfirmation,n=t.initialEntries,r=void 0===n?["/"]:n,i=t.initialIndex,c=void 0===i?0:i,l=t.keyLength,f=void 0===l?6:l,p=r.map(function(t){return"string"==typeof t?{path:t}:t}),d={prevIndex:null,action:"POP",index:s(c,0,p.length-1),entries:p},h=(0,a["default"])(),y=function(t){o(d,t),h.transitionTo(m(),d.action)},v=function(){return Math.random().toString(36).substr(2,f)},m=function(){return d.entries[d.index]},g=function(t,n){var r="PUSH",o=v(),i={path:t,state:n,key:o};h.confirmTransitionTo(i,r,e,function(t){if(t){var e=d.index,n=e+1,o=d.entries.slice(0);o.length>n?o.splice(n,o.length-n,i):o.push(i),y({prevIndex:d.index,action:r,index:n,entries:o})}})},b=function(t,n){var r="REPLACE",o=v(),i={path:t,state:n,key:o};h.confirmTransitionTo(i,r,e,function(t){if(t){var e=d.index,n=d.entries.slice(0);n[e]=i,y({prevIndex:d.index,action:r,entries:n})}})},P=function(t){var n=d.index,r=d.entries,o=s(n+t,0,r.length-1),i="POP",a=r[o];h.confirmTransitionTo(a,i,e,function(t){t?y({prevIndex:n,action:i,index:o}):y()})},w=function(){return P(-1)},E=function(){return P(1)},x=function(t){var e=d.index,n=d.entries,r=e+t;return r>=0&&r<n.length},_=function(){var t=arguments.length<=0||void 0===arguments[0]?u:arguments[0];return h.setPrompt(t)},O=function(t){return h.appendListener(t)};return{getCurrentLocation:m,push:g,replace:b,go:P,goBack:w,goForward:E,canGo:x,block:_,listen:O}};e["default"]=c},function(t,e){"use strict";function n(t){var e=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+t).replace(e,function(t){return n[t]});return"$"+r}function r(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+r).replace(e,function(t){return n[t]})}var o={escape:n,unescape:r};t.exports=o},function(t,e,n){"use strict";var r=n(5),o=(n(4),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},u=function(t,e,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,t,e,n,r),i}return new o(t,e,n,r)},s=function(t,e,n,r,o){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,t,e,n,r,o),a}return new i(t,e,n,r,o)},c=function(t){var e=this;t instanceof e?void 0:r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=10,f=o,p=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||f,n.poolSize||(n.poolSize=l),n.release=c,n},d={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u,fiveArgumentPooler:s};t.exports=d},function(t,e,n){"use strict";var r=n(6),o=n(37),i=n(13),a=n(43),u=n(38),s=n(39),c=n(2),l=n(41),f=n(44),p=n(45),d=(n(1),c.createElement),h=c.createFactory,y=c.cloneElement,v=r,m={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:p},Component:i,PureComponent:a,createElement:d,cloneElement:y,isValidElement:c.isValidElement,PropTypes:l,createClass:u.createClass,createFactory:h,createMixin:function(t){return t},DOM:s,version:f,__spread:v};t.exports=m},function(t,e,n){"use strict";function r(t){return(""+t).replace(P,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function i(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function a(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);m(t,i,r),o.release(r)}function u(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function s(t,e,n){var o=t.result,i=t.keyPrefix,a=t.func,u=t.context,s=a.call(u,e,t.count++);Array.isArray(s)?c(s,o,n,v.thatReturnsArgument):null!=s&&(y.isValidElement(s)&&(s=y.cloneAndReplaceKey(s,i+(!s.key||e&&e.key===s.key?"":r(s.key)+"/")+n)),o.push(s))}function c(t,e,n,o,i){var a="";null!=n&&(a=r(n)+"/");var c=u.getPooled(e,a,o,i);m(t,s,c),u.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function f(t,e,n){return null}function p(t,e){return m(t,f,null)}function d(t){var e=[];return c(t,e,null,v.thatReturnsArgument),e}var h=n(35),y=n(2),v=n(9),m=n(46),g=h.twoArgumentPooler,b=h.fourArgumentPooler,P=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,g),u.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(u,b);var w={forEach:a,map:l,mapIntoWithKeyPrefixInternal:c,count:p,toArray:d};t.exports=w},function(t,e,n){"use strict";function r(t,e){var n=E.hasOwnProperty(e)?E[e]:null;_.hasOwnProperty(e)&&(n!==P.OVERRIDE_BASE?f("73",e):void 0),t&&(n!==P.DEFINE_MANY&&n!==P.DEFINE_MANY_MERGED?f("74",e):void 0)}function o(t,e){if(e){"function"==typeof e?f("75"):void 0,h.isValidElement(e)?f("76"):void 0;var n=t.prototype,o=n.__reactAutoBindPairs;e.hasOwnProperty(b)&&x.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==b){var a=e[i],c=n.hasOwnProperty(i);if(r(c,i),x.hasOwnProperty(i))x[i](t,a);else{var l=E.hasOwnProperty(i),p="function"==typeof a,d=p&&!l&&!c&&e.autobind!==!1;if(d)o.push(i,a),n[i]=a;else if(c){var y=E[i];!l||y!==P.DEFINE_MANY_MERGED&&y!==P.DEFINE_MANY?f("77",y,i):void 0,y===P.DEFINE_MANY_MERGED?n[i]=u(n[i],a):y===P.DEFINE_MANY&&(n[i]=s(n[i],a))}else n[i]=a}}}else;}function i(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in x;o?f("78",n):void 0;var i=n in t;i?f("79",n):void 0,t[n]=r}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?void 0:f("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?f("81",n):void 0,t[n]=e[n]);return t}function u(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return a(o,n),a(o,r),o}}function s(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=c(t,o)}}var f=n(5),p=n(6),d=n(13),h=n(2),y=(n(40),n(21),n(14)),v=n(10),m=(n(4),n(16)),g=n(29),b=(n(1),g({mixins:null})),P=m({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),w=[],E={mixins:P.DEFINE_MANY,statics:P.DEFINE_MANY,propTypes:P.DEFINE_MANY,contextTypes:P.DEFINE_MANY,childContextTypes:P.DEFINE_MANY,getDefaultProps:P.DEFINE_MANY_MERGED,getInitialState:P.DEFINE_MANY_MERGED,getChildContext:P.DEFINE_MANY_MERGED,render:P.DEFINE_ONCE,componentWillMount:P.DEFINE_MANY,componentDidMount:P.DEFINE_MANY,componentWillReceiveProps:P.DEFINE_MANY,shouldComponentUpdate:P.DEFINE_ONCE,componentWillUpdate:P.DEFINE_MANY,componentDidUpdate:P.DEFINE_MANY,componentWillUnmount:P.DEFINE_MANY,updateComponent:P.OVERRIDE_BASE},x={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)o(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=p({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=p({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=u(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=p({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},_={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},O=function(){};p(O.prototype,d.prototype,_);var T={createClass:function(t){var e=function(t,n,r){this.__reactAutoBindPairs.length&&l(this),this.props=t,this.context=n,this.refs=v,this.updater=r||y,this.state=null; | ||
var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=o};e.prototype=new O,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],w.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:f("83");for(var n in E)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){w.push(t)}}};t.exports=T},function(t,e,n){"use strict";var r=n(2),o=r.createFactory,i={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),"var":o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};t.exports=i},function(t,e,n){"use strict";var r=n(16),o=r({prop:null,context:null,childContext:null});t.exports=o},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function o(t){this.message=t,this.stack=""}function i(t){function e(e,n,r,i,a,u,s){i=i||T,u=u||r;if(null==n[r]){var c=E[a];return e?new o("Required "+c+" `"+u+"` was not specified in "+("`"+i+"`.")):null}return t(n,r,i,a,u)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function a(t){function e(e,n,r,i,a,u){var s=e[n],c=g(s);if(c!==t){var l=E[i],f=b(s);return new o("Invalid "+l+" `"+a+"` of type "+("`"+f+"` supplied to `"+r+"`, expected ")+("`"+t+"`."))}return null}return i(e)}function u(){return i(_.thatReturns(null))}function s(t){function e(e,n,r,i,a){if("function"!=typeof t)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=e[n];if(!Array.isArray(u)){var s=E[i],c=g(u);return new o("Invalid "+s+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<u.length;l++){var f=t(u,l,r,i,a+"["+l+"]",x);if(f instanceof Error)return f}return null}return i(e)}function c(){function t(t,e,n,r,i){var a=t[e];if(!w.isValidElement(a)){var u=E[r],s=g(a);return new o("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return i(t)}function l(t){function e(e,n,r,i,a){if(!(e[n]instanceof t)){var u=E[i],s=t.name||T,c=P(e[n]);return new o("Invalid "+u+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("instance of `"+s+"`."))}return null}return i(e)}function f(t){function e(e,n,i,a,u){for(var s=e[n],c=0;c<t.length;c++)if(r(s,t[c]))return null;var l=E[a],f=JSON.stringify(t);return new o("Invalid "+l+" `"+u+"` of value `"+s+"` "+("supplied to `"+i+"`, expected one of "+f+"."))}return Array.isArray(t)?i(e):_.thatReturnsNull}function p(t){function e(e,n,r,i,a){if("function"!=typeof t)return new o("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=e[n],s=g(u);if("object"!==s){var c=E[i];return new o("Invalid "+c+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an object."))}for(var l in u)if(u.hasOwnProperty(l)){var f=t(u,l,r,i,a+"."+l,x);if(f instanceof Error)return f}return null}return i(e)}function d(t){function e(e,n,r,i,a){for(var u=0;u<t.length;u++){var s=t[u];if(null==s(e,n,r,i,a,x))return null}var c=E[i];return new o("Invalid "+c+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(t)?i(e):_.thatReturnsNull}function h(){function t(t,e,n,r,i){if(!v(t[e])){var a=E[r];return new o("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return i(t)}function y(t){function e(e,n,r,i,a){var u=e[n],s=g(u);if("object"!==s){var c=E[i];return new o("Invalid "+c+" `"+a+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `object`."))}for(var l in t){var f=t[l];if(f){var p=f(u,l,r,i,a+"."+l,x);if(p)return p}}return null}return i(e)}function v(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(v);if(null===t||w.isValidElement(t))return!0;var e=O(t);if(!e)return!1;var n,r=e.call(t);if(e!==t.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function m(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function g(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":m(e,t)?"symbol":e}function b(t){var e=g(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function P(t){return t.constructor&&t.constructor.name?t.constructor.name:T}var w=n(2),E=n(21),x=n(42),_=n(9),O=n(23),T=(n(1),"<<anonymous>>"),A={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:u(),arrayOf:s,element:c(),instanceOf:l,node:h(),objectOf:p,oneOf:f,oneOfType:d,shape:y};o.prototype=Error.prototype,t.exports=A},function(t,e){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=s,this.updater=n||u}function o(){}var i=n(6),a=n(13),u=n(14),s=n(10);o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},function(t,e){"use strict";t.exports="15.3.1"},function(t,e,n){"use strict";function r(t){return i.isValidElement(t)?void 0:o("143"),t}var o=n(5),i=n(2);n(4);t.exports=r},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,i){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||u.isValidElement(t))return n(i,t,""===e?l+r(t,0):e),1;var d,h,y=0,v=""===e?l:e+f;if(Array.isArray(t))for(var m=0;m<t.length;m++)d=t[m],h=v+r(d,m),y+=o(d,h,n,i);else{var g=s(t);if(g){var b,P=g.call(t);if(g!==t.entries)for(var w=0;!(b=P.next()).done;)d=b.value,h=v+r(d,w++),y+=o(d,h,n,i);else for(;!(b=P.next()).done;){var E=b.value;E&&(d=E[1],h=v+c.escape(E[0])+f+r(d,0),y+=o(d,h,n,i))}}else if("object"===p){var x="",_=String(t);a("31","[object Object]"===_?"object with keys {"+Object.keys(t).join(", ")+"}":_,x)}}return y}function i(t,e,n){return null==t?0:o(t,"",e,n)}var a=n(5),u=(n(20),n(2)),s=n(23),c=(n(4),n(34)),l=(n(1),"."),f=":";t.exports=i}])}); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
327744
3
27
6373
24
1
- Removedinvariant@^2.2.1
- Removedwarning@^3.0.0
- Removed@babel/runtime@7.26.0(transitive)
- Removedhistory@4.10.1(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedresolve-pathname@3.0.0(transitive)
- Removedtiny-invariant@1.3.3(transitive)
- Removedtiny-warning@1.0.3(transitive)
- Removedvalue-equal@1.0.1(transitive)
- Removedwarning@3.0.0(transitive)