Socket
Socket
Sign inDemoInstall

react-router

Package Overview
Dependencies
Maintainers
2
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

CHANGES.md
## [HEAD]
## [v1.0.2]
> Dec 8, 2015
- Pinned peer dependency on History to `1.13.x` to avoid console warnings.
## [v1.0.1]

@@ -4,0 +9,0 @@ > Dec 5, 2015

4

package.json
{
"name": "react-router",
"version": "1.0.1",
"version": "1.0.2",
"description": "A complete routing library for React.js",

@@ -44,3 +44,3 @@ "files": [

"peerDependencies": {
"history": "^1.12.0"
"history": "1.13.x"
},

@@ -47,0 +47,0 @@ "devDependencies": {

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactRouter=t(require("react")):e.ReactRouter=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(27),a=r(o);t.Router=a["default"];var u=n(13),i=r(u);t.Link=i["default"];var s=n(21),c=r(s);t.IndexLink=c["default"];var f=n(22),l=r(f);t.IndexRedirect=l["default"];var p=n(23),d=r(p);t.IndexRoute=d["default"];var h=n(14),y=r(h);t.Redirect=y["default"];var v=n(25),m=r(v);t.Route=m["default"];var g=n(20),b=r(g);t.History=b["default"];var O=n(24),_=r(O);t.Lifecycle=_["default"];var x=n(26),P=r(x);t.RouteContext=P["default"];var w=n(9),j=r(w);t.useRoutes=j["default"];var R=n(4);t.createRoutes=R.createRoutes;var E=n(15),T=r(E);t.RoutingContext=T["default"];var A=n(5),S=r(A);t.PropTypes=S["default"];var M=n(33),C=r(M);t.match=C["default"];var k=r(o);t["default"]=k["default"]},function(t,n){t.exports=e},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,u,i){if(!e){var s;if(void 0===t)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,a,u,i],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return null==e||d["default"].isValidElement(e)}function a(e){return o(e)||Array.isArray(e)&&e.every(o)}function u(e,t,n){e=e||"UnknownComponent";for(var r in t)if(t.hasOwnProperty(r)){var o=t[r](n,r,e);o instanceof Error}}function i(e,t){return l({},e,t)}function s(e){var t=e.type,n=i(t.defaultProps,e.props);if(t.propTypes&&u(t.displayName||t.name,t.propTypes,n),n.children){var r=c(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function c(e,t){var n=[];return d["default"].Children.forEach(e,function(e){if(d["default"].isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function f(e){return a(e)?e=c(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=a,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=c,t.createRoutes=f;var p=n(1),d=r(p),h=n(3);r(h)},function(e,t,n){"use strict";function r(e,t,n){return e[t]?new Error("<"+n+'> should not have a "'+t+'" prop'):void 0}t.__esModule=!0,t.falsy=r;var o=n(1),a=o.PropTypes.func,u=o.PropTypes.object,i=o.PropTypes.arrayOf,s=o.PropTypes.oneOfType,c=o.PropTypes.element,f=o.PropTypes.shape,l=o.PropTypes.string,p=f({listen:a.isRequired,pushState:a.isRequired,replaceState:a.isRequired,go:a.isRequired});t.history=p;var d=f({pathname:l.isRequired,search:l.isRequired,state:u,action:l.isRequired,key:l});t.location=d;var h=s([a,l]);t.component=h;var y=s([h,u]);t.components=y;var v=s([u,c]);t.route=v;var m=s([v,i(v)]);t.routes=m,t["default"]={falsy:r,history:p,location:d,component:h,components:y,route:v}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e){return o(e).replace(/\/+/g,"/+")}function u(e){for(var t="",n=[],r=[],o=void 0,u=0,i=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;o=i.exec(e);)o.index!==u&&(r.push(e.slice(u,o.index)),t+=a(e.slice(u,o.index))),o[1]?(t+="([^/?#]+)",n.push(o[1])):"**"===o[0]?(t+="([\\s\\S]*)",n.push("splat")):"*"===o[0]?(t+="([\\s\\S]*?)",n.push("splat")):"("===o[0]?t+="(?:":")"===o[0]&&(t+=")?"),r.push(o[0]),u=i.lastIndex;return u!==e.length&&(r.push(e.slice(u,e.length)),t+=a(e.slice(u,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function i(e){return e in h||(h[e]=u(e)),h[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e),"/"!==t.charAt(0)&&(t="/"+t);var n=i(e),r=n.regexpSource,o=n.paramNames,a=n.tokens;r+="/*";var u="*"!==a[a.length-1];u&&(r+="([\\s\\S]*?)");var s=t.match(new RegExp("^"+r+"$","i")),c=void 0,f=void 0;if(null!=s){if(u){c=s.pop();var l=s[0].substr(0,s[0].length-c.length);if(c&&"/"!==l.charAt(l.length-1))return{remainingPathname:null,paramNames:o,paramValues:null}}else c="";f=s.slice(1).map(function(e){return null!=e?decodeURIComponent(e):e})}else c=f=null;return{remainingPathname:c,paramNames:o,paramValues:f}}function c(e){return i(e).paramNames}function f(e,t){var n=s(e,t),r=n.paramNames,o=n.paramValues;return null!=o?r.reduce(function(e,t,n){return e[t]=o[n],e},{}):null}function l(e,t){t=t||{};for(var n=i(e),r=n.tokens,o=0,a="",u=0,s=void 0,c=void 0,f=void 0,l=0,p=r.length;p>l;++l)s=r[l],"*"===s||"**"===s?(f=Array.isArray(t.splat)?t.splat[u++]:t.splat,null!=f||o>0?void 0:d["default"](!1),null!=f&&(a+=encodeURI(f))):"("===s?o+=1:")"===s?o-=1:":"===s.charAt(0)?(c=s.substring(1),f=t[c],null!=f||o>0?void 0:d["default"](!1),null!=f&&(a+=encodeURIComponent(f))):a+=s;return a.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=i,t.matchPattern=s,t.getParamNames=c,t.getParams=f,t.formatPattern=l;var p=n(2),d=r(p),h={}},function(e,t){"use strict";t.__esModule=!0;var n="PUSH";t.PUSH=n;var r="REPLACE";t.REPLACE=r;var o="POP";t.POP=o,t["default"]={PUSH:n,REPLACE:r,POP:o}},function(e,t){"use strict";function n(e,t,n){function r(){u=!0,n.apply(this,arguments)}function o(){u||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,u=!1;o()}function r(e,t,n){function r(e,t,r){u||(t?(u=!0,n(t)):(a[e]=r,u=++i===o,u&&n(null,a)))}var o=e.length,a=[];if(0===o)return n(null,a);var u=!1,i=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function u(e){return function(){function t(e,t){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2];return v["default"](e,t,n,j.location,j.routes,j.params)}function n(e){var t=e.pathname,n=e.query,r=e.state;return w.createLocation(w.createPath(t,n),r,c.REPLACE)}function r(e,t){R&&R.location===e?u(R,t):O["default"](x,e,function(n,r){n?t(n):r?u(i({},r,{location:e}),t):t()})}function u(e,t){var r=d["default"](j,e),o=r.leaveRoutes,a=r.enterRoutes;h.runLeaveHooks(o),h.runEnterHooks(a,e,function(r,o){r?t(r):o?t(null,n(o)):g["default"](e,function(n,r){n?t(n):t(null,null,j=i({},e,{components:r}))})})}function s(e){return e.__id__||(e.__id__=E++)}function f(e){return e.reduce(function(e,t){return e.push.apply(e,T[s(t)]),e},[])}function p(e,t){O["default"](x,e,function(n,r){if(null==r)return void t();R=i({},r,{location:e});for(var o=f(d["default"](j,R).leaveRoutes),a=void 0,u=0,s=o.length;null==a&&s>u;++u)a=o[u](e);t(a)})}function y(){if(j.routes){for(var e=f(j.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&r>n;++n)t=e[n]();return t}}function m(e,t){var n=s(e),r=T[n];if(null==r){var o=!a(T);r=T[n]=[t],o&&(A=w.listenBefore(p),w.listenBeforeUnload&&(S=w.listenBeforeUnload(y)))}else-1===r.indexOf(t)&&r.push(t);return function(){var e=T[n];if(null!=e){var r=e.filter(function(e){return e!==t});0===r.length?(delete T[n],a(T)||(A&&(A(),A=null),S&&(S(),S=null))):T[n]=r}}}function b(e){return w.listen(function(t){j.location===t?e(null,j):r(t,function(t,n,r){t?e(t):n?w.transitionTo(n):r&&e(null,r)})})}var _=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],x=_.routes,P=o(_,["routes"]),w=l["default"](e)(P),j={},R=void 0,E=1,T={},A=void 0,S=void 0;return i({},w,{isActive:t,match:r,listenBeforeLeavingRoute:m,listen:b})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(3),c=(r(s),n(7)),f=n(43),l=r(f),p=n(29),d=r(p),h=n(28),y=n(32),v=r(y),m=n(30),g=r(m),b=n(34),O=r(b);t["default"]=u,e.exports=t["default"]},function(e,t){"use strict";t.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=i["default"](e),n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substring(o),t=t.substring(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}}t.__esModule=!0;var a=n(3),u=(r(a),n(18)),i=r(u);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){var r=e(t,n);e.length<2&&n(r)}t.__esModule=!0;var a=n(3);r(a);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return 0===e.button}function s(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function c(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),p=r(l),d=p["default"].PropTypes,h=d.bool,y=d.object,v=d.string,m=d.func,g=function(e){function t(){a(this,t),e.apply(this,arguments)}return u(t,e),t.prototype.handleClick=function(e){var t=!0;if(this.props.onClick&&this.props.onClick(e),!s(e)&&i(e)){if(e.defaultPrevented===!0&&(t=!1),this.props.target)return void(t||e.preventDefault());if(e.preventDefault(),t){var n=this.props,r=n.state,o=n.to,a=n.query,u=n.hash;u&&(o+=u),this.context.history.pushState(r,o,a)}}},t.prototype.render=function(){var e=this,t=this.props,n=t.to,r=t.query,a=t.hash,u=(t.state,t.activeClassName),i=t.activeStyle,s=t.onlyActiveOnIndex,l=o(t,["to","query","hash","state","activeClassName","activeStyle","onlyActiveOnIndex"]);l.onClick=function(t){return e.handleClick(t)};var d=this.context.history;return d&&(l.href=d.createHref(n,r),a&&(l.href+=a),(u||null!=i&&!c(i))&&d.isActive(n,r,s)&&(u&&(l.className+=""===l.className?u:" "+u),i&&(l.style=f({},l.style,i)))),p["default"].createElement("a",l)},t}(l.Component);g.contextTypes={history:y},g.propTypes={to:v.isRequired,query:y,hash:v,state:y,activeStyle:y,activeClassName:v,onlyActiveOnIndex:h.isRequired,onClick:m},g.defaultProps={onlyActiveOnIndex:!1,className:"",style:{}},t["default"]=g,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(2),i=r(u),s=n(1),c=r(s),f=n(4),l=n(6),p=n(5),d=c["default"].PropTypes,h=d.string,y=d.object,v=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){i["default"](!1)},t}(s.Component);v.createRouteFromReactElement=function(e){var t=f.createRouteFromReactElement(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,a=void 0;if("/"===t.to.charAt(0))a=l.formatPattern(t.to,o);else if(t.to){var u=e.routes.indexOf(t),i=v.getRoutePattern(e.routes,u-1),s=i.replace(/\/*$/,"/")+t.to;a=l.formatPattern(s,o)}else a=r.pathname;n(t.state||r.state,a,t.query||r.query)},t},v.getRoutePattern=function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],a=o.path||"";if(n=a.replace(/\/*$/,"/")+n,0===a.indexOf("/"))break}return"/"+n},v.propTypes={path:h,from:h,to:h.isRequired,query:y,state:y,onEnter:p.falsy,children:p.falsy},t["default"]=v,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(2),s=r(i),c=n(1),f=r(c),l=n(4),p=n(31),d=r(p),h=f["default"].PropTypes,y=h.array,v=h.func,m=h.object,g=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.history,n=e.location;return{history:t,location:n}},t.prototype.createElement=function(e,t){return null==e?null:this.props.createElement(e,t)},t.prototype.render=function(){var e=this,t=this.props,n=t.history,r=t.location,o=t.routes,a=t.params,i=t.components,c=null;return i&&(c=i.reduceRight(function(t,i,s){if(null==i)return t;var c=o[s],f=d["default"](c,a),p={history:n,location:r,params:a,route:c,routeParams:f,routes:o};if(l.isReactChildren(t))p.children=t;else if(t)for(var h in t)t.hasOwnProperty(h)&&(p[h]=t[h]);if("object"==typeof i){var y={};for(var v in i)i.hasOwnProperty(v)&&(y[v]=e.createElement(i[v],u({key:v},p)));return y}return e.createElement(i,p)},c)),null===c||c===!1||f["default"].isValidElement(c)?void 0:s["default"](!1),c},t}(c.Component);g.propTypes={history:m.isRequired,createElement:v.isRequired,location:m.isRequired,routes:y.isRequired,params:m.isRequired,components:y.isRequired},g.defaultProps={createElement:f["default"].createElement},g.childContextTypes={history:m.isRequired,location:m.isRequired},t["default"]=g,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function r(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function u(){return window.location.pathname+window.location.search+window.location.hash}function i(e){e&&window.history.go(e)}function s(e,t){t(window.confirm(e))}function c(){var e=navigator.userAgent;return-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")?window.history&&"pushState"in window.history:!1}function f(){var e=navigator.userAgent;return-1===e.indexOf("Firefox")}t.__esModule=!0,t.addEventListener=n,t.removeEventListener=r,t.getHashPath=o,t.replaceHashPath=a,t.getWindowPath=u,t.go=i,t.getUserConfirmation=s,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Math.random().toString(36).substr(2,e)}function a(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&c["default"](e.state,t.state)}function u(){function e(e){return q.push(e),function(){q=q.filter(function(t){return t!==e})}}function t(){return I&&I.action===l.POP?N.indexOf(I.key):B?N.indexOf(B.key):-1}function n(e){var n=t();B=e,B.action===l.PUSH?N=[].concat(N.slice(0,n+1),[B.key]):B.action===l.REPLACE&&(N[n]=B.key),U.forEach(function(e){e(B)})}function r(e){if(U.push(e),B)e(B);else{var t=S();N=[t.key],n(t)}return function(){U=U.filter(function(t){return t!==e})}}function u(e,t){f.loopAsync(q.length,function(t,n,r){y["default"](q[t],e,function(e){null!=e?r(e):n()})},function(e){H&&"string"==typeof e?H(e,function(e){t(e!==!1)}):t(e!==!1)})}function s(e){B&&a(B,e)||(I=e,u(e,function(t){if(I===e)if(t){if(e.action===l.PUSH){var r=S(),o=r.pathname,a=r.search,u=o+a,i=e.pathname+e.search;u===i&&(e.action=l.REPLACE)}M(e)!==!1&&n(e)}else if(B&&e.action===l.POP){var s=N.indexOf(B.key),c=N.indexOf(e.key);-1!==s&&-1!==c&&k(s-c)}}))}function c(e,t){s(w(t,e,l.PUSH,_()))}function p(e){c(null,e)}function h(e,t){s(w(t,e,l.REPLACE,_()))}function v(e){h(null,e)}function b(){k(-1)}function O(){k(1)}function _(){return o(L)}function x(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,o=t;return n&&(o+=n),r&&(o+=r),o}function P(e){return x(e)}function w(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?_():arguments[3];return d["default"](e,t,n,r)}function j(e){B?(R(B,e),n(B)):R(S(),e)}function R(e,t){e.state=i({},e.state,t),C(e.key,e.state)}function E(e){-1===q.indexOf(e)&&q.push(e)}function T(e){q=q.filter(function(t){return t!==e})}var A=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],S=A.getCurrentLocation,M=A.finishTransition,C=A.saveState,k=A.go,L=A.keyLength,H=A.getUserConfirmation;"number"!=typeof L&&(L=g);var q=[],N=[],U=[],B=void 0,I=void 0;return{listenBefore:e,listen:r,transitionTo:s,pushState:c,replaceState:h,push:p,replace:v,go:k,goBack:b,goForward:O,createKey:_,createPath:x,createHref:P,createLocation:w,setState:m["default"](j,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:m["default"](E,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:m["default"](T,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead")}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(44),c=r(s),f=n(35),l=n(7),p=n(39),d=r(p),h=n(12),y=r(h),v=n(41),m=r(v),g=6;t["default"]=u,e.exports=t["default"]},function(e,t){"use strict";function n(e){var t=e.match(/^https?:\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){var n={};n.hexTable=new Array(256);for(var r=0;256>r;++r)n.hexTable[r]="%"+((16>r?"0":"")+r.toString(16)).toUpperCase();t.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,o=e.length;o>r;++r)"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},t.merge=function(e,n,r){if(!n)return e;if("object"!=typeof n)return Array.isArray(e)?e.push(n):"object"==typeof e?e[n]=!0:e=[e,n],e;if("object"!=typeof e)return e=[e].concat(n);Array.isArray(e)&&!Array.isArray(n)&&(e=t.arrayToObject(e,r));for(var o=Object.keys(n),a=0,u=o.length;u>a;++a){var i=o[a],s=n[i];Object.prototype.hasOwnProperty.call(e,i)?e[i]=t.merge(e[i],s,r):e[i]=s}return e},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;"string"!=typeof e&&(e=""+e);for(var t="",r=0,o=e.length;o>r;++r){var a=e.charCodeAt(r);45===a||46===a||95===a||126===a||a>=48&&57>=a||a>=65&&90>=a||a>=97&&122>=a?t+=e[r]:128>a?t+=n.hexTable[a]:2048>a?t+=n.hexTable[192|a>>6]+n.hexTable[128|63&a]:55296>a||a>=57344?t+=n.hexTable[224|a>>12]+n.hexTable[128|a>>6&63]+n.hexTable[128|63&a]:(++r,a=65536+((1023&a)<<10|1023&e.charCodeAt(r)),t+=n.hexTable[240|a>>18]+n.hexTable[128|a>>12&63]+n.hexTable[128|a>>6&63]+n.hexTable[128|63&a])}return t},t.compact=function(e,n){if("object"!=typeof e||null===e)return e;n=n||[];var r=n.indexOf(e);if(-1!==r)return n[r];if(n.push(e),Array.isArray(e)){for(var o=[],a=0,u=e.length;u>a;++a)"undefined"!=typeof e[a]&&o.push(e[a]);return o}var i=Object.keys(e);for(a=0,u=i.length;u>a;++a){var s=i[a];e[s]=t.compact(e[s],n)}return e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null===e||"undefined"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(5),o={contextTypes:{history:r.history},componentWillMount:function(){this.history=this.context.history}};t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),s=r(i),c=n(13),f=r(c),l=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){return s["default"].createElement(f["default"],u({},this.props,{onlyActiveOnIndex:!0}))},t}(i.Component);t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(3),i=(r(u),n(2)),s=r(i),c=n(1),f=r(c),l=n(14),p=r(l),d=n(5),h=f["default"].PropTypes,y=h.string,v=h.object,m=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){s["default"](!1)},t}(c.Component);m.propTypes={to:y.isRequired,query:v,state:v,onEnter:d.falsy,children:d.falsy},m.createRouteFromReactElement=function(e,t){t&&(t.indexRoute=p["default"].createRouteFromReactElement(e))},t["default"]=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(3),i=(r(u),n(2)),s=r(i),c=n(1),f=r(c),l=n(4),p=n(5),d=f["default"].PropTypes.func,h=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){s["default"](!1)},t}(c.Component);h.propTypes={path:p.falsy,component:p.component,components:p.components,getComponent:d,getComponents:d},h.createRouteFromReactElement=function(e,t){t&&(t.indexRoute=l.createRouteFromReactElement(e))},t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),a=r(o),u=n(2),i=r(u),s=a["default"].PropTypes.object,c={contextTypes:{history:s.isRequired,route:s},propTypes:{route:s},componentDidMount:function(){this.routerWillLeave?void 0:i["default"](!1);var e=this.props.route||this.context.route;e?void 0:i["default"](!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(2),i=r(u),s=n(1),c=r(s),f=n(4),l=n(5),p=c["default"].PropTypes,d=p.string,h=p.func,y=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){i["default"](!1)},t}(s.Component);y.createRouteFromReactElement=f.createRouteFromReactElement,y.propTypes={path:d,component:l.component,components:l.components,getComponent:h,getComponents:h},t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),a=r(o),u=a["default"].PropTypes.object,i={propTypes:{route:u.isRequired},childContextTypes:{route:u.isRequired},getChildContext:function(){return{route:this.props.route}}};t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(3),c=(r(s),n(1)),f=r(c),l=n(38),p=r(l),d=n(4),h=n(15),y=r(h),v=n(9),m=r(v),g=n(5),b=f["default"].PropTypes,O=b.func,_=b.object,x=function(e){function t(n,r){a(this,t),e.call(this,n,r),this.state={location:null,routes:null,params:null,components:null}}return u(t,e),t.prototype.handleError=function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.history,r=t.children,o=t.routes,a=t.parseQueryString,u=t.stringifyQuery,i=n?function(){return n}:p["default"];this.history=m["default"](i)({routes:d.createRoutes(o||r),parseQueryString:a,stringifyQuery:u}),this._unlisten=this.history.listen(function(t,n){t?e.handleError(t):e.setState(n,e.props.onUpdate)})},t.prototype.componentWillReceiveProps=function(e){},t.prototype.componentWillUnmount=function(){this._unlisten&&this._unlisten()},t.prototype.render=function(){var e=this.state,n=e.location,r=e.routes,a=e.params,u=e.components,s=this.props,c=s.RoutingContext,l=s.createElement,p=o(s,["RoutingContext","createElement"]);return null==n?null:(Object.keys(t.propTypes).forEach(function(e){return delete p[e]}),f["default"].createElement(c,i({},p,{history:this.history,createElement:l,location:n,routes:r,params:a,components:u})))},t}(c.Component);x.propTypes={history:_,children:g.routes,routes:g.routes,RoutingContext:O.isRequired,createElement:O,onError:O,onUpdate:O,parseQueryString:O,stringifyQuery:O},x.defaultProps={RoutingContext:y["default"]},t["default"]=x,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){return function(n,r,o){e.apply(t,arguments),e.length<3&&o()}}function o(e){return e.reduce(function(e,t){return t.onEnter&&e.push(r(t.onEnter,t)),e},[])}function a(e,t,n){function r(e,t,n){u={pathname:t,query:n,state:e}}var a=o(e);if(!a.length)return void n();var u=void 0;i.loopAsync(a.length,function(e,n,o){a[e](t,r,function(e){e||u?o(e,u):n()})},n)}function u(e){for(var t=0,n=e.length;n>t;++t)e[t].onLeave&&e[t].onLeave.call(e[t])}t.__esModule=!0,t.runEnterHooks=a,t.runLeaveHooks=u;var i=n(8)},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=a.getParamNames(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,a=void 0,u=void 0;return n?(a=n.filter(function(n){return-1===o.indexOf(n)||r(n,e,t)}),a.reverse(),u=o.filter(function(e){return-1===n.indexOf(e)||-1!==a.indexOf(e)})):(a=[],u=o),{leaveRoutes:a,enterRoutes:u}}t.__esModule=!0;var a=n(6);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){t.component||t.components?n(null,t.component||t.components):t.getComponent?t.getComponent(e,n):t.getComponents?t.getComponents(e,n):n()}function o(e,t){a.mapAsync(e.routes,function(t,n,o){r(e.location,t,o)},t)}t.__esModule=!0;var a=n(8);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n={};if(!e.path)return n;var r=o.getParamNames(e.path);for(var a in t)t.hasOwnProperty(a)&&-1!==r.indexOf(a)&&(n[a]=t[a]);return n}t.__esModule=!0;var o=n(6);t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"==typeof e){for(var n in e)if(e.hasOwnProperty(n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!t.hasOwnProperty(n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t,n){return e.every(function(e,r){return String(t[r])===String(n[e])})}function a(e,t,n){for(var r=e,a=[],u=[],i=0,s=t.length;s>i;++i){var f=t[i],l=f.path||"";if("/"===l.charAt(0)&&(r=e,a=[],u=[]),null!==r){var p=c.matchPattern(l,r);r=p.remainingPathname,a=[].concat(a,p.paramNames),u=[].concat(u,p.paramValues)}if(""===r&&f.path&&o(a,u,n))return i}return null}function u(e,t,n,r){var o=a(e,t,n);return null===o?!1:r?t.slice(o+1).every(function(e){return!e.path}):!0}function i(e,t){return null==t?null==e:null==e?!0:r(e,t)}function s(e,t,n,r,o,a){return null==r?!1:u(e,o,a,n)?i(t,r.query):!1}t.__esModule=!0;var c=n(6);t["default"]=s,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=e.routes,r=e.location,o=e.parseQueryString,u=e.stringifyQuery,s=e.basename;r?void 0:i["default"](!1);var c=y({routes:p.createRoutes(n),parseQueryString:o,stringifyQuery:u,basename:s});"string"==typeof r&&(r=c.createLocation(r)),c.match(r,function(e,n,r){t(e,n,r&&a({},r,{history:c}))})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(2),i=r(u),s=n(40),c=r(s),f=n(42),l=r(f),p=n(4),d=n(9),h=r(d),y=h["default"](l["default"](c["default"]));t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){e.childRoutes?n(null,e.childRoutes):e.getChildRoutes?e.getChildRoutes(t,function(e,t){n(e,!e&&d.createRoutes(t))}):n()}function a(e,t,n){e.indexRoute?n(null,e.indexRoute):e.getIndexRoute?e.getIndexRoute(t,function(e,t){n(e,!e&&d.createRoutes(t)[0])}):e.childRoutes?!function(){var r=e.childRoutes.filter(function(e){return!e.hasOwnProperty("path")});l.loopAsync(r.length,function(e,n,o){
a(r[e],t,function(t,a){if(t||a){var u=[r[e]].concat(Array.isArray(a)?a:[a]);o(t,u)}else n()})},function(e,t){n(null,t)})}():n()}function u(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function i(e,t){return u({},e,t)}function s(e,t,n,r,u,s){var f=e.path||"";if("/"===f.charAt(0)&&(n=t.pathname,r=[],u=[]),null!==n){var l=p.matchPattern(f,n);if(n=l.remainingPathname,r=[].concat(r,l.paramNames),u=[].concat(u,l.paramValues),""===n&&e.path){var d=function(){var n={routes:[e],params:i(r,u)};return a(e,t,function(e,t){if(e)s(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);s(null,n)}}),{v:void 0}}();if("object"==typeof d)return d.v}}null!=n||e.childRoutes?o(e,t,function(o,a){o?s(o):a?c(a,t,function(t,n){t?s(t):n?(n.routes.unshift(e),s(null,n)):s()},n,r,u):s()}):s()}function c(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?t.pathname:arguments[3],o=arguments.length<=4||void 0===arguments[4]?[]:arguments[4],a=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];return function(){l.loopAsync(e.length,function(n,u,i){s(e[n],t,r,o,a,function(e,t){e||t?i(e,t):u()})},n)}()}t.__esModule=!0;var f=n(3),l=(r(f),n(8)),p=n(6),d=n(4);t["default"]=c,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){u=!0,n.apply(this,arguments)}function o(){u||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,u=!1;o()}t.__esModule=!0,t.loopAsync=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return s+e}function a(e,t){try{window.sessionStorage.setItem(o(e),JSON.stringify(t))}catch(n){if(n.name===f)return;if(n.name===c&&0===window.sessionStorage.length)return;throw n}}function u(e){var t=void 0;try{t=window.sessionStorage.getItem(o(e))}catch(n){if(n.name===f)return null}if(t)try{return JSON.parse(t)}catch(n){}return null}t.__esModule=!0,t.saveState=a,t.readState=u;var i=n(3),s=(r(i),"@@History/"),c="QuotaExceededError",f="SecurityError"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return s.canUseDOM?void 0:i["default"](!1),n.listen(e)}var n=l["default"](a({getUserConfirmation:c.getUserConfirmation},e,{go:c.go}));return a({},n,{listen:t})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(2),i=r(u),s=n(10),c=n(16),f=n(17),l=r(f);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return"string"==typeof e&&"/"===e.charAt(0)}function a(){var e=v.getHashPath();return o(e)?!0:(v.replaceHashPath("/"+e),!1)}function u(e,t,n){return e+(-1===e.indexOf("?")?"?":"&")+(t+"="+n)}function i(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function s(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function c(){function e(){var e=v.getHashPath(),t=void 0,n=void 0;return w?(t=s(e,w),e=i(e,w),t?n=m.readState(t):(n=null,t=j.createKey(),v.replaceHashPath(u(e,w,t)))):t=n=null,j.createLocation(e,n,void 0,t)}function t(t){function n(){a()&&r(e())}var r=t.transitionTo;return a(),v.addEventListener(window,"hashchange",n),function(){v.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,o=e.state,a=e.action,i=e.key;if(a!==h.POP){var s=(t||"")+n+r;w?(s=u(s,w,i),m.saveState(i,o)):e.key=e.state=null;var c=v.getHashPath();a===h.PUSH?c!==s&&(window.location.hash=s):c!==s&&v.replaceHashPath(s)}}function r(e){1===++R&&(E=t(j));var n=j.listenBefore(e);return function(){n(),0===--R&&E()}}function o(e){1===++R&&(E=t(j));var n=j.listen(e);return function(){n(),0===--R&&E()}}function c(e,t){j.pushState(e,t)}function l(e,t){j.replaceState(e,t)}function p(e){j.go(e)}function g(e){return"#"+j.createHref(e)}function _(e){1===++R&&(E=t(j)),j.registerTransitionHook(e)}function x(e){j.unregisterTransitionHook(e),0===--R&&E()}var P=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];y.canUseDOM?void 0:d["default"](!1);var w=P.queryKey;(void 0===w||w)&&(w="string"==typeof w?w:O);var j=b["default"](f({},P,{getCurrentLocation:e,finishTransition:n,saveState:m.saveState})),R=0,E=void 0;v.supportsGoWithoutReloadUsingHash();return f({},j,{listenBefore:r,listen:o,pushState:c,replaceState:l,go:p,createHref:g,registerTransitionHook:_,unregisterTransitionHook:x})}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(3),p=(r(l),n(2)),d=r(p),h=n(7),y=n(10),v=n(16),m=n(36),g=n(37),b=r(g),O="_k";t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=arguments.length<=2||void 0===arguments[2]?a.POP:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=i["default"](e));var o=e.pathname||"/",u=e.search||"",s=e.hash||"";return{pathname:o,search:u,hash:s,state:t,action:n,key:r}}t.__esModule=!0;var a=n(7),u=n(11),i=r(u);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function a(){function e(e,t){v[e]=t}function t(e){return v[e]}function n(){var e=h[y],n=e.key,r=e.basename,o=e.pathname,a=e.search,u=(r||"")+o+(a||""),i=void 0;return n?i=t(n):(i=null,n=p.createKey(),e.key=n),p.createLocation(u,i,void 0,n)}function r(e){var t=y+e;return t>=0&&t<h.length}function a(e){if(e){r(e)?void 0:s["default"](!1),y+=e;var t=n();p.transitionTo(u({},t,{action:c.POP}))}}function i(t){switch(t.action){case c.PUSH:y+=1,y<h.length&&h.splice(y),h.push(t),e(t.key,t.state);break;case c.REPLACE:h[y]=t,e(t.key,t.state)}}var f=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(f)?f={entries:f}:"string"==typeof f&&(f={entries:[f]});var p=l["default"](u({},f,{getCurrentLocation:n,finishTransition:i,saveState:e,go:a})),d=f,h=d.entries,y=d.current;"string"==typeof h?h=[h]:Array.isArray(h)||(h=["/"]),h=h.map(function(e){var t=p.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?u({},e,{key:t}):void s["default"](!1)}),null==y?y=h.length-1:y>=0&&y<h.length?void 0:s["default"](!1);var v=o(h);return p}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(2),s=r(i),c=n(7),f=n(17),l=r(f);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var a=n(3);r(a);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return function(){function t(e){return b&&null==e.basename&&(0===e.pathname.indexOf(b)?(e.pathname=e.pathname.substring(b.length),e.basename=b,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function n(e){if(!b)return e;"string"==typeof e&&(e=d["default"](e));var t=e.pathname,n="/"===b.slice(-1)?b:b+"/",r="/"===t.charAt(0)?t.slice(1):t,o=n+r;return u({},e,{pathname:o})}function r(e){return _.listenBefore(function(n,r){c["default"](e,t(n),r)})}function a(e){return _.listen(function(n){e(t(n))})}function s(e,t){_.pushState(e,n(t))}function f(e){s(null,e)}function p(e,t){_.replaceState(e,n(t))}function h(e){p(null,e)}function y(e){return _.createPath(n(e))}function v(e){return _.createHref(n(e))}function m(){return t(_.createLocation.apply(_,arguments))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],b=g.basename,O=o(g,["basename"]),_=e(O);if(null==b&&i.canUseDOM){var x=document.getElementsByTagName("base")[0];x&&(b=l["default"](x.href))}return u({},_,{listenBefore:r,listen:a,pushState:s,push:f,replaceState:p,replace:h,createPath:y,createHref:v,createLocation:m})}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(10),s=n(12),c=r(s),f=n(18),l=r(f),p=n(11),d=r(p);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return f["default"].stringify(e,{arrayFormat:"brackets"}).replace(/%20/g,"+")}function u(e){return f["default"].parse(e.replace(/\+/g,"%20"))}function i(e){return function(){function t(e){return null==e.query&&(e.query=g(e.search.substring(1))),e}function n(e,t){var n=void 0;if(!t||""===(n=m(t)))return e;"string"==typeof e&&(e=h["default"](e));var r=e.search+(e.search?"&":"?")+n;return s({},e,{search:r})}function r(e){return O.listenBefore(function(n,r){p["default"](e,t(n),r)})}function i(e){return O.listen(function(n){e(t(n))})}function c(e,t,r){return O.pushState(e,n(t,r))}function f(e,t,r){return O.replaceState(e,n(t,r))}function l(e,t){return O.createPath(n(e,t))}function d(e,t){return O.createHref(n(e,t))}function y(){return t(O.createLocation.apply(O,arguments))}var v=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],m=v.stringifyQuery,g=v.parseQueryString,b=o(v,["stringifyQuery","parseQueryString"]),O=e(b);return"function"!=typeof m&&(m=a),"function"!=typeof g&&(g=u),s({},O,{listenBefore:r,listen:i,pushState:c,replaceState:f,createPath:l,createHref:d,createLocation:y})}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(47),f=r(c),l=n(12),p=r(l),d=n(11),h=r(d);t["default"]=i,e.exports=t["default"]},function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length?"function"!=typeof e.copy||"function"!=typeof e.slice?!1:e.length>0&&"number"!=typeof e[0]?!1:!0:!1}function a(e,t,n){var a,f;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return s(t)?(e=u.call(e),t=u.call(t),c(e,t,n)):!1;if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}try{var l=i(e),p=i(t)}catch(d){return!1}if(l.length!=p.length)return!1;for(l.sort(),p.sort(),a=l.length-1;a>=0;a--)if(l[a]!=p[a])return!1;for(a=l.length-1;a>=0;a--)if(f=l[a],!c(e[f],t[f],n))return!1;return typeof e==typeof t}var u=Array.prototype.slice,i=n(46),s=n(45),c=e.exports=function(e,t,n){return n||(n={}),e===t?!0:e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:a(e,t,n)}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t,n){var r=n(49),o=n(48);e.exports={stringify:r,parse:o}},function(e,t,n){var r=n(19),o={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};o.parseValues=function(e,t){for(var n={},o=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=0,u=o.length;u>a;++a){var i=o[a],s=-1===i.indexOf("]=")?i.indexOf("="):i.indexOf("]=")+1;if(-1===s)n[r.decode(i)]="",t.strictNullHandling&&(n[r.decode(i)]=null);else{var c=r.decode(i.slice(0,s)),f=r.decode(i.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(f):n[c]=f}}return n},o.parseObject=function(e,t,n){if(!e.length)return t;var r,a=e.shift();if("[]"===a)r=[],r=r.concat(o.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var u="["===a[0]&&"]"===a[a.length-1]?a.slice(1,a.length-1):a,i=parseInt(u,10),s=""+i;!isNaN(i)&&a!==u&&s===u&&i>=0&&n.parseArrays&&i<=n.arrayLimit?(r=[],r[i]=o.parseObject(e,t,n)):r[u]=o.parseObject(e,t,n)}return r},o.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\.([^\.\[]+)/g,"[$1]"));var r=/^([^\[\]]*)/,a=/(\[[^\[\]]*\])/g,u=r.exec(e),i=[];if(u[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(u[1])&&!n.allowPrototypes)return;i.push(u[1])}for(var s=0;null!==(u=a.exec(e))&&s<n.depth;)++s,(n.plainObjects||!Object.prototype.hasOwnProperty(u[1].replace(/\[|\]/g,""))||n.allowPrototypes)&&i.push(u[1]);return u&&i.push("["+e.slice(u.index)+"]"),o.parseObject(i,t,n)}},e.exports=function(e,t){if(t=t||{},t.delimiter="string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:o.delimiter,t.depth="number"==typeof t.depth?t.depth:o.depth,t.arrayLimit="number"==typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects="boolean"==typeof t.plainObjects?t.plainObjects:o.plainObjects,t.allowPrototypes="boolean"==typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,t.parameterLimit="number"==typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,t.strictNullHandling="boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"==typeof e)return t.plainObjects?Object.create(null):{};for(var n="string"==typeof e?o.parseValues(e,t):e,a=t.plainObjects?Object.create(null):{},u=Object.keys(n),i=0,s=u.length;s>i;++i){var c=u[i],f=o.parseKeys(c,n[c],t);a=r.merge(a,f,t)}return r.compact(a)}},function(e,t,n){var r=n(19),o={delimiter:"&",arrayPrefixGenerators:{brackets:function(e,t){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e,t){return e}},strictNullHandling:!1};o.stringify=function(e,t,n,a,u){if("function"==typeof u)e=u(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(a)return r.encode(t);e=""}if("string"==typeof e||"number"==typeof e||"boolean"==typeof e)return[r.encode(t)+"="+r.encode(e)];var i=[];if("undefined"==typeof e)return i;for(var s=Array.isArray(u)?u:Object.keys(e),c=0,f=s.length;f>c;++c){var l=s[c];i=Array.isArray(e)?i.concat(o.stringify(e[l],n(t,l),n,a,u)):i.concat(o.stringify(e[l],t+"["+l+"]",n,a,u))}return i},e.exports=function(e,t){t=t||{};var n,r,a="undefined"==typeof t.delimiter?o.delimiter:t.delimiter,u="boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling;"function"==typeof t.filter?(r=t.filter,e=r("",e)):Array.isArray(t.filter)&&(n=r=t.filter);var i=[];if("object"!=typeof e||null===e)return"";var s;s=t.arrayFormat in o.arrayPrefixGenerators?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":"indices";var c=o.arrayPrefixGenerators[s];n||(n=Object.keys(e));for(var f=0,l=n.length;l>f;++f){var p=n[f];i=i.concat(o.stringify(e[p],p,c,u,r))}return i.join(a)}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactRouter=t(require("react")):e.ReactRouter=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(29),a=r(o);t.Router=a["default"];var u=n(15),i=r(u);t.Link=i["default"];var s=n(23),c=r(s);t.IndexLink=c["default"];var f=n(24),l=r(f);t.IndexRedirect=l["default"];var p=n(25),d=r(p);t.IndexRoute=d["default"];var h=n(16),y=r(h);t.Redirect=y["default"];var v=n(27),m=r(v);t.Route=m["default"];var g=n(22),b=r(g);t.History=b["default"];var O=n(26),_=r(O);t.Lifecycle=_["default"];var x=n(28),P=r(x);t.RouteContext=P["default"];var w=n(10),j=r(w);t.useRoutes=j["default"];var R=n(2);t.createRoutes=R.createRoutes;var E=n(17),T=r(E);t.RoutingContext=T["default"];var A=n(4),S=r(A);t.PropTypes=S["default"];var M=n(35),C=r(M);t.match=C["default"];var k=r(o);t["default"]=k["default"]},function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return null==e||d["default"].isValidElement(e)}function a(e){return o(e)||Array.isArray(e)&&e.every(o)}function u(e,t,n){e=e||"UnknownComponent";for(var r in t)if(t.hasOwnProperty(r)){var o=t[r](n,r,e);o instanceof Error}}function i(e,t){return l({},e,t)}function s(e){var t=e.type,n=i(t.defaultProps,e.props);if(t.propTypes&&u(t.displayName||t.name,t.propTypes,n),n.children){var r=c(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function c(e,t){var n=[];return d["default"].Children.forEach(e,function(e){if(d["default"].isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function f(e){return a(e)?e=c(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isReactChildren=a,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=c,t.createRoutes=f;var p=n(1),d=r(p),h=n(5);r(h)},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,u,i){if(!e){var s;if(void 0===t)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,a,u,i],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){return e[t]?new Error("<"+n+'> should not have a "'+t+'" prop'):void 0}t.__esModule=!0,t.falsy=r;var o=n(1),a=o.PropTypes.func,u=o.PropTypes.object,i=o.PropTypes.arrayOf,s=o.PropTypes.oneOfType,c=o.PropTypes.element,f=o.PropTypes.shape,l=o.PropTypes.string,p=f({listen:a.isRequired,pushState:a.isRequired,replaceState:a.isRequired,go:a.isRequired});t.history=p;var d=f({pathname:l.isRequired,search:l.isRequired,state:u,action:l.isRequired,key:l});t.location=d;var h=s([a,l]);t.component=h;var y=s([h,u]);t.components=y;var v=s([u,c]);t.route=v;var m=s([v,i(v)]);t.routes=m,t["default"]={falsy:r,history:p,location:d,component:h,components:y,route:v}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e){return o(e).replace(/\/+/g,"/+")}function u(e){for(var t="",n=[],r=[],o=void 0,u=0,i=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;o=i.exec(e);)o.index!==u&&(r.push(e.slice(u,o.index)),t+=a(e.slice(u,o.index))),o[1]?(t+="([^/?#]+)",n.push(o[1])):"**"===o[0]?(t+="([\\s\\S]*)",n.push("splat")):"*"===o[0]?(t+="([\\s\\S]*?)",n.push("splat")):"("===o[0]?t+="(?:":")"===o[0]&&(t+=")?"),r.push(o[0]),u=i.lastIndex;return u!==e.length&&(r.push(e.slice(u,e.length)),t+=a(e.slice(u,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function i(e){return e in h||(h[e]=u(e)),h[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e),"/"!==t.charAt(0)&&(t="/"+t);var n=i(e),r=n.regexpSource,o=n.paramNames,a=n.tokens;r+="/*";var u="*"!==a[a.length-1];u&&(r+="([\\s\\S]*?)");var s=t.match(new RegExp("^"+r+"$","i")),c=void 0,f=void 0;if(null!=s){if(u){c=s.pop();var l=s[0].substr(0,s[0].length-c.length);if(c&&"/"!==l.charAt(l.length-1))return{remainingPathname:null,paramNames:o,paramValues:null}}else c="";f=s.slice(1).map(function(e){return null!=e?decodeURIComponent(e):e})}else c=f=null;return{remainingPathname:c,paramNames:o,paramValues:f}}function c(e){return i(e).paramNames}function f(e,t){var n=s(e,t),r=n.paramNames,o=n.paramValues;return null!=o?r.reduce(function(e,t,n){return e[t]=o[n],e},{}):null}function l(e,t){t=t||{};for(var n=i(e),r=n.tokens,o=0,a="",u=0,s=void 0,c=void 0,f=void 0,l=0,p=r.length;p>l;++l)s=r[l],"*"===s||"**"===s?(f=Array.isArray(t.splat)?t.splat[u++]:t.splat,null!=f||o>0?void 0:d["default"](!1),null!=f&&(a+=encodeURI(f))):"("===s?o+=1:")"===s?o-=1:":"===s.charAt(0)?(c=s.substring(1),f=t[c],null!=f||o>0?void 0:d["default"](!1),null!=f&&(a+=encodeURIComponent(f))):a+=s;return a.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=i,t.matchPattern=s,t.getParamNames=c,t.getParams=f,t.formatPattern=l;var p=n(3),d=r(p),h={}},function(e,t){"use strict";t.__esModule=!0;var n="PUSH";t.PUSH=n;var r="REPLACE";t.REPLACE=r;var o="POP";t.POP=o,t["default"]={PUSH:n,REPLACE:r,POP:o}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){"use strict";function n(e,t,n){function r(){u=!0,n.apply(this,arguments)}function o(){u||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,u=!1;o()}function r(e,t,n){function r(e,t,r){u||(t?(u=!0,n(t)):(a[e]=r,u=++i===o,u&&n(null,a)))}var o=e.length,a=[];if(0===o)return n(null,a);var u=!1,i=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function u(e){return function(){function t(e,t){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2];return v["default"](e,t,n,j.location,j.routes,j.params)}function n(e){var t=e.pathname,n=e.query,r=e.state;return w.createLocation(w.createPath(t,n),r,c.REPLACE)}function r(e,t){R&&R.location===e?u(R,t):O["default"](x,e,function(n,r){n?t(n):r?u(i({},r,{location:e}),t):t()})}function u(e,t){var r=d["default"](j,e),o=r.leaveRoutes,a=r.enterRoutes;h.runLeaveHooks(o),h.runEnterHooks(a,e,function(r,o){r?t(r):o?t(null,n(o)):g["default"](e,function(n,r){n?t(n):t(null,null,j=i({},e,{components:r}))})})}function s(e){return e.__id__||(e.__id__=E++)}function f(e){return e.reduce(function(e,t){return e.push.apply(e,T[s(t)]),e},[])}function p(e,t){O["default"](x,e,function(n,r){if(null==r)return void t();R=i({},r,{location:e});for(var o=f(d["default"](j,R).leaveRoutes),a=void 0,u=0,s=o.length;null==a&&s>u;++u)a=o[u](e);t(a)})}function y(){if(j.routes){for(var e=f(j.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&r>n;++n)t=e[n]();return t}}function m(e,t){var n=s(e),r=T[n];if(null==r){var o=!a(T);r=T[n]=[t],o&&(A=w.listenBefore(p),w.listenBeforeUnload&&(S=w.listenBeforeUnload(y)))}else-1===r.indexOf(t)&&r.push(t);return function(){var e=T[n];if(null!=e){var r=e.filter(function(e){return e!==t});0===r.length?(delete T[n],a(T)||(A&&(A(),A=null),S&&(S(),S=null))):T[n]=r}}}function b(e){return w.listen(function(t){j.location===t?e(null,j):r(t,function(t,n,r){t?e(t):n?w.transitionTo(n):r&&e(null,r)})})}var _=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],x=_.routes,P=o(_,["routes"]),w=l["default"](e)(P),j={},R=void 0,E=1,T={},A=void 0,S=void 0;return i({},w,{isActive:t,match:r,listenBeforeLeavingRoute:m,listen:b})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(5),c=(r(s),n(7)),f=n(45),l=r(f),p=n(31),d=r(p),h=n(30),y=n(34),v=r(y),m=n(32),g=r(m),b=n(36),O=r(b);t["default"]=u,e.exports=t["default"]},function(e,t){"use strict";t.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=i["default"](e),n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substring(o),t=t.substring(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substring(a),t=t.substring(0,a)),""===t&&(t="/"),{pathname:t,search:n,hash:r}}t.__esModule=!0;var a=n(8),u=(r(a),n(20)),i=r(u);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){var r=e(t,n);e.length<2&&n(r)}t.__esModule=!0;var a=n(8);r(a);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,u,i){if(!e){var s;if(void 0===t)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,a,u,i],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){return 0===e.button}function s(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function c(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),p=r(l),d=p["default"].PropTypes,h=d.bool,y=d.object,v=d.string,m=d.func,g=function(e){function t(){a(this,t),e.apply(this,arguments)}return u(t,e),t.prototype.handleClick=function(e){var t=!0;if(this.props.onClick&&this.props.onClick(e),!s(e)&&i(e)){if(e.defaultPrevented===!0&&(t=!1),this.props.target)return void(t||e.preventDefault());if(e.preventDefault(),t){var n=this.props,r=n.state,o=n.to,a=n.query,u=n.hash;u&&(o+=u),this.context.history.pushState(r,o,a)}}},t.prototype.render=function(){var e=this,t=this.props,n=t.to,r=t.query,a=t.hash,u=(t.state,t.activeClassName),i=t.activeStyle,s=t.onlyActiveOnIndex,l=o(t,["to","query","hash","state","activeClassName","activeStyle","onlyActiveOnIndex"]);l.onClick=function(t){return e.handleClick(t)};var d=this.context.history;return d&&(l.href=d.createHref(n,r),a&&(l.href+=a),(u||null!=i&&!c(i))&&d.isActive(n,r,s)&&(u&&(l.className+=""===l.className?u:" "+u),i&&(l.style=f({},l.style,i)))),p["default"].createElement("a",l)},t}(l.Component);g.contextTypes={history:y},g.propTypes={to:v.isRequired,query:y,hash:v,state:y,activeStyle:y,activeClassName:v,onlyActiveOnIndex:h.isRequired,onClick:m},g.defaultProps={onlyActiveOnIndex:!1,className:"",style:{}},t["default"]=g,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(3),i=r(u),s=n(1),c=r(s),f=n(2),l=n(6),p=n(4),d=c["default"].PropTypes,h=d.string,y=d.object,v=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){i["default"](!1)},t}(s.Component);v.createRouteFromReactElement=function(e){var t=f.createRouteFromReactElement(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,o=e.params,a=void 0;if("/"===t.to.charAt(0))a=l.formatPattern(t.to,o);else if(t.to){var u=e.routes.indexOf(t),i=v.getRoutePattern(e.routes,u-1),s=i.replace(/\/*$/,"/")+t.to;a=l.formatPattern(s,o)}else a=r.pathname;n(t.state||r.state,a,t.query||r.query)},t},v.getRoutePattern=function(e,t){for(var n="",r=t;r>=0;r--){var o=e[r],a=o.path||"";if(n=a.replace(/\/*$/,"/")+n,0===a.indexOf("/"))break}return"/"+n},v.propTypes={path:h,from:h,to:h.isRequired,query:y,state:y,onEnter:p.falsy,children:p.falsy},t["default"]=v,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(3),s=r(i),c=n(1),f=r(c),l=n(2),p=n(33),d=r(p),h=f["default"].PropTypes,y=h.array,v=h.func,m=h.object,g=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.getChildContext=function(){var e=this.props,t=e.history,n=e.location;return{history:t,location:n}},t.prototype.createElement=function(e,t){return null==e?null:this.props.createElement(e,t)},t.prototype.render=function(){var e=this,t=this.props,n=t.history,r=t.location,o=t.routes,a=t.params,i=t.components,c=null;return i&&(c=i.reduceRight(function(t,i,s){if(null==i)return t;var c=o[s],f=d["default"](c,a),p={history:n,location:r,params:a,route:c,routeParams:f,routes:o};if(l.isReactChildren(t))p.children=t;else if(t)for(var h in t)t.hasOwnProperty(h)&&(p[h]=t[h]);if("object"==typeof i){var y={};for(var v in i)i.hasOwnProperty(v)&&(y[v]=e.createElement(i[v],u({key:v},p)));return y}return e.createElement(i,p)},c)),null===c||c===!1||f["default"].isValidElement(c)?void 0:s["default"](!1),c},t}(c.Component);g.propTypes={history:m.isRequired,createElement:v.isRequired,location:m.isRequired,routes:y.isRequired,params:m.isRequired,components:y.isRequired},g.defaultProps={createElement:f["default"].createElement},g.childContextTypes={history:m.isRequired,location:m.isRequired},t["default"]=g,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function r(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function u(){return window.location.pathname+window.location.search+window.location.hash}function i(e){e&&window.history.go(e)}function s(e,t){t(window.confirm(e))}function c(){var e=navigator.userAgent;return-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")?window.history&&"pushState"in window.history:!1}function f(){var e=navigator.userAgent;return-1===e.indexOf("Firefox")}t.__esModule=!0,t.addEventListener=n,t.removeEventListener=r,t.getHashPath=o,t.replaceHashPath=a,t.getWindowPath=u,t.go=i,t.getUserConfirmation=s,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Math.random().toString(36).substr(2,e)}function a(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&c["default"](e.state,t.state)}function u(){function e(e){return q.push(e),function(){q=q.filter(function(t){return t!==e})}}function t(){return I&&I.action===l.POP?N.indexOf(I.key):B?N.indexOf(B.key):-1}function n(e){var n=t();B=e,B.action===l.PUSH?N=[].concat(N.slice(0,n+1),[B.key]):B.action===l.REPLACE&&(N[n]=B.key),U.forEach(function(e){e(B)})}function r(e){if(U.push(e),B)e(B);else{var t=S();N=[t.key],n(t)}return function(){U=U.filter(function(t){return t!==e})}}function u(e,t){f.loopAsync(q.length,function(t,n,r){y["default"](q[t],e,function(e){null!=e?r(e):n()})},function(e){H&&"string"==typeof e?H(e,function(e){t(e!==!1)}):t(e!==!1)})}function s(e){B&&a(B,e)||(I=e,u(e,function(t){if(I===e)if(t){if(e.action===l.PUSH){var r=S(),o=r.pathname,a=r.search,u=o+a,i=e.pathname+e.search;u===i&&(e.action=l.REPLACE)}M(e)!==!1&&n(e)}else if(B&&e.action===l.POP){var s=N.indexOf(B.key),c=N.indexOf(e.key);-1!==s&&-1!==c&&k(s-c)}}))}function c(e,t){s(w(t,e,l.PUSH,_()))}function p(e){c(null,e)}function h(e,t){s(w(t,e,l.REPLACE,_()))}function v(e){h(null,e)}function b(){k(-1)}function O(){k(1)}function _(){return o(L)}function x(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,o=t;return n&&(o+=n),r&&(o+=r),o}function P(e){return x(e)}function w(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?_():arguments[3];return d["default"](e,t,n,r)}function j(e){B?(R(B,e),n(B)):R(S(),e)}function R(e,t){e.state=i({},e.state,t),C(e.key,e.state)}function E(e){-1===q.indexOf(e)&&q.push(e)}function T(e){q=q.filter(function(t){return t!==e})}var A=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],S=A.getCurrentLocation,M=A.finishTransition,C=A.saveState,k=A.go,L=A.keyLength,H=A.getUserConfirmation;"number"!=typeof L&&(L=g);var q=[],N=[],U=[],B=void 0,I=void 0;return{listenBefore:e,listen:r,transitionTo:s,pushState:c,replaceState:h,push:p,replace:v,go:k,goBack:b,goForward:O,createKey:_,createPath:x,createHref:P,createLocation:w,setState:m["default"](j,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:m["default"](E,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:m["default"](T,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead")}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(46),c=r(s),f=n(37),l=n(7),p=n(41),d=r(p),h=n(13),y=r(h),v=n(43),m=r(v),g=6;t["default"]=u,e.exports=t["default"]},function(e,t){"use strict";function n(e){var t=e.match(/^https?:\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){var n={};n.hexTable=new Array(256);for(var r=0;256>r;++r)n.hexTable[r]="%"+((16>r?"0":"")+r.toString(16)).toUpperCase();t.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,o=e.length;o>r;++r)"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},t.merge=function(e,n,r){if(!n)return e;if("object"!=typeof n)return Array.isArray(e)?e.push(n):"object"==typeof e?e[n]=!0:e=[e,n],e;if("object"!=typeof e)return e=[e].concat(n);Array.isArray(e)&&!Array.isArray(n)&&(e=t.arrayToObject(e,r));for(var o=Object.keys(n),a=0,u=o.length;u>a;++a){var i=o[a],s=n[i];Object.prototype.hasOwnProperty.call(e,i)?e[i]=t.merge(e[i],s,r):e[i]=s}return e},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;"string"!=typeof e&&(e=""+e);for(var t="",r=0,o=e.length;o>r;++r){var a=e.charCodeAt(r);45===a||46===a||95===a||126===a||a>=48&&57>=a||a>=65&&90>=a||a>=97&&122>=a?t+=e[r]:128>a?t+=n.hexTable[a]:2048>a?t+=n.hexTable[192|a>>6]+n.hexTable[128|63&a]:55296>a||a>=57344?t+=n.hexTable[224|a>>12]+n.hexTable[128|a>>6&63]+n.hexTable[128|63&a]:(++r,a=65536+((1023&a)<<10|1023&e.charCodeAt(r)),t+=n.hexTable[240|a>>18]+n.hexTable[128|a>>12&63]+n.hexTable[128|a>>6&63]+n.hexTable[128|63&a])}return t},t.compact=function(e,n){if("object"!=typeof e||null===e)return e;n=n||[];var r=n.indexOf(e);if(-1!==r)return n[r];if(n.push(e),Array.isArray(e)){for(var o=[],a=0,u=e.length;u>a;++a)"undefined"!=typeof e[a]&&o.push(e[a]);return o}var i=Object.keys(e);for(a=0,u=i.length;u>a;++a){var s=i[a];e[s]=t.compact(e[s],n)}return e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null===e||"undefined"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(4),o={contextTypes:{history:r.history},componentWillMount:function(){this.history=this.context.history}};t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1),s=r(i),c=n(15),f=r(c),l=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){return s["default"].createElement(f["default"],u({},this.props,{onlyActiveOnIndex:!0}))},t}(i.Component);t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(5),i=(r(u),n(3)),s=r(i),c=n(1),f=r(c),l=n(16),p=r(l),d=n(4),h=f["default"].PropTypes,y=h.string,v=h.object,m=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){s["default"](!1)},t}(c.Component);m.propTypes={to:y.isRequired,query:v,state:v,onEnter:d.falsy,children:d.falsy},m.createRouteFromReactElement=function(e,t){t&&(t.indexRoute=p["default"].createRouteFromReactElement(e))},t["default"]=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(5),i=(r(u),n(3)),s=r(i),c=n(1),f=r(c),l=n(2),p=n(4),d=f["default"].PropTypes.func,h=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){s["default"](!1)},t}(c.Component);h.propTypes={path:p.falsy,component:p.component,components:p.components,getComponent:d,getComponents:d},h.createRouteFromReactElement=function(e,t){t&&(t.indexRoute=l.createRouteFromReactElement(e))},t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),a=r(o),u=n(3),i=r(u),s=a["default"].PropTypes.object,c={contextTypes:{history:s.isRequired,route:s},propTypes:{route:s},componentDidMount:function(){this.routerWillLeave?void 0:i["default"](!1);var e=this.props.route||this.context.route;e?void 0:i["default"](!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(3),i=r(u),s=n(1),c=r(s),f=n(2),l=n(4),p=c["default"].PropTypes,d=p.string,h=p.func,y=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.render=function(){i["default"](!1)},t}(s.Component);y.createRouteFromReactElement=f.createRouteFromReactElement,y.propTypes={path:d,component:l.component,components:l.components,getComponent:h,getComponents:h},t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(1),a=r(o),u=a["default"].PropTypes.object,i={propTypes:{route:u.isRequired},childContextTypes:{route:u.isRequired},getChildContext:function(){return{route:this.props.route}}};t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(5),c=(r(s),n(1)),f=r(c),l=n(40),p=r(l),d=n(2),h=n(17),y=r(h),v=n(10),m=r(v),g=n(4),b=f["default"].PropTypes,O=b.func,_=b.object,x=function(e){function t(n,r){a(this,t),e.call(this,n,r),this.state={location:null,routes:null,params:null,components:null}}return u(t,e),t.prototype.handleError=function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.history,r=t.children,o=t.routes,a=t.parseQueryString,u=t.stringifyQuery,i=n?function(){return n}:p["default"];this.history=m["default"](i)({routes:d.createRoutes(o||r),parseQueryString:a,stringifyQuery:u}),this._unlisten=this.history.listen(function(t,n){t?e.handleError(t):e.setState(n,e.props.onUpdate)})},t.prototype.componentWillReceiveProps=function(e){},t.prototype.componentWillUnmount=function(){this._unlisten&&this._unlisten()},t.prototype.render=function(){var e=this.state,n=e.location,r=e.routes,a=e.params,u=e.components,s=this.props,c=s.RoutingContext,l=s.createElement,p=o(s,["RoutingContext","createElement"]);return null==n?null:(Object.keys(t.propTypes).forEach(function(e){return delete p[e]}),f["default"].createElement(c,i({},p,{history:this.history,createElement:l,location:n,routes:r,params:a,components:u})))},t}(c.Component);x.propTypes={history:_,children:g.routes,routes:g.routes,RoutingContext:O.isRequired,createElement:O,onError:O,onUpdate:O,parseQueryString:O,stringifyQuery:O},x.defaultProps={RoutingContext:y["default"]},t["default"]=x,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){return function(n,r,o){e.apply(t,arguments),e.length<3&&o()}}function o(e){return e.reduce(function(e,t){return t.onEnter&&e.push(r(t.onEnter,t)),e},[])}function a(e,t,n){function r(e,t,n){u={pathname:t,query:n,state:e}}var a=o(e);if(!a.length)return void n();var u=void 0;i.loopAsync(a.length,function(e,n,o){a[e](t,r,function(e){e||u?o(e,u):n()})},n)}function u(e){for(var t=0,n=e.length;n>t;++t)e[t].onLeave&&e[t].onLeave.call(e[t])}t.__esModule=!0,t.runEnterHooks=a,t.runLeaveHooks=u;var i=n(9)},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=a.getParamNames(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,a=void 0,u=void 0;return n?(a=n.filter(function(n){return-1===o.indexOf(n)||r(n,e,t)}),a.reverse(),u=o.filter(function(e){return-1===n.indexOf(e)||-1!==a.indexOf(e)})):(a=[],u=o),{leaveRoutes:a,enterRoutes:u}}t.__esModule=!0;var a=n(6);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){t.component||t.components?n(null,t.component||t.components):t.getComponent?t.getComponent(e,n):t.getComponents?t.getComponents(e,n):n()}function o(e,t){a.mapAsync(e.routes,function(t,n,o){r(e.location,t,o)},t)}t.__esModule=!0;var a=n(9);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n={};if(!e.path)return n;var r=o.getParamNames(e.path);for(var a in t)t.hasOwnProperty(a)&&-1!==r.indexOf(a)&&(n[a]=t[a]);return n}t.__esModule=!0;var o=n(6);t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"==typeof e){for(var n in e)if(e.hasOwnProperty(n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!t.hasOwnProperty(n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t,n){return e.every(function(e,r){return String(t[r])===String(n[e])})}function a(e,t,n){for(var r=e,a=[],u=[],i=0,s=t.length;s>i;++i){var f=t[i],l=f.path||"";if("/"===l.charAt(0)&&(r=e,a=[],u=[]),null!==r){var p=c.matchPattern(l,r);r=p.remainingPathname,a=[].concat(a,p.paramNames),u=[].concat(u,p.paramValues)}if(""===r&&f.path&&o(a,u,n))return i}return null}function u(e,t,n,r){var o=a(e,t,n);return null===o?!1:r?t.slice(o+1).every(function(e){return!e.path}):!0}function i(e,t){return null==t?null==e:null==e?!0:r(e,t)}function s(e,t,n,r,o,a){return null==r?!1:u(e,o,a,n)?i(t,r.query):!1}t.__esModule=!0;var c=n(6);t["default"]=s,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=e.routes,r=e.location,o=e.parseQueryString,u=e.stringifyQuery,s=e.basename;r?void 0:i["default"](!1);var c=y({routes:p.createRoutes(n),parseQueryString:o,stringifyQuery:u,basename:s});"string"==typeof r&&(r=c.createLocation(r)),c.match(r,function(e,n,r){t(e,n,r&&a({},r,{history:c}))})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(3),i=r(u),s=n(42),c=r(s),f=n(44),l=r(f),p=n(2),d=n(10),h=r(d),y=h["default"](l["default"](c["default"]));t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){
return e&&e.__esModule?e:{"default":e}}function o(e,t,n){e.childRoutes?n(null,e.childRoutes):e.getChildRoutes?e.getChildRoutes(t,function(e,t){n(e,!e&&d.createRoutes(t))}):n()}function a(e,t,n){e.indexRoute?n(null,e.indexRoute):e.getIndexRoute?e.getIndexRoute(t,function(e,t){n(e,!e&&d.createRoutes(t)[0])}):e.childRoutes?!function(){var r=e.childRoutes.filter(function(e){return!e.hasOwnProperty("path")});l.loopAsync(r.length,function(e,n,o){a(r[e],t,function(t,a){if(t||a){var u=[r[e]].concat(Array.isArray(a)?a:[a]);o(t,u)}else n()})},function(e,t){n(null,t)})}():n()}function u(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function i(e,t){return u({},e,t)}function s(e,t,n,r,u,s){var f=e.path||"";if("/"===f.charAt(0)&&(n=t.pathname,r=[],u=[]),null!==n){var l=p.matchPattern(f,n);if(n=l.remainingPathname,r=[].concat(r,l.paramNames),u=[].concat(u,l.paramValues),""===n&&e.path){var d=function(){var n={routes:[e],params:i(r,u)};return a(e,t,function(e,t){if(e)s(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);s(null,n)}}),{v:void 0}}();if("object"==typeof d)return d.v}}null!=n||e.childRoutes?o(e,t,function(o,a){o?s(o):a?c(a,t,function(t,n){t?s(t):n?(n.routes.unshift(e),s(null,n)):s()},n,r,u):s()}):s()}function c(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?t.pathname:arguments[3],o=arguments.length<=4||void 0===arguments[4]?[]:arguments[4],a=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];return function(){l.loopAsync(e.length,function(n,u,i){s(e[n],t,r,o,a,function(e,t){e||t?i(e,t):u()})},n)}()}t.__esModule=!0;var f=n(5),l=(r(f),n(9)),p=n(6),d=n(2);t["default"]=c,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){u=!0,n.apply(this,arguments)}function o(){u||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,u=!1;o()}t.__esModule=!0,t.loopAsync=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return s+e}function a(e,t){try{window.sessionStorage.setItem(o(e),JSON.stringify(t))}catch(n){if(n.name===f)return;if(n.name===c&&0===window.sessionStorage.length)return;throw n}}function u(e){var t=void 0;try{t=window.sessionStorage.getItem(o(e))}catch(n){if(n.name===f)return null}if(t)try{return JSON.parse(t)}catch(n){}return null}t.__esModule=!0,t.saveState=a,t.readState=u;var i=n(8),s=(r(i),"@@History/"),c="QuotaExceededError",f="SecurityError"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return s.canUseDOM?void 0:i["default"](!1),n.listen(e)}var n=l["default"](a({getUserConfirmation:c.getUserConfirmation},e,{go:c.go}));return a({},n,{listen:t})}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(14),i=r(u),s=n(11),c=n(18),f=n(19),l=r(f);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return"string"==typeof e&&"/"===e.charAt(0)}function a(){var e=v.getHashPath();return o(e)?!0:(v.replaceHashPath("/"+e),!1)}function u(e,t,n){return e+(-1===e.indexOf("?")?"?":"&")+(t+"="+n)}function i(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function s(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function c(){function e(){var e=v.getHashPath(),t=void 0,n=void 0;return w?(t=s(e,w),e=i(e,w),t?n=m.readState(t):(n=null,t=j.createKey(),v.replaceHashPath(u(e,w,t)))):t=n=null,j.createLocation(e,n,void 0,t)}function t(t){function n(){a()&&r(e())}var r=t.transitionTo;return a(),v.addEventListener(window,"hashchange",n),function(){v.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,o=e.state,a=e.action,i=e.key;if(a!==h.POP){var s=(t||"")+n+r;w?(s=u(s,w,i),m.saveState(i,o)):e.key=e.state=null;var c=v.getHashPath();a===h.PUSH?c!==s&&(window.location.hash=s):c!==s&&v.replaceHashPath(s)}}function r(e){1===++R&&(E=t(j));var n=j.listenBefore(e);return function(){n(),0===--R&&E()}}function o(e){1===++R&&(E=t(j));var n=j.listen(e);return function(){n(),0===--R&&E()}}function c(e,t){j.pushState(e,t)}function l(e,t){j.replaceState(e,t)}function p(e){j.go(e)}function g(e){return"#"+j.createHref(e)}function _(e){1===++R&&(E=t(j)),j.registerTransitionHook(e)}function x(e){j.unregisterTransitionHook(e),0===--R&&E()}var P=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];y.canUseDOM?void 0:d["default"](!1);var w=P.queryKey;(void 0===w||w)&&(w="string"==typeof w?w:O);var j=b["default"](f({},P,{getCurrentLocation:e,finishTransition:n,saveState:m.saveState})),R=0,E=void 0;v.supportsGoWithoutReloadUsingHash();return f({},j,{listenBefore:r,listen:o,pushState:c,replaceState:l,go:p,createHref:g,registerTransitionHook:_,unregisterTransitionHook:x})}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(8),p=(r(l),n(14)),d=r(p),h=n(7),y=n(11),v=n(18),m=n(38),g=n(39),b=r(g),O="_k";t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=arguments.length<=2||void 0===arguments[2]?a.POP:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=i["default"](e));var o=e.pathname||"/",u=e.search||"",s=e.hash||"";return{pathname:o,search:u,hash:s,state:t,action:n,key:r}}t.__esModule=!0;var a=n(7),u=n(12),i=r(u);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function a(){function e(e,t){v[e]=t}function t(e){return v[e]}function n(){var e=h[y],n=e.key,r=e.basename,o=e.pathname,a=e.search,u=(r||"")+o+(a||""),i=void 0;return n?i=t(n):(i=null,n=p.createKey(),e.key=n),p.createLocation(u,i,void 0,n)}function r(e){var t=y+e;return t>=0&&t<h.length}function a(e){if(e){r(e)?void 0:s["default"](!1),y+=e;var t=n();p.transitionTo(u({},t,{action:c.POP}))}}function i(t){switch(t.action){case c.PUSH:y+=1,y<h.length&&h.splice(y),h.push(t),e(t.key,t.state);break;case c.REPLACE:h[y]=t,e(t.key,t.state)}}var f=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(f)?f={entries:f}:"string"==typeof f&&(f={entries:[f]});var p=l["default"](u({},f,{getCurrentLocation:n,finishTransition:i,saveState:e,go:a})),d=f,h=d.entries,y=d.current;"string"==typeof h?h=[h]:Array.isArray(h)||(h=["/"]),h=h.map(function(e){var t=p.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?u({},e,{key:t}):void s["default"](!1)}),null==y?y=h.length-1:y>=0&&y<h.length?void 0:s["default"](!1);var v=o(h);return p}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(14),s=r(i),c=n(7),f=n(19),l=r(f);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var a=n(8);r(a);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return function(){function t(e){return b&&null==e.basename&&(0===e.pathname.indexOf(b)?(e.pathname=e.pathname.substring(b.length),e.basename=b,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function n(e){if(!b)return e;"string"==typeof e&&(e=d["default"](e));var t=e.pathname,n="/"===b.slice(-1)?b:b+"/",r="/"===t.charAt(0)?t.slice(1):t,o=n+r;return u({},e,{pathname:o})}function r(e){return _.listenBefore(function(n,r){c["default"](e,t(n),r)})}function a(e){return _.listen(function(n){e(t(n))})}function s(e,t){_.pushState(e,n(t))}function f(e){s(null,e)}function p(e,t){_.replaceState(e,n(t))}function h(e){p(null,e)}function y(e){return _.createPath(n(e))}function v(e){return _.createHref(n(e))}function m(){return t(_.createLocation.apply(_,arguments))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],b=g.basename,O=o(g,["basename"]),_=e(O);if(null==b&&i.canUseDOM){var x=document.getElementsByTagName("base")[0];x&&(b=l["default"](x.href))}return u({},_,{listenBefore:r,listen:a,pushState:s,push:f,replaceState:p,replace:h,createPath:y,createHref:v,createLocation:m})}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(11),s=n(13),c=r(s),f=n(20),l=r(f),p=n(12),d=r(p);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return f["default"].stringify(e,{arrayFormat:"brackets"}).replace(/%20/g,"+")}function u(e){return f["default"].parse(e.replace(/\+/g,"%20"))}function i(e){return function(){function t(e){return null==e.query&&(e.query=g(e.search.substring(1))),e}function n(e,t){var n=void 0;if(!t||""===(n=m(t)))return e;"string"==typeof e&&(e=h["default"](e));var r=e.search+(e.search?"&":"?")+n;return s({},e,{search:r})}function r(e){return O.listenBefore(function(n,r){p["default"](e,t(n),r)})}function i(e){return O.listen(function(n){e(t(n))})}function c(e,t,r){return O.pushState(e,n(t,r))}function f(e,t,r){return O.replaceState(e,n(t,r))}function l(e,t){return O.createPath(n(e,t))}function d(e,t){return O.createHref(n(e,t))}function y(){return t(O.createLocation.apply(O,arguments))}var v=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],m=v.stringifyQuery,g=v.parseQueryString,b=o(v,["stringifyQuery","parseQueryString"]),O=e(b);return"function"!=typeof m&&(m=a),"function"!=typeof g&&(g=u),s({},O,{listenBefore:r,listen:i,pushState:c,replaceState:f,createPath:l,createHref:d,createLocation:y})}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(49),f=r(c),l=n(13),p=r(l),d=n(12),h=r(d);t["default"]=i,e.exports=t["default"]},function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length?"function"!=typeof e.copy||"function"!=typeof e.slice?!1:e.length>0&&"number"!=typeof e[0]?!1:!0:!1}function a(e,t,n){var a,f;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return s(t)?(e=u.call(e),t=u.call(t),c(e,t,n)):!1;if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}try{var l=i(e),p=i(t)}catch(d){return!1}if(l.length!=p.length)return!1;for(l.sort(),p.sort(),a=l.length-1;a>=0;a--)if(l[a]!=p[a])return!1;for(a=l.length-1;a>=0;a--)if(f=l[a],!c(e[f],t[f],n))return!1;return typeof e==typeof t}var u=Array.prototype.slice,i=n(48),s=n(47),c=e.exports=function(e,t,n){return n||(n={}),e===t?!0:e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:a(e,t,n)}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t,n){var r=n(51),o=n(50);e.exports={stringify:r,parse:o}},function(e,t,n){var r=n(21),o={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};o.parseValues=function(e,t){for(var n={},o=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=0,u=o.length;u>a;++a){var i=o[a],s=-1===i.indexOf("]=")?i.indexOf("="):i.indexOf("]=")+1;if(-1===s)n[r.decode(i)]="",t.strictNullHandling&&(n[r.decode(i)]=null);else{var c=r.decode(i.slice(0,s)),f=r.decode(i.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(f):n[c]=f}}return n},o.parseObject=function(e,t,n){if(!e.length)return t;var r,a=e.shift();if("[]"===a)r=[],r=r.concat(o.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var u="["===a[0]&&"]"===a[a.length-1]?a.slice(1,a.length-1):a,i=parseInt(u,10),s=""+i;!isNaN(i)&&a!==u&&s===u&&i>=0&&n.parseArrays&&i<=n.arrayLimit?(r=[],r[i]=o.parseObject(e,t,n)):r[u]=o.parseObject(e,t,n)}return r},o.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\.([^\.\[]+)/g,"[$1]"));var r=/^([^\[\]]*)/,a=/(\[[^\[\]]*\])/g,u=r.exec(e),i=[];if(u[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(u[1])&&!n.allowPrototypes)return;i.push(u[1])}for(var s=0;null!==(u=a.exec(e))&&s<n.depth;)++s,(n.plainObjects||!Object.prototype.hasOwnProperty(u[1].replace(/\[|\]/g,""))||n.allowPrototypes)&&i.push(u[1]);return u&&i.push("["+e.slice(u.index)+"]"),o.parseObject(i,t,n)}},e.exports=function(e,t){if(t=t||{},t.delimiter="string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:o.delimiter,t.depth="number"==typeof t.depth?t.depth:o.depth,t.arrayLimit="number"==typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects="boolean"==typeof t.plainObjects?t.plainObjects:o.plainObjects,t.allowPrototypes="boolean"==typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,t.parameterLimit="number"==typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,t.strictNullHandling="boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"==typeof e)return t.plainObjects?Object.create(null):{};for(var n="string"==typeof e?o.parseValues(e,t):e,a=t.plainObjects?Object.create(null):{},u=Object.keys(n),i=0,s=u.length;s>i;++i){var c=u[i],f=o.parseKeys(c,n[c],t);a=r.merge(a,f,t)}return r.compact(a)}},function(e,t,n){var r=n(21),o={delimiter:"&",arrayPrefixGenerators:{brackets:function(e,t){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e,t){return e}},strictNullHandling:!1};o.stringify=function(e,t,n,a,u){if("function"==typeof u)e=u(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(a)return r.encode(t);e=""}if("string"==typeof e||"number"==typeof e||"boolean"==typeof e)return[r.encode(t)+"="+r.encode(e)];var i=[];if("undefined"==typeof e)return i;for(var s=Array.isArray(u)?u:Object.keys(e),c=0,f=s.length;f>c;++c){var l=s[c];i=Array.isArray(e)?i.concat(o.stringify(e[l],n(t,l),n,a,u)):i.concat(o.stringify(e[l],t+"["+l+"]",n,a,u))}return i},e.exports=function(e,t){t=t||{};var n,r,a="undefined"==typeof t.delimiter?o.delimiter:t.delimiter,u="boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling;"function"==typeof t.filter?(r=t.filter,e=r("",e)):Array.isArray(t.filter)&&(n=r=t.filter);var i=[];if("object"!=typeof e||null===e)return"";var s;s=t.arrayFormat in o.arrayPrefixGenerators?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":"indices";var c=o.arrayPrefixGenerators[s];n||(n=Object.keys(e));for(var f=0,l=n.length;l>f;++f){var p=n[f];i=i.concat(o.stringify(e[p],p,c,u,r))}return i.join(a)}}])});

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc