rrr-lazy
Version:
Lazy load component with react && react-router.
2 lines (1 loc) • 41.5 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.RrrLazy={})}(this,function(e){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(o){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{},t=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(a).filter(function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.forEach(function(e){var t,r,n;n=a[r=e],r in(t=o)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n})}return o}function o(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function s(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])<0&&(o[r]=e[r]);return o}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e,t){return e(t={exports:{}},t.exports),t.exports}var f=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var Se=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),a=1;a<arguments.length;a++){for(var i in r=Object(arguments[a]))l.call(r,i)&&(o[i]=r[i]);if(f){n=f(r);for(var u=0;u<n.length;u++)p.call(r,n[u])&&(o[n[u]]=r[n[u]])}}return o};function u(e){for(var t=arguments.length-1,r="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=0;n<t;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);!function(e,t,r,n,o,a,i,u){if(!e){if((e=void 0)===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,a,i,u],s=0;(e=Error(t.replace(/%s/g,function(){return c[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",r)}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function v(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||d}function m(){}function h(e,t,r){this.props=e,this.context=t,this.refs=y,this.updater=r||d}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&u("85"),this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=v.prototype;var b=h.prototype=new m;b.constructor=h,Se(b,v.prototype),b.isPureReactComponent=!0;var g,w="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_={};g=function(e){var t="Warning: "+e;void 0!==console&&console.error(t);try{throw Error(t)}catch(e){}};var O,Pe=function(e,t,r,n,o){for(var a in e)if(e.hasOwnProperty(a)){var i;try{if("function"!=typeof e[a]){var u=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw u.name="Invariant Violation",u}i=e[a](t,a,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){i=e}if(!i||i instanceof Error||g((n||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in _)){_[i.message]=!0;var c=o?o():"";g("Failed "+r+" type: "+i.message+(null!=c?c:""))}}},S=i(function(Oe){!function(){var y=Se,a=Pe,e="function"==typeof Symbol&&Symbol.for,h=e?Symbol.for("react.element"):60103,b=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,v=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,r="function"==typeof Symbol&&Symbol.iterator,n="@@iterator";function w(e){if(null===e||"object"!=typeof e)return null;var t=r&&e[r]||e[n];return"function"==typeof t?t:null}var _=function(){};function O(e,t,r,n,o,a,i,u){if(_(t),!e){var c=void 0;if(void 0===t)c=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,o,a,i,u],f=0;(c=Error(t.replace(/%s/g,function(){return s[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}_=function(e){if(void 0===e)throw Error("invariant requires an error message argument")};var o=function(e,t){if(void 0===t)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,n=Array(2<r?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];(function(e){for(var t=arguments.length,r=Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return r[o++]});void 0!==console&&console.warn(a);try{throw Error(a)}catch(e){}}).apply(void 0,[t].concat(n))}},S=function(e,t){for(var r=arguments.length,n=Array(2<r?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw Error("`warningWithoutStack(condition, format, ...args)` requires a warning message argument");if(8<n.length)throw Error("warningWithoutStack() currently supports at most 8 arguments.");if(!e){if(void 0!==console){var a=n.map(function(e){return""+e});a.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,a)}try{var i=0,u="Warning: "+t.replace(/%s/g,function(){return n[i++]});throw Error(u)}catch(e){}}},i={};function P(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;i[o]||(S(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),i[o]=!0)}var j={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){P(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){P(e,"replaceState")},enqueueSetState:function(e,t,r,n){P(e,"setState")}},C={};function x(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||j}Object.freeze(C),x.prototype.isReactComponent={},x.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&O(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var t={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},R=function(e,t){Object.defineProperty(x.prototype,e,{get:function(){o(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var E in t)t.hasOwnProperty(E)&&R(E,t[E]);function k(){}function $(e,t,r){this.props=e,this.context=t,this.refs=C,this.updater=r||j}k.prototype=x.prototype;var T=$.prototype=new k;T.constructor=$,y(T,x.prototype),T.isPureReactComponent=!0;var A={current:null,currentDispatcher:null},I=/^(.*)[\\\/]/,M=1;function L(e){if(null==e)return null;if("number"==typeof e.tag&&S(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"ConcurrentMode";case s:return"Fragment";case b:return"Portal";case c:return"Profiler";case u:return"StrictMode";case v:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case l:return"Context.Consumer";case f:return"Context.Provider";case d:return a="ForwardRef",i=(o=(n=e).render).displayName||o.name||"",n.displayName||(""!==i?a+"("+i+")":a);case m:return L(e.type);case g:var t=(r=e)._status===M?r._result:null;if(t)return L(t)}var r,n,o,a,i;return null}var F={},U=null;function q(e){U=e}F.getCurrentStack=null,F.getStackAddendum=function(){var e="";if(U){var t=L(U.type),r=U._owner;e+=function(e,t,r){var n="";if(t){var o=t.fileName,a=o.replace(I,"");if(/^index\./.test(a)){var i=o.match(I);if(i){var u=i[1];u&&(a=u.replace(I,"")+"/"+a)}}n=" (at "+a+":"+t.lineNumber+")"}else r&&(n=" (created by "+r+")");return"\n in "+(e||"Unknown")+n}(t,U._source,r&&L(r.type))}var n=F.getCurrentStack;return n&&(e+=n()||""),e};var D={ReactCurrentOwner:A,assign:y};y(D,{ReactDebugCurrentFrame:F,ReactComponentTreeHook:{}});var N=function(e,t){if(!e){for(var r=D.ReactDebugCurrentFrame.getStackAddendum(),n=arguments.length,o=Array(2<n?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];S.apply(void 0,[!1,t+"%s"].concat(o,[r]))}},W=Object.prototype.hasOwnProperty,V={key:!0,ref:!0,__self:!0,__source:!0},z=void 0,B=void 0;function Y(e){if(W.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function H(e){if(W.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}var J=function(e,t,r,n,o,a,i){var u={$$typeof:h,type:e,key:t,ref:r,props:i,_owner:a,_store:{}};return Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function X(e,t,r){var n=void 0,o={},a=null,i=null,u=null,c=null;if(null!=t)for(n in Y(t)&&(i=t.ref),H(t)&&(a=""+t.key),u=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)W.call(t,n)&&!V.hasOwnProperty(n)&&(o[n]=t[n]);var s,f,l,p,d,y,v=arguments.length-2;if(1===v)o.children=r;else if(1<v){for(var m=Array(v),h=0;h<v;h++)m[h]=arguments[h+2];Object.freeze&&Object.freeze(m),o.children=m}if(e&&e.defaultProps){var b=e.defaultProps;for(n in b)void 0===o[n]&&(o[n]=b[n])}if(a||i){var g="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&(p=o,d=g,(y=function(){z||S(!(z=!0),"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",d)}).isReactWarning=!0,Object.defineProperty(p,"key",{get:y,configurable:!0})),i&&(s=o,f=g,(l=function(){B||S(!(B=!0),"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",f)}).isReactWarning=!0,Object.defineProperty(s,"ref",{get:l,configurable:!0}))}return J(e,a,i,u,c,A.current,o)}function G(e){return"object"==typeof e&&null!==e&&e.$$typeof===h}var K=".",Q=":";var Z=!1,ee=/\/+/g;function te(e){return(""+e).replace(ee,"$&/")}var re=10,ne=[];function oe(e,t,r,n){if(ne.length){var o=ne.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function ae(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,ne.length<re&&ne.push(e)}function ie(e,t,r){return null==e?0:function e(t,r,n,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var i=!1;if(null===t)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case h:case b:i=!0}}if(i)return n(o,t,""===r?K+ue(t,0):r),1;var u=void 0,c=0,s=""===r?K:r+Q;if(Array.isArray(t))for(var f=0;f<t.length;f++)c+=e(u=t[f],s+ue(u,f),n,o);else{var l=w(t);if("function"==typeof l){l===t.entries&&(Z||N(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead."),Z=!0);for(var p=l.call(t),d=void 0,y=0;!(d=p.next()).done;)c+=e(u=d.value,s+ue(u,y++),n,o)}else if("object"===a){var v;v=" If you meant to render a collection of children, use an array instead."+F.getStackAddendum();var m=""+t;O(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===m?"object with keys {"+Object.keys(t).join(", ")+"}":m,v)}}return c}(e,"",t,r)}function ue(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r={"=":"=0",":":"=2"},"$"+(""+e.key).replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var r}function ce(e,t,r){e.func.call(e.context,t,e.count++)}function se(e,t,r){var n,o,a=e.result,i=e.keyPrefix,u=e.func.call(e.context,t,e.count++);Array.isArray(u)?fe(u,a,r,function(e){return e}):null!=u&&(G(u)&&(o=i+(!(n=u).key||t&&t.key===u.key?"":te(u.key)+"/")+r,u=J(n.type,o,n.ref,n._self,n._source,n._owner,n.props)),a.push(u))}function fe(e,t,r,n,o){var a="";null!=r&&(a=te(r)+"/");var i=oe(t,a,n,o);ie(e,se,i),ae(i)}function le(e){return"string"==typeof e||"function"==typeof e||e===s||e===p||e===c||e===u||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===d)}var pe=void 0;function de(){if(A.current){var e=L(A.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}pe=!1;var ye={};function ve(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=de();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!ye[r]){ye[r]=!0;var n="";e&&e._owner&&e._owner!==A.current&&(n=" It was passed a child from "+L(e._owner.type)+"."),q(e),N(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',r,n),q(null)}}}function me(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];G(n)&&ve(n,t)}else if(G(e))e._store&&(e._store.validated=!0);else if(e){var o=w(e);if("function"==typeof o&&o!==e.entries)for(var a=o.call(e),i=void 0;!(i=a.next()).done;)G(i.value)&&ve(i.value,t)}}function he(e){var t=e.type,r=void 0,n=void 0;if("function"==typeof t)r=t.displayName||t.name,n=t.propTypes;else{if("object"!=typeof t||null===t||t.$$typeof!==d)return;var o=t.render.displayName||t.render.name||"";r=t.displayName||(""!==o?"ForwardRef("+o+")":"ForwardRef"),n=t.propTypes}n?(q(e),a(n,e.props,"prop",r,F.getStackAddendum),q(null)):void 0===t.PropTypes||pe||S(!(pe=!0),"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",r||"Unknown"),"function"==typeof t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved||S(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}function be(e,t,r){var n=le(e);if(!n){var o="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var a=function(e){if(null==e||void 0===e.__source)return"";var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}(t);o+=a||de();var i=void 0;null===e?i="null":Array.isArray(e)?i="array":void 0!==e&&e.$$typeof===h?(i="<"+(L(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):i=typeof e,N(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",i,o)}var u=X.apply(this,arguments);if(null==u)return u;if(n)for(var c=2;c<arguments.length;c++)me(arguments[c],e);return e===s?function(e){q(e);for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){N(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n);break}}null!==e.ref&&N(!1,"Invalid attribute `ref` supplied to `React.Fragment`."),q(null)}(u):he(u),u}var ge={Children:{map:function(e,t,r){if(null==e)return e;var n=[];return fe(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;var n=oe(null,null,t,r);ie(e,ce,n),ae(n)},count:function(e){return ie(e,function(){return null},null)},toArray:function(e){var t=[];return fe(e,t,null,function(e){return e}),t},only:function(e){return G(e)||O(!1,"React.Children.only expected to receive a single React element child."),e}},createRef:function(){var e={current:null};return Object.seal(e),e},Component:x,PureComponent:$,createContext:function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&S(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",t);var r={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},n=(r.Provider={$$typeof:f,_context:r},!1),o=!1,a={$$typeof:l,_context:r,_calculateChangedBits:r._calculateChangedBits};return Object.defineProperties(a,{Provider:{get:function(){return o||N(!(o=!0),"Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?"),r.Provider},set:function(e){r.Provider=e}},_currentValue:{get:function(){return r._currentValue},set:function(e){r._currentValue=e}},_currentValue2:{get:function(){return r._currentValue2},set:function(e){r._currentValue2=e}},_threadCount:{get:function(){return r._threadCount},set:function(e){r._threadCount=e}},Consumer:{get:function(){return n||N(!(n=!0),"Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"),r.Consumer}}}),r.Consumer=a,r._currentRenderer=null,r._currentRenderer2=null,r},forwardRef:function(e){return null!=e&&e.$$typeof===m?S(!1,"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?S(!1,"forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&S(!1,"forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&S(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return le(e)||S(!1,"memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),{$$typeof:m,type:e,compare:void 0===t?null:t}},Fragment:s,StrictMode:u,Suspense:v,createElement:be,cloneElement:function(e,t,r){for(var n=function(e,t,r){null==e&&O(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var n=void 0,o=y({},e.props),a=e.key,i=e.ref,u=e._self,c=e._source,s=e._owner;if(null!=t){Y(t)&&(i=t.ref,s=A.current),H(t)&&(a=""+t.key);var f=void 0;for(n in e.type&&e.type.defaultProps&&(f=e.type.defaultProps),t)W.call(t,n)&&!V.hasOwnProperty(n)&&(o[n]=void 0===t[n]&&void 0!==f?f[n]:t[n])}var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var p=Array(l),d=0;d<l;d++)p[d]=arguments[d+2];o.children=p}return J(e.type,a,i,u,c,s,o)}.apply(this,arguments),o=2;o<arguments.length;o++)me(arguments[o],n.type);return he(n),n},createFactory:function(e){var t=be.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return o(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},isValidElement:G,version:"16.6.3",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D};ge.unstable_ConcurrentMode=p,ge.unstable_Profiler=c;var we=Object.freeze({default:ge}),_e=we&&ge||we;Oe.exports=_e.default||_e}()}),P=i(function(e){e.exports=S});function j(){return null}O=function(e){var t="Warning: "+e;void 0!==console&&console.error(t);try{throw Error(t)}catch(e){}};var C=function(u,p){var a="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";var d="<<anonymous>>",e={array:t("array"),bool:t("boolean"),func:t("function"),number:t("number"),object:t("object"),string:t("string"),symbol:t("symbol"),any:r(j),arrayOf:function(s){return r(function(e,t,r,n,o){if("function"!=typeof s)return new y("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[t];if(!Array.isArray(a)){var i=v(a);return new y("Invalid "+n+" `"+o+"` of type `"+i+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<a.length;u++){var c=s(a,u,r,n,o+"["+u+"]",w);if(c instanceof Error)return c}return null})},element:r(function(e,t,r,n,o){var a=e[t];if(u(a))return null;var i=v(a);return new y("Invalid "+n+" `"+o+"` of type `"+i+"` supplied to `"+r+"`, expected a single ReactElement.")}),instanceOf:function(c){return r(function(e,t,r,n,o){if(e[t]instanceof c)return null;var a=c.name||d,i=(u=e[t],u.constructor&&u.constructor.name?u.constructor.name:d);var u;return new y("Invalid "+n+" `"+o+"` of type `"+i+"` supplied to `"+r+"`, expected instance of `"+a+"`.")})},node:r(function(e,t,r,n,o){return c(e[t])?null:new y("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")}),objectOf:function(s){return r(function(e,t,r,n,o){if("function"!=typeof s)return new y("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=e[t],i=v(a);if("object"!==i)return new y("Invalid "+n+" `"+o+"` of type `"+i+"` supplied to `"+r+"`, expected an object.");for(var u in a)if(a.hasOwnProperty(u)){var c=s(a,u,r,n,o+"."+u,w);if(c instanceof Error)return c}return null})},oneOf:function(c){if(!Array.isArray(c))return O("Invalid argument supplied to oneOf, expected an instance of array."),j;return r(function(e,t,r,n,o){for(var a=e[t],i=0;i<c.length;i++)if(s(a,c[i]))return null;var u=JSON.stringify(c);return new y("Invalid "+n+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+u+".")})},oneOfType:function(u){if(!Array.isArray(u))return O("Invalid argument supplied to oneOfType, expected an instance of array."),j;for(var e=0;e<u.length;e++){var t=u[e];if("function"!=typeof t)return O("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+n(t)+" at index "+e+"."),j}return r(function(e,t,r,n,o){for(var a=0;a<u.length;a++){var i=u[a];if(null==i(e,t,r,n,o,w))return null}return new y("Invalid "+n+" `"+o+"` supplied to `"+r+"`.")})},shape:function(f){return r(function(e,t,r,n,o){var a=e[t],i=v(a);if("object"!==i)return new y("Invalid "+n+" `"+o+"` of type `"+i+"` supplied to `"+r+"`, expected `object`.");for(var u in f){var c=f[u];if(c){var s=c(a,u,r,n,o+"."+u,w);if(s)return s}}return null})},exact:function(l){return r(function(e,t,r,n,o){var a=e[t],i=v(a);if("object"!==i)return new y("Invalid "+n+" `"+o+"` of type `"+i+"` supplied to `"+r+"`, expected `object`.");var u=Se({},e[t],l);for(var c in u){var s=l[c];if(!s)return new y("Invalid "+n+" `"+o+"` key `"+c+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(e[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(l),null," "));var f=s(a,c,r,n,o+"."+c,w);if(f)return f}return null})}};function s(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function y(e){this.message=e,this.stack=""}function r(s){var f={},l=0;function e(e,t,r,n,o,a,i){if(n=n||d,a=a||r,i!==w){if(p){var u=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}if(void 0!==console){var c=n+":"+r;!f[c]&&l<3&&(O("You are manually calling a React.PropTypes validation function for the `"+a+"` prop on `"+n+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),f[c]=!0,l++)}}return null==t[r]?e?new y(null===t[r]?"The "+o+" `"+a+"` is marked as required in `"+n+"`, but its value is `null`.":"The "+o+" `"+a+"` is marked as required in `"+n+"`, but its value is `undefined`."):null:s(t,r,n,o,a)}var t=e.bind(null,!1);return t.isRequired=e.bind(null,!0),t}function t(u){return r(function(e,t,r,n,o,a){var i=e[t];return v(i)===u?null:new y("Invalid "+n+" `"+o+"` of type `"+f(i)+"` supplied to `"+r+"`, expected `"+u+"`.")})}function c(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(c);if(null===e||u(e))return!0;var t=function(e){var t=e&&(a&&e[a]||e[i]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!c(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!c(o[1]))return!1}return!0;default:return!1}}function v(e){var t,r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":(t=e,"symbol"===r||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol?"symbol":r)}function f(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function n(e){var t=f(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return y.prototype=Error.prototype,e.checkPropTypes=Pe,e.PropTypes=e},x=i(function(e){var t="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=C(function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},!0)}),R=Array.isArray,E=Object.keys,k=Object.prototype.hasOwnProperty,$="undefined"!=typeof Element;var T=function(e,t){try{return function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var n,o,a,i=R(t),u=R(r);if(i&&u){if((o=t.length)!=r.length)return!1;for(n=o;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(i!=u)return!1;var c=t instanceof Date,s=r instanceof Date;if(c!=s)return!1;if(c&&s)return t.getTime()==r.getTime();var f=t instanceof RegExp,l=r instanceof RegExp;if(f!=l)return!1;if(f&&l)return""+t==""+r;var p=E(t);if((o=p.length)!==E(r).length)return!1;for(n=o;0!=n--;)if(!k.call(r,p[n]))return!1;if($&&t instanceof Element&&r instanceof Element)return t===r;for(n=o;0!=n--;)if(!("_owner"===(a=p[n])&&t.$$typeof||e(t[a],r[a])))return!1;return!0}return t!=t&&r!=r}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}},A="__global_unique_id__",I=function(){return t[A]=(t[A]||0)+1};function M(e){return function(){return e}}var L=function(){};L.thatReturns=M,L.thatReturnsFalse=M(!1),L.thatReturnsTrue=M(!0),L.thatReturnsNull=M(null),L.thatReturnsThis=function(){return this},L.thatReturnsArgument=function(e){return e};var F=function(e,t){if(void 0===t)throw Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!=t.indexOf("Failed Composite propType: ")&&!e){for(var r=arguments.length,n=Array(2<r?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];(function(e){for(var t=arguments.length,r=Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return r[o++]});void 0!==console&&console.error(a);try{throw Error(a)}catch(e){}}).apply(void 0,[t].concat(n))}},U=i(function(e,t){t.__esModule=!0;r(P);var u=r(x),c=r(I),s=r(F);function r(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=1073741823;t.default=function(e,i){var t,r,n="__create-react-context-"+(0,c.default)()+"__",o=function(u){function c(){var e,t,r,n;f(this,c);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return(e=t=l(this,u.call.apply(u,[this].concat(a)))).emitter=(r=t.props.value,n=[],{on:function(e){n.push(e)},off:function(t){n=n.filter(function(e){return e!==t})},get:function(){return r},set:function(e,t){r=e,n.forEach(function(e){return e(r,t)})}}),l(t,e)}return p(c,u),c.prototype.getChildContext=function(){var e;return(e={})[n]=this.emitter,e},c.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t=this.props.value,r=e.value,n=void 0;((o=t)===(a=r)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof i?i(t,r):d,(0,s.default)((n&d)===n,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",n),0!=(n|=0)&&this.emitter.set(e.value,n))}var o,a},c.prototype.render=function(){return this.props.children},c}(P.Component);o.childContextTypes=((t={})[n]=u.default.object.isRequired,t);var a=function(a){function i(){var e,r;f(this,i);for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return(e=r=l(this,a.call.apply(a,[this].concat(n)))).state={value:r.getValue()},r.onUpdate=function(e,t){0!=((0|r.observedBits)&t)&&r.setState({value:r.getValue()})},l(r,e)}return p(i,a),i.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?d:t},i.prototype.componentDidMount=function(){this.context[n]&&this.context[n].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?d:e},i.prototype.componentWillUnmount=function(){this.context[n]&&this.context[n].off(this.onUpdate)},i.prototype.getValue=function(){return this.context[n]?this.context[n].get():e},i.prototype.render=function(){return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value);var e},i}(P.Component);return a.contextTypes=((r={})[n]=u.default.object,r),{Provider:o,Consumer:a}},e.exports=t.default});r(U);var q,D,N=r(i(function(e,t){t.__esModule=!0;var r=o(P),n=o(U);function o(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||n.default,e.exports=t.default}))(),W=N.Provider,V=N.Consumer,z=function(){function e(e){var r=this;this.callbacks=new WeakMap,this.observer=new IntersectionObserver(function(e){e.forEach(function(e){var t=r.callbacks.get(e.target);e.target&&t?t(e,r.observer):r.observer.unobserve(e.target)})},e)}return e.prototype.listen=function(e,t){var r=this;return this.callbacks.set(e,t),this.observer.observe(e),function(){r.callbacks.delete(e),r.observer.unobserve(e)}},e}(),B=new WeakMap;var Y="unload",H="loading",J="loaded",X="@@rrr-lazy/Version",G=function(r){function e(e){var t;return(t=r.call(this,e)||this).startListen=t.startListen.bind(a(a(t))),t.stopListen=t.stopListen.bind(a(a(t))),t.enterViewport=t.enterViewport.bind(a(a(t))),t.state={version:e[X],status:Y},t}o(e,r),e.getDerivedStateFromProps=function(e,t){var r=e[X];return r!==t.version?{version:r,status:Y}:{}};var t=e.prototype;return t.componentDidMount=function(){this.startListen()},t.shouldComponentUpdate=function(e,t){return!T(this.props,e)||!T(this.state,t)},t.componentDidUpdate=function(e,t){var r=this.state.status,n=this.props.onUnload;r!==t.status&&r===Y&&(n&&n(),this.startListen())},t.componentWillUnmount=function(){this.stopListen(),this.node&&(this.node=null)},t.startListen=function(){var t=this;this.stopListen();var e=this.props,r=e.root,n=e.rootMargin,o={};r&&(o.root="string"==typeof r?document.querySelector(r):r),n&&(o.rootMargin=n);var a=function(e){var t=e.root,r=void 0===t?"undefined"==typeof window?Object:window:t,n=e.rootMargin,o=void 0===n?"":n,a=e.threshold,i=void 0===a?"":a;B.get(r)||B.set(r,{});var u=B.get(r),c=o+"_"+i,s=u[c];return s||(s=new z(e),u[c]=s),s}(o);this.node&&!this.unlisten&&(this.unlisten=a.listen(this.node,function(e){(e.isIntersecting||0<e.intersectionRatio)&&(t.stopListen(),t.enterViewport())}))},t.stopListen=function(){this.unlisten&&(this.unlisten(),this.unlisten=null)},t.enterViewport=function(){var e=this,t=this.props,r=t.onLoading,n=t.onLoaded,o=t.onError;return this.node&&this.state.status===Y?Promise.resolve().then(function(){if(!e.node)throw Error("ABORT");return e.setState({status:H}),r?r():null}).then(function(){if(!e.node)throw Error("ABORT");return e.setState({status:J}),n?n():null}).catch(function(e){if("ABORT"===e.message)return null;if(o)return o(e);throw e}):null},t.render=function(){var t=this,e=this.props,r=e.render,n=e.loaderComponent,o=e.loaderProps,a=void 0===o?{}:o,i=s(e,["root","rootMargin","render","loaderComponent","loaderProps","onLoaded","onLoading","onUnload","onError"]),u=this.state.status;return u!==J?P.createElement(n,c({},a,{ref:function(e){t.node=e}}),r(u,i)):r(u,i)},e}(P.Component);function K(n){return P.createElement(V,null,function(e){var t,r=c({},n,((t={})[X]=e,t));return P.createElement(G,r)})}G.propTypes=((q={})[X]=x.any,q.render=x.func.isRequired,q.root=x.oneOfType([x.string].concat("undefined"==typeof HTMLElement?[]:x.instanceOf(HTMLElement))),q.rootMargin=x.string,q.loaderComponent=x.string,q.loaderProps=x.object,q.onError=x.func,q.onLoaded=x.func,q.onLoading=x.func,q.onUnload=x.func,q),G.defaultProps=((D={})[X]=null,D.root=null,D.rootMargin=null,D.loaderComponent="div",D.loaderProps=null,D.onError=null,D.onLoaded=null,D.onLoading=null,D.onUnload=null,D);var Q=i(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116;function m(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case f:case l:case a:case u:case i:return e;default:switch(e=e&&e.$$typeof){case s:case p:case c:return e;default:return t}}case o:return t}}}function h(e){return m(e)===l}t.typeOf=m,t.AsyncMode=f,t.ConcurrentMode=l,t.ContextConsumer=s,t.ContextProvider=c,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Profiler=u,t.Portal=o,t.StrictMode=i,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===l||e===u||e===i||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===y||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p)},t.isAsyncMode=function(e){return h(e)||m(e)===f},t.isConcurrentMode=h,t.isContextConsumer=function(e){return m(e)===s},t.isContextProvider=function(e){return m(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return m(e)===p},t.isFragment=function(e){return m(e)===a},t.isProfiler=function(e){return m(e)===u},t.isPortal=function(e){return m(e)===o},t.isStrictMode=function(e){return m(e)===i}});r(Q);var Z=i(function(e,R){!function(){Object.defineProperty(R,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,o=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,u=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,t=e?Symbol.for("react.suspense"):60113,r=e?Symbol.for("react.memo"):60115,n=e?Symbol.for("react.lazy"):60116;var y=function(e,t){if(void 0===t)throw Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,n=Array(2<r?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];(function(e){for(var t=arguments.length,r=Array(1<t?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return r[o++]});void 0!==console&&console.warn(a);try{throw Error(a)}catch(e){}}).apply(void 0,[t].concat(n))}};function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:var r=e.type;switch(r){case l:case p:case i:case c:case u:return r;default:var n=r&&r.$$typeof;switch(n){case f:case d:case s:return n;default:return t}}case a:return t}}}var m=l,h=p,b=f,g=s,w=o,_=d,O=i,S=c,P=a,j=u,C=!1;function x(e){return v(e)===p}R.typeOf=v,R.AsyncMode=m,R.ConcurrentMode=h,R.ContextConsumer=b,R.ContextProvider=g,R.Element=w,R.ForwardRef=_,R.Fragment=O,R.Profiler=S,R.Portal=P,R.StrictMode=j,R.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===u||e===t||"object"==typeof e&&null!==e&&(e.$$typeof===n||e.$$typeof===r||e.$$typeof===s||e.$$typeof===f||e.$$typeof===d)},R.isAsyncMode=function(e){return C||y(!(C=!0),"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."),x(e)||v(e)===l},R.isConcurrentMode=x,R.isContextConsumer=function(e){return v(e)===f},R.isContextProvider=function(e){return v(e)===s},R.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},R.isForwardRef=function(e){return v(e)===d},R.isFragment=function(e){return v(e)===i},R.isProfiler=function(e){return v(e)===c},R.isPortal=function(e){return v(e)===a},R.isStrictMode=function(e){return v(e)===u}}()});r(Z);var ee=i(function(e){e.exports=Z}),te={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},re={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ne={};ne[ee.ForwardRef]={$$typeof:!0,render:!0};var oe=Object.defineProperty,ae=Object.getOwnPropertyNames,ie=Object.getOwnPropertySymbols,ue=Object.getOwnPropertyDescriptor,ce=Object.getPrototypeOf,se=Object.prototype;var fe=function e(t,r,n){if("string"==typeof r)return t;if(se){var o=ce(r);o&&o!==se&&e(t,o,n)}var a=ae(r);ie&&(a=a.concat(ie(r)));for(var i=ne[t.$$typeof]||te,u=ne[r.$$typeof]||te,c=0;c<a.length;++c){var s=a[c];if(!(re[s]||n&&n[s]||u&&u[s]||i&&i[s])){var f=ue(r,s);try{oe(t,s,f)}catch(e){}}}return t};function le(){}function pe(){return null}var de=function(r){function e(e){var t;return(t=r.call(this,e)||this).handleLoading=t.handleLoading.bind(a(a(t))),t.renderComponent=t.renderComponent.bind(a(a(t))),t.state={Component:null},t}o(e,r);var t=e.prototype;return t.handleLoading=function(){var n=this,e=this.props,t=e.getComponent,r=e.lazyProps.onLoading,o=void 0===r?le:r;return Promise.resolve().then(function(){return t()}).then(function(e){var t,r=(t=e,t&&t.__esModule?t:{default:t}).default||pe;return n.setState({Component:r}),o()})},t.renderComponent=function(e,t){var r=this.state.Component,n=this.props.lazyProps.render;return"function"==typeof n?n(e,t,r):r&&"loaded"===e?P.createElement(r,t):null},t.render=function(){var e=this.props;return P.createElement(K,n({},e.ownProps,e.lazyProps,{render:this.renderComponent,onLoading:this.handleLoading}))},e}(P.PureComponent);de.propTypes={getComponent:x.func.isRequired,lazyProps:x.object.isRequired,ownProps:x.object.isRequired};e.Lazy=K,e.lazy=function(o){return function(t){var r=o.getComponent,n=s(o,["getComponent"]),e=function(e){return P.createElement(de,{getComponent:"function"===r?r:function(){return t},lazyProps:n,ownProps:e})};return e.WrappedComponent=t,fe(e,t),e}},e.LazyProvider=W,Object.defineProperty(e,"__esModule",{value:!0})});