!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(23),a=r(o);t.Router=a["default"];var u=n(19),i=r(u);t.Link=i["default"];var s=n(17),l=r(s);t.IndexRoute=l["default"];var c=n(20),f=r(c);t.Redirect=f["default"];var p=n(21),d=r(p);t.Route=d["default"];var h=n(16),y=r(h);t.History=y["default"];var m=n(18),g=r(m);t.Lifecycle=g["default"];var v=n(22),b=r(v);t.RouteContext=b["default"];var x=n(10),O=r(x);t.useRoutes=O["default"];var R=n(4);t.createRoutes=R.createRoutes;var _=n(11),P=r(_);t.RoutingContext=P["default"];var w=n(5),j=r(w);t.PropTypes=j["default"];var E=n(29),k=r(E);t.match=k["default"];var A=r(o);t["default"]=A["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 l=[n,r,o,a,u,i],c=0;s=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return l[c++]}))}throw s.framesToPop=1,s}};e.exports=r},function(t,n){t.exports=e},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&&y["default"](!1,o.message)}}function i(e,t){return f({},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=l(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function l(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 c(e){return a(e)?e=l(e):Array.isArray(e)||(e=[e]),e}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};t.isReactChildren=a,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=l,t.createRoutes=c;var p=n(2),d=r(p),h=n(3),y=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(2),a=o.PropTypes.func,u=o.PropTypes.object,i=o.PropTypes.arrayOf,s=o.PropTypes.oneOfType,l=o.PropTypes.element,c=o.PropTypes.shape,f=o.PropTypes.string,p=c({listen:a.isRequired,pushState:a.isRequired,replaceState:a.isRequired,go:a.isRequired});t.history=p;var d=c({pathname:f.isRequired,search:f.isRequired,state:u,action:f.isRequired,key:f});t.location=d;var h=s([a,f]);t.component=h;var y=s([h,u]);t.components=y;var m=s([u,l]);t.route=m;var g=s([m,i(m)]);t.routes=g,t["default"]={falsy:r,history:p,location:d,component:h,components:y,route:m}},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=[],u=0,i=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*|\(|\)/g;t=i.exec(e);)t.index!==u&&(o.push(e.slice(u,t.index)),n+=a(e.slice(u,t.index))),t[1]?(n+="([^/?#]+)",r.push(t[1])):"*"===t[0]?(n+="([\\s\\S]*?)",r.push("splat")):"("===t[0]?n+="(?:":")"===t[0]&&(n+=")?"),o.push(t[0]),u=i.lastIndex;return u!==e.length&&(o.push(e.slice(u,e.length)),n+=a(e.slice(u,e.length))),{pattern:e,regexpSource:n,paramNames:r,tokens:o}}function i(e){return e in h||(h[e]=u(e)),h[e]}function s(e,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,l,c=t.match(new RegExp("^"+r+"$","i"));return null!=c?(l=Array.prototype.slice.call(c,1).map(function(e){return null!=e?decodeURIComponent(e.replace(/\+/g,"%20")):e}),s=u?l.pop():t.replace(c[0],"")):s=l=null,{remainingPathname:s,paramNames:o,paramValues:l}}function l(e){return i(e).paramNames}function c(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 f(e,t){t=t||{};for(var n,r,o,a=i(e),u=a.tokens,s=0,l="",c=0,f=0,p=u.length;p>f;++f)n=u[f],"*"===n?(o=Array.isArray(t.splat)?t.splat[c++]:t.splat,d["default"](null!=o||s>0,'Missing splat #%s for path "%s"',c,e),null!=o&&(l+=encodeURI(o).replace(/%20/g,"+"))):"("===n?s+=1:")"===n?s-=1:":"===n.charAt(0)?(r=n.substring(1),o=t[r],d["default"](null!=o||s>0,'Missing "%s" parameter for path "%s"',r,e),null!=o&&(l+=encodeURIComponent(o).replace(/%20/g,"+"))):l+=n;return l.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=i,t.matchPattern=s,t.getParamNames=l,t.getParams=c,t.formatPattern=f;var p=n(1),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";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/https?:\/\/[^\/]*/);return null==t?e:(i["default"](!1,'Location path must be pathname + query string only, not a fully qualified URL like "%s"',e),e.substring(t[0].length))}function a(){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]?s.POP:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];e=o(e);var a=e,u="",i="",l=a.indexOf("#");-1!==l&&(i=a.substring(l),a=a.substring(0,l));var c=a.indexOf("?");return-1!==c&&(u=a.substring(c),a=a.substring(0,c)),""===a&&(a="/"),{pathname:a,search:u,hash:i,state:t,action:n,key:r}}t.__esModule=!0;var u=n(3),i=r(u),s=n(7);t["default"]=a,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()}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 b["default"](e,t,n,k.location,k.routes,k.params)}function n(e,t){A&&A.location===e?u(A,t):_["default"](w,e,function(n,r){n?t(n,null,null):r?u(i({},r,{location:e}),function(e,n,r){r&&(k=r),t(e,n,r)}):t(null,null,null)})}function r(e){var t=e.pathname,n=e.query,r=e.state;return h["default"](E.createPath(t,n),r,c.REPLACE,E.createKey())}function u(e,t){var n=m["default"](k,e),o=n.leaveRoutes,a=n.enterRoutes;g.runLeaveHooks(o),g.runEnterHooks(a,e,function(n,o){n?t(n):o?t(null,r(o),null):O["default"](e,function(n,r){n?t(n):t(null,null,i({},e,{components:r}))})})}function s(e){return e.__id__||(e.__id__=T++)}function f(e){return e.reduce(function(e,t){return e.push.apply(e,M[s(t)]),e},[])}function d(e,t){_["default"](w,e,function(n,r){if(null==r)return void t();A=i({},r,{location:e});for(var o=f(m["default"](k,r).leaveRoutes),a=void 0,u=0,s=o.length;null==a&&s>u;++u)a=o[u](e);t(a)})}function y(){if(k.routes){for(var e=f(k.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&r>n;++n)t=e[n]();return t}}function v(e,t){var n=s(e),r=M[n];if(null==r){var o=!a(M);r=M[n]=[t],o&&(E.registerTransitionHook(d),E.registerBeforeUnloadHook&&E.registerBeforeUnloadHook(y))}else-1===r.indexOf(t)&&r.push(t)}function x(e,t){var n=s(e),r=M[n];if(null!=r){var o=r.filter(function(e){return e!==t});0===o.length?(delete M[n],a(M)||(E.unregisterTransitionHook(d),E.unregisterBeforeUnloadHook&&E.unregisterBeforeUnloadHook(y))):M[n]=o}}function R(e){return E.listen(function(t){k.location===t?e(null,k):n(t,function(n,r,o){n?e(n):o?e(null,k):r?E.transitionTo(r):l["default"](!1,'Location "%s" did not match any routes',t.pathname+t.search)})})}var P=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],w=P.routes,j=o(P,["routes"]),E=p["default"](e)(j),k={},A=void 0,M={},T=1;return i({},E,{isActive:t,registerRouteHook:v,unregisterRouteHook:x,listen:R,match:n})}}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),l=r(s),c=n(7),f=n(36),p=r(f),d=n(8),h=r(d),y=n(25),m=r(y),g=n(24),v=n(28),b=r(v),x=n(26),O=r(x),R=n(30),_=r(R);t["default"]=u,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(2),a=r(o),u=n(1),i=r(u),s=n(27),l=r(s),c=a["default"].PropTypes,f=c.array,p=c.func,d=c.object,h=a["default"].createClass({displayName:"RoutingContext",propTypes:{history:d.isRequired,createElement:p.isRequired,location:d.isRequired,routes:f.isRequired,params:d.isRequired,components:f.isRequired},getDefaultProps:function(){return{createElement:a["default"].createElement}},childContextTypes:{history:d.isRequired,location:d.isRequired},getChildContext:function(){return{history:this.props.history,location:this.props.location}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.history,r=t.location,o=t.routes,u=t.params,s=t.components,c=null;return s&&(c=s.reduceRight(function(t,a,i){if(null==a)return t;var s=o[i],c=l["default"](s,u),f={history:n,location:r,params:u,route:s,routeParams:c,routes:o};if(t&&(f.children=t),"object"==typeof a){var p={};for(var d in a)a.hasOwnProperty(d)&&(p[d]=e.createElement(a[d],f));return p}return e.createElement(a,f)},c)),i["default"](null===c||c===!1||a["default"].isValidElement(c),"The root route must render a single element"),c}});t["default"]=h,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}function i(e){e&&window.history.go(e)}function s(e,t){t(window.confirm(e))}function l(){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 c(){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=l,t.supportsGoWithoutReloadUsingHash=c},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){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&&d["default"](e.state,t.state)}function u(){function e(){return I&&I.action===y.POP?U.indexOf(I.key):N?U.indexOf(N.key):-1}function t(t){var n=e();N=t,N.action===y.PUSH?U=[].concat(U.slice(0,n+1),[N.key]):N.action===y.REPLACE&&(U[n]=N.key),q.forEach(function(e){e(N)})}function n(e){q.push(e)}function r(e){q=q.filter(function(t){return t!==e})}function u(e){if(n(e),N)e(N);else{var o=A();U=[o.key],t(o)}return function(){r(e)}}function s(e){-1===L.indexOf(e)&&L.push(e)}function c(e){L=L.filter(function(t){return t!==e})}function p(e,t,n){var r=e(t,n);e.length<2?n(r):l["default"](void 0===r,'You should not "return" in a transition hook with a callback argument call the callback instead')}function d(e,t){h.loopAsync(L.length,function(t,n,r){p(L[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 m(e){N&&a(N,e)||(f["default"](null==I,"transitionTo: Another transition is already in progress"),I=e,d(e,function(n){if(I=null,n)M(e),t(e);else if(N&&e.action===y.POP){var r=U.indexOf(N.key),o=U.indexOf(e.key);-1!==r&&-1!==o&&S(r-o)}}))}function b(e,t){m(g["default"](t,e,y.PUSH,w()))}function x(e,t){m(g["default"](t,e,y.REPLACE,w()))}function O(e){N?(R(N,e),t(N)):R(A(),e)}function R(e,t){e.state=i({},e.state,t),T(e.key,e.state)}function _(){S(-1)}function P(){S(1)}function w(){return o(C)}function j(e){return e}function E(e){return j(e)}var k=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],A=k.getCurrentLocation,M=k.finishTransition,T=k.saveState,S=k.go,C=k.keyLength,H=k.getUserConfirmation;"number"!=typeof C&&(C=v);var L=[],q=[],N=void 0,U=[],I=void 0;return{listen:u,registerTransitionHook:s,unregisterTransitionHook:c,transitionTo:m,pushState:b,replaceState:x,setState:O,go:S,goBack:_,goForward:P,createKey:w,createPath:j,createHref:E}}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),l=r(s),c=n(1),f=r(c),p=n(37),d=r(p),h=n(31),y=n(7),m=n(8),g=r(m),v=6;t["default"]=u,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}}t.__esModule=!0;var o=n(2),a=r(o),u=n(1),i=r(u),s=n(3),l=r(s),c=n(4),f=n(5),p=a["default"].PropTypes,d=p.bool,h=p.func,y=a["default"].createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t?t.indexRoute=c.createRouteFromReactElement(e):l["default"](!1,"An <IndexRoute> does not make sense at the root of your route config")}},propTypes:{path:f.falsy,ignoreScrollBehavior:d,component:f.component,components:f.components,getComponents:h},render:function(){i["default"](!1,"<IndexRoute> elements are for router configuration only and should not be rendered")}});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(2),a=r(o),u=n(1),i=r(u),s=a["default"].PropTypes.object,l={propTypes:{route:s},contextTypes:{history:s.isRequired,route:s},_getRoute:function(){var e=this.props.route||this.context.route;return i["default"](e,"The Lifecycle mixin needs to be used either on 1) a <Route component> or 2) a descendant of a <Route component> that uses the RouteContext mixin"),e},componentWillMount:function(){i["default"](this.routerWillLeave,"The Lifecycle mixin requires you to define a routerWillLeave method"),this.context.history.registerRouteHook(this._getRoute(),this.routerWillLeave)},componentWillUnmount:function(){this.context.history.unregisterRouteHook(this._getRoute(),this.routerWillLeave)}};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){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 0===e.button}function u(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function i(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}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},l=n(2),c=r(l),f=n(3),p=r(f),d=c["default"].PropTypes,h=d.bool,y=d.object,m=d.string,g=d.func,v=c["default"].createClass({displayName:"Link",contextTypes:{history:y},propTypes:{activeStyle:y,activeClassName:m,onlyActiveOnIndex:h.isRequired,to:m.isRequired,query:y,state:y,onClick:g},getDefaultProps:function(){return{onlyActiveOnIndex:!1,className:"",style:{}}},handleClick:function(e){var t,n=!0;this.props.onClick&&(t=this.props.onClick(e)),!u(e)&&a(e)&&((t===!1||e.defaultPrevented===!0)&&(n=!1),e.preventDefault(),n&&this.context.history.pushState(this.props.state,this.props.to,this.props.query))},componentWillMount:function(){p["default"](this.context.history,"A <Link> should not be rendered outside the context of history; some features including real hrefs, active styling, and navigation will not function correctly")},render:function(){var e=this.context.history,t=this.props,n=t.activeClassName,r=t.activeStyle,a=t.onlyActiveOnIndex,u=t.to,l=t.query,f=(t.state,t.onClick,o(t,["activeClassName","activeStyle","onlyActiveOnIndex","to","query","state","onClick"]));return f.onClick=this.handleClick,e&&(f.href=e.createHref(u,l),(n||null!=r&&!i(r))&&e.isActive(u,l,a)&&(n&&(f.className+=""===f.className?n:" "+n),r&&(f.style=s({},f.style,r)))),c["default"].createElement("a",f)}});t["default"]=v,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(2),a=r(o),u=n(1),i=r(u),s=n(4),l=n(6),c=n(5),f=a["default"].PropTypes,p=f.string,d=f.object,h=a["default"].createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=s.createRouteFromReactElement(e);return t.from&&(t.path=t.from),i["default"]("/"===t.to.charAt(0),"<Redirect to> must be an absolute path. This should be fixed in the future"),t.onEnter=function(e,n){var r=e.location,o=e.params,a=t.to?l.formatPattern(t.to,o):r.pathname;n(t.state||r.state,a,t.query||r.query)},t}},propTypes:{path:p,from:p,to:p.isRequired,query:d,state:d,onEnter:c.falsy,children:c.falsy},render:function(){i["default"](!1,"<Redirect> elements are for router configuration only and should not be rendered")}});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(2),a=r(o),u=n(3),i=r(u),s=n(1),l=r(s),c=n(4),f=n(5),p=a["default"].PropTypes,d=p.string,h=p.bool,y=p.func,m=a["default"].createClass({displayName:"Route",statics:{createRouteFromReactElement:function(e){var t=c.createRouteFromReactElement(e);return t.handler&&(i["default"](!1,"<Route handler> is deprecated, use <Route component> instead"),t.component=t.handler,delete t.handler),t}},propTypes:{path:d,ignoreScrollBehavior:h,handler:f.component,component:f.component,components:f.components,getComponents:y},render:function(){l["default"](!1,"<Route> elements are for router configuration only and should not be rendered")}});t["default"]=m,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(2),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}}t.__esModule=!0;var o=n(2),a=r(o),u=n(3),i=r(u),s=n(34),l=r(s),c=n(4),f=n(11),p=r(f),d=n(10),h=r(d),y=n(5),m=a["default"].PropTypes,g=m.func,v=m.object,b=a["default"].createClass({displayName:"Router",propTypes:{history:v,children:y.routes,routes:y.routes,createElement:g,onError:g,onUpdate:g,parseQueryString:g,stringifyQuery:g},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},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}:l["default"];this.history=h["default"](i)({routes:c.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)})},componentWillReceiveProps:function(e){i["default"](e.history===this.props.history,"The `history` provided to <Router/> has changed, it will be ignored.")},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function(){var e=this.state,t=e.location,n=e.routes,r=e.params,o=e.components,u=this.props.createElement;return null==t?null:a["default"].createElement(p["default"],{history:this.history,createElement:u,location:t,routes:n,params:r,components:o})}});t["default"]=b,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;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,o,a=e&&e.routes,u=t.routes;return a?(n=a.filter(function(n){return-1===u.indexOf(n)||r(n,e,t)}),n.reverse(),o=u.filter(function(e){return-1===a.indexOf(e)||-1!==n.indexOf(e)})):(n=[],o=u),{leaveRoutes:n,enterRoutes:o}}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,n,r){if(e===t||0===t.indexOf(e+"/"))return!0;for(var o,a,i="",s=0,l=n.length;l>s;++s){if(o=n[s],!o.path)return!1;a=o.path||"",0!==a.indexOf("/")&&(a=i.replace(/\/*$/,"/")+a);var c=u.matchPattern(a,e),f=c.remainingPathname,p=c.paramNames,d=c.paramValues;if(""===f)return p.every(function(e,t){return String(d[t])===String(r[e])});i=a}return!1}function o(e,t){if(null==t)return null==e;if(null==e)return!0;for(var n in e)if(e.hasOwnProperty(n)&&String(e[n])!==String(t[n]))return!1;return!0}function a(e,t,n,a,u,i){return null==a?!1:n&&(u.length<2||u[u.length-2].indexRoute!==u[u.length-1])?!1:r(e,a.pathname,u,i)&&o(t,a.query)}t.__esModule=!0;var u=n(6);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=e.routes,r=e.history,o=e.location,u=e.parseQueryString,s=e.stringifyQuery,f=r?function(){return r}:i["default"],p=l["default"](f)({routes:c.createRoutes(n),parseQueryString:u,stringifyQuery:s});p.match(o,function(e,n,r){var o=r?a({},r,{history:p}):null;t(e,n,o)})}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};t["default"]=o;var u=n(35),i=r(u),s=n(10),l=r(s),c=n(4);e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){e.childRoutes?n(null,e.childRoutes):e.getChildRoutes?e.getChildRoutes(t,function(e,t){n(e,!e&&f.createRoutes(t))}):n()}function o(e,t,n){e.indexRoute?n(null,e.indexRoute):e.getIndexRoute?e.getIndexRoute(t,function(e,t){n(e,!e&&f.createRoutes(t)[0])}):n()}function a(e,t,n){return t.reduceRight(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].unshift(o):t in e?e[t]=[o,e[t]]:e[t]=o,e},e)}function u(e,t){return a({},e,t)}function i(e,t,n,a){var i=t.path||"";0!==i.indexOf("/")&&(i=e.replace(/\/*$/,"/")+i);var l=c.matchPattern(i,n.pathname),f=l.remainingPathname,p=l.paramNames,d=l.paramValues,h=""===f;if(h&&t.path){var y={routes:[t],params:u(p,d)};o(t,n,function(e,t){e?a(e):(t&&y.routes.push(t),a(null,y))})}else null!=f||t.childRoutes?r(t,n,function(e,r){e?a(e):r?s(r,n,function(e,n){e?a(e):n?(n.routes.unshift(t),a(null,n)):a()},i):a()}):a()}function s(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?"":arguments[3];l.loopAsync(e.length,function(n,o,a){i(r,e[n],t,function(e,t){e||t?a(e,t):o()})},n)}t.__esModule=!0;var l=n(9),c=n(6),f=n(4);t["default"]=s,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){"use strict";function n(e){return a+e}function r(e,t){window.sessionStorage.setItem(n(e),JSON.stringify(t))}function o(e){var t=window.sessionStorage.getItem(n(e));if(t)try{return JSON.parse(t)}catch(r){}return null}t.__esModule=!0,t.saveState=r,t.readState=o;var a="@@History/"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return i["default"](s.canUseDOM,"DOM history needs a DOM"),n.listen(e)}var n=f["default"](a({getUserConfirmation:l.getUserConfirmation},e,{go:l.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(1),i=r(u),s=n(13),l=n(12),c=n(14),f=r(c);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=g.getHashPath();return o(e)?!0:(g.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 l(){function e(){var e=g.getHashPath(),t=void 0,n=void 0;return O&&(t=s(e,O),e=i(e,O),t?n=v.readState(t):(n=null,t=P.createKey(),g.replaceHashPath(u(e,O,t)))),R["default"](e,n,void 0,t)}function t(t){function n(){a()&&r(e())}var r=t.transitionTo;return a(),g.addEventListener(window,"hashchange",n),function(){g.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.pathname,n=e.search,r=e.state,o=e.action,a=e.key;if(o!==y.POP){var i=t+n;O&&(i=u(i,O,a)),i===g.getHashPath()?p["default"](!1,"You cannot %s the same path using hash history",o):(O?v.saveState(a,r):e.key=e.state=null,o===y.PUSH?window.location.hash=i:g.replaceHashPath(i))}}function r(e){1===++w&&(j=t(P));var n=P.listen(e);return function(){n(),0===--w&&j()}}function o(e,t){p["default"](O||null==e,"You cannot use state without a queryKey it will be dropped"),P.pushState(e,t)}function l(e,t){p["default"](O||null==e,"You cannot use state without a queryKey it will be dropped"),P.replaceState(e,t)}function f(e){p["default"](E,"Hash history go(n) causes a full page reload in this browser"),P.go(e)}function d(e){return"#"+P.createHref(e)}var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];h["default"](m.canUseDOM,"Hash history needs a DOM");var O=b.queryKey;(void 0===O||O)&&(O="string"==typeof O?O:_);var P=x["default"](c({},b,{getCurrentLocation:e,finishTransition:n,saveState:v.saveState})),w=0,j=void 0,E=g.supportsGoWithoutReloadUsingHash();return c({},P,{listen:r,pushState:o,replaceState:l,go:f,createHref:d})}t.__esModule=!0;var c=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},f=n(3),p=r(f),d=n(1),h=r(d),y=n(7),m=n(13),g=n(12),v=n(32),b=n(33),x=r(b),O=n(8),R=r(O),_="_k";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){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){g[e]=t}function t(e){return g[e]}function n(){var e=y[m],n=e.key,r=e.pathname,o=e.search,a=r+(o||""),u=void 0;return n?u=t(n):(u=null,n=p.createKey(),e.key=n),f["default"](a,u,void 0,n)}function r(e){var t=m+e;return t>=0&&t<y.length}function a(e){if(e){s["default"](r(e),"Cannot go(%s) there is not enough history",e),m+=e;var t=n();p.transitionTo(u({},t,{action:l.POP}))}}function i(t){switch(t.action){case l.PUSH:m+=1,m<y.length&&y.splice(m),y.push(t),e(t.key,t.state);break;case l.REPLACE:y[m]=t,e(t.key,t.state)}}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(c)?c={entries:c}:"string"==typeof c&&(c={entries:[c]});var p=d["default"](u({},c,{getCurrentLocation:n,finishTransition:i,saveState:e,go:a})),h=c,y=h.entries,m=h.current;"string"==typeof y?y=[y]:Array.isArray(y)||(y=["/"]),y=y.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,"Unable to create history entry from %s",e)}),null==m?m=y.length-1:s["default"](m>=0&&m<y.length,"Current index must be >= 0 and < %s, was %s",y.length,m);var g=o(y);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(1),s=r(i),l=n(7),c=n(8),f=r(c),p=n(14),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 c["default"].stringify(e,{arrayFormat:"brackets"})}function u(e){return c["default"].parse(e)}function i(e){return function(){function t(e){return h.listen(function(t){t.query||(t.query=p(t.search.substring(1))),e(t)})}function n(e,t,n){return h.pushState(e,i(t,n))}function r(e,t,n){return h.replaceState(e,i(t,n))}function i(e,t){var n=void 0;return null==t||""===(n=f(t))?e:h.createPath(e+(-1===e.indexOf("?")?"?":"&")+n)}function l(e,t){return h.createHref(i(e,t))}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],f=c.stringifyQuery,p=c.parseQueryString,d=o(c,["stringifyQuery","parseQueryString"]),h=e(d);return"function"!=typeof f&&(f=a),"function"!=typeof p&&(p=u),s({},h,{listen:t,pushState:n,replaceState:r,createPath:i,createHref:l})}}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},l=n(40),c=r(l);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,c;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),l(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 f=i(e),p=i(t)}catch(d){return!1}if(f.length!=p.length)return!1;for(f.sort(),p.sort(),a=f.length-1;a>=0;a--)if(f[a]!=p[a])return!1;for(a=f.length-1;a>=0;a--)if(c=f[a],!l(e[c],t[c],n))return!1;return typeof e==typeof t}var u=Array.prototype.slice,i=n(39),s=n(38),l=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(42),o=n(41);e.exports={stringify:r,parse:o}},function(e,t,n){var r=n(15),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 l=r.decode(i.slice(0,s)),c=r.decode(i.slice(s+1));Object.prototype.hasOwnProperty.call(n,l)?n[l]=[].concat(n[l]).concat(c):n[l]=c}}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 l=u[i],c=o.parseKeys(l,n[l],t);a=r.merge(a,c,t)}return r.compact(a)}},function(e,t,n){var r=n(15),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),l=0,c=s.length;c>l;++l){var f=s[l];i=Array.isArray(e)?i.concat(o.stringify(e[f],n(t,f),n,a,u)):i.concat(o.stringify(e[f],t+"["+f+"]",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 l=o.arrayPrefixGenerators[s];n||(n=Object.keys(e));for(var c=0,f=n.length;f>c;++c){var p=n[c];i=i.concat(o.stringify(e[p],p,l,u,r))}return i.join(a)}}])});