Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connected-react-router

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connected-react-router - npm Package Compare versions

Comparing version 6.2.0-beta.2 to 6.2.0-beta.3

2

esm/reducer.js

@@ -31,3 +31,3 @@ import { LOCATION_CHANGE } from './actions';

return isFirstRendering ? state : merge(state, {
location: location,
location: fromJS(location),
action: action

@@ -34,0 +34,0 @@ });

@@ -38,3 +38,3 @@ "use strict";

return isFirstRendering ? state : merge(state, {
location: location,
location: fromJS(location),
action: action

@@ -41,0 +41,0 @@ });

{
"name": "connected-react-router",
"version": "6.2.0-beta.2",
"version": "6.2.0-beta.3",
"description": "A Redux binding for React Router v4",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ConnectedReactRouter=e():t.ConnectedReactRouter=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=68)}([function(t,e,n){"use strict";t.exports=n(60)},function(t,e,n){t.exports=n(40)()},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],p=0;c=new Error(e.replace(/%s/g,function(){return s[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};t.exports=r},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"f",function(){return i}),n.d(e,"g",function(){return a}),n.d(e,"e",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"a",function(){return s});var r=function(t){return"/"===t.charAt(0)?t:"/"+t},o=function(t){return"/"===t.charAt(0)?t.substr(1):t},i=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},a=function(t,e){return i(t,e)?t.substr(e.length):t},u=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},c=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},s=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return s}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return f}),n.d(e,"i",function(){return l});var r="@@router/LOCATION_CHANGE",o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:r,payload:{location:t,action:e,isFirstRendering:n}}},i="@@router/CALL_HISTORY_METHOD",a=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return{type:i,payload:{method:t,args:n}}}},u=a("push"),c=a("replace"),s=a("go"),p=a("goBack"),f=a("goForward"),l={push:u,replace:c,go:s,goBack:p,goForward:f}},function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var r=n(62),o=n(65),i=n(4),a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=function(t,e,o,u){var c=void 0;"string"==typeof t?(c=n.i(i.b)(t),c.state=e):(c=a({},t),void 0===c.pathname&&(c.pathname=""),c.search?"?"!==c.search.charAt(0)&&(c.search="?"+c.search):c.search="",c.hash?"#"!==c.hash.charAt(0)&&(c.hash="#"+c.hash):c.hash="",void 0!==e&&void 0===c.state&&(c.state=e));try{c.pathname=decodeURI(c.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+c.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return o&&(c.key=o),u?c.pathname?"/"!==c.pathname.charAt(0)&&(c.pathname=n.i(r.a)(c.pathname,u.pathname)):c.pathname=u.pathname:c.pathname||(c.pathname="/"),c},c=function(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&n.i(o.a)(t.state,e.state)}},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"ConnectedRouter",function(){return s}),n.d(e,"connectRouter",function(){return p}),n.d(e,"getLocation",function(){return l}),n.d(e,"getAction",function(){return d}),n.d(e,"getHash",function(){return h}),n.d(e,"getSearch",function(){return y}),n.d(e,"createMatchSelector",function(){return v});var r=n(29),o=n(31),i=n(17),a=n(33),u=n(5);n.d(e,"LOCATION_CHANGE",function(){return u.a}),n.d(e,"CALL_HISTORY_METHOD",function(){return u.b}),n.d(e,"onLocationChanged",function(){return u.c}),n.d(e,"push",function(){return u.d}),n.d(e,"replace",function(){return u.e}),n.d(e,"go",function(){return u.f}),n.d(e,"goBack",function(){return u.g}),n.d(e,"goForward",function(){return u.h}),n.d(e,"routerActions",function(){return u.i});var c=n(30);n.d(e,"routerMiddleware",function(){return c.a});var s=n.i(r.a)(a.a),p=n.i(o.a)(a.a),f=n.i(i.a)(a.a),l=f.getLocation,d=f.getAction,h=f.getHash,y=f.getSearch,v=f.createMatchSelector},function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}e.a=r},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}e.a=r},function(t,e,n){"use strict";var r=n(7),o=n.n(r),i=function(){var t=null,e=function(e){return o()(null==t,"A history supports only one prompt at a time"),t=e,function(){t===e&&(t=null)}},n=function(e,n,r,i){if(null!=t){var a="function"==typeof t?t(e,n):t;"string"==typeof a?"function"==typeof r?r(a,i):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},r=[];return{setPrompt:e,confirmTransitionTo:n,appendListener:function(t){var e=!0,n=function(){e&&t.apply(void 0,arguments)};return r.push(n),function(){e=!1,r=r.filter(function(t){return t!==n})}},notifyListeners:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];r.forEach(function(t){return t.apply(void 0,e)})}}};e.a=i},function(t,e,n){"use strict";var r=(n(34),n(35),n(36));n.d(e,"d",function(){return r.a});var o=n(6);n.d(e,"b",function(){return o.a}),n.d(e,"c",function(){return o.b});var i=n(4);n.d(e,"a",function(){return i.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(0),o=n.n(r),i=o.a.createContext(null)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),u=n.n(a),c=n(2),s=n.n(c),p=n(0),f=n.n(p),l=n(1),d=n.n(l),h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},y=function(t){function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s=0;s<u;s++)c[s]=arguments[s];return n=i=o(this,t.call.apply(t,[this].concat(c))),i.state={match:i.computeMatch(i.props.history.location.pathname)},a=n,o(i,a)}return i(e,t),e.prototype.getChildContext=function(){return{router:h({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},e.prototype.computeMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}},e.prototype.componentWillMount=function(){var t=this,e=this.props,n=e.children,r=e.history;s()(null==n||1===f.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){console.log("react-router: history changed, match",t.computeMatch(r.location.pathname)),console.log("history",r),t.setState({match:t.computeMatch(r.location.pathname)})})},e.prototype.componentWillReceiveProps=function(t){u()(this.props.history===t.history,"You cannot change <Router history>")},e.prototype.componentWillUnmount=function(){console.log("react-router: unlisten"),this.unlisten()},e.prototype.componentWillUpdate=function(t,e){return console.log("react-router: componentWillUpdate"),console.log("prevProps",t),console.log("nextProps",e),!1},e.prototype.render=function(){console.log("react-router: render Router");var t=this.props.children;return t?f.a.Children.only(t):null},e}(f.a.Component);y.propTypes={history:d.a.object.isRequired,children:d.a.node},y.contextTypes={router:d.a.object},y.childContextTypes={router:d.a.object.isRequired},e.a=y},function(t,e,n){"use strict";var r=n(19),o=n.n(r),i={},a=0,u=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=i[n]||(i[n]={});if(r[t])return r[t];var u=[],c=o()(t,u,e),s={re:c,keys:u};return a<1e4&&(r[t]=s,a++),s},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof e&&(e={path:e});var r=e,o=r.path,i=r.exact,a=void 0!==i&&i,c=r.strict,s=void 0!==c&&c,p=r.sensitive,f=void 0!==p&&p;if(null==o)return n;var l=u(o,{end:a,strict:s,sensitive:f}),d=l.re,h=l.keys,y=d.exec(t);if(!y)return null;var v=y[0],m=y.slice(1),b=t===v;return a&&!b?null:{path:o,url:"/"===o&&""===v?"/":v,isExact:b,params:h.reduce(function(t,e,n){return t[e.name]=m[n],t},{})}};e.a=c},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(27),i=function(t){var e=t.getIn,i=t.toJS,a=function(t){return null!=t&&"object"===r(t)&&e(t,["location"])&&e(t,["action"])},u=function(t){var n=i(e(t,["router"]));if(!a(n))throw'Could not find router reducer in state tree, it must be mounted under "router"';return n},c=function(t){return i(e(u(t),["location"]))};return{getLocation:c,getAction:function(t){return i(e(u(t),["action"]))},getRouter:u,getSearch:function(t){return i(e(u(t),["location","search"]))},getHash:function(t){return i(e(u(t),["location","hash"]))},createMatchSelector:function(t){var e=null,r=null;return function(i){var a=c(i)||{},u=a.pathname;if(u===e)return r;e=u;var s=n.i(o.a)(u,t);return s&&r&&s.url===r.url||(r=s),r}}}};e.a=i},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"h",function(){return p});var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},i=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},a=function(t,e){return e(window.confirm(t))},u=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},c=function(){return-1===window.navigator.userAgent.indexOf("Trident")},s=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},p=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(t,e,n){function r(t,e){for(var n,r=[],o=0,i=0,a="",u=e&&e.delimiter||"/";null!=(n=b.exec(t));){var p=n[0],f=n[1],l=n.index;if(a+=t.slice(i,l),i=l+p.length,f)a+=f[1];else{var d=t[i],h=n[2],y=n[3],v=n[4],m=n[5],g=n[6],w=n[7];a&&(r.push(a),a="");var O=null!=h&&null!=d&&d!==h,P="+"===g||"*"===g,x="?"===g||"*"===g,j=n[2]||u,S=v||m;r.push({name:y||o++,prefix:h||"",delimiter:j,optional:x,repeat:P,partial:O,asterisk:!!w,pattern:S?s(S):w?".*":"[^"+c(j)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function o(t,e){return u(r(t,e))}function i(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function a(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function u(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var o="",u=n||{},c=r||{},s=c.pretty?i:encodeURIComponent,p=0;p<t.length;p++){var f=t[p];if("string"!=typeof f){var l,d=u[f.name];if(null==d){if(f.optional){f.partial&&(o+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(m(d)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(l=s(d[h]),!e[p].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?a(d):s(d),!e[p].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');o+=f.prefix+l}}else o+=f}return o}}function c(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function p(t,e){return t.keys=e,t}function f(t){return t.sensitive?"":"i"}function l(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(t,e)}function d(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(v(t[o],e,n).source);return p(new RegExp("(?:"+r.join("|")+")",f(n)),e)}function h(t,e,n){return y(r(t,n),e,n)}function y(t,e,n){m(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,o=!1!==n.end,i="",a=0;a<t.length;a++){var u=t[a];if("string"==typeof u)i+=c(u);else{var s=c(u.prefix),l="(?:"+u.pattern+")";e.push(u),u.repeat&&(l+="(?:"+s+l+")*"),l=u.optional?u.partial?s+"("+l+")?":"(?:"+s+"("+l+"))?":s+"("+l+")",i+=l}}var d=c(n.delimiter||"/"),h=i.slice(-d.length)===d;return r||(i=(h?i.slice(0,-d.length):i)+"(?:"+d+"(?=$))?"),i+=o?"$":r&&h?"":"(?="+d+"|$)",p(new RegExp("^"+i,f(n)),e)}function v(t,e,n){return m(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?l(t,e):m(t)?d(t,e,n):h(t,e,n)}var m=n(39);t.exports=v,t.exports.parse=r,t.exports.compile=o,t.exports.tokensToFunction=u,t.exports.tokensToRegExp=y;var b=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g")},function(t,e,n){"use strict";t.exports=n(42)},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e={});var r=e,c=r.getDisplayName,p=void 0===c?function(t){return"ConnectAdvanced("+t+")"}:c,h=r.methodName,v=void 0===h?"connectAdvanced":h,m=r.renderCountProp,b=void 0===m?void 0:m,g=r.shouldHandleStateChanges,w=void 0===g||g,O=r.storeKey,P=void 0===O?"store":O,x=r.withRef,j=void 0!==x&&x,S=r.forwardRef,R=void 0!==S&&S,C=r.context,E=void 0===C?y.a:C,T=n.i(u.a)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);f()(void 0===b,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),f()(!j,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var _="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React-Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";f()("store"===P,"storeKey has been removed and does not do anything. "+_);var k=E;return function(e){function r(){var e,n,r,o,i;return function(a,u,c){if(m&&e===u&&n===a)return r;c!==o&&(o=c,i=t(c.dispatch,y)),e=u,n=a;var s=i(a,u);return r===s?r:r=s}}function u(){var t,e,r;return function(o,i){return o===t&&i===e||(t=o,e=i,r=d.a.createElement(O,n.i(a.a)({},o,{ref:i}))),r}}var c=e.displayName||e.name||"Component",h=p(c),y=n.i(a.a)({},T,{getDisplayName:p,methodName:v,renderCountProp:b,shouldHandleStateChanges:w,storeKey:P,displayName:h,wrappedComponentName:c,WrappedComponent:e}),m=T.pure,g=l.Component,O=e;m&&(g=l.PureComponent);var x=function(t){function e(e){var o;return o=t.call(this,e)||this,f()(R?!e.wrapperProps[P]:!e[P],"Passing redux store in props has been removed and does not do anything. "+_),o.selectDerivedProps=r(),o.selectChildElement=u(),o.renderWrappedComponent=o.renderWrappedComponent.bind(n.i(i.a)(n.i(i.a)(o))),o}n.i(o.a)(e,t);var c=e.prototype;return c.renderWrappedComponent=function(t){f()(t,'Could not find "store" in the context of "'+h+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+h+" in connect options.");var e,r=t.storeState,o=t.store,i=this.props;R&&(i=this.props.wrapperProps,e=this.props.forwardedRef);var u=this.selectDerivedProps(r,i,o);return m?this.selectChildElement(u,e):d.a.createElement(O,n.i(a.a)({},u,{ref:e}))},c.render=function(){var t=this.props.context||k;return d.a.createElement(t.Consumer,null,this.renderWrappedComponent)},e}(g);if(x.WrappedComponent=e,x.displayName=h,R){var j=d.a.forwardRef(function(t,e){return d.a.createElement(x,{wrapperProps:t,forwardedRef:e})});return j.displayName=h,j.WrappedComponent=e,s()(j,e)}return s()(x,e)}}e.a=r;var o=n(16),i=n(28),a=n(9),u=n(10),c=n(53),s=n.n(c),p=n(2),f=n.n(p),l=n(0),d=n.n(l),h=n(20),y=(n.n(h),n(13))},function(t,e,n){"use strict";function r(t){return function(e,n){function r(){return o}var o=t(e,n);return r.dependsOnOwnProps=!1,r}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){var r=(n.displayName,function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)});return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}e.b=r,e.a=i,n(23)},function(t,e,n){"use strict";n(51),n(24)},function(t,e,n){"use strict";function r(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}e.a=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),u=n.n(a),c=n(2),s=n.n(c),p=n(0),f=n.n(p),l=n(1),d=n.n(l),h=n(15),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(t){return 0===f.a.Children.count(t)},m=function(t){function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s=0;s<u;s++)c[s]=arguments[s];return n=i=o(this,t.call.apply(t,[this].concat(c))),i.state={match:i.computeMatch(i.props,i.context.router)},a=n,o(i,a)}return i(e,t),e.prototype.getChildContext=function(){return{router:y({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},e.prototype.computeMatch=function(t,e){var r=t.computedMatch,o=t.location,i=t.path,a=t.strict,u=t.exact,c=t.sensitive;if(r)return r;s()(e,"You should not use <Route> or withRouter() outside a <Router>");var p=e.route,f=(o||p.location).pathname;return n.i(h.a)(f,{path:i,strict:a,exact:u,sensitive:c},p.match)},e.prototype.componentWillMount=function(){u()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),u()(!(this.props.component&&this.props.children&&!v(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),u()(!(this.props.render&&this.props.children&&!v(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},e.prototype.componentWillReceiveProps=function(t,e){u()(!(t.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),u()(!(!t.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},e.prototype.render=function(){var t=this.state.match,e=this.props,n=e.children,r=e.component,o=e.render,i=this.context.router,a=i.history,u=i.route,c=i.staticContext,s=this.props.location||u.location,p={match:t,location:s,history:a,staticContext:c};return r?t?f.a.createElement(r,p):null:o?t?o(p):null:"function"==typeof n?n(p):n&&!v(n)?f.a.Children.only(n):null},e}(f.a.Component);m.propTypes={computedMatch:d.a.object,path:d.a.string,exact:d.a.bool,strict:d.a.bool,sensitive:d.a.bool,component:d.a.func,render:d.a.func,children:d.a.oneOfType([d.a.func,d.a.node]),location:d.a.object},m.contextTypes={router:d.a.shape({history:d.a.object.isRequired,route:d.a.object.isRequired,staticContext:d.a.object})},m.childContextTypes={router:d.a.object.isRequired},e.a=m},function(t,e,n){"use strict";var r=n(19),o=n.n(r),i={},a=0,u=function(t){var e=t,n=i[e]||(i[e]={});if(n[t])return n[t];var r=o.a.compile(t);return a<1e4&&(n[t]=r,a++),r},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===t?t:u(t)(e,{pretty:!0})};e.a=c},function(t,e,n){"use strict";var r=(n(54),n(55),n(56),n(25),n(14));n.d(e,"b",function(){return r.a});var o=(n(57),n(58),n(26),n(15));n.d(e,"a",function(){return o.a}),n(59)},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?s(t):e}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var d=n(0),h=n.n(d),y=n(1),v=n.n(y),m=n(50),b=n(27),g=n(5),w=n(17),O=function(t){var e=n.i(w.a)(t),r=e.getLocation,a=function(t){function e(t){var n;i(this,e),n=c(this,p(e).call(this,t));var o=t.store,a=t.history,u=t.onLocationChanged;n.inTimeTravelling=!1,n.unsubscribe=o.subscribe(function(){var t=r(o.getState()),e=t.pathname,i=t.search,u=t.hash,c=a.location,s=c.pathname,p=c.search,f=c.hash;s===e&&p===i&&f===u||(n.inTimeTravelling=!0,a.push({pathname:e,search:i,hash:u}))});var s=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n.inTimeTravelling?n.inTimeTravelling=!1:u(t,e,r)};return n.unlisten=a.listen(s),s(a.location,a.action,!0),n}return f(e,t),u(e,[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var t=this.props,e=t.history,n=t.children;return h.a.createElement(b.b,{history:e},n)}}]),e}(d.PureComponent);a.propTypes={store:v.a.shape({getState:v.a.func.isRequired,subscribe:v.a.func.isRequired}).isRequired,history:v.a.shape({action:v.a.string.isRequired,listen:v.a.func.isRequired,location:v.a.object.isRequired,push:v.a.func.isRequired}).isRequired,basename:v.a.string,children:v.a.oneOfType([v.a.func,v.a.node]),onLocationChanged:v.a.func.isRequired};var s=function(t){return{onLocationChanged:function(e,r){return t(n.i(g.c)(e,r))}}},l=function(t){var e=t.context||m.a;if(null==e)throw"Please upgrade to react-redux v6";return h.a.createElement(e.Consumer,null,function(e){var n=e.store;return h.a.createElement(a,o({store:n},t))})};return l.propTypes={context:v.a.object},n.i(m.b)(null,s)(l)};e.a=O},function(t,e,n){"use strict";function r(t){return a(t)||i(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var u=n(5),c=function(t){return function(e){return function(e){return function(n){if(n.type!==u.b)return e(n);var o=n.payload,i=o.method,a=o.args;t[i].apply(t,r(a))}}}};e.a=c},function(t,e,n){"use strict";var r=n(5),o=function(t){var e=t.fromJS,n=t.merge;return function(t){var o=e({location:t.location,action:t.action});return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.type,a=e.payload;if(i===r.a){var u=a.location,c=a.action;return a.isFirstRendering?t:n(t,{location:u,action:c})}return t}}};e.a=o},function(t,e,n){"use strict";var r=function(t,e){if(!t)return t;var n=e.length;if(n){for(var r=t,o=0;o<n&&r;++o)r=r[e[o]];return r}};e.a=r},function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){o(t,e,n[e])})}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(32),a={fromJS:function(t){return t},getIn:i.a,merge:function(t,e){return r({},t,e)},toJS:function(t){return t}};e.a=a},function(t,e,n){"use strict";var r=n(7),o=(n.n(r),n(2));n.n(o),n(6),n(4),n(11),n(18),"function"==typeof Symbol&&Symbol.iterator,Object.assign},function(t,e,n){"use strict";var r=n(7),o=(n.n(r),n(2)),i=(n.n(o),n(6),n(4));n(11),n(18),Object.assign,i.c,i.d,i.d,i.d},function(t,e,n){"use strict";var r=n(7),o=n.n(r),i=n(4),a=n(6),u=n(11),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},p=function(t,e,n){return Math.min(Math.max(t,e),n)},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,r=t.initialEntries,f=void 0===r?["/"]:r,l=t.initialIndex,d=void 0===l?0:l,h=t.keyLength,y=void 0===h?6:h,v=n.i(u.a)(),m=function(t){s(_,t),_.length=_.entries.length,v.notifyListeners(_.location,_.action)},b=function(){return Math.random().toString(36).substr(2,y)},g=p(d,0,f.length-1),w=f.map(function(t){return"string"==typeof t?n.i(a.a)(t,void 0,b()):n.i(a.a)(t,void 0,t.key||b())}),O=i.a,P=function(t,r){o()(!("object"===(void 0===t?"undefined":c(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=n.i(a.a)(t,r,b(),_.location);v.confirmTransitionTo(i,"PUSH",e,function(t){if(t){var e=_.index,n=e+1,r=_.entries.slice(0);r.length>n?r.splice(n,r.length-n,i):r.push(i),m({action:"PUSH",location:i,index:n,entries:r})}})},x=function(t,r){o()(!("object"===(void 0===t?"undefined":c(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=n.i(a.a)(t,r,b(),_.location);v.confirmTransitionTo(i,"REPLACE",e,function(t){t&&(_.entries[_.index]=i,m({action:"REPLACE",location:i}))})},j=function(t){var n=p(_.index+t,0,_.entries.length-1),r=_.entries[n];v.confirmTransitionTo(r,"POP",e,function(t){t?m({action:"POP",location:r,index:n}):m()})},S=function(){return j(-1)},R=function(){return j(1)},C=function(t){var e=_.index+t;return e>=0&&e<_.entries.length},E=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v.setPrompt(t)},T=function(t){return v.appendListener(t)},_={length:w.length,action:"POP",location:w[g],index:g,entries:w,createHref:O,push:P,replace:x,go:j,goBack:S,goForward:R,canGo:C,block:E,listen:T};return _};e.a=f},function(t,e,n){"use strict";function r(t,e,n){if("string"!=typeof e){if(f){var l=p(e);l&&l!==f&&r(t,l,n)}var d=u(e);c&&(d=d.concat(c(e)));for(var h=0;h<d.length;++h){var y=d[h];if(!(o[y]||i[y]||n&&n[y])){var v=s(e,y);try{a(t,y,v)}catch(t){}}}return t}return t}var o={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=p&&p(Object);t.exports=r},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ConnectedReactRouter=e():t.ConnectedReactRouter=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=68)}([function(t,e,n){"use strict";t.exports=n(60)},function(t,e,n){t.exports=n(40)()},function(t,e,n){"use strict";var r=function(t,e,n,r,o,i,a,u){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],p=0;c=new Error(e.replace(/%s/g,function(){return s[p++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};t.exports=r},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"f",function(){return i}),n.d(e,"g",function(){return a}),n.d(e,"e",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"a",function(){return s});var r=function(t){return"/"===t.charAt(0)?t:"/"+t},o=function(t){return"/"===t.charAt(0)?t.substr(1):t},i=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},a=function(t,e){return i(t,e)?t.substr(e.length):t},u=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},c=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}},s=function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return u}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return s}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return f}),n.d(e,"i",function(){return l});var r="@@router/LOCATION_CHANGE",o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:r,payload:{location:t,action:e,isFirstRendering:n}}},i="@@router/CALL_HISTORY_METHOD",a=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return{type:i,payload:{method:t,args:n}}}},u=a("push"),c=a("replace"),s=a("go"),p=a("goBack"),f=a("goForward"),l={push:u,replace:c,go:s,goBack:p,goForward:f}},function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var r=n(62),o=n(65),i=n(4),a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=function(t,e,o,u){var c=void 0;"string"==typeof t?(c=n.i(i.b)(t),c.state=e):(c=a({},t),void 0===c.pathname&&(c.pathname=""),c.search?"?"!==c.search.charAt(0)&&(c.search="?"+c.search):c.search="",c.hash?"#"!==c.hash.charAt(0)&&(c.hash="#"+c.hash):c.hash="",void 0!==e&&void 0===c.state&&(c.state=e));try{c.pathname=decodeURI(c.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+c.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return o&&(c.key=o),u?c.pathname?"/"!==c.pathname.charAt(0)&&(c.pathname=n.i(r.a)(c.pathname,u.pathname)):c.pathname=u.pathname:c.pathname||(c.pathname="/"),c},c=function(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&n.i(o.a)(t.state,e.state)}},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"ConnectedRouter",function(){return s}),n.d(e,"connectRouter",function(){return p}),n.d(e,"getLocation",function(){return l}),n.d(e,"getAction",function(){return d}),n.d(e,"getHash",function(){return h}),n.d(e,"getSearch",function(){return y}),n.d(e,"createMatchSelector",function(){return v});var r=n(29),o=n(31),i=n(17),a=n(33),u=n(5);n.d(e,"LOCATION_CHANGE",function(){return u.a}),n.d(e,"CALL_HISTORY_METHOD",function(){return u.b}),n.d(e,"onLocationChanged",function(){return u.c}),n.d(e,"push",function(){return u.d}),n.d(e,"replace",function(){return u.e}),n.d(e,"go",function(){return u.f}),n.d(e,"goBack",function(){return u.g}),n.d(e,"goForward",function(){return u.h}),n.d(e,"routerActions",function(){return u.i});var c=n(30);n.d(e,"routerMiddleware",function(){return c.a});var s=n.i(r.a)(a.a),p=n.i(o.a)(a.a),f=n.i(i.a)(a.a),l=f.getLocation,d=f.getAction,h=f.getHash,y=f.getSearch,v=f.createMatchSelector},function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}e.a=r},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}e.a=r},function(t,e,n){"use strict";var r=n(7),o=n.n(r),i=function(){var t=null,e=function(e){return o()(null==t,"A history supports only one prompt at a time"),t=e,function(){t===e&&(t=null)}},n=function(e,n,r,i){if(null!=t){var a="function"==typeof t?t(e,n):t;"string"==typeof a?"function"==typeof r?r(a,i):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},r=[];return{setPrompt:e,confirmTransitionTo:n,appendListener:function(t){var e=!0,n=function(){e&&t.apply(void 0,arguments)};return r.push(n),function(){e=!1,r=r.filter(function(t){return t!==n})}},notifyListeners:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];r.forEach(function(t){return t.apply(void 0,e)})}}};e.a=i},function(t,e,n){"use strict";var r=(n(34),n(35),n(36));n.d(e,"d",function(){return r.a});var o=n(6);n.d(e,"b",function(){return o.a}),n.d(e,"c",function(){return o.b});var i=n(4);n.d(e,"a",function(){return i.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(0),o=n.n(r),i=o.a.createContext(null)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),u=n.n(a),c=n(2),s=n.n(c),p=n(0),f=n.n(p),l=n(1),d=n.n(l),h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},y=function(t){function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s=0;s<u;s++)c[s]=arguments[s];return n=i=o(this,t.call.apply(t,[this].concat(c))),i.state={match:i.computeMatch(i.props.history.location.pathname)},a=n,o(i,a)}return i(e,t),e.prototype.getChildContext=function(){return{router:h({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},e.prototype.computeMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}},e.prototype.componentWillMount=function(){var t=this,e=this.props,n=e.children,r=e.history;s()(null==n||1===f.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){console.log("react-router: history changed, match",t.computeMatch(r.location.pathname)),console.log("history",r),t.setState({match:t.computeMatch(r.location.pathname)})})},e.prototype.componentWillReceiveProps=function(t){u()(this.props.history===t.history,"You cannot change <Router history>")},e.prototype.componentWillUnmount=function(){console.log("react-router: unlisten"),this.unlisten()},e.prototype.componentWillUpdate=function(t,e){return console.log("react-router: componentWillUpdate"),console.log("prevProps",t),console.log("nextProps",e),!1},e.prototype.render=function(){console.log("react-router: render Router");var t=this.props.children;return t?f.a.Children.only(t):null},e}(f.a.Component);y.propTypes={history:d.a.object.isRequired,children:d.a.node},y.contextTypes={router:d.a.object},y.childContextTypes={router:d.a.object.isRequired},e.a=y},function(t,e,n){"use strict";var r=n(19),o=n.n(r),i={},a=0,u=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=i[n]||(i[n]={});if(r[t])return r[t];var u=[],c=o()(t,u,e),s={re:c,keys:u};return a<1e4&&(r[t]=s,a++),s},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof e&&(e={path:e});var r=e,o=r.path,i=r.exact,a=void 0!==i&&i,c=r.strict,s=void 0!==c&&c,p=r.sensitive,f=void 0!==p&&p;if(null==o)return n;var l=u(o,{end:a,strict:s,sensitive:f}),d=l.re,h=l.keys,y=d.exec(t);if(!y)return null;var v=y[0],m=y.slice(1),b=t===v;return a&&!b?null:{path:o,url:"/"===o&&""===v?"/":v,isExact:b,params:h.reduce(function(t,e,n){return t[e.name]=m[n],t},{})}};e.a=c},function(t,e,n){"use strict";function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(27),i=function(t){var e=t.getIn,i=t.toJS,a=function(t){return null!=t&&"object"===r(t)&&e(t,["location"])&&e(t,["action"])},u=function(t){var n=i(e(t,["router"]));if(!a(n))throw'Could not find router reducer in state tree, it must be mounted under "router"';return n},c=function(t){return i(e(u(t),["location"]))};return{getLocation:c,getAction:function(t){return i(e(u(t),["action"]))},getRouter:u,getSearch:function(t){return i(e(u(t),["location","search"]))},getHash:function(t){return i(e(u(t),["location","hash"]))},createMatchSelector:function(t){var e=null,r=null;return function(i){var a=c(i)||{},u=a.pathname;if(u===e)return r;e=u;var s=n.i(o.a)(u,t);return s&&r&&s.url===r.url||(r=s),r}}}};e.a=i},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"e",function(){return i}),n.d(e,"c",function(){return a}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"h",function(){return p});var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o=function(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},i=function(t,e,n){return t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},a=function(t,e){return e(window.confirm(t))},u=function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},c=function(){return-1===window.navigator.userAgent.indexOf("Trident")},s=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},p=function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")}},function(t,e,n){function r(t,e){for(var n,r=[],o=0,i=0,a="",u=e&&e.delimiter||"/";null!=(n=b.exec(t));){var p=n[0],f=n[1],l=n.index;if(a+=t.slice(i,l),i=l+p.length,f)a+=f[1];else{var d=t[i],h=n[2],y=n[3],v=n[4],m=n[5],g=n[6],w=n[7];a&&(r.push(a),a="");var O=null!=h&&null!=d&&d!==h,P="+"===g||"*"===g,x="?"===g||"*"===g,j=n[2]||u,S=v||m;r.push({name:y||o++,prefix:h||"",delimiter:j,optional:x,repeat:P,partial:O,asterisk:!!w,pattern:S?s(S):w?".*":"[^"+c(j)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function o(t,e){return u(r(t,e))}function i(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function a(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function u(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var o="",u=n||{},c=r||{},s=c.pretty?i:encodeURIComponent,p=0;p<t.length;p++){var f=t[p];if("string"!=typeof f){var l,d=u[f.name];if(null==d){if(f.optional){f.partial&&(o+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(m(d)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<d.length;h++){if(l=s(d[h]),!e[p].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?a(d):s(d),!e[p].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');o+=f.prefix+l}}else o+=f}return o}}function c(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function p(t,e){return t.keys=e,t}function f(t){return t.sensitive?"":"i"}function l(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(t,e)}function d(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(v(t[o],e,n).source);return p(new RegExp("(?:"+r.join("|")+")",f(n)),e)}function h(t,e,n){return y(r(t,n),e,n)}function y(t,e,n){m(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,o=!1!==n.end,i="",a=0;a<t.length;a++){var u=t[a];if("string"==typeof u)i+=c(u);else{var s=c(u.prefix),l="(?:"+u.pattern+")";e.push(u),u.repeat&&(l+="(?:"+s+l+")*"),l=u.optional?u.partial?s+"("+l+")?":"(?:"+s+"("+l+"))?":s+"("+l+")",i+=l}}var d=c(n.delimiter||"/"),h=i.slice(-d.length)===d;return r||(i=(h?i.slice(0,-d.length):i)+"(?:"+d+"(?=$))?"),i+=o?"$":r&&h?"":"(?="+d+"|$)",p(new RegExp("^"+i,f(n)),e)}function v(t,e,n){return m(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?l(t,e):m(t)?d(t,e,n):h(t,e,n)}var m=n(39);t.exports=v,t.exports.parse=r,t.exports.compile=o,t.exports.tokensToFunction=u,t.exports.tokensToRegExp=y;var b=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g")},function(t,e,n){"use strict";t.exports=n(42)},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e={});var r=e,c=r.getDisplayName,p=void 0===c?function(t){return"ConnectAdvanced("+t+")"}:c,h=r.methodName,v=void 0===h?"connectAdvanced":h,m=r.renderCountProp,b=void 0===m?void 0:m,g=r.shouldHandleStateChanges,w=void 0===g||g,O=r.storeKey,P=void 0===O?"store":O,x=r.withRef,j=void 0!==x&&x,S=r.forwardRef,R=void 0!==S&&S,C=r.context,E=void 0===C?y.a:C,T=n.i(u.a)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);f()(void 0===b,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),f()(!j,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var _="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React-Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";f()("store"===P,"storeKey has been removed and does not do anything. "+_);var k=E;return function(e){function r(){var e,n,r,o,i;return function(a,u,c){if(m&&e===u&&n===a)return r;c!==o&&(o=c,i=t(c.dispatch,y)),e=u,n=a;var s=i(a,u);return r===s?r:r=s}}function u(){var t,e,r;return function(o,i){return o===t&&i===e||(t=o,e=i,r=d.a.createElement(O,n.i(a.a)({},o,{ref:i}))),r}}var c=e.displayName||e.name||"Component",h=p(c),y=n.i(a.a)({},T,{getDisplayName:p,methodName:v,renderCountProp:b,shouldHandleStateChanges:w,storeKey:P,displayName:h,wrappedComponentName:c,WrappedComponent:e}),m=T.pure,g=l.Component,O=e;m&&(g=l.PureComponent);var x=function(t){function e(e){var o;return o=t.call(this,e)||this,f()(R?!e.wrapperProps[P]:!e[P],"Passing redux store in props has been removed and does not do anything. "+_),o.selectDerivedProps=r(),o.selectChildElement=u(),o.renderWrappedComponent=o.renderWrappedComponent.bind(n.i(i.a)(n.i(i.a)(o))),o}n.i(o.a)(e,t);var c=e.prototype;return c.renderWrappedComponent=function(t){f()(t,'Could not find "store" in the context of "'+h+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+h+" in connect options.");var e,r=t.storeState,o=t.store,i=this.props;R&&(i=this.props.wrapperProps,e=this.props.forwardedRef);var u=this.selectDerivedProps(r,i,o);return m?this.selectChildElement(u,e):d.a.createElement(O,n.i(a.a)({},u,{ref:e}))},c.render=function(){var t=this.props.context||k;return d.a.createElement(t.Consumer,null,this.renderWrappedComponent)},e}(g);if(x.WrappedComponent=e,x.displayName=h,R){var j=d.a.forwardRef(function(t,e){return d.a.createElement(x,{wrapperProps:t,forwardedRef:e})});return j.displayName=h,j.WrappedComponent=e,s()(j,e)}return s()(x,e)}}e.a=r;var o=n(16),i=n(28),a=n(9),u=n(10),c=n(53),s=n.n(c),p=n(2),f=n.n(p),l=n(0),d=n.n(l),h=n(20),y=(n.n(h),n(13))},function(t,e,n){"use strict";function r(t){return function(e,n){function r(){return o}var o=t(e,n);return r.dependsOnOwnProps=!1,r}}function o(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function i(t,e){return function(e,n){var r=(n.displayName,function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)});return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=o(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=o(i),i=r(e,n)),i},r}}e.b=r,e.a=i,n(23)},function(t,e,n){"use strict";n(51),n(24)},function(t,e,n){"use strict";function r(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}e.a=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),u=n.n(a),c=n(2),s=n.n(c),p=n(0),f=n.n(p),l=n(1),d=n.n(l),h=n(15),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(t){return 0===f.a.Children.count(t)},m=function(t){function e(){var n,i,a;r(this,e);for(var u=arguments.length,c=Array(u),s=0;s<u;s++)c[s]=arguments[s];return n=i=o(this,t.call.apply(t,[this].concat(c))),i.state={match:i.computeMatch(i.props,i.context.router)},a=n,o(i,a)}return i(e,t),e.prototype.getChildContext=function(){return{router:y({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},e.prototype.computeMatch=function(t,e){var r=t.computedMatch,o=t.location,i=t.path,a=t.strict,u=t.exact,c=t.sensitive;if(r)return r;s()(e,"You should not use <Route> or withRouter() outside a <Router>");var p=e.route,f=(o||p.location).pathname;return n.i(h.a)(f,{path:i,strict:a,exact:u,sensitive:c},p.match)},e.prototype.componentWillMount=function(){u()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),u()(!(this.props.component&&this.props.children&&!v(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),u()(!(this.props.render&&this.props.children&&!v(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},e.prototype.componentWillReceiveProps=function(t,e){u()(!(t.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),u()(!(!t.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},e.prototype.render=function(){var t=this.state.match,e=this.props,n=e.children,r=e.component,o=e.render,i=this.context.router,a=i.history,u=i.route,c=i.staticContext,s=this.props.location||u.location,p={match:t,location:s,history:a,staticContext:c};return r?t?f.a.createElement(r,p):null:o?t?o(p):null:"function"==typeof n?n(p):n&&!v(n)?f.a.Children.only(n):null},e}(f.a.Component);m.propTypes={computedMatch:d.a.object,path:d.a.string,exact:d.a.bool,strict:d.a.bool,sensitive:d.a.bool,component:d.a.func,render:d.a.func,children:d.a.oneOfType([d.a.func,d.a.node]),location:d.a.object},m.contextTypes={router:d.a.shape({history:d.a.object.isRequired,route:d.a.object.isRequired,staticContext:d.a.object})},m.childContextTypes={router:d.a.object.isRequired},e.a=m},function(t,e,n){"use strict";var r=n(19),o=n.n(r),i={},a=0,u=function(t){var e=t,n=i[e]||(i[e]={});if(n[t])return n[t];var r=o.a.compile(t);return a<1e4&&(n[t]=r,a++),r},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===t?t:u(t)(e,{pretty:!0})};e.a=c},function(t,e,n){"use strict";var r=(n(54),n(55),n(56),n(25),n(14));n.d(e,"b",function(){return r.a});var o=(n(57),n(58),n(26),n(15));n.d(e,"a",function(){return o.a}),n(59)},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.a=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?s(t):e}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var d=n(0),h=n.n(d),y=n(1),v=n.n(y),m=n(50),b=n(27),g=n(5),w=n(17),O=function(t){var e=n.i(w.a)(t),r=e.getLocation,a=function(t){function e(t){var n;i(this,e),n=c(this,p(e).call(this,t));var o=t.store,a=t.history,u=t.onLocationChanged;n.inTimeTravelling=!1,n.unsubscribe=o.subscribe(function(){var t=r(o.getState()),e=t.pathname,i=t.search,u=t.hash,c=a.location,s=c.pathname,p=c.search,f=c.hash;s===e&&p===i&&f===u||(n.inTimeTravelling=!0,a.push({pathname:e,search:i,hash:u}))});var s=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n.inTimeTravelling?n.inTimeTravelling=!1:u(t,e,r)};return n.unlisten=a.listen(s),s(a.location,a.action,!0),n}return f(e,t),u(e,[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var t=this.props,e=t.history,n=t.children;return h.a.createElement(b.b,{history:e},n)}}]),e}(d.PureComponent);a.propTypes={store:v.a.shape({getState:v.a.func.isRequired,subscribe:v.a.func.isRequired}).isRequired,history:v.a.shape({action:v.a.string.isRequired,listen:v.a.func.isRequired,location:v.a.object.isRequired,push:v.a.func.isRequired}).isRequired,basename:v.a.string,children:v.a.oneOfType([v.a.func,v.a.node]),onLocationChanged:v.a.func.isRequired};var s=function(t){return{onLocationChanged:function(e,r){return t(n.i(g.c)(e,r))}}},l=function(t){var e=t.context||m.a;if(null==e)throw"Please upgrade to react-redux v6";return h.a.createElement(e.Consumer,null,function(e){var n=e.store;return h.a.createElement(a,o({store:n},t))})};return l.propTypes={context:v.a.object},n.i(m.b)(null,s)(l)};e.a=O},function(t,e,n){"use strict";function r(t){return a(t)||i(t)||o()}function o(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function i(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}var u=n(5),c=function(t){return function(e){return function(e){return function(n){if(n.type!==u.b)return e(n);var o=n.payload,i=o.method,a=o.args;t[i].apply(t,r(a))}}}};e.a=c},function(t,e,n){"use strict";var r=n(5),o=function(t){var e=t.fromJS,n=t.merge;return function(t){var o=e({location:t.location,action:t.action});return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=i.type,u=i.payload;if(a===r.a){var c=u.location,s=u.action;return u.isFirstRendering?t:n(t,{location:e(c),action:s})}return t}}};e.a=o},function(t,e,n){"use strict";var r=function(t,e){if(!t)return t;var n=e.length;if(n){for(var r=t,o=0;o<n&&r;++o)r=r[e[o]];return r}};e.a=r},function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){o(t,e,n[e])})}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=n(32),a={fromJS:function(t){return t},getIn:i.a,merge:function(t,e){return r({},t,e)},toJS:function(t){return t}};e.a=a},function(t,e,n){"use strict";var r=n(7),o=(n.n(r),n(2));n.n(o),n(6),n(4),n(11),n(18),"function"==typeof Symbol&&Symbol.iterator,Object.assign},function(t,e,n){"use strict";var r=n(7),o=(n.n(r),n(2)),i=(n.n(o),n(6),n(4));n(11),n(18),Object.assign,i.c,i.d,i.d,i.d},function(t,e,n){"use strict";var r=n(7),o=n.n(r),i=n(4),a=n(6),u=n(11),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},p=function(t,e,n){return Math.min(Math.max(t,e),n)},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.getUserConfirmation,r=t.initialEntries,f=void 0===r?["/"]:r,l=t.initialIndex,d=void 0===l?0:l,h=t.keyLength,y=void 0===h?6:h,v=n.i(u.a)(),m=function(t){s(_,t),_.length=_.entries.length,v.notifyListeners(_.location,_.action)},b=function(){return Math.random().toString(36).substr(2,y)},g=p(d,0,f.length-1),w=f.map(function(t){return"string"==typeof t?n.i(a.a)(t,void 0,b()):n.i(a.a)(t,void 0,t.key||b())}),O=i.a,P=function(t,r){o()(!("object"===(void 0===t?"undefined":c(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=n.i(a.a)(t,r,b(),_.location);v.confirmTransitionTo(i,"PUSH",e,function(t){if(t){var e=_.index,n=e+1,r=_.entries.slice(0);r.length>n?r.splice(n,r.length-n,i):r.push(i),m({action:"PUSH",location:i,index:n,entries:r})}})},x=function(t,r){o()(!("object"===(void 0===t?"undefined":c(t))&&void 0!==t.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=n.i(a.a)(t,r,b(),_.location);v.confirmTransitionTo(i,"REPLACE",e,function(t){t&&(_.entries[_.index]=i,m({action:"REPLACE",location:i}))})},j=function(t){var n=p(_.index+t,0,_.entries.length-1),r=_.entries[n];v.confirmTransitionTo(r,"POP",e,function(t){t?m({action:"POP",location:r,index:n}):m()})},S=function(){return j(-1)},R=function(){return j(1)},C=function(t){var e=_.index+t;return e>=0&&e<_.entries.length},E=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v.setPrompt(t)},T=function(t){return v.appendListener(t)},_={length:w.length,action:"POP",location:w[g],index:g,entries:w,createHref:O,push:P,replace:x,go:j,goBack:S,goForward:R,canGo:C,block:E,listen:T};return _};e.a=f},function(t,e,n){"use strict";function r(t,e,n){if("string"!=typeof e){if(f){var l=p(e);l&&l!==f&&r(t,l,n)}var d=u(e);c&&(d=d.concat(c(e)));for(var h=0;h<d.length;++h){var y=d[h];if(!(o[y]||i[y]||n&&n[y])){var v=s(e,y);try{a(t,y,v)}catch(t){}}}return t}return t}var o={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=p&&p(Object);t.exports=r},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
object-assign

@@ -3,0 +3,0 @@ (c) Sindre Sorhus

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