You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
58 KiB
22 lines
58 KiB
!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
|
|
(c) Sindre Sorhus
|
|
@license MIT
|
|
*/
|
|
var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,u,c=r(t),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var p in n)i.call(n,p)&&(c[p]=n[p]);if(o){u=o(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(c[u[f]]=n[u[f]])}}return c}},function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},function(t,e,n){"use strict";function r(){}var o=n(41);t.exports=function(){function t(t,e,n,r,i,a){if(a!==o){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function r(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case a:switch(t=t.type){case d:case h:case c:case p:case s:return t;default:switch(t=t&&t.$$typeof){case l:case y:case f:return t;default:return e}}case u:return e}}}function o(t){return r(t)===h}/** @license React v16.6.1
|
|
* react-is.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,u=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,p=i?Symbol.for("react.profiler"):60114,f=i?Symbol.for("react.provider"):60109,l=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.async_mode"):60111,h=i?Symbol.for("react.concurrent_mode"):60111,y=i?Symbol.for("react.forward_ref"):60112,v=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,b=i?Symbol.for("react.lazy"):60116;e.typeOf=r,e.AsyncMode=d,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=f,e.Element=a,e.ForwardRef=y,e.Fragment=c,e.Profiler=p,e.Portal=u,e.StrictMode=s,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===c||t===h||t===p||t===s||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===b||t.$$typeof===m||t.$$typeof===f||t.$$typeof===l||t.$$typeof===y)},e.isAsyncMode=function(t){return o(t)||r(t)===d},e.isConcurrentMode=o,e.isContextConsumer=function(t){return r(t)===l},e.isContextProvider=function(t){return r(t)===f},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===a},e.isForwardRef=function(t){return r(t)===y},e.isFragment=function(t){return r(t)===c},e.isProfiler=function(t){return r(t)===p},e.isPortal=function(t){return r(t)===u},e.isStrictMode=function(t){return r(t)===s}},function(t,e,n){"use strict";var r=n(16),o=n(0),i=n.n(o),a=n(1),u=n.n(a),c=n(13);((function(t){function e(e){var n;n=t.call(this,e)||this;var r=e.store;return n.state={storeState:r.getState(),store:r},n}n.i(r.a)(e,t);var o=e.prototype;return o.componentDidMount=function(){this._isMounted=!0,this.subscribe()},o.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},o.componentDidUpdate=function(t){this.props.store!==t.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},o.subscribe=function(){var t=this,e=this.props.store;this.unsubscribe=e.subscribe(function(){var n=e.getState();t._isMounted&&t.setState(function(t){return t.storeState===n?null:{storeState:n}})});var n=e.getState();n!==this.state.storeState&&this.setState({storeState:n})},o.render=function(){console.log("rendering");var t=this.props.context||c.a;return console.log("state",this.state),i.a.createElement(t.Provider,{value:this.state},this.props.children)},e})(o.Component)).propTypes={store:u.a.shape({subscribe:u.a.func.isRequired,dispatch:u.a.func.isRequired,getState:u.a.func.isRequired}),context:u.a.object,children:u.a.any}},function(t,e,n){"use strict";function r(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function o(t,e){return t===e}var i=n(9),a=n(10),u=n(21),c=n(52),s=n(45),p=n(46),f=n(47),l=n(48);e.a=function(t){var e={},d=e.connectHOC,h=void 0===d?u.a:d,y=e.mapStateToPropsFactories,v=void 0===y?p.a:y,m=e.mapDispatchToPropsFactories,b=void 0===m?s.a:m,g=e.mergePropsFactories,w=void 0===g?f.a:g,O=e.selectorFactory,P=void 0===O?l.a:O;return function(t,e,u,s){void 0===s&&(s={});var p=s,f=p.pure,l=void 0===f||f,d=p.areStatesEqual,y=void 0===d?o:d,m=p.areOwnPropsEqual,g=void 0===m?c.a:m,O=p.areStatePropsEqual,x=void 0===O?c.a:O,j=p.areMergedPropsEqual,S=void 0===j?c.a:j,R=n.i(a.a)(p,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=r(t,v,"mapStateToProps"),E=r(e,b,"mapDispatchToProps"),T=r(u,w,"mergeProps");return h(P,n.i(i.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:C,initMapDispatchToProps:E,initMergeProps:T,pure:l,areStatesEqual:y,areOwnPropsEqual:g,areStatePropsEqual:x,areMergedPropsEqual:S},R))}}()},function(t,e,n){"use strict";function r(t){return"function"==typeof t?n.i(u.a)(t,"mapDispatchToProps"):void 0}function o(t){return t?void 0:n.i(u.b)(function(t){return{dispatch:t}})}function i(t){return t&&"object"==typeof t?n.i(u.b)(function(e){return n.i(a.a)(t,e)}):void 0}var a=n(61),u=n(22);e.a=[r,o,i]},function(t,e,n){"use strict";function r(t){return"function"==typeof t?n.i(i.a)(t,"mapStateToProps"):void 0}function o(t){return t?void 0:n.i(i.b)(function(){return{}})}var i=n(22);e.a=[r,o]},function(t,e,n){"use strict";function r(t,e,r){return n.i(u.a)({},r,t,e)}function o(t){return function(e,n){var r,o=(n.displayName,n.pure),i=n.areMergedPropsEqual,a=!1;return function(e,n,u){var c=t(e,n,u);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}function i(t){return"function"==typeof t?o(t):void 0}function a(t){return t?void 0:function(){return r}}var u=n(9);n(23),e.a=[i,a]},function(t,e,n){"use strict";function r(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function o(t,e,n,r,o){function i(o,i){return p=o,f=i,l=t(p,f),d=e(r,f),h=n(l,d,f),b=!0,h}function a(){return l=t(p,f),e.dependsOnOwnProps&&(d=e(r,f)),h=n(l,d,f)}function u(){return t.dependsOnOwnProps&&(l=t(p,f)),e.dependsOnOwnProps&&(d=e(r,f)),h=n(l,d,f)}function c(){var e=t(p,f),r=!m(e,l);return l=e,r&&(h=n(l,d,f)),h}function s(t,e){var n=!v(e,f),r=!y(t,p);return p=t,f=e,n&&r?a():n?u():r?c():h}var p,f,l,d,h,y=o.areStatesEqual,v=o.areOwnPropsEqual,m=o.areStatePropsEqual,b=!1;return function(t,e){return b?s(t,e):i(t,e)}}function i(t,e){var i=e.initMapStateToProps,u=e.initMapDispatchToProps,c=e.initMergeProps,s=n.i(a.a)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),p=i(t,s),f=u(t,s),l=c(t,s);return(s.pure?o:r)(p,f,l,t,s)}e.a=i;var a=n(10);n(49)},function(t,e,n){"use strict";n(24)},function(t,e,n){"use strict";var r=(n(43),n(21),n(13)),o=n(44);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return o.a})},function(t,e,n){"use strict";function r(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}e.a=r},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var a=0;a<n.length;a++)if(!i.call(e,n[a])||!r(t[n[a]],e[n[a]]))return!1;return!0}e.a=o;var i=Object.prototype.hasOwnProperty},function(t,e,n){"use strict";function r(t,e,n){if("string"!=typeof e){if(h){var o=d(e);o&&o!==h&&r(t,o,n)}var u=p(e);f&&(u=u.concat(f(e)));for(var y=c[t.$$typeof]||i,v=c[e.$$typeof]||i,m=0;m<u.length;++m){var b=u[m];if(!(a[b]||n&&n[b]||v&&v[b]||y&&y[b])){var g=l(e,b);try{s(t,b,g)}catch(t){}}}return t}return t}var o=n(20),i=(n(0),{childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0}),a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0},c={};c[o.ForwardRef]=u;var s=Object.defineProperty,p=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;t.exports=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(0),s=n.n(c),p=n(1),f=n.n(p),l=n(12),d=n(14);((function(t){function e(){var i,a,u;r(this,e);for(var c=arguments.length,s=Array(c),p=0;p<c;p++)s[p]=arguments[p];return i=a=o(this,t.call.apply(t,[this].concat(s))),a.history=n.i(l.d)(a.props),u=i,o(a,u)}return i(e,t),e.prototype.componentWillMount=function(){u()(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},e.prototype.render=function(){return s.a.createElement(d.a,{history:this.history,children:this.props.children})},e})(s.a.Component)).propTypes={initialEntries:f.a.array,initialIndex:f.a.number,getUserConfirmation:f.a.func,keyLength:f.a.number,children:f.a.node}},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(0),u=n.n(a),c=n(1),s=n.n(c),p=n(2),f=n.n(p),l=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){f()(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(u.a.Component);l.propTypes={when:s.a.bool,message:s.a.oneOfType([s.a.func,s.a.string]).isRequired},l.defaultProps={when:!0},l.contextTypes={router:s.a.shape({history:s.a.shape({block:s.a.func.isRequired}).isRequired}).isRequired}},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(0),u=n.n(a),c=n(1),s=n.n(c),p=n(3),f=n.n(p),l=n(2),d=n.n(l),h=n(12),y=n(26),v=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},m=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){d()(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=n.i(h.b)(t.to),r=n.i(h.b)(this.props.to);if(n.i(h.c)(e,r))return void f()(!1,"You tried to redirect to the same route you're currently on: \""+r.pathname+r.search+'"');this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,r=t.to;return e?"string"==typeof r?n.i(y.a)(r,e.params):v({},r,{pathname:n.i(y.a)(r.pathname,e.params)}):r},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,n=this.computeTo(this.props);e?t.push(n):t.replace(n)},e.prototype.render=function(){return null},e}(u.a.Component);m.propTypes={computedMatch:s.a.object,push:s.a.bool,from:s.a.string,to:s.a.oneOfType([s.a.string,s.a.object]).isRequired},m.defaultProps={push:!1},m.contextTypes={router:s.a.shape({history:s.a.shape({push:s.a.func.isRequired,replace:s.a.func.isRequired}).isRequired,staticContext:s.a.object}).isRequired}},function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n(3),c=n.n(u),s=n(2),p=n.n(s),f=n(0),l=n.n(f),d=n(1),h=n.n(d),y=n(12),v=n(14),m=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},b=function(t){return"/"===t.charAt(0)?t:"/"+t},g=function(t,e){return t?m({},e,{pathname:b(t)+e.pathname}):e},w=function(t,e){if(!t)return e;var n=b(t);return 0!==e.pathname.indexOf(n)?e:m({},e,{pathname:e.pathname.substr(n.length)})},O=function(t){return"string"==typeof t?t:n.i(y.a)(t)},P=function(t){return function(){p()(!1,"You cannot %s with <StaticRouter>",t)}},x=function(){},j=function(t){function e(){var r,a,u;o(this,e);for(var c=arguments.length,s=Array(c),p=0;p<c;p++)s[p]=arguments[p];return r=a=i(this,t.call.apply(t,[this].concat(s))),a.createHref=function(t){return b(a.props.basename+O(t))},a.handlePush=function(t){var e=a.props,r=e.basename,o=e.context;o.action="PUSH",o.location=g(r,n.i(y.b)(t)),o.url=O(o.location)},a.handleReplace=function(t){var e=a.props,r=e.basename,o=e.context;o.action="REPLACE",o.location=g(r,n.i(y.b)(t)),o.url=O(o.location)},a.handleListen=function(){return x},a.handleBlock=function(){return x},u=r,i(a,u)}return a(e,t),e.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},e.prototype.componentWillMount=function(){c()(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},e.prototype.render=function(){var t=this.props,e=t.basename,o=(t.context,t.location),i=r(t,["basename","context","location"]),a={createHref:this.createHref,action:"POP",location:w(e,n.i(y.b)(o)),push:this.handlePush,replace:this.handleReplace,go:P("go"),goBack:P("goBack"),goForward:P("goForward"),listen:this.handleListen,block:this.handleBlock};return l.a.createElement(v.a,m({},i,{history:a}))},e}(l.a.Component);j.propTypes={basename:h.a.string,context:h.a.object.isRequired,location:h.a.oneOfType([h.a.string,h.a.object])},j.defaultProps={basename:"",location:"/"},j.childContextTypes={router:h.a.object.isRequired}},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(0),u=n.n(a),c=n(1),s=n.n(c),p=n(3),f=n.n(p),l=n(2),d=n.n(l),h=n(15),y=function(t){function e(){return r(this,e),o(this,t.apply(this,arguments))}return i(e,t),e.prototype.componentWillMount=function(){d()(this.context.router,"You should not use <Switch> outside a <Router>")},e.prototype.componentWillReceiveProps=function(t){f()(!(t.location&&!this.props.location),'<Switch> 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.'),f()(!(!t.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},e.prototype.render=function(){var t=this.context.router.route,e=this.props.children,r=this.props.location||t.location,o=void 0,i=void 0;return u.a.Children.forEach(e,function(e){if(null==o&&u.a.isValidElement(e)){var a=e.props,c=a.path,s=a.exact,p=a.strict,f=a.sensitive,l=a.from,d=c||l;i=e,o=n.i(h.a)(r.pathname,{path:d,exact:s,strict:p,sensitive:f},t.match)}}),o?u.a.cloneElement(i,{location:r,computedMatch:o}):null},e}(u.a.Component);y.contextTypes={router:s.a.shape({route:s.a.object.isRequired}).isRequired},y.propTypes={children:s.a.node,location:s.a.object}},function(t,e,n){"use strict";var r=n(0),o=(n.n(r),n(1)),i=(n.n(o),n(37));n.n(i),n(25),Object.assign},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,u){if(!t){if(t=void 0,void 0===e)t=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;t=Error(e.replace(/%s/g,function(){return c[s++]})),t.name="Invariant Violation"}throw t.framesToPop=1,t}}function o(t){for(var e=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=0;o<e;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);r(!1,"Minified React error #"+t+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function i(t,e,n){this.props=t,this.context=e,this.refs=L,this.updater=n||$}function a(){}function u(t,e,n){this.props=t,this.context=e,this.refs=L,this.updater=n||$}function c(t,e,n){var r=void 0,o={},i=null,a=null;if(null!=e)for(r in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(i=""+e.key),e)U.call(e,r)&&!F.hasOwnProperty(r)&&(o[r]=e[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];o.children=c}if(t&&t.defaultProps)for(r in u=t.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:P,type:t,key:i,ref:a,props:o,_owner:D.current}}function s(t,e){return{$$typeof:P,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function p(t){return"object"==typeof t&&null!==t&&t.$$typeof===P}function f(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function l(t,e,n,r){if(W.length){var o=W.pop();return o.result=t,o.keyPrefix=e,o.func=n,o.context=r,o.count=0,o}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function d(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>W.length&&W.push(t)}function h(t,e,n,r){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var a=!1;if(null===t)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case P:case x:a=!0}}if(a)return n(r,t,""===e?"."+v(t,0):e),1;if(a=0,e=""===e?".":e+":",Array.isArray(t))for(var u=0;u<t.length;u++){i=t[u];var c=e+v(i,u);a+=h(i,c,n,r)}else if(null===t||"object"!=typeof t?c=null:(c=q&&t[q]||t["@@iterator"],c="function"==typeof c?c:null),"function"==typeof c)for(t=c.call(t),u=0;!(i=t.next()).done;)i=i.value,c=e+v(i,u++),a+=h(i,c,n,r);else"object"===i&&(n=""+t,o("31","[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,""));return a}function y(t,e,n){return null==t?0:h(t,"",e,n)}function v(t,e){return"object"==typeof t&&null!==t&&null!=t.key?f(t.key):e.toString(36)}function m(t,e){t.func.call(t.context,e,t.count++)}function b(t,e,n){var r=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?g(t,r,n,function(t){return t}):null!=t&&(p(t)&&(t=s(t,o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(I,"$&/")+"/")+n)),r.push(t))}function g(t,e,n,r,o){var i="";null!=n&&(i=(""+n).replace(I,"$&/")+"/"),e=l(e,i,r,o),y(t,b,e),d(e)}/** @license React v16.6.1
|
|
* react.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
var w=n(38),O="function"==typeof Symbol&&Symbol.for,P=O?Symbol.for("react.element"):60103,x=O?Symbol.for("react.portal"):60106,j=O?Symbol.for("react.fragment"):60107,S=O?Symbol.for("react.strict_mode"):60108,R=O?Symbol.for("react.profiler"):60114,C=O?Symbol.for("react.provider"):60109,E=O?Symbol.for("react.context"):60110,T=O?Symbol.for("react.concurrent_mode"):60111,_=O?Symbol.for("react.forward_ref"):60112,k=O?Symbol.for("react.suspense"):60113,A=O?Symbol.for("react.memo"):60115,M=O?Symbol.for("react.lazy"):60116,q="function"==typeof Symbol&&Symbol.iterator,$={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L={};i.prototype.isReactComponent={},i.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&o("85"),this.updater.enqueueSetState(this,t,e,"setState")},i.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},a.prototype=i.prototype;var N=u.prototype=new a;N.constructor=u,w(N,i.prototype),N.isPureReactComponent=!0;var D={current:null,currentDispatcher:null},U=Object.prototype.hasOwnProperty,F={key:!0,ref:!0,__self:!0,__source:!0},I=/\/+/g,W=[],H={Children:{map:function(t,e,n){if(null==t)return t;var r=[];return g(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;e=l(null,null,e,n),y(t,m,e),d(e)},count:function(t){return y(t,function(){return null},null)},toArray:function(t){var e=[];return g(t,e,null,function(t){return t}),e},only:function(t){return p(t)||o("143"),t}},createRef:function(){return{current:null}},Component:i,PureComponent:u,createContext:function(t,e){return void 0===e&&(e=null),t={$$typeof:E,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,Provider:null,Consumer:null},t.Provider={$$typeof:C,_context:t},t.Consumer=t},forwardRef:function(t){return{$$typeof:_,render:t}},lazy:function(t){return{$$typeof:M,_ctor:t,_status:-1,_result:null}},memo:function(t,e){return{$$typeof:A,type:t,compare:void 0===e?null:e}},Fragment:j,StrictMode:S,Suspense:k,createElement:c,cloneElement:function(t,e,n){(null===t||void 0===t)&&o("267",t);var r=void 0,i=w({},t.props),a=t.key,u=t.ref,c=t._owner;if(null!=e){void 0!==e.ref&&(u=e.ref,c=D.current),void 0!==e.key&&(a=""+e.key);var s=void 0;t.type&&t.type.defaultProps&&(s=t.type.defaultProps);for(r in e)U.call(e,r)&&!F.hasOwnProperty(r)&&(i[r]=void 0===e[r]&&void 0!==s?s[r]:e[r])}if(1==(r=arguments.length-2))i.children=n;else if(1<r){s=Array(r);for(var p=0;p<r;p++)s[p]=arguments[p+2];i.children=s}return{$$typeof:P,type:t.type,key:a,ref:u,props:i,_owner:c}},createFactory:function(t){var e=c.bind(null,t);return e.type=t,e},isValidElement:p,version:"16.6.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:D,assign:w}};H.unstable_ConcurrentMode=T,H.unstable_Profiler=R;var Y={default:H},B=Y&&H||Y;t.exports=B.default||B},function(t,e,n){"use strict";function r(t,e){return function(){return e(t.apply(this,arguments))}}function o(t,e){if("function"==typeof t)return r(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),o={},i=0;i<n.length;i++){var a=n[i],u=t[a];"function"==typeof u&&(o[a]=r(u,e))}return o}n.d(e,"a",function(){return o});var i=(n(63),function(){return Math.random().toString(36).substring(7).split("").join(".")});i(),i()},function(t,e,n){"use strict";function r(t){return"/"===t.charAt(0)}function o(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],i=e&&e.split("/")||[],a=t&&r(t),u=e&&r(e),c=a||u;if(t&&r(t)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var s=void 0;if(i.length){var p=i[i.length-1];s="."===p||".."===p||""===p}else s=!1;for(var f=0,l=i.length;l>=0;l--){var d=i[l];"."===d?o(i,l):".."===d?(o(i,l),f++):f&&(o(i,l),f--)}if(!c)for(;f--;f)i.unshift("..");!c||""===i[0]||i[0]&&r(i[0])||i.unshift("");var h=i.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h}e.a=i},function(t,e,n){"use strict";(function(t,r){var o,i=n(64);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=n.i(i.a)(o);e.a=a}).call(e,n(66),n(67)(t))},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}e.a=r},function(t,e,n){"use strict";function r(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(Array.isArray(t))return Array.isArray(e)&&t.length===e.length&&t.every(function(t,n){return r(t,e[n])});var n=void 0===t?"undefined":o(t);if(n!==(void 0===e?"undefined":o(e)))return!1;if("object"===n){var i=t.valueOf(),a=e.valueOf();if(i!==t||a!==e)return r(i,a);var u=Object.keys(t),c=Object.keys(e);return u.length===c.length&&u.every(function(n){return r(t[n],e[n])})}return!1}var o="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};e.a=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){n(8),t.exports=n(8)}])}); |