├── .babelrc
├── .gitignore
├── README.md
├── config
├── default.json
└── production.json
├── dist
├── about.component.js
├── about.component.js.map
├── common.js
├── common.js.map
├── contact.component.js
├── contact.component.js.map
├── home.component.js
├── home.component.js.map
├── index.html
├── main.js
├── main.js.map
├── vendor.js
└── vendor.js.map
├── index.html
├── package-lock.json
├── package.json
├── postcss.config.js
├── src
├── about.component.js
├── contact.component.js
├── hello.component.js
├── home.component.js
├── index.js
└── styles.scss
└── webpack.config.js
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | "env",
4 | "react"
5 | ],
6 | "plugins": [
7 | "transform-decorators-legacy",
8 | "transform-class-properties",
9 | "transform-object-rest-spread",
10 | "syntax-dynamic-import"
11 | ]
12 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | build
3 | .DS_Store
4 | .vscode
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Follow my article on [Medium](https://medium.com/@thatisuday/react-router-and-webpack-v4-code-splitting-using-splitchunksplugin-f0a48f110312)
2 |
--------------------------------------------------------------------------------
/config/default.json:
--------------------------------------------------------------------------------
1 | {
2 | "uglify": false,
3 | "sourcemap": false,
4 | "open": true,
5 | "publicPath": "/"
6 | }
--------------------------------------------------------------------------------
/config/production.json:
--------------------------------------------------------------------------------
1 | {
2 | "uglify": true,
3 | "sourcemap": true,
4 | "open": false,
5 | "publicPath": "./"
6 | }
--------------------------------------------------------------------------------
/dist/about.component.js:
--------------------------------------------------------------------------------
1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{32:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(n(1)),l=o(n(34));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return u.default.createElement("h1",null,"About Component! ",u.default.createElement(l.default,null))}}}]);
2 | //# sourceMappingURL=about.component.js.map
--------------------------------------------------------------------------------
/dist/about.component.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/about.component.js"],"names":["__webpack_require__","props","_react2","default","createElement","_hello2"],"mappings":"0IACA,QAAAA,EAAA,QAEAA,EAAA,kEAEuB,SAAEC,GACrB,OACIC,EAAAC,QAAAC,cAAA,8BAAqBF,EAAAC,QAAAC,cAACC,EAAAF,QAAD","file":"about.component.js","sourcesContent":["// about.component.js\nimport React from 'react';\n\nimport HelloComponent from './hello.component';\n\nconst AboutComponent = ( props ) => {\n return (\n
About Component!
\n );\n}\n\nexport default AboutComponent;"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/common.js:
--------------------------------------------------------------------------------
1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{34:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(e){return e&&e.__esModule?e:{default:e}}(t(1));n.default=function(e){return o.default.createElement("span",{style:{color:"red"}},"Hello Component!")}}}]);
2 | //# sourceMappingURL=common.js.map
--------------------------------------------------------------------------------
/dist/common.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/hello.component.js"],"names":["__webpack_require__","props","_react2","default","createElement","style","color"],"mappings":"0IACA,wDAAAA,EAAA,cAEuB,SAAEC,GACrB,OACIC,EAAAC,QAAAC,cAAA,QAAMC,OAAUC,MAAO,QAAvB","file":"common.js","sourcesContent":["// hello.component.js\nimport React from 'react';\n\nconst HelloComponent = ( props ) => {\n return (\n Hello Component!\n );\n}\n\nexport default HelloComponent;"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/contact.component.js:
--------------------------------------------------------------------------------
1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{31:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=o(n(1)),l=o(n(34));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return u.default.createElement("h1",null,"Contact Component! ",u.default.createElement(l.default,null))}}}]);
2 | //# sourceMappingURL=contact.component.js.map
--------------------------------------------------------------------------------
/dist/contact.component.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/contact.component.js"],"names":["__webpack_require__","props","_react2","default","createElement","_hello2"],"mappings":"0IACA,QAAAA,EAAA,QAEAA,EAAA,kEAEyB,SAAEC,GACvB,OACIC,EAAAC,QAAAC,cAAA,gCAAuBF,EAAAC,QAAAC,cAACC,EAAAF,QAAD","file":"contact.component.js","sourcesContent":["// contact.component.js\nimport React from 'react';\n\nimport HelloComponent from './hello.component';\n\nconst ContactComponent = ( props ) => {\n return (\n Contact Component!
\n );\n}\n\nexport default ContactComponent;"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/home.component.js:
--------------------------------------------------------------------------------
1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{33:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var u=o(t(1)),l=o(t(34));function o(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){return u.default.createElement("h1",null,"Home Component! ",u.default.createElement(l.default,null))}}}]);
2 | //# sourceMappingURL=home.component.js.map
--------------------------------------------------------------------------------
/dist/home.component.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/home.component.js"],"names":["__webpack_require__","props","_react2","default","createElement","_hello2"],"mappings":"0IACA,QAAAA,EAAA,QAEAA,EAAA,kEAEsB,SAAEC,GACpB,OACIC,EAAAC,QAAAC,cAAA,6BAAoBF,EAAAC,QAAAC,cAACC,EAAAF,QAAD","file":"home.component.js","sourcesContent":["// home.component.js\nimport React from 'react';\n\nimport HelloComponent from './hello.component';\n\nconst HomeComponent = ( props ) => {\n return (\n Home Component!
\n );\n}\n\nexport default HomeComponent;"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Webpack SCP Demo
6 |
7 |
8 |
9 | Hello World!
10 |
11 |
12 |
--------------------------------------------------------------------------------
/dist/main.js:
--------------------------------------------------------------------------------
1 | !function(e){function t(t){for(var o,u,l=t[0],i=t[1],c=t[2],s=0,p=[];sa,html .menu>a{display:inline-block;margin:0 10px;text-decoration:none}body .menu>a.active,html .menu>a.active{text-decoration:underline}",""])},16:function(e,t,n){var o=n(15);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(13)(o,r);o.locals&&(e.exports=o.locals)},30:function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;na,html .menu>a{display:inline-block;margin:0 10px;text-decoration:none}body .menu>a.active,html .menu>a.active{text-decoration:underline}\", \"\"]);\n\n// exports\n","\nvar content = require(\"!!../node_modules/css-loader/index.js!../node_modules/postcss-loader/lib/index.js!../node_modules/sass-loader/lib/loader.js!./styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../node_modules/css-loader/index.js!../node_modules/postcss-loader/lib/index.js!../node_modules/sass-loader/lib/loader.js!./styles.scss\", function() {\n\t\tvar newContent = require(\"!!../node_modules/css-loader/index.js!../node_modules/postcss-loader/lib/index.js!../node_modules/sass-loader/lib/loader.js!./styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter, Switch, NavLink as Link, Route } from 'react-router-dom';\nimport loadable from 'react-loadable';\n\nimport './styles.scss';\n\n// loading view\nconst LoadingComponent = () => please wait...
;\n\n// home component\n//import HomeComponent from './home.component';\n\nconst AsyncHomeComponent = loadable( {\n loader: () => import( './home.component' ),\n loading: LoadingComponent\n} );\n\n// about component\nconst AsyncAboutComponent = loadable( {\n loader: () => import( './about.component' ),\n loading: LoadingComponent\n} );\n\n// contact component\nconst AsyncContactComponent = loadable( {\n loader: () => import( './contact.component' ),\n loading: LoadingComponent\n} );\n\n// create sample App component\nclass App extends React.Component {\n constructor( props ) {\n super( props );\n }\n\n render() {\n return(\n \n \n
\n Home\n About\n Contact\n
\n \n
\n \n \n \n \n
\n \n );\n }\n}\n\n// render inside `app-root` element\nReactDOM.render( , document.getElementById( 'app-root' ) );"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/vendor.js:
--------------------------------------------------------------------------------
1 | (window.webpackJsonp=window.webpackJsonp||[]).push([[4],[function(e,t,n){e.exports=n(20)()},function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],s=0;(u=new Error(t.replace(/%s/g,function(){return c[s++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){var r=n(18);e.exports=h,e.exports.parse=i,e.exports.compile=function(e,t){return u(i(e,t))},e.exports.tokensToFunction=u,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,l="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],p=n[1],d=n.index;if(l+=e.slice(a,d),a=d+f.length,p)l+=p[1];else{var h=e[a],m=n[2],y=n[3],v=n[4],g=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var x=null!=m&&null!=h&&h!==m,k="+"===b||"*"===b,E="?"===b||"*"===b,C=n[2]||u,T=v||g;r.push({name:y||i++,prefix:m||"",delimiter:C,optional:E,repeat:k,partial:x,asterisk:!!w,pattern:T?s(T):w?".*":"[^"+c(C)+"]+?"})}}return a1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&d(e),i=t&&d(t),a=o||i;if(e&&d(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var l=void 0;if(r.length){var u=r[r.length-1];l="."===u||".."===u||""===u}else l=!1;for(var c=0,s=r.length;s>=0;s--){var f=r[s];"."===f?h(r,s):".."===f?(h(r,s),c++):c&&(h(r,s),c--)}if(!a)for(;c--;c)r.unshift("..");!a||""===r[0]||r[0]&&d(r[0])||r.unshift("");var p=r.join("/");return l&&"/"!==p.substr(-1)&&(p+="/"),p},y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var v=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":y(t);if(r!==(void 0===n?"undefined":y(n)))return!1;if("object"===r){var o=t.valueOf(),i=n.valueOf();if(o!==t||i!==n)return e(o,i);var a=Object.keys(t),l=Object.keys(n);return a.length===l.length&&a.every(function(r){return e(t[r],n[r])})}return!1},g=function(e){return"/"===e.charAt(0)?e:"/"+e},b=function(e){return"/"===e.charAt(0)?e.substr(1):e},w=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},x=function(e,t){return w(e,t)?e.substr(t.length):e},k=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},C=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};p()(P,"Browser history needs a DOM");var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),r=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e.forceRefresh,i=void 0!==o&&o,a=e.getUserConfirmation,l=void 0===a?N:a,u=e.keyLength,c=void 0===u?6:u,f=e.basename?k(g(e.basename)):"",d=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return s()(!f||w(i,f),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+f+'".'),f&&(i=x(i,f)),T(i,r,n)},h=function(){return Math.random().toString(36).substr(2,c)},m=S(),y=function(e){U(H,e),H.length=t.length,m.notifyListeners(H.location,H.action)},v=function(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||_(d(e.state))},b=function(){_(d(M()))},C=!1,_=function(e){C?(C=!1,y()):m.confirmTransitionTo(e,"POP",l,function(t){t?y({action:"POP",location:e}):I(e)})},I=function(e){var t=H.location,n=A.indexOf(t.key);-1===n&&(n=0);var r=A.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,D(o))},L=d(M()),A=[L.key],F=function(e){return f+E(e)},D=function(e){t.go(e)},z=0,B=function(e){1===(z+=e)?(O(window,"popstate",v),r&&O(window,"hashchange",b)):0===z&&(R(window,"popstate",v),r&&R(window,"hashchange",b))},W=!1,H={length:t.length,action:"POP",location:L,createHref:F,push:function(e,r){s()(!("object"===(void 0===e?"undefined":j(e))&&void 0!==e.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 o=T(e,r,h(),H.location);m.confirmTransitionTo(o,"PUSH",l,function(e){if(e){var r=F(o),a=o.key,l=o.state;if(n)if(t.pushState({key:a,state:l},null,r),i)window.location.href=r;else{var u=A.indexOf(H.location.key),c=A.slice(0,-1===u?0:u+1);c.push(o.key),A=c,y({action:"PUSH",location:o})}else s()(void 0===l,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},replace:function(e,r){s()(!("object"===(void 0===e?"undefined":j(e))&&void 0!==e.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 o=T(e,r,h(),H.location);m.confirmTransitionTo(o,"REPLACE",l,function(e){if(e){var r=F(o),a=o.key,l=o.state;if(n)if(t.replaceState({key:a,state:l},null,r),i)window.location.replace(r);else{var u=A.indexOf(H.location.key);-1!==u&&(A[u]=o.key),y({action:"REPLACE",location:o})}else s()(void 0===l,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},go:D,goBack:function(){return D(-1)},goForward:function(){return D(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=m.setPrompt(e);return W||(B(1),W=!0),function(){return W&&(W=!1,B(-1)),t()}},listen:function(e){var t=m.appendListener(e);return B(1),function(){B(-1),t()}}};return H},L=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p()(P,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,o=void 0===r?N:r,i=e.hashType,a=void 0===i?"slash":i,l=e.basename?k(g(e.basename)):"",u=A[a],c=u.encodePath,f=u.decodePath,d=function(){var e=f(F());return s()(!l||w(e,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+l+'".'),l&&(e=x(e,l)),T(e)},h=S(),m=function(e){L(q,e),q.length=t.length,h.notifyListeners(q.location,q.action)},y=!1,v=null,b=function(){var e=F(),t=c(e);if(e!==t)D(t);else{var n=d(),r=q.location;if(!y&&_(r,n))return;if(v===E(n))return;v=null,C(n)}},C=function(e){y?(y=!1,m()):h.confirmTransitionTo(e,"POP",o,function(t){t?m({action:"POP",location:e}):j(e)})},j=function(e){var t=q.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var o=n-r;o&&(y=!0,B(o))},U=F(),M=c(U);U!==M&&D(M);var I=d(),z=[E(I)],B=function(e){s()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},W=0,H=function(e){1===(W+=e)?O(window,"hashchange",b):0===W&&R(window,"hashchange",b)},V=!1,q={length:t.length,action:"POP",location:I,createHref:function(e){return"#"+c(l+E(e))},push:function(e,t){s()(void 0===t,"Hash history cannot push state; it is ignored");var n=T(e,void 0,void 0,q.location);h.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=E(n),r=c(l+t);if(F()!==r){v=t,function(e){window.location.hash=e}(r);var o=z.lastIndexOf(E(q.location)),i=z.slice(0,-1===o?0:o+1);i.push(t),z=i,m({action:"PUSH",location:n})}else s()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){s()(void 0===t,"Hash history cannot replace state; it is ignored");var n=T(e,void 0,void 0,q.location);h.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=E(n),r=c(l+t);F()!==r&&(v=t,D(r));var o=z.indexOf(E(q.location));-1!==o&&(z[o]=t),m({action:"REPLACE",location:n})}})},go:B,goBack:function(){return B(-1)},goForward:function(){return B(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=h.setPrompt(e);return V||(H(1),V=!0),function(){return V&&(V=!1,H(-1)),t()}},listen:function(e){var t=h.appendListener(e);return H(1),function(){H(-1),t()}}};return q},B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,o=e.initialIndex,i=void 0===o?0:o,a=e.keyLength,l=void 0===a?6:a,u=S(),c=function(e){W(y,e),y.length=y.entries.length,u.notifyListeners(y.location,y.action)},f=function(){return Math.random().toString(36).substr(2,l)},p=H(i,0,r.length-1),d=r.map(function(e){return T(e,void 0,"string"==typeof e?f():e.key||f())}),h=E,m=function(e){var n=H(y.index+e,0,y.entries.length-1),r=y.entries[n];u.confirmTransitionTo(r,"POP",t,function(e){e?c({action:"POP",location:r,index:n}):c()})},y={length:d.length,action:"POP",location:d[p],index:p,entries:d,createHref:h,push:function(e,n){s()(!("object"===(void 0===e?"undefined":B(e))&&void 0!==e.state&&void 0!==n),"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 r=T(e,n,f(),y.location);u.confirmTransitionTo(r,"PUSH",t,function(e){if(e){var t=y.index+1,n=y.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,n){s()(!("object"===(void 0===e?"undefined":B(e))&&void 0!==e.state&&void 0!==n),"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 r=T(e,n,f(),y.location);u.confirmTransitionTo(r,"REPLACE",t,function(e){e&&(y.entries[y.index]=r,c({action:"REPLACE",location:r}))})},go:m,goBack:function(){return m(-1)},goForward:function(){return m(1)},canGo:function(e){var t=y.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return y},q=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){o()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?a.a.Children.only(e):null},t}(a.a.Component);Y.propTypes={history:u.a.object.isRequired,children:u.a.node},Y.contextTypes={router:u.a.object},Y.childContextTypes={router:u.a.object.isRequired};var K=Y,Q=K;function G(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}var X=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(Q,{history:this.history,children:this.props.children})},t}(a.a.Component);X.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var J=X;function Z(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}var ee=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(Q,{history:this.history,children:this.props.children})},t}(a.a.Component);ee.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var te=ee,ne=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);p()(this.context.router,"You should not use outside a "),p()(void 0!==t,'You must specify the "to" property');var o=this.context.router.history,i="string"==typeof t?T(t,null,null,o.location):t,l=o.createHref(i);return a.a.createElement("a",ne({},r,{onClick:this.handleClick,href:l,ref:n}))},t}(a.a.Component);ie.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},ie.defaultProps={replace:!1},ie.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var ae=ie;function le(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}var ue=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(K,{history:this.history,children:this.props.children})},t}(a.a.Component);ue.propTypes={initialEntries:u.a.array,initialIndex:u.a.number,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var ce=ue,se=n(5),fe=n.n(se),pe={},de=0,he=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,o=r.path,i=r.exact,a=void 0!==i&&i,l=r.strict,u=void 0!==l&&l,c=r.sensitive,s=void 0!==c&&c;if(null==o)return n;var f=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=pe[n]||(pe[n]={});if(r[e])return r[e];var o=[],i={re:fe()(e,o,t),keys:o};return de<1e4&&(r[e]=i,de++),i}(o,{end:a,strict:u,sensitive:s}),p=f.re,d=f.keys,h=p.exec(e);if(!h)return null;var m=h[0],y=h.slice(1),v=e===m;return a&&!v?null:{path:o,url:"/"===o&&""===m?"/":m,isExact:v,params:d.reduce(function(e,t,n){return e[t.name]=y[n],e},{})}},me=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var u=t.route,c=(r||u.location).pathname;return he(c,{path:o,strict:i,exact:a,sensitive:l},u.match)},t.prototype.componentWillMount=function(){o()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),o()(!(this.props.component&&this.props.children&&!ve(this.props.children)),"You should not use and in the same route; will be ignored"),o()(!(this.props.render&&this.props.children&&!ve(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){o()(!(e.location&&!this.props.location),' 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.'),o()(!(!e.location&&this.props.location),' 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(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,o=t.render,i=this.context.router,l=i.history,u=i.route,c=i.staticContext,s={match:e,location:this.props.location||u.location,history:l,staticContext:c};return r?e?a.a.createElement(r,s):null:o?e?o(s):null:"function"==typeof n?n(s):n&&!ve(n)?a.a.Children.only(n):null},t}(a.a.Component);ge.propTypes={computedMatch:u.a.object,path:u.a.string,exact:u.a.bool,strict:u.a.bool,sensitive:u.a.bool,component:u.a.func,render:u.a.func,children:u.a.oneOfType([u.a.func,u.a.node]),location:u.a.object},ge.contextTypes={router:u.a.shape({history:u.a.object.isRequired,route:u.a.object.isRequired,staticContext:u.a.object})},ge.childContextTypes={router:u.a.object.isRequired};var be=ge,we=be,xe=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),d="object"===(void 0===t?"undefined":ke(t))?t.pathname:t,h=d&&d.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return a.a.createElement(we,{path:h,exact:n,strict:r,location:o,children:function(e){var n=e.location,r=e.match,o=!!(s?s(r,n):r);return a.a.createElement(ae,xe({to:t,className:o?[l,i].filter(function(e){return e}).join(" "):l,style:o?xe({},c,u):c,"aria-current":o&&f||null},p))}})};Ee.propTypes={to:ae.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,"aria-current":u.a.oneOf(["page","step","location","date","time","true"])},Ee.defaultProps={activeClassName:"active","aria-current":"page"};var Ce=Ee;var Te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){p()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(a.a.Component);Te.propTypes={when:u.a.bool,message:u.a.oneOfType([u.a.func,u.a.string]).isRequired},Te.defaultProps={when:!0},Te.contextTypes={router:u.a.shape({history:u.a.shape({block:u.a.func.isRequired}).isRequired}).isRequired};var _e=Te,Se={},Pe=0,Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"/"===e?e:function(e){var t=e,n=Se[t]||(Se[t]={});if(n[e])return n[e];var r=fe.a.compile(e);return Pe<1e4&&(n[e]=r,Pe++),r}(e)(t,{pretty:!0})},Re=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=T(e.to),n=T(this.props.to);_(t,n)?o()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?Oe(n,t.params):Re({},n,{pathname:Oe(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(a.a.Component);Ne.propTypes={computedMatch:u.a.object,push:u.a.bool,from:u.a.string,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired},Ne.defaultProps={push:!1},Ne.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired}).isRequired,staticContext:u.a.object}).isRequired};var je=Ne,Ue=Object.assign||function(e){for(var t=1;t",e)}},De=function(){},ze=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),o={createHref:this.createHref,action:"POP",location:function(e,t){if(!e)return t;var n=Ie(e);return 0!==t.pathname.indexOf(n)?t:Ue({},t,{pathname:t.pathname.substr(n.length)})}(t,T(n)),push:this.handlePush,replace:this.handleReplace,go:Fe("go"),goBack:Fe("goBack"),goForward:Fe("goForward"),listen:this.handleListen,block:this.handleBlock};return a.a.createElement(K,Ue({},r,{history:o}))},t}(a.a.Component);ze.propTypes={basename:u.a.string,context:u.a.object.isRequired,location:u.a.oneOfType([u.a.string,u.a.object])},ze.defaultProps={basename:"",location:"/"},ze.childContextTypes={router:u.a.object.isRequired};var Be=ze;var We=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){p()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){o()(!(e.location&&!this.props.location),' 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.'),o()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,o=void 0;return a.a.Children.forEach(t,function(t){if(null==r&&a.a.isValidElement(t)){var i=t.props,l=i.path,u=i.exact,c=i.strict,s=i.sensitive,f=i.from,p=l||f;o=t,r=he(n.pathname,{path:p,exact:u,strict:c,sensitive:s},e.match)}}),r?a.a.cloneElement(o,{location:n,computedMatch:r}):null},t}(a.a.Component);We.contextTypes={router:u.a.shape({route:u.a.object.isRequired}).isRequired},We.propTypes={children:u.a.node,location:u.a.object};var He=We,Ve=Oe,qe=he,$e=n(10),Ye=n.n($e),Ke=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return a.a.createElement(be,{children:function(t){return a.a.createElement(e,Ke({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:u.a.func},Ye()(t,e)};n.d(t,"BrowserRouter",function(){return J}),n.d(t,"HashRouter",function(){return te}),n.d(t,"Link",function(){return ae}),n.d(t,"MemoryRouter",function(){return ce}),n.d(t,"NavLink",function(){return Ce}),n.d(t,"Prompt",function(){return _e}),n.d(t,"Redirect",function(){return je}),n.d(t,"Route",function(){return we}),n.d(t,"Router",function(){return Q}),n.d(t,"StaticRouter",function(){return Be}),n.d(t,"Switch",function(){return He}),n.d(t,"generatePath",function(){return Ve}),n.d(t,"matchPath",function(){return qe}),n.d(t,"withRouter",function(){return Qe})},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){var r={},o=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),i=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,l=0,u=[],c=n(12);function s(e,t){for(var n=0;n=0&&u.splice(t,1)}function h(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),m(t,e.attrs),p(e,t),t}function m(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var u=l++;n=a||(a=h(t)),r=g.bind(null,n,u,!1),o=g.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(t,e.attrs),p(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=c(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),l=e.href;e.href=URL.createObjectURL(a),l&&URL.revokeObjectURL(l)}.bind(null,n,t),o=function(){d(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){d(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return s(n,t),function(e){for(var o=[],i=0;ithis.eventPool.length&&this.eventPool.push(e)}function Ee(e){e.eventPool=[],e.getPooled=xe,e.release=ke}a(we.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=l.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=l.thatReturnsTrue)},persist:function(){this.isPersistent=l.thatReturnsTrue},isPersistent:l.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t=Pe),Ne=String.fromCharCode(32),je={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ue=!1;function Me(e,t){switch(e){case"keyup":return-1!==_e.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ie(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Le=!1;var Ae={eventTypes:je,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Se)e:{switch(e){case"compositionstart":o=je.compositionStart;break e;case"compositionend":o=je.compositionEnd;break e;case"compositionupdate":o=je.compositionUpdate;break e}o=void 0}else Le?Me(e,n)&&(o=je.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=je.compositionStart);return o?(Re&&(Le||o!==je.compositionStart?o===je.compositionEnd&&Le&&(i=ye()):(me._root=r,me._startText=ve(),Le=!0)),o=Ce.getPooled(o,t,n,r),i?o.data=i:null!==(i=Ie(n))&&(o.data=i),ee(o),i=o):i=null,(e=Oe?function(e,t){switch(e){case"compositionend":return Ie(t);case"keypress":return 32!==t.which?null:(Ue=!0,Ne);case"textInput":return(e=t.data)===Ne&&Ue?null:e;default:return null}}(e,n):function(e,t){if(Le)return"compositionend"===e||!Se&&Me(e,t)?(e=ye(),me._root=null,me._startText=null,me._fallbackText=null,Le=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Et.hasOwnProperty(e)||!kt.hasOwnProperty(e)&&(xt.test(e)?Et[e]=!0:(kt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function Ot(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Rt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=It(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Nt(e,t){null!=(t=t.checked)&&Pt(e,"checked",t,!1)}function jt(e,t){Nt(e,t);var n=It(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?Mt(e,t.type,n):t.hasOwnProperty("defaultValue")&&Mt(e,t.type,It(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ut(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var r=e.value;n||t===r||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function Mt(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function It(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_t,St);Tt[t]=new Ct(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_t,St);Tt[t]=new Ct(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_t,St);Tt[t]=new Ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),Tt.tabIndex=new Ct("tabIndex",1,!1,"tabindex",null);var Lt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function At(e,t,n){return(e=we.getPooled(Lt.change,e,t,n)).type="change",He(n),ee(e),e}var Ft=null,Dt=null;function zt(e){A(e,!1)}function Bt(e){if(ot(V(e)))return e}function Wt(e,t){if("change"===e)return t}var Ht=!1;function Vt(){Ft&&(Ft.detachEvent("onpropertychange",qt),Dt=Ft=null)}function qt(e){"value"===e.propertyName&&Bt(Dt)&&Xe(zt,e=At(Dt,e,et(e)))}function $t(e,t,n){"focus"===e?(Vt(),Dt=n,(Ft=t).attachEvent("onpropertychange",qt)):"blur"===e&&Vt()}function Yt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Bt(Dt)}function Kt(e,t){if("click"===e)return Bt(t)}function Qt(e,t){if("input"===e||"change"===e)return Bt(t)}i.canUseDOM&&(Ht=tt("input")&&(!document.documentMode||9Sn.length&&Sn.push(e)}}}var In={get _enabled(){return On},setEnabled:Rn,isEnabled:function(){return On},trapBubbledEvent:Nn,trapCapturedEvent:jn,dispatchEvent:Mn},Ln={},An=0,Fn="_reactListenersID"+(""+Math.random()).slice(2);function Dn(e){return Object.prototype.hasOwnProperty.call(e,Fn)||(e[Fn]=An++,Ln[e[Fn]]={}),Ln[e[Fn]]}function zn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bn(e,t){var n,r=zn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=zn(r)}}function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Hn=i.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Vn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},qn=null,$n=null,Yn=null,Kn=!1;function Qn(e,t){if(Kn||null==qn||qn!==u())return null;var n=qn;return"selectionStart"in n&&Wn(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?n={anchorNode:(n=window.getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}:n=void 0,Yn&&c(Yn,n)?null:(Yn=n,(e=we.getPooled(Vn.select,$n,e,t)).type="select",e.target=qn,ee(e),e)}var Gn={eventTypes:Vn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Dn(i),o=x.onSelect;for(var a=0;at)){e=-1;for(var n=[],r=ar;null!==r;){var o=r.timeoutTime;-1!==o&&o<=t?n.push(r):-1!==o&&(-1===e||ot&&(t=8),dr=t=t.length||p("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Cr(e,t){var n=t.value;null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Tr(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}var _r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Sr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Pr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Sr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Or=void 0,Rr=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==_r.svg||"innerHTML"in e)e.innerHTML=t;else{for((Or=Or||document.createElement("div")).innerHTML="",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Nr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var jr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ur=["Webkit","ms","Moz","O"];function Mr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,i=t[n];o=null==i||"boolean"==typeof i||""===i?"":r||"number"!=typeof i||0===i||jr.hasOwnProperty(o)&&jr[o]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(jr).forEach(function(e){Ur.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jr[t]=jr[e]})});var Ir=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Lr(e,t,n){t&&(Ir[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&p("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&p("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||p("61")),null!=t.style&&"object"!=typeof t.style&&p("62",n()))}function Ar(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Fr=l.thatReturns("");function Dr(e,t){var n=Dn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=x[t];for(var r=0;r<\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function Br(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function Wr(e,t,n,r){var o=Ar(t,n);switch(t){case"iframe":case"object":Nn("load",e);var i=n;break;case"video":case"audio":for(i=0;ioo||(e.current=ro[oo],ro[oo]=null,oo--)}function lo(e,t){ro[++oo]=e.current,e.current=t}var uo=io(f),co=io(!1),so=f;function fo(e){return ho(e)?so:uo.current}function po(e,t){var n=e.type.contextTypes;if(!n)return f;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ho(e){return 2===e.tag&&null!=e.type.childContextTypes}function mo(e){ho(e)&&(ao(co),ao(uo))}function yo(e){ao(co),ao(uo)}function vo(e,t,n){uo.current!==f&&p("168"),lo(uo,t),lo(co,n)}function go(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var o in n=n.getChildContext())o in r||p("108",bt(e)||"Unknown",o);return a({},t,n)}function bo(e){if(!ho(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||f,so=uo.current,lo(uo,t),lo(co,co.current),!0}function wo(e,t){var n=e.stateNode;if(n||p("169"),t){var r=go(e,so);n.__reactInternalMemoizedMergedChildContext=r,ao(co),ao(uo),lo(uo,r)}else ao(co);lo(co,t)}function xo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function ko(e,t,n){var r=e.alternate;return null===r?((r=new xo(e.tag,t,e.key,e.mode)).type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Eo(e,t,n){var r=e.type,o=e.key;if(e=e.props,"function"==typeof r)var i=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"==typeof r)i=5;else switch(r){case ct:return Co(e.children,t,n,o);case ht:i=11,t|=3;break;case st:i=11,t|=2;break;case ft:return(r=new xo(15,e,o,4|t)).type=ft,r.expirationTime=n,r;case yt:i=16,t|=2;break;default:e:{switch("object"==typeof r&&null!==r?r.$$typeof:null){case pt:i=13;break e;case dt:i=12;break e;case mt:i=14;break e;default:p("130",null==r?r:typeof r,"")}i=void 0}}return(t=new xo(i,e,o,t)).type=r,t.expirationTime=n,t}function Co(e,t,n,r){return(e=new xo(10,e,r,t)).expirationTime=n,e}function To(e,t,n){return(e=new xo(6,e,null,t)).expirationTime=n,e}function _o(e,t,n){return(t=new xo(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function So(e,t,n){return e={current:t=new xo(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}var Po=null,Oo=null;function Ro(e){return function(t){try{return e(t)}catch(e){}}}function No(e){"function"==typeof Po&&Po(e)}function jo(e){"function"==typeof Oo&&Oo(e)}var Uo=!1;function Mo(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Io(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Lo(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Ao(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Fo(e,t,n){var r=e.alternate;if(null===r){var o=e.updateQueue,i=null;null===o&&(o=e.updateQueue=Mo(e.memoizedState))}else o=e.updateQueue,i=r.updateQueue,null===o?null===i?(o=e.updateQueue=Mo(e.memoizedState),i=r.updateQueue=Mo(r.memoizedState)):o=e.updateQueue=Io(i):null===i&&(i=r.updateQueue=Io(o));null===i||o===i?Ao(o,t,n):null===o.lastUpdate||null===i.lastUpdate?(Ao(o,t,n),Ao(i,t,n)):(Ao(o,t,n),i.lastUpdate=t)}function Do(e,t,n){var r=e.updateQueue;null===(r=null===r?e.updateQueue=Mo(e.memoizedState):zo(e,r)).lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function zo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Io(t)),t}function Bo(e,t,n,r,o,i){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(i,r,o):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(null===(o="function"==typeof(e=n.payload)?e.call(i,r,o):e)||void 0===o)break;return a({},r,o);case 2:Uo=!0}return r}function Wo(e,t,n,r,o){if(Uo=!1,!(0===t.expirationTime||t.expirationTime>o)){for(var i=(t=zo(e,t)).baseState,a=null,l=0,u=t.firstUpdate,c=i;null!==u;){var s=u.expirationTime;s>o?(null===a&&(a=u,i=c),(0===l||l>s)&&(l=s)):(c=Bo(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(s=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>o?(null===s&&(s=u,null===a&&(i=c)),(0===l||l>f)&&(l=f)):(c=Bo(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===s&&(i=c),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=s,t.expirationTime=l,e.memoizedState=c}}function Ho(e,t){"function"!=typeof e&&p("191",e),e.call(t)}function Vo(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,Ho(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)null!==(t=e.callback)&&(e.callback=null,Ho(t,n)),e=e.nextEffect}function qo(e,t){return{value:e,source:t,stack:wt(t)}}var $o=io(null),Yo=io(null),Ko=io(0);function Qo(e){var t=e.type._context;lo(Ko,t._changedBits),lo(Yo,t._currentValue),lo($o,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function Go(e){var t=Ko.current,n=Yo.current;ao($o),ao(Yo),ao(Ko),(e=e.type._context)._currentValue=n,e._changedBits=t}var Xo={},Jo=io(Xo),Zo=io(Xo),ei=io(Xo);function ti(e){return e===Xo&&p("174"),e}function ni(e,t){lo(ei,t),lo(Zo,e),lo(Jo,Xo);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pr(null,"");break;default:t=Pr(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}ao(Jo),lo(Jo,t)}function ri(e){ao(Jo),ao(Zo),ao(ei)}function oi(e){Zo.current===e&&(ao(Jo),ao(Zo))}function ii(e,t,n){var r=e.memoizedState;r=null===(t=t(n,r))||void 0===t?r:a({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}var ai={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===an(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ga(),o=Lo(r=ya(r,e));o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Fo(e,o,r),va(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ga(),o=Lo(r=ya(r,e));o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Fo(e,o,r),va(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ga(),r=Lo(n=ya(n,e));r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Fo(e,r,n),va(e,n)}};function li(e,t,n,r,o,i){var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,o,i):!e.prototype||!e.prototype.isPureReactComponent||(!c(t,n)||!c(r,o))}function ui(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ai.enqueueReplaceState(t,t.state,null)}function ci(e,t){var n=e.type,r=e.stateNode,o=e.pendingProps,i=fo(e);r.props=o,r.state=e.memoizedState,r.refs=f,r.context=po(e,i),null!==(i=e.updateQueue)&&(Wo(e,i,o,r,t),r.state=e.memoizedState),"function"==typeof(i=e.type.getDerivedStateFromProps)&&(ii(e,i,o),r.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(n=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&ai.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&(Wo(e,i,o,r,t),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var si=Array.isArray;function fi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){var r=void 0;(n=n._owner)&&(2!==n.tag&&p("110"),r=n.stateNode),r||p("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs===f?r.refs={}:r.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&p("148"),n._owner||p("254",e)}return e}function pi(e,t){"textarea"!==e.type&&p("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function di(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=ko(e,t,n)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)m?(y=p,p=null):y=p.sibling;var v=d(o,p,l[m],u);if(null===v){null===p&&(p=y);break}e&&p&&null===v.alternate&&t(o,p),a=i(v,a,m),null===s?c=v:s.sibling=v,s=v,p=y}if(m===l.length)return n(o,p),c;if(null===p){for(;my?(v=m,m=null):v=m.sibling;var b=d(o,m,g.value,u);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(o,m),a=i(b,a,y),null===s?c=b:s.sibling=b,s=b,m=v}if(g.done)return n(o,m),c;if(null===m){for(;!g.done;y++,g=l.next())null!==(g=f(o,g.value,u))&&(a=i(g,a,y),null===s?c=g:s.sibling=g,s=g);return c}for(m=r(o,m);!g.done;y++,g=l.next())null!==(g=h(m,o,y,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?y:g.key),a=i(g,a,y),null===s?c=g:s.sibling=g,s=g);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,r,i,l){var u="object"==typeof i&&null!==i&&i.type===ct&&null===i.key;u&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case lt:e:{for(c=i.key,u=r;null!==u;){if(u.key===c){if(10===u.tag?i.type===ct:u.type===i.type){n(e,u.sibling),(r=o(u,i.type===ct?i.props.children:i.props,l)).ref=fi(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===ct?((r=Co(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Eo(i,e.mode,l)).ref=fi(e,r,i),l.return=e,e=l)}return a(e);case ut:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[],l)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=_o(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i,l)).return=e,e=r):(n(e,r),(r=To(i,e.mode,l)).return=e,e=r),a(e);if(si(i))return m(e,r,i,l);if(gt(i))return y(e,r,i,l);if(c&&pi(e,i),void 0===i&&!u)switch(e.tag){case 2:case 1:p("152",(l=e.type).displayName||l.name||"Component")}return n(e,r)}}var hi=di(!0),mi=di(!1),yi=null,vi=null,gi=!1;function bi(e,t){var n=new xo(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function wi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function xi(e){if(gi){var t=vi;if(t){var n=t;if(!wi(e,t)){if(!(t=to(n))||!wi(e,t))return e.effectTag|=2,gi=!1,void(yi=e);bi(yi,n)}yi=e,vi=no(t)}else e.effectTag|=2,gi=!1,yi=e}}function ki(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;yi=e}function Ei(e){if(e!==yi)return!1;if(!gi)return ki(e),gi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Xr(t,e.memoizedProps))for(t=vi;t;)bi(e,t),t=to(t);return ki(e),vi=yi?to(e.stateNode):null,!0}function Ci(){vi=yi=null,gi=!1}function Ti(e,t,n){_i(e,t,n,t.expirationTime)}function _i(e,t,n,r){t.child=null===e?mi(t,null,n,r):hi(t,e.child,n,r)}function Si(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Pi(e,t,n,r,o){Si(e,t);var i=0!=(64&t.effectTag);if(!n&&!i)return r&&wo(t,!1),Ni(e,t);n=t.stateNode,it.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(_i(e,t,null,o),t.child=null),_i(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&wo(t,!0),t.child}function Oi(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),ni(e,t.containerInfo)}function Ri(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){switch(o.tag){case 12:var i=0|o.stateNode;if(o.type===t&&0!=(i&n)){for(i=o;null!==i;){var a=i.alternate;if(0===i.expirationTime||i.expirationTime>r)i.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}i=i.return}i=null}else i=o.child;break;case 13:i=o.type===e.type?null:o.child;break;default:i=o.child}if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function Ni(e,t){if(null!==e&&t.child!==e.child&&p("153"),null!==t.child){var n=ko(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=ko(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function ji(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Oi(t);break;case 2:bo(t);break;case 4:ni(t,t.stateNode.containerInfo);break;case 13:Qo(t)}return null}switch(t.tag){case 0:null!==e&&p("155");var r=t.type,o=t.pendingProps,i=fo(t);return r=r(o,i=po(t,i)),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(i=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof(i=i.getDerivedStateFromProps)&&ii(t,i,o),o=bo(t),r.updater=ai,t.stateNode=r,r._reactInternalFiber=t,ci(t,n),e=Pi(e,t,!0,o,n)):(t.tag=1,Ti(e,t,r),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,co.current||t.memoizedProps!==n?(o=o(n,r=po(t,r=fo(t))),t.effectTag|=1,Ti(e,t,o),t.memoizedProps=n,e=t.child):e=Ni(e,t),e;case 2:if(o=bo(t),null===e)if(null===t.stateNode){var a=t.pendingProps,l=t.type;r=fo(t);var u=2===t.tag&&null!=t.type.contextTypes;a=new l(a,i=u?po(t,r):f),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=ai,t.stateNode=a,a._reactInternalFiber=t,u&&((u=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,u.__reactInternalMemoizedMaskedChildContext=i),ci(t,n),r=!0}else{l=t.type,r=t.stateNode,u=t.memoizedProps,i=t.pendingProps,r.props=u;var c=r.context;a=po(t,a=fo(t));var s=l.getDerivedStateFromProps;(l="function"==typeof s||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(u!==i||c!==a)&&ui(t,r,i,a),Uo=!1;var d=t.memoizedState;c=r.state=d;var h=t.updateQueue;null!==h&&(Wo(t,h,i,r,n),c=t.memoizedState),u!==i||d!==c||co.current||Uo?("function"==typeof s&&(ii(t,s,i),c=t.memoizedState),(u=Uo||li(t,u,i,d,c,a))?(l||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount&&(t.effectTag|=4)):("function"==typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=i,t.memoizedState=c),r.props=i,r.state=c,r.context=a,r=u):("function"==typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.type,r=t.stateNode,i=t.memoizedProps,u=t.pendingProps,r.props=i,c=r.context,a=po(t,a=fo(t)),(l="function"==typeof(s=l.getDerivedStateFromProps)||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(i!==u||c!==a)&&ui(t,r,u,a),Uo=!1,c=t.memoizedState,d=r.state=c,null!==(h=t.updateQueue)&&(Wo(t,h,u,r,n),d=t.memoizedState),i!==u||c!==d||co.current||Uo?("function"==typeof s&&(ii(t,s,u),d=t.memoizedState),(s=Uo||li(t,i,u,c,d,a))?(l||"function"!=typeof r.UNSAFE_componentWillUpdate&&"function"!=typeof r.componentWillUpdate||("function"==typeof r.componentWillUpdate&&r.componentWillUpdate(u,d,a),"function"==typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(u,d,a)),"function"==typeof r.componentDidUpdate&&(t.effectTag|=4),"function"==typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=d),r.props=u,r.state=d,r.context=a,r=s):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Pi(e,t,r,o,n);case 3:return Oi(t),null!==(o=t.updateQueue)?(r=null!==(r=t.memoizedState)?r.element:null,Wo(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(Ci(),e=Ni(e,t)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(vi=no(t.stateNode.containerInfo),yi=t,r=gi=!0),r?(t.effectTag|=2,t.child=mi(t,null,o,n)):(Ci(),Ti(e,t,o)),e=t.child)):(Ci(),e=Ni(e,t)),e;case 5:return ti(ei.current),(o=ti(Jo.current))!==(r=Pr(o,t.type))&&(lo(Zo,t),lo(Jo,r)),null===e&&xi(t),o=t.type,u=t.memoizedProps,r=t.pendingProps,i=null!==e?e.memoizedProps:null,co.current||u!==r||((u=1&t.mode&&!!r.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=r.children,Xr(o,r)?u=null:i&&Xr(o,i)&&(t.effectTag|=16),Si(e,t),1073741823!==n&&1&t.mode&&r.hidden?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(Ti(e,t,u),t.memoizedProps=r,e=t.child)):e=Ni(e,t),e;case 6:return null===e&&xi(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ni(t,t.stateNode.containerInfo),o=t.pendingProps,co.current||t.memoizedProps!==o?(null===e?t.child=hi(t,null,o,n):Ti(e,t,o),t.memoizedProps=o,e=t.child):e=Ni(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,r=t.ref,co.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(Ti(e,t,o=o(n,r)),t.memoizedProps=n,e=t.child):e=Ni(e,t),e;case 10:return n=t.pendingProps,co.current||t.memoizedProps!==n?(Ti(e,t,n),t.memoizedProps=n,e=t.child):e=Ni(e,t),e;case 11:return n=t.pendingProps.children,co.current||null!==n&&t.memoizedProps!==n?(Ti(e,t,n),t.memoizedProps=n,e=t.child):e=Ni(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Ni(e,t):(Ti(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=!0;if(co.current)a=!1;else if(i===o)return t.stateNode=0,Qo(t),Ni(e,t);var l=o.value;if(t.memoizedProps=o,null===i)l=1073741823;else if(i.value===o.value){if(i.children===o.children&&a)return t.stateNode=0,Qo(t),Ni(e,t);l=0}else{var u=i.value;if(u===l&&(0!==u||1/u==1/l)||u!=u&&l!=l){if(i.children===o.children&&a)return t.stateNode=0,Qo(t),Ni(e,t);l=0}else if(l="function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,l):1073741823,0==(l|=0)){if(i.children===o.children&&a)return t.stateNode=0,Qo(t),Ni(e,t)}else Ri(t,r,l,n)}return t.stateNode=l,Qo(t),Ti(e,t,o.children),t.child}(e,t,n);case 12:e:if(r=t.type,i=t.pendingProps,u=t.memoizedProps,o=r._currentValue,a=r._changedBits,co.current||0!==a||u!==i){if(t.memoizedProps=i,void 0!==(l=i.unstable_observedBits)&&null!==l||(l=1073741823),t.stateNode=l,0!=(a&l))Ri(t,r,a,n);else if(u===i){e=Ni(e,t);break e}n=(n=i.children)(o),t.effectTag|=1,Ti(e,t,n),e=t.child}else e=Ni(e,t);return e;default:p("156")}}function Ui(e){e.effectTag|=4}var Mi=void 0,Ii=void 0,Li=void 0;function Ai(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return mo(t),null;case 3:ri(),yo();var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ei(t),t.effectTag&=-3),Mi(t),null;case 5:oi(t),r=ti(ei.current);var o=t.type;if(null!==e&&null!=t.stateNode){var i=e.memoizedProps,a=t.stateNode,l=ti(Jo.current);a=Hr(a,o,i,n,r),Ii(e,t,a,o,i,n,r,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&p("166"),null;if(e=ti(Jo.current),Ei(t))n=t.stateNode,o=t.type,i=t.memoizedProps,n[B]=t,n[W]=i,r=qr(n,o,i,e,r),t.updateQueue=r,null!==r&&Ui(t);else{(e=zr(o,n,r,e))[B]=t,e[W]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}Wr(e,o,n,r),Gr(o,n)&&Ui(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Li(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return null===t.stateNode&&p("166"),null;r=ti(ei.current),ti(Jo.current),Ei(t)?(r=t.stateNode,n=t.memoizedProps,r[B]=t,$r(r,n)&&Ui(t)):((r=Br(n,r))[B]=t,t.stateNode=r)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return ri(),Mi(t),null;case 13:return Go(t),null;case 12:return null;case 0:p("167");default:p("156")}}function Fi(e,t){var n=t.source;null===t.stack&&null!==n&&wt(n),null!==n&&bt(n),t=t.value,null!==e&&2===e.tag&&bt(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function Di(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){ha(e,t)}else t.current=null}function zi(e){switch(jo(e),e.tag){case 2:Di(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){ha(e,t)}break;case 5:Di(e);break;case 4:Hi(e)}}function Bi(e){return 5===e.tag||3===e.tag||4===e.tag}function Wi(e){e:{for(var t=e.return;null!==t;){if(Bi(t)){var n=t;break e}t=t.return}p("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:p("161")}16&n.effectTag&&(Nr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Bi(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,a=o.stateNode,l=n;8===i.nodeType?i.parentNode.insertBefore(a,l):i.insertBefore(a,l)}else t.insertBefore(o.stateNode,n);else r?(i=t,a=o.stateNode,8===i.nodeType?i.parentNode.insertBefore(a,i):i.appendChild(a)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Hi(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&p("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,a=i;;)if(zi(a),null!==a.child&&4!==a.tag)a.child.return=a,a=a.child;else{if(a===i)break;for(;null===a.sibling;){if(null===a.return||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o?(i=r,a=t.stateNode,8===i.nodeType?i.parentNode.removeChild(a):i.removeChild(a)):r.removeChild(t.stateNode)}else if(4===t.tag?r=t.stateNode.containerInfo:zi(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Vi(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&(n[W]=r,Vr(n,i,o,e,r))}break;case 6:null===t.stateNode&&p("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:p("163")}}function qi(e,t,n){(n=Lo(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xa(r),Fi(e,t)},n}function $i(e,t,n){(n=Lo(n)).tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===ca?ca=new Set([this]):ca.add(this);var n=t.value,r=t.stack;Fi(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Yi(e,t,n,r,o,i){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=qo(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,void Do(e,r=qi(e,r,i),i);case 2:if(t=r,n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&(null===ca||!ca.has(n)))return e.effectTag|=1024,void Do(e,r=$i(e,t,i),i)}e=e.return}while(null!==e)}function Ki(e){switch(e.tag){case 2:mo(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return ri(),yo(),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return oi(e),null;case 16:return 1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 4:return ri(),null;case 13:return Go(e),null;default:return null}}Mi=function(){},Ii=function(e,t,n){(t.updateQueue=n)&&Ui(t)},Li=function(e,t,n,r){n!==r&&Ui(t)};var Qi=Jr(),Gi=2,Xi=Qi,Ji=0,Zi=0,ea=!1,ta=null,na=null,ra=0,oa=-1,ia=!1,aa=null,la=!1,ua=!1,ca=null;function sa(){if(null!==ta)for(var e=ta.return;null!==e;){var t=e;switch(t.tag){case 2:mo(t);break;case 3:ri(),yo();break;case 5:oi(t);break;case 4:ri();break;case 13:Go(t)}e=e.return}na=null,ra=0,oa=-1,ia=!1,ta=null,ua=!1}function fa(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=Ai(t,e);var o=e;if(1073741823===ra||1073741823!==o.expirationTime){var i=0;switch(o.tag){case 3:case 2:var a=o.updateQueue;null!==a&&(i=a.expirationTime)}for(a=o.child;null!==a;)0!==a.expirationTime&&(0===i||i>a.expirationTime)&&(i=a.expirationTime),a=a.sibling;o.expirationTime=i}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1Pa)&&(Pa=e),e}function va(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!ea&&0!==ra&&tAa&&p("185")}e=e.return}}function ga(){return Xi=Jr()-Qi,Gi=2+(Xi/10|0)}function ba(e){var t=Zi;Zi=2+25*(1+((ga()-2+500)/25|0));try{return e()}finally{Zi=t}}function wa(e,t,n,r,o){var i=Zi;Zi=1;try{return e(t,n,r,o)}finally{Zi=i}}var xa=null,ka=null,Ea=0,Ca=void 0,Ta=!1,_a=null,Sa=0,Pa=0,Oa=!1,Ra=!1,Na=null,ja=null,Ua=!1,Ma=!1,Ia=!1,La=null,Aa=1e3,Fa=0,Da=1;function za(e){if(0!==Ea){if(e>Ea)return;null!==Ca&&eo(Ca)}var t=Jr()-Qi;Ea=e,Ca=Zr(Ha,{timeout:10*(e-2)-t})}function Ba(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===ka?(xa=ka=e,e.nextScheduledRoot=e):(ka=ka.nextScheduledRoot=e).nextScheduledRoot=xa;else{var n=e.remainingExpirationTime;(0===n||t=Sa)&&(!Oa||ga()>=Sa);)ga(),Ka(_a,Sa,!Oa),Wa();else for(;null!==_a&&0!==Sa&&(0===e||e>=Sa);)Ka(_a,Sa,!1),Wa();null!==ja&&(Ea=0,Ca=null),0!==Sa&&za(Sa),ja=null,Oa=!1,Ya()}function $a(e,t){Ta&&p("253"),_a=e,Sa=t,Ka(e,t,!1),Va(),Ya()}function Ya(){if(Fa=0,null!==La){var e=La;La=null;for(var t=0;tx&&(k=x,x=P,P=k),k=Bn(_,P),E=Bn(_,x),k&&E&&(1!==S.rangeCount||S.anchorNode!==k.node||S.anchorOffset!==k.offset||S.focusNode!==E.node||S.focusOffset!==E.offset)&&((C=document.createRange()).setStart(k.node,k.offset),S.removeAllRanges(),P>x?(S.addRange(C),S.extend(E.node,E.offset)):(C.setEnd(E.node,E.offset),S.addRange(C))))),S=[];for(P=_;P=P.parentNode;)1===P.nodeType&&S.push({element:P,left:P.scrollLeft,top:P.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_Da)&&(Oa=!0)}function Xa(e){null===_a&&p("246"),_a.remainingExpirationTime=0,Ra||(Ra=!0,Na=e)}function Ja(e,t){var n=Ua;Ua=!0;try{return e(t)}finally{(Ua=n)||Ta||Va()}}function Za(e,t){if(Ua&&!Ma){Ma=!0;try{return e(t)}finally{Ma=!1}}return e(t)}function el(e,t){Ta&&p("187");var n=Ua;Ua=!0;try{return wa(e,t)}finally{Ua=n,Va()}}function tl(e,t,n){if(Ia)return e(t,n);Ua||Ta||0===Pa||(qa(Pa,!1,null),Pa=0);var r=Ia,o=Ua;Ua=Ia=!0;try{return e(t,n)}finally{Ia=r,(Ua=o)||Ta||Va()}}function nl(e){var t=Ua;Ua=!0;try{wa(e)}finally{(Ua=t)||Ta||qa(1,!1,null)}}function rl(e,t,n,r,o){var i=t.current;if(n){var a;n=n._reactInternalFiber;e:{for(2===an(n)&&2===n.tag||p("170"),a=n;3!==a.tag;){if(ho(a)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}(a=a.return)||p("171")}a=a.stateNode.context}n=ho(n)?go(n,a):a}else n=f;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Lo(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Fo(i,o,r),va(i,r),r}function ol(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?p("188"):p("268",Object.keys(e))),null===(e=cn(t))?null:e.stateNode}function il(e,t,n,r){var o=t.current;return rl(e,t,n,o=ya(ga(),o),r)}function al(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function ll(e){var t=e.findFiberByHostInstance;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Po=Ro(function(e){return t.onCommitFiberRoot(n,e)}),Oo=Ro(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(a({},e,{findHostInstanceByFiber:function(e){return null===(e=cn(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}var ul=Ja,cl=tl,sl=function(){Ta||0===Pa||(qa(Pa,!1,null),Pa=0)};function fl(e){this._expirationTime=ma(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function pl(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function dl(e,t,n){this._internalRoot=So(e,t,n)}function hl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ml(e,t,n,r,o){hl(n)||p("200");var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=al(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new dl(e,!1,t)}(n,r),"function"==typeof o){var l=o;o=function(){var e=al(i._internalRoot);l.call(e)}}Za(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return al(i._internalRoot)}function yl(e,t){var n=2R.length&&R.push(e)}function U(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+M(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a
2 |
3 |
4 |
5 | Webpack SCP Demo
6 |
7 |
8 |
9 | Hello World!
10 |
11 |
12 |