@modern-js/devtools-client 0.0.0-next-1691614265587 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +6 -6
- package/dist/html/devtools/index.html +1 -1
- package/dist/modern.config.json +8 -8
- package/dist/routes-manifest.json +7 -7
- package/dist/static/js/{devtools.0d677a74.js → devtools.1f478319.js} +1 -1
- package/dist/static/js/{devtools.0d677a74.js.map → devtools.1f478319.js.map} +1 -1
- package/dist/static/js/{vendors~splitting~devtools_page.52e47c1b.js → vendors~splitting~devtools_page.dc63e1e8.js} +1 -1
- package/dist/static/js/{vendors~splitting~devtools_page.52e47c1b.js.map → vendors~splitting~devtools_page.dc63e1e8.js.map} +1 -1
- package/package.json +8 -8
- package/CHANGELOG.md +0 -7
- /package/dist/static/js/{vendors~splitting~devtools_page.52e47c1b.js.LICENSE.txt → vendors~splitting~devtools_page.dc63e1e8.js.LICENSE.txt} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @modern-js/devtools-client@2.30.0 build /
|
|
2
|
+
> @modern-js/devtools-client@2.30.0 build /home/runner/work/modern.js/modern.js/packages/devtools/client
|
|
3
3
|
> modern build
|
|
4
4
|
|
|
5
5
|
info @modern-js/app-tools v2.30.0
|
|
@@ -8,20 +8,20 @@ info Create a production build...
|
|
|
8
8
|
|
|
9
9
|
info ts-checker running...
|
|
10
10
|
info ts-checker is running slowly and will block builds until it is complete, please be patient and wait.
|
|
11
|
-
Success client compiled successfully in
|
|
11
|
+
Success client compiled successfully in 82096 ms
|
|
12
12
|
info File sizes after production build:
|
|
13
13
|
|
|
14
14
|
File Size Gzipped
|
|
15
15
|
dist/static/js/lib-polyfill.c0cbbebc.js 215.34 kB 67.29 kB
|
|
16
16
|
dist/static/js/lib-react.d311f881.js 136.49 kB 43.6 kB
|
|
17
17
|
dist/static/js/lib-router.c5cb0f77.js 53.06 kB 17.07 kB
|
|
18
|
-
dist/static/js/vendors~splitting~devtools_page.
|
|
19
|
-
dist/static/js/devtools.
|
|
18
|
+
dist/static/js/vendors~splitting~devtools_page.dc63e1e8.js 30.05 kB 10.81 kB
|
|
19
|
+
dist/static/js/devtools.1f478319.js 27.72 kB 8.94 kB
|
|
20
20
|
dist/html/devtools/index.html 5.7 kB 2.35 kB
|
|
21
21
|
dist/static/css/async/devtools_page.215ea1d3.css 1.45 kB 697 B
|
|
22
|
-
dist/routes-manifest.json 958 B
|
|
22
|
+
dist/routes-manifest.json 958 B 301 B
|
|
23
23
|
dist/static/js/async/devtools_page.d308a574.js 670 B 398 B
|
|
24
24
|
|
|
25
25
|
Total size: 471.44 kB
|
|
26
|
-
Gzipped size: 151.
|
|
26
|
+
Gzipped size: 151.44 kB
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,viewport-fit=cover,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="layoutmode" content="standard"><meta name="imagemode" content="force"><meta name="wap-font-scale" content="no"><meta name="format-detection" content="telephone=no"><title></title><script defer="defer">!function(){var e,t,r,n,o,i,a,u,l,s,f={},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return f[e](r,r.exports,d),r.exports}d.m=f,d.es=function(e,t){return Object.keys(e).forEach(function(r){"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e},e={30251:["devtools_page","vendors~splitting~devtools_page"]},d.el=function(t){var r=e[t];return void 0===r?Promise.resolve():r.length>1?Promise.all(r.map(d.e)):d.e(r[0])},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce(function(t,r){return d.f[r](e,t),t},[]))},d.p="/",d.u=function(e){return({devtools_page:"static/js/async/devtools_page.d308a574.js"})[e]},d.k=function(e){return({devtools_page:"static/css/async/devtools_page.215ea1d3.css"})[e]},t={},d.l=function(e,r,n,o){if(t[e]){t[e].push(r);return}if(void 0!==n){for(var i,a,u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var s=u[l];if(s.getAttribute("src")==e){i=s;break}}}!i&&(a=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,i.src=e),t[e]=[r];var f=function(r,n){i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),r)return r(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),a&&document.head.appendChild(i)},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r=[],d.O=function(e,t,n,o){if(t){o=o||0;for(var i=r.length;i>0&&r[i-1][2]>o;i--)r[i]=r[i-1];r[i]=[t,n,o];return}for(var a=1/0,i=0;i<r.length;i++){for(var t=r[i][0],n=r[i][1],o=r[i][2],u=!0,l=0;l<t.length;l++)a>=o&&Object.keys(d.O).every(function(e){return d.O[e](t[l])})?t.splice(l--,1):(u=!1,o<a&&(a=o));if(u){r.splice(i--,1);var s=n();void 0!==s&&(e=s)}}return e},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.d=function(e,t){for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.n=function(e){return e&&e.__esModule?e.default:e},n={},o="webpack",i="data-webpack-loading",a=function(e,t,r,n){var a,u,l="chunk-"+e;if(!n){for(var s=document.getElementsByTagName("link"),f=0;f<s.length;f++){var c=s[f],p=c.getAttribute("href")||c.href;if(p&&!p.startsWith(d.p)&&(p=d.p+(p.startsWith("/")?p.slice(1):p)),"stylesheet"==c.rel&&(p&&p.startsWith(t)||c.getAttribute("data-webpack")==o+":"+l)){a=c;break}}if(!r)return a}!a&&(u=!0,(a=document.createElement("link")).setAttribute("data-webpack",o+":"+l),a.setAttribute(i,1),a.rel="stylesheet",a.href=t);var v=function(e,t){if(a.onerror=a.onload=null,a.removeAttribute(i),clearTimeout(h),t&&"load"!=t.type&&a.parentNode.removeChild(a),r(t),e)return e(t)};if(a.getAttribute(i)){var h=setTimeout(v.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=v.bind(null,a.onerror),a.onload=v.bind(null,a.onload)}else v(void 0,{type:"load",target:a});return n?n.parentNode.insertBefore(a,n):u&&document.head.appendChild(a),a},d.f.css=function(e,t){var r=d.o(n,e)?n[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(["devtools_page"].indexOf(e)>-1){var o=new Promise(function(t,o){r=n[e]=[t,o]});t.push(r[2]=o);var i=d.p+d.k(e),u=Error();a(e,i,function(t){if(d.o(n,e)&&(0!==(r=n[e])&&(n[e]=void 0),r)){if("load"!==t.type){var o=t&&t.type,i=t&&t.target&&t.target.src;u.message="Loading css chunk "+e+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,r[1](u)}else r[0]()}})}else n[e]=0}},u={"builder-runtime":0},d.f.j=function(e,t){var r=d.o(u,e)?u[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(e){var n=new Promise(function(t,n){r=u[e]=[t,n]});t.push(r[2]=n);var o=d.p+d.u(e),i=Error();d.l(o,function(t){if(d.o(u,e)&&(0!==(r=u[e])&&(u[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}},"chunk-"+e,e)}else u[e]=0}},d.O.j=function(e){return 0===u[e]},l=function(e,t){var r=t[0],n=t[1],o=t[2],i,a,l=0;if(r.some(function(e){return 0!==u[e]})){for(i in n)d.o(n,i)&&(d.m[i]=n[i]);if(o)var s=o(d)}for(e&&e(t);l<r.length;l++)a=r[l],d.o(u,a)&&u[a]&&u[a][0](),u[a]=0;return d.O(s)},s=self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[],s.forEach(l.bind(null,0)),s.push=l.bind(null,s.push.bind(s))}();</script><script defer="defer" src="/static/js/lib-
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,viewport-fit=cover,minimum-scale=1,maximum-scale=1,user-scalable=no"><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="renderer" content="webkit"><meta name="layoutmode" content="standard"><meta name="imagemode" content="force"><meta name="wap-font-scale" content="no"><meta name="format-detection" content="telephone=no"><title></title><script defer="defer">!function(){var e,t,r,n,o,i,a,u,l,s,f={},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}};return f[e](r,r.exports,d),r.exports}d.m=f,d.es=function(e,t){return Object.keys(e).forEach(function(r){"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e},e={30251:["devtools_page","vendors~splitting~devtools_page"]},d.el=function(t){var r=e[t];return void 0===r?Promise.resolve():r.length>1?Promise.all(r.map(d.e)):d.e(r[0])},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce(function(t,r){return d.f[r](e,t),t},[]))},d.p="/",d.u=function(e){return({devtools_page:"static/js/async/devtools_page.d308a574.js"})[e]},d.k=function(e){return({devtools_page:"static/css/async/devtools_page.215ea1d3.css"})[e]},t={},d.l=function(e,r,n,o){if(t[e]){t[e].push(r);return}if(void 0!==n){for(var i,a,u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var s=u[l];if(s.getAttribute("src")==e){i=s;break}}}!i&&(a=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,i.src=e),t[e]=[r];var f=function(r,n){i.onerror=i.onload=null,clearTimeout(c);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),r)return r(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),a&&document.head.appendChild(i)},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r=[],d.O=function(e,t,n,o){if(t){o=o||0;for(var i=r.length;i>0&&r[i-1][2]>o;i--)r[i]=r[i-1];r[i]=[t,n,o];return}for(var a=1/0,i=0;i<r.length;i++){for(var t=r[i][0],n=r[i][1],o=r[i][2],u=!0,l=0;l<t.length;l++)a>=o&&Object.keys(d.O).every(function(e){return d.O[e](t[l])})?t.splice(l--,1):(u=!1,o<a&&(a=o));if(u){r.splice(i--,1);var s=n();void 0!==s&&(e=s)}}return e},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.d=function(e,t){for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.n=function(e){return e&&e.__esModule?e.default:e},n={},o="webpack",i="data-webpack-loading",a=function(e,t,r,n){var a,u,l="chunk-"+e;if(!n){for(var s=document.getElementsByTagName("link"),f=0;f<s.length;f++){var c=s[f],p=c.getAttribute("href")||c.href;if(p&&!p.startsWith(d.p)&&(p=d.p+(p.startsWith("/")?p.slice(1):p)),"stylesheet"==c.rel&&(p&&p.startsWith(t)||c.getAttribute("data-webpack")==o+":"+l)){a=c;break}}if(!r)return a}!a&&(u=!0,(a=document.createElement("link")).setAttribute("data-webpack",o+":"+l),a.setAttribute(i,1),a.rel="stylesheet",a.href=t);var v=function(e,t){if(a.onerror=a.onload=null,a.removeAttribute(i),clearTimeout(h),t&&"load"!=t.type&&a.parentNode.removeChild(a),r(t),e)return e(t)};if(a.getAttribute(i)){var h=setTimeout(v.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=v.bind(null,a.onerror),a.onload=v.bind(null,a.onload)}else v(void 0,{type:"load",target:a});return n?n.parentNode.insertBefore(a,n):u&&document.head.appendChild(a),a},d.f.css=function(e,t){var r=d.o(n,e)?n[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(["devtools_page"].indexOf(e)>-1){var o=new Promise(function(t,o){r=n[e]=[t,o]});t.push(r[2]=o);var i=d.p+d.k(e),u=Error();a(e,i,function(t){if(d.o(n,e)&&(0!==(r=n[e])&&(n[e]=void 0),r)){if("load"!==t.type){var o=t&&t.type,i=t&&t.target&&t.target.src;u.message="Loading css chunk "+e+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,r[1](u)}else r[0]()}})}else n[e]=0}},u={"builder-runtime":0},d.f.j=function(e,t){var r=d.o(u,e)?u[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(e){var n=new Promise(function(t,n){r=u[e]=[t,n]});t.push(r[2]=n);var o=d.p+d.u(e),i=Error();d.l(o,function(t){if(d.o(u,e)&&(0!==(r=u[e])&&(u[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}},"chunk-"+e,e)}else u[e]=0}},d.O.j=function(e){return 0===u[e]},l=function(e,t){var r=t[0],n=t[1],o=t[2],i,a,l=0;if(r.some(function(e){return 0!==u[e]})){for(i in n)d.o(n,i)&&(d.m[i]=n[i]);if(o)var s=o(d)}for(e&&e(t);l<r.length;l++)a=r[l],d.o(u,a)&&u[a]&&u[a][0](),u[a]=0;return d.O(s)},s=self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[],s.forEach(l.bind(null,0)),s.push=l.bind(null,s.push.bind(s))}();</script><script defer="defer" src="/static/js/lib-router.c5cb0f77.js"></script><script defer="defer" src="/static/js/lib-react.d311f881.js"></script><script defer="defer" src="/static/js/lib-polyfill.c0cbbebc.js"></script><script defer="defer" src="/static/js/vendors~splitting~devtools_page.dc63e1e8.js"></script><script defer="defer" src="/static/js/devtools.1f478319.js"></script></head><body><div id="root"><!--<?- html ?>--></div><!--<?- chunksMap.js ?>--><!--<?- SSRDataScript ?>--></body></html>
|
package/dist/modern.config.json
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
"runtimeByEntries": {},
|
|
7
7
|
"source": {
|
|
8
8
|
"alias": {
|
|
9
|
-
"styled-components": "/
|
|
10
|
-
"@_modern_js_internal": "/
|
|
11
|
-
"@_modern_js_src": "/
|
|
12
|
-
"@": "/
|
|
13
|
-
"@shared": "/
|
|
14
|
-
"@modern-js/utils/runtime-node$": "/
|
|
15
|
-
"@modern-js/runtime/plugins": "/
|
|
9
|
+
"styled-components": "/home/runner/work/modern.js/modern.js/node_modules/.pnpm/styled-components@5.3.5_react-dom@18.2.0_react-is@18.2.0_react@18.2.0/node_modules/styled-components/dist/styled-components.cjs.js",
|
|
10
|
+
"@_modern_js_internal": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/.modern-js",
|
|
11
|
+
"@_modern_js_src": "/home/runner/work/modern.js/modern.js/packages/devtools/client/src",
|
|
12
|
+
"@": "/home/runner/work/modern.js/modern.js/packages/devtools/client/src",
|
|
13
|
+
"@shared": "/home/runner/work/modern.js/modern.js/packages/devtools/client/shared",
|
|
14
|
+
"@modern-js/utils/runtime-node$": "/home/runner/work/modern.js/modern.js/packages/toolkit/utils/dist/cjs/runtime-node/index.js",
|
|
15
|
+
"@modern-js/runtime/plugins": "/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/.modern-js/.runtime-exports/plugins.js"
|
|
16
16
|
},
|
|
17
17
|
"globalVars": [
|
|
18
18
|
{
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
{},
|
|
34
34
|
{},
|
|
35
35
|
{},
|
|
36
|
-
"/
|
|
36
|
+
"/home/runner/work/modern.js/modern.js/packages/devtools/client/node_modules/.modern-js"
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"tools": {
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
"devtools": {
|
|
4
4
|
"chunkIds": [
|
|
5
5
|
"builder-runtime",
|
|
6
|
-
"lib-polyfill",
|
|
7
|
-
"lib-react",
|
|
8
6
|
"lib-router",
|
|
7
|
+
"lib-react",
|
|
8
|
+
"lib-polyfill",
|
|
9
9
|
"vendors~splitting~devtools_page",
|
|
10
10
|
"devtools"
|
|
11
11
|
],
|
|
12
12
|
"assets": [
|
|
13
|
-
"/static/js/lib-polyfill.c0cbbebc.js",
|
|
14
|
-
"/static/js/lib-react.d311f881.js",
|
|
15
13
|
"/static/js/lib-router.c5cb0f77.js",
|
|
16
|
-
"/static/js/
|
|
17
|
-
"/static/js/
|
|
14
|
+
"/static/js/lib-react.d311f881.js",
|
|
15
|
+
"/static/js/lib-polyfill.c0cbbebc.js",
|
|
16
|
+
"/static/js/vendors~splitting~devtools_page.dc63e1e8.js",
|
|
17
|
+
"/static/js/devtools.1f478319.js"
|
|
18
18
|
],
|
|
19
19
|
"referenceCssAssets": []
|
|
20
20
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"devtools_page"
|
|
25
25
|
],
|
|
26
26
|
"assets": [
|
|
27
|
-
"/static/js/vendors~splitting~devtools_page.
|
|
27
|
+
"/static/js/vendors~splitting~devtools_page.dc63e1e8.js",
|
|
28
28
|
"/static/css/async/devtools_page.215ea1d3.css",
|
|
29
29
|
"/static/js/async/devtools_page.d308a574.js"
|
|
30
30
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){window._MODERNJS_ROUTE_MANIFEST={routeAssets:{devtools:{chunkIds:["builder-runtime","lib-polyfill","lib-react","lib-router","vendors~splitting~devtools_page","devtools"],assets:["static/js/lib-polyfill.c0cbbebc.js","static/js/lib-react.d311f881.js","static/js/lib-router.c5cb0f77.js","static/js/vendors~splitting~devtools_page.52e47c1b.js","static/js/devtools.0d677a74.js"],referenceCssAssets:[]},devtools_page:{chunkIds:["vendors~splitting~devtools_page","devtools_page"],assets:["static/js/vendors~splitting~devtools_page.52e47c1b.js","static/css/async/devtools_page.215ea1d3.css","static/js/async/devtools_page.d308a574.js"],referenceCssAssets:["static/css/async/devtools_page.215ea1d3.css"]}}}})(),(self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).push([["devtools"],{67271:function(J,o,r){"use strict";r.r(o),r.d(o,{createApp:function(){return E},bootstrap:function(){return D}});var t=r("61078"),f=r("20891"),u=r("15169"),O=r("85056"),S=r("93160"),nr=r("73706"),k=r("9880"),V=r.n(k),T=r("6171"),er=r.n(T),X=r("99428"),L=r.n(X),l=r("38338"),P=r("31971"),R=r("97511"),C=!0;function N(x){return typeof x=="string"||typeof HTMLElement<"u"&&(0,f._)(x,HTMLElement)}var g=new WeakMap,i=function(y){return{loaderManager:(0,R.createLoaderManager)({}),runner:y,isBrowser:!0,routeManifest:typeof window<"u"&&window[null]}},E=function(y){var m=y.plugins,A=y.props,c,a=P.runtime.clone();return(c=a).usePlugin.apply(c,(0,S._)(m)),function(M){var v=a.init(),q=function(w){var K,U=er.createElement(M||er.Fragment,M?(0,u._)({},w):null,M?w.children:er.cloneElement(w.children,(0,u._)({},(K=w.children)===null||K===void 0?void 0:K.props,w))),F=(0,T.useContext)(l.RuntimeReactContext);return v.provide({element:U,props:(0,u._)({},w),context:F},{onLast:function(Q){var cr=Q.element;return cr}})};M&&L(q,M);var H=v.hoc({App:q},{onLast:function(w){var K=w.App,U=function(rr){var Q=rr.context,cr=(0,O._)(rr,["context"]),ir,sr=Q;!((ir=sr)===null||ir===void 0)&&ir.runner||(sr=i(v),v.init({context:sr},{onLast:function(_r){var Er=_r.context,or,ur;return(ur=K)===null||ur===void 0||(or=ur.init)===null||or===void 0?void 0:or.call(ur,Er)}}));var fr=(0,u._)({},cr,A);return(0,k.jsx)(l.RuntimeReactContext.Provider,{value:sr,children:(0,k.jsx)(K,(0,u._)({},fr))})};return L(U,K)}});return g.set(H,v),H}},D=function(){var x=(0,t._)(function(y,m,A,c){var a,M,v,q,H,z,w,K,U,F,rr,Q,cr,ir,sr,fr,gr,_r,Er;return(0,nr._)(this,function(or){switch(or.label){case 0:return a=y,M=g.get(a),M||(a=E({plugins:[]})(a),M=g.get(a)),v=i(M),q=function(s){return M.init({context:s},{onLast:function(e){var _=e.context,h,B;return(B=a)===null||B===void 0||(h=B.init)===null||h===void 0?void 0:h.call(B,_)}})},m?(H=typeof window<"u"&&window.name!=="nodejs",H?N(m)?(rr=window._SSR_DATA,Q=((w=rr)===null||w===void 0||(z=w.data)===null||z===void 0?void 0:z.loadersData)||{},cr=Object.keys(Q).reduce(function(ur,s){var n=Q[s];return n.loading!==!1||(ur[s]=n),ur},{}),Object.assign(v,(0,u._)({loaderManager:(0,R.createLoaderManager)(cr,{skipStatic:!0})},rr?{ssrContext:(K=rr)===null||K===void 0?void 0:K.context}:{})),v.initialData=(F=rr)===null||F===void 0||(U=F.data)===null||U===void 0?void 0:U.initialData,[4,q(v)]):[3,2]:[3,4]):[2,er.createElement(a,{context:v})];case 1:if(ir=or.sent(),ir&&(v.initialData=ir),sr=typeof m!="string"?m:document.getElementById(m||"root"),!c)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return fr=function(s){if(C)if(A)A.render(s);else if(c.createRoot)c.createRoot(sr).render(s);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method");else{if(!c.render)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `render` method");c.render(s,sr)}},gr=function(s,n){if(C){if(!c.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");c.hydrateRoot(sr,s)}else{if(!c.hydrate)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrate` method");c.hydrate(s,sr,n)}},[2,M.client({App:a,context:v,ModernRender:fr,ModernHydrate:gr},{onLast:function(s){var n=s.App;fr(er.createElement(n,{context:v}))}})];case 2:throw Error("`bootstrap` needs id in browser environment, it needs to be string or element");case 3:return[3,6];case 4:return Object.assign(v,{ssrContext:m,isBrowser:!1,loaderManager:(0,R.createLoaderManager)({},{skipNonStatic:m.staticGenerate,skipStatic:!m.staticGenerate})}),_r=function(s){if(typeof Response<"u"&&(0,f._)(s,Response)&&s.status>=300&&s.status<=399){var n=s.status,e=s.headers.get("Location")||"/",_=v.ssrContext;return _&&(_.res.statusCode=n,_.res.setHeader("Location",e),_.redirection=_.redirection||{},_.redirection.status=n,_.redirection.url=e),!0}return!1},[4,q(v)];case 5:if(Er=or.sent(),!_r(Er))return v.initialData=Er,[2,M.server({App:a,context:v})];or.label=6;case 6:return[2]}})});return function(m,A,c,a){return x.apply(this,arguments)}}(),j=function(){var y=(0,T.useContext)(l.RuntimeReactContext),m=null(function(){return y.runner.pickContext({context:y,pickedContext:{}},{onLast:function(c){var a=c.pickedContext;return a}})},[y]);return m}},17500:function(J,o,r){"use strict";r.r(o),r.d(o,{RuntimeReactContext:function(){return f.RuntimeReactContext}});var t=r("67271");r.es(t,o);var f=r("38338"),u=r("89323");r.es(u,o)},97511:function(J,o,r){"use strict";r.r(o),r.d(o,{createLoaderManager:function(){return X}});var t=r("61078"),f=r("20891"),u=r("28003"),O=r("93160"),S=r("73706"),nr=r("44463"),k=r.n(nr),V=function(){var l=new Map;return function(P){var R=l.get(P);if(R)return R;var C=JSON.stringify(P);return k(C,"params should be not null value"),l.set(P,C),C}},T;(function(L){L[L.idle=0]="idle",L[L.loading=1]="loading",L[L.fulfilled=2]="fulfilled",L[L.rejected=3]="rejected"})(T||(T={}));var er=function(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},R=arguments.length>2?arguments[2]:void 0,C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N,g=T.idle,i=P.data,E=P.error,D=!1,j=new Set,x=function(){var c=(0,t._)(function(){return(0,S._)(this,function(a){return C?[2,N]:g===T.loading?[2,N]:(g=T.loading,m(),N=R().then(function(M){i=M,E=null,g=T.fulfilled}).catch(function(M){E=M,i=null,g=T.rejected}).finally(function(){N=null,D=!0,m()}),[2,N])})});return function(){return c.apply(this,arguments)}}(),y=function(){return{loading:!D&&g===T.loading,reloading:D&&g===T.loading,data:i,error:(0,f._)(E,Error)?"".concat(E.message):E,_error:E}},m=function(){(0,O._)(j).forEach(function(a){a(g,y())})},A=function(a){return j.add(a),function(){j.delete(a)}};return{get result(){return y()},get promise(){return N},onChange:A,load:x}},X=function(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=P.skipStatic,C=R===void 0?!1:R,N=P.skipNonStatic,g=N===void 0?!1:N,i=new Map,E=V(),D=function(A,c){var a=E(c.params),M=i.get(a),v=c._cache;if(!M||v===!1){var q=g&&!c.static,H=C&&c.static,z=q||H;M=er(a,typeof l[a]<"u"?l[a]:{data:c.initialData},A,z),i.set(a,M)}return a},j=function(A){return i.get(A)},x=function(){var A=!0,c=!1,a=void 0;try{for(var M=i.values()[Symbol.iterator](),v;!(A=(v=M.next()).done);A=!0){var q=v.value,H=q.promise;if((0,f._)(H,Promise))return!0}}catch(z){c=!0,a=z}finally{try{!A&&M.return!=null&&M.return()}finally{if(c)throw a}}return!1},y=function(){var m=(0,t._)(function(){var A,c,a,M,v,q,H,z,w,K;return(0,S._)(this,function(U){switch(U.label){case 0:A=[],c=!0,a=!1,M=void 0;try{for(v=i[Symbol.iterator]();!(c=(q=v.next()).done);c=!0)H=(0,u._)(q.value,2),z=H[0],w=H[1],K=w.promise,(0,f._)(K,Promise)&&A.push([z,w])}catch(F){a=!0,M=F}finally{try{!c&&v.return!=null&&v.return()}finally{if(a)throw M}}return[4,Promise.all(A.map(function(F){return F[1].promise}))];case 1:return U.sent(),[2,A.reduce(function(F,rr){var Q=(0,u._)(rr,2),cr=Q[0],ir=Q[1];return F[cr]=ir.result,F},{})]}})});return function(){return m.apply(this,arguments)}}();return{hasPendingLoaders:x,awaitPendingLoaders:y,add:D,get:j}}},31971:function(J,o,r){"use strict";r.r(o),r.d(o,{runtime:function(){return X}});var t=r("89323"),f=(0,t.createPipeline)(),u=(0,t.createPipeline)(),O=(0,t.createAsyncPipeline)(),S=(0,t.createAsyncPipeline)(),nr=(0,t.createAsyncPipeline)(),k=(0,t.createPipeline)(),V={hoc:f,provide:u,client:O,server:S,init:nr,pickContext:k},T=function(){return(0,t.createManager)(V)},er=function(P,R){var C=P.init;P.init=function(){var N=(0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0_._)(function(g){var i,E;return(0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_1_._)(this,function(D){switch(D.label){case 0:return g.loaderManager||(g.loaderManager=(0,_loader_loaderManager__WEBPACK_IMPORTED_MODULE_3_.createLoaderManager)({})),[4,Promise.all([(i=C)===null||i===void 0?void 0:i(g),(E=R)===null||E===void 0?void 0:E(g)])];case 1:return D.sent(),[2]}})});return function(g){return N.apply(this,arguments)}}()},X=T(),L=X.createPlugin},71300:function(J,o,r){"use strict";r.r(o),r.d(o,{createApp:function(){return t.createApp},bootstrap:function(){return t.bootstrap}});var t=r("17500")},71593:function(J,o,r){"use strict";r.r(o),r.d(o,{default:function(){return t.default}});var t=r("94552");r.es(t,o)},75949:function(J,o,r){"use strict";r.r(o),r.d(o,{DefaultNotFound:function(){return u}});var t=r("9880"),f=r.n(t),u=function(){return(0,t.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},90208:function(J,o,r){"use strict";r.r(o),r.d(o,{default:function(){return t}});function t(){return null}},87872:function(J,o,r){"use strict";r.r(o),r.d(o,{modifyRoutes:function(){return f}});var t=r("89323"),f=(0,t.createWaterfall)()},94552:function(J,o,r){"use strict";r.r(o),r.d(o,{Outlet:function(){return f.Outlet}}),r.d(o,{default:function(){return u}});var t=r("96856"),f=r("11275"),u=t.routerPlugin,O=function(nr){var k=nr.replace(/\[(.*?)\]/g,"($1)");return null(k)}},96856:function(J,o,r){"use strict";r.r(o),r.d(o,{routerPlugin:function(){return g}});var t=r("15169"),f=r("43932"),u=r("93160"),O=r("9880"),S=r.n(O),nr=r("6171"),k=r.n(nr),V=r("11275"),T=r("99428"),er=r.n(T),X=r("58579"),L=r("17500"),l=r("87872"),P=r("40318"),R={routes:[]},C=!0;function N(i){if(C){var E=R.routes,D=i(E);R.routes=D}else console.error("It is not allowed to modify routes config after create router.")}var g=function(E){var D=E.serverBase,j=D===void 0?[]:D,x=E.supportHtml5History,y=x===void 0?!0:x,m=E.basename,A=m===void 0?"":m,c=E.routesConfig,a=E.createRoutes,M=function(H){return j.find(function(z){return H.search(z)===0})||"/"},v=[];return R=c,window._SERVER_DATA=(0,X.parsedJSONFromElement)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:l.modifyRoutes},setup:function(H){return{init:function(w,K){var U=w.context;return U.router={useMatches:V.useMatches,useLocation:V.useLocation},Object.defineProperty(U,"routes",{get:function(){return v}}),K({context:U})},hoc:function(w,K){var U=w.App,F;if(!R&&!a)return K({App:U});var rr=function(){return function(ir){var sr,fr;C=!1,v=a?a():(0,V.createRoutesFromElements)((0,P.renderRoutes)({routesConfig:R,props:ir}));var gr=H.useHookRunners();v=gr.modifyRoutes(v);var _r=((sr=window._SERVER_DATA)===null||sr===void 0?void 0:sr.router.baseUrl)||M(location.pathname),Er=_r==="/"?(0,P.urlJoin)(_r,A):_r,or=window._ROUTER_DATA;!((fr=or)===null||fr===void 0)&&fr.errors&&(or=(0,f._)((0,t._)({},or),{errors:(0,P.deserializeErrors)(or.errors)}));var ur=y?(0,V.createBrowserRouter)(v,{basename:Er,hydrationData:or}):(0,V.createHashRouter)(v,{basename:Er,hydrationData:or}),s=(0,nr.useContext)(L.RuntimeReactContext);s.remixRouter||Object.defineProperty(s,"remixRouter",{get:function(){return ur}});var n=ur.subscribe;return ur.subscribe=function(e){var _=function(){for(var B=arguments.length,I=new Array(B),p=0;p<B;p++)I[p]=arguments[p];var d=s.unstable_getBlockNavState,W=d?d():!1;if(!W)return e.apply(void 0,(0,u._)(I))};return n(_)},(0,O.jsx)(U,(0,f._)((0,t._)({},ir),{children:(0,O.jsx)(V.RouterProvider,{router:ur})}))}},Q=rr();return U&&(Q=er(Q,U)),!((F=c)===null||F===void 0)&&F.globalApp?K({App:er(Q,c.globalApp)}):K({App:Q})},pickContext:function(w,K){var U=w.context,F=w.pickedContext,rr=U.remixRouter;if(!rr)return K({context:U,pickedContext:F});var Q={navigate:rr.navigate,get location(){return rr.state.location}};return K({context:U,pickedContext:(0,f._)((0,t._)({},F),{router:Q})})}}}}}},40318:function(J,o,r){"use strict";r.r(o),r.d(o,{renderRoutes:function(){return L},urlJoin:function(){return P},deserializeErrors:function(){return N}});var t=r("15169"),f=r("85056"),u=r("28003"),O=r("9880"),S=r.n(O),nr=r("11275"),k=r("54700"),V=r("53405"),T=r("75949"),er=r("90208");function X(g,i){var E=i.globalApp,D=i.ssrMode,j=i.props,x=function(w){var K=w.Component,U=(0,f._)(w,["Component"]),F=E;return F?(0,O.jsx)(F,(0,t._)({Component:K},U)):(0,O.jsx)(K,(0,t._)({},U))},y=[],m=!0,A=!1,c=void 0;try{for(var a=g[Symbol.iterator](),M;!(m=(M=a.next()).done);m=!0){var v=M.value;if(v.type==="nested"){var q=(0,V.renderNestedRoute)(v,{DeferredDataComponent:D==="stream"?er.default:void 0,props:j});y.push(q)}else{var H=(0,O.jsx)(nr.Route,{path:v.path,element:(0,O.jsx)(x,{Component:v.component})},v.path);y.push(H)}}}catch(z){A=!0,c=z}finally{try{!m&&a.return!=null&&a.return()}finally{if(A)throw c}}return y.push((0,O.jsx)(nr.Route,{path:"*",element:(0,O.jsx)(T.DefaultNotFound,{})},"*")),y}function L(g){var i=g.routesConfig,E=g.props,D=g.ssrMode;if(!i)return null;var j=i.routes,x=i.globalApp;if(!j)return null;var y=X(j,{globalApp:x,ssrMode:D,props:E});return y}function l(g){var i,E,D,j=((i=g)===null||i===void 0?void 0:i.request)||{},x=j.pathname,y=j.url,m=(D=y)===null||D===void 0||(E=D.replace("http://",""))===null||E===void 0?void 0:E.replace("https://",""),A=(m||"").indexOf(x);return A===-1?x:m.substring(A)}var P=function(){for(var i=arguments.length,E=new Array(i),D=0;D<i;D++)E[D]=arguments[D];var j="/",x=new RegExp("".concat(j,"{1,}"),"g");return R(E.join(j).replace(x,j))};function R(g){var i=g;return!i||typeof i!="string"||(i.startsWith(".")&&(i=i.slice(1)),i.startsWith("/")||(i="/".concat(i)),i.endsWith("/")&&i!=="/"&&(i=i.slice(0,i.length-1))),i}function C(g){if(!g)return null;var i=Object.entries(g),E={},D=!0,j=!1,x=void 0;try{for(var y=i[Symbol.iterator](),m;!(D=(m=y.next()).done);D=!0){var A=(0,u._)(m.value,2),c=A[0],a=A[1];null(a)?E[c]=(0,_swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_2_._)((0,t._)({},a),{__type:"RouteErrorResponse"}):(0,_swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_0_._)(a,Error)?E[c]={message:a.message,stack:a.stack,__type:"Error"}:E[c]=a}}catch(M){j=!0,x=M}finally{try{!D&&y.return!=null&&y.return()}finally{if(j)throw x}}return E}function N(g){if(!g)return null;var i=Object.entries(g),E={},D=!0,j=!1,x=void 0;try{for(var y=i[Symbol.iterator](),m;!(D=(m=y.next()).done);D=!0){var A=(0,u._)(m.value,2),c=A[0],a=A[1];if(a&&a.__type==="RouteErrorResponse")E[c]=new k.ErrorResponse(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){var M=new Error(a.message);M.stack=a.stack,E[c]=M}else E[c]=a}}catch(v){j=!0,x=v}finally{try{!D&&y.return!=null&&y.return()}finally{if(j)throw x}}return E}},38338:function(J,o,r){"use strict";r.r(o),r.d(o,{RuntimeReactContext:function(){return u}});var t=r("6171"),f=r.n(t),u=(0,t.createContext)({}),O=(0,t.createContext)({})},89323:function(J,o,r){"use strict";r.r(o),r.d(o,{createAsyncPipeline:function(){return L},createManager:function(){return fr},createPipeline:function(){return X},createWaterfall:function(){return R}});var t=r("37599"),f=r("15169"),u=r("93160"),O=r("43932"),S=r("16584"),nr=function(n){var e=n;return{use:function(){return{get value(){return e},set value(h){e=h}}},get:function(){return e},set:function(h){e=h}}},k=function(n){var e=function(h,B){var I=function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:B;return e(h+1,d)};return n(h,B,I)};return{start:function(h){return e(0,h)},dispatch:e}},V=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[T])},T=Symbol.for("MODERN_PIPELINE"),er=function(n){if(typeof n=="function")return n;if(n&&typeof n.middleware=="function")return n.middleware;throw new Error("".concat(n," is not a Middleware"))},X=function(){var n=[],e=function(){for(var ar=arguments.length,Y=new Array(ar),lr=0;lr<ar;lr++)Y[lr]=arguments[lr];var dr;return(dr=n).push.apply(dr,(0,u._)(Y.map(er))),W},_=function(ar){return k(function(Y,lr,dr){if(Y>=n.length){if(ar)return ar(lr);throw new Error("Expect returning a value, but all middlewares just calling next()")}return n[Y](lr,dr)})},h=_(),B=function(ar){var Y;return ar?_((Y=ar)===null||Y===void 0?void 0:Y.onLast):h},I=function(ar,Y){return B(Y).start(ar)},p=function(ar,Y){return I(ar,{onLast:Y})},d,W=(d={},(0,t._)(d,T,!0),(0,t._)(d,"use",e),(0,t._)(d,"run",I),(0,t._)(d,"middleware",p),d);return W},L=function(){var n=X();return(0,f._)({},n)},l=Symbol.for("MODERN_WATERFALL"),P=function(n){if(typeof n=="function")return n;if(n&&typeof n.middleware=="function")return n.middleware;throw new Error("".concat(n," is not a Brook or { brook: Brook }"))},R=function(){var n=X(),e=function(){for(var p=arguments.length,d=new Array(p),W=0;W<p;W++)d[W]=arguments[W];var G;return(G=n).use.apply(G,(0,u._)(d.map(P).map(N))),B},_=function(p,d){return n.run(p,(0,O._)((0,f._)({},d),{onLast:function(G){return G}}))},h=function(p){return n.run(p,{onLast:function(W){return W}})},B=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_,middleware:h},l,!0));return B},C=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[l])},N=function(n){return function(e,_){return _(n(e))}},g=Symbol.for("MODERN_ASYNC_WATERFALL"),i=function(n){if(typeof n=="function")return n;if(n&&typeof n.middleware=="function")return n.middleware;throw new Error("".concat(n," is not a AsyncBrook or { brook: AsyncBrook }"))},E=function(){var n=L(),e=function(){for(var p=arguments.length,d=new Array(p),W=0;W<p;W++)d[W]=arguments[W];var G;return(G=n).use.apply(G,(0,u._)(d.map(i).map(j))),B},_=function(p,d){return n.run(p,(0,O._)((0,f._)({},d),{onLast:function(G){return G}}))},h=function(p){return n.run(p,{onLast:function(W){return W}})},B=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_,middleware:h},g,!0));return B},D=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[g])},j=function(n){return function(e,_){return Promise.resolve(n(e)).then(function(h){return _(h)})}},x=Symbol.for("MODERN_WORKFLOW"),y=function(){var n=X(),e=function(){for(var I=arguments.length,p=new Array(I),d=0;d<I;d++)p[d]=arguments[d];var W;return(W=n).use.apply(W,(0,u._)(p.map(A))),h},_=function(I){var p=n.run(I,{onLast:function(){return[]}});return p.filter(Boolean)},h=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_},x,!0));return h},m=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[x])},A=function(n){return function(e,_){return[n(e)].concat((0,u._)(_(e)))}},c=Symbol.for("MODERN_PARALLEL_WORKFLOW"),a=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[c])},M=function(){var n=X(),e=function(){for(var I=arguments.length,p=new Array(I),d=0;d<I;d++)p[d]=arguments[d];var W;return(W=n).use.apply(W,(0,u._)(p.map(v))),h},_=function(I){return Promise.all(n.run(I,{onLast:function(){return[]}})).then(function(p){return p.filter(Boolean)})},h=(0,O._)((0,f._)({},n),(0,t._)({run:_,use:e},c,!0));return h},v=function(n){return function(e,_){return[n(e)].concat((0,u._)(_(e)))}},q=Symbol.for("MODERN_ASYNC_WORKFLOW"),H=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[q])},z=function(){var n=L(),e=function(){for(var I=arguments.length,p=new Array(I),d=0;d<I;d++)p[d]=arguments[d];var W;return(W=n).use.apply(W,(0,u._)(p.map(w))),h},_=function(I){var p=n.run(I,{onLast:function(){return[]}});return K(p)?p.then(function(d){return d.filter(Boolean)}):p.filter(Boolean)},h=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_},q,!0));return h},w=function(n){return function(e,_){return Promise.resolve(n(e)).then(function(h){return Promise.resolve(_(e)).then(function(B){return[h].concat((0,u._)(B))})})}};function K(s){return s&&typeof s.then=="function"}var U=function(n){};function F(s){return(0,S.pluginDagSort)(s.slice())}var rr=function(n,e){return n.some(function(_){return _.name===e.name})},Q=function(n){return n!==null&&typeof n=="object"},cr=function(n,e){return n.hasOwnProperty(e)},ir="SYNC_PLUGIN_SYMBOL",sr={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},fr=function(n,e){var _=0,h,B=(0,f._)({},n),I=function(){return h},p=function(Y){B=(0,f._)({},Y,B)},d=function(Y){return Q(Y)&&cr(Y,ir)&&Y[ir]===ir},W=(0,O._)((0,f._)({},e),{useHookRunners:I}),G=function(Y){var lr=[],dr=function($){rr(lr,$)||lr.push((0,f._)({},$))},pr=function(){for(var $=arguments.length,tr=new Array($),Z=0;Z<$;Z++)tr[Z]=arguments[Z];return tr.forEach(function(b){if(d(b))dr(b);else if(typeof b=="function"){var Mr=b();dr(mr(Mr.setup,Mr))}else Q(b)&&dr(mr(b.setup,b))}),Pr},mr=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z;return!((Z=tr.usePlugins)===null||Z===void 0)&&Z.length&&tr.usePlugins.forEach(function(b){pr(mr(b.setup,b))}),tr.registerHook&&p(tr.registerHook),(0,O._)((0,f._)((0,O._)((0,f._)({},sr),{name:"No.".concat(_++," plugin")}),tr),{SYNC_PLUGIN_SYMBOL:ir,setup:$})},hr=function(){lr=[]},Or=function(){var $=F(lr),tr=(0,f._)({},W,Y);U($);var Z=$.map(function(b){return b.setup(tr)});return h=gr(Z,B),h},Dr=function($){return $()},Pr={createPlugin:mr,isPlugin:d,usePlugin:pr,init:Or,clear:hr,run:Dr,registerHook:p,useRunner:I,clone:G};return Pr};return G()},gr=function(n,e){var _={},h=Er(e);if(e){var B=function(d){n.forEach(function(W){var G;!((G=W)===null||G===void 0)&&G[d]&&h[d].use(W[d])}),_[d]=function(W,G){return h[d].run(W,(0,f._)({},G))}};for(var I in h)B(I)}return _},_r=function(n){if(C(n))return R();if(D(n))return E();if(m(n))return y();if(H(n))return z();if(a(n))return M();if(V(n))return X();throw new Error("Unknown hook: ".concat(n))},Er=function(n){if(!n)return n;var e={};for(var _ in n)e[_]=_r(n[_]);return e},or="ASYNC_PLUGIN_SYMBOL",ur=function(n,e){var _=0,h,B=(0,f._)({},n),I=function(){return h},p=function(Y){B=(0,f._)({},Y,B)},d=function(Y){return Q(Y)&&cr(Y,or)&&Y[or]===or},W=(0,O._)((0,f._)({},e),{useHookRunners:I}),G=function(Y){var lr=[],dr=function($){rr(lr,$)||lr.push((0,f._)({},$))},pr=function(){for(var $=arguments.length,tr=new Array($),Z=0;Z<$;Z++)tr[Z]=arguments[Z];return tr.forEach(function(b){if(d(b))dr(b);else if(typeof b=="function"){var Mr=b();dr(mr(Mr.setup,Mr))}else Q(b)&&dr(mr(b.setup,b))}),Pr},mr=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z;return!((Z=tr.usePlugins)===null||Z===void 0)&&Z.length&&tr.usePlugins.forEach(function(b){pr(mr(b.setup,b))}),tr.registerHook&&p(tr.registerHook),(0,O._)((0,f._)((0,O._)((0,f._)({},sr),{name:"No.".concat(_++," plugin")}),tr),{ASYNC_PLUGIN_SYMBOL:or,setup:$})},hr=function(){lr=[]},Or=function(){var $=F(lr),tr=(0,f._)({},W,Y);return U($),Promise.all($.map(function(Z){return Z.setup(tr)})).then(function(Z){return h=gr(Z,B),h})},Dr=function($){return $()},Pr={createPlugin:mr,isPlugin:d,usePlugin:pr,init:Or,run:Dr,clear:hr,clone:G,registerHook:p,useRunner:I};return Pr};return G()}},58579:function(J,o,r){"use strict";r.r(o);var t=r("58759");r.es(t,o)},58759:function(J,o,r){"use strict";r.r(o),r.d(o,{parsedJSONFromElement:function(){return t}});var t=function(u){var O=document.querySelectorAll("#".concat(u));if(O.length!==0){var S=O[O.length-1];if(S)try{var nr,k=JSON.parse(((nr=S)===null||nr===void 0?void 0:nr.textContent)||"");return k}catch(V){console.error("parse ".concat(u," error"),V);return}}}},53405:function(J,o,r){"use strict";r.r(o),r.d(o,{renderNestedRoute:function(){return T}});var t=r("15169"),f=r("43932"),u=r("9880"),O=r.n(u),S=r("6171"),nr=r.n(S),k=r("42130"),V=function(l){var P=[],R=!0,C=!1,N=void 0;try{for(var g=l[Symbol.iterator](),i;!(R=(i=g.next()).done);R=!0){var E=i.value,D=T(E);P.push(D)}}catch(j){C=!0,N=j}finally{try{!R&&g.return!=null&&g.return()}finally{if(C)throw N}}return(0,k.createRoutesFromElements)(P)},T=function(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R,C,N=l.children,g=l.index,i=l.id,E=l.component,D=l.isRoot,j=l.lazyImport,x=l.config,y=l.handle,m=E,A=P.parent,c=P.DeferredDataComponent,a=P.props,M=a===void 0?{}:a,v={caseSensitive:l.caseSensitive,path:l.path,id:l.id,loader:er(l),action:l.action,hasErrorBoundary:l.hasErrorBoundary,shouldRevalidate:l.shouldRevalidate,handle:(0,t._)({},y,typeof x=="object"?(R=x)===null||R===void 0?void 0:R.handle:{}),index:l.index,element:l.element,errorElement:l.errorElement};if(l.error){var q=(0,u.jsx)(l.error,{});v.errorElement=q}var H;if(m){var z;if(!((z=A)===null||z===void 0)&&z.loading&&j){var w=A.loading;X(m)?H=(0,u.jsx)(m,{fallback:(0,u.jsx)(w,{})}):H=(0,u.jsx)(S.Suspense,{fallback:(0,u.jsx)(w,{}),children:(0,u.jsx)(m,{})})}else if(X(m)&&j)H=(0,u.jsx)(m,{});else if(D){var K;H=(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(m,(0,t._)({},M)),typeof document>"u"&&c&&(0,u.jsx)(c,{nonce:(K=M)===null||K===void 0?void 0:K.nonce})]})}else j?H=(0,u.jsx)(S.Suspense,{fallback:null,children:(0,u.jsx)(m,{})}):H=(0,u.jsx)(m,{})}else{var U;l.loading=(U=A)===null||U===void 0?void 0:U.loading}H&&(v.element=H);var F=(C=N)===null||C===void 0?void 0:C.map(function(Q){return T(Q,{parent:l})}),rr=g?(0,u.jsx)(k.Route,(0,f._)((0,t._)({},v),{index:!0}),i):(0,u.jsx)(k.Route,(0,f._)((0,t._)({},v),{index:!1,children:F}),i);return rr};function er(L){var l=L.loader;return l?function(P){return typeof L.lazyImport=="function"&&L.lazyImport(),l(P)}:function(){return typeof L.lazyImport=="function"&&L.lazyImport(),null}}function X(L){return L&&L.displayName==="Loadable"&&L.preload&&typeof L.preload=="function"}},54700:function(J,o,r){"use strict";r.r(o);var t=r("21921");r.es(t,o)},11275:function(J,o,r){"use strict";r.r(o);var t=r("42130");r.es(t,o)},16584:function(J,o,r){"use strict";r.r(o),r.d(o,{pluginDagSort:function(){return t}});var t=function(u){var O=function(){var P=er.shift();X.push(V(P)),T=T.filter(function(C){return C[0]!==V(P)[S]});var R=u.filter(function(C){return!X.find(function(N){return N[S]===C[S]})});er=R.filter(function(C){return!T.find(function(N){return N[1]===C[S]})})},S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"name",nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"pre",k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"post",V=function(P){var R=u.find(function(C){return typeof P=="string"?C[S]===P:C[S]===P[S]});if(!R)throw new Error("plugin ".concat(P," not existed"));return R},T=[];u.forEach(function(l){var P,R;(P=l[nr])===null||P===void 0||P.forEach(function(C){u.find(function(N){return N.name===C})&&T.push([V(C)[S],V(l)[S]])}),(R=l[k])===null||R===void 0||R.forEach(function(C){u.find(function(N){return N.name===C})&&T.push([V(l)[S],V(C)[S]])})});for(var er=u.filter(function(l){return!T.find(function(P){return P[1]===l[S]})}),X=[];er.length;)O();if(T.length){var L={};throw T.forEach(function(l){L[l[0]]=!0,L[l[1]]=!0}),new Error("plugins dependences has loop: ".concat(Object.keys(L).join(",")))}return X}},61568:function(J,o,r){"use strict";r.r(o),r.d(o,{default:function(){return O}});var t=r("9880"),f=r.n(t),u=r("71593");function O(){return(0,t.jsx)("div",{children:(0,t.jsx)(u.Outlet,{})})}}},function(J){var o=function(t){return J(J.s=t)};J.O(0,["lib-polyfill","lib-react","lib-router","vendors~splitting~devtools_page"],function(){return o("7870"),o("92404"),o("68924")});var r=J.O()}]);
|
|
1
|
+
(function(){window._MODERNJS_ROUTE_MANIFEST={routeAssets:{devtools:{chunkIds:["builder-runtime","lib-router","lib-react","lib-polyfill","vendors~splitting~devtools_page","devtools"],assets:["static/js/lib-router.c5cb0f77.js","static/js/lib-react.d311f881.js","static/js/lib-polyfill.c0cbbebc.js","static/js/vendors~splitting~devtools_page.dc63e1e8.js","static/js/devtools.1f478319.js"],referenceCssAssets:[]},devtools_page:{chunkIds:["vendors~splitting~devtools_page","devtools_page"],assets:["static/js/vendors~splitting~devtools_page.dc63e1e8.js","static/css/async/devtools_page.215ea1d3.css","static/js/async/devtools_page.d308a574.js"],referenceCssAssets:["static/css/async/devtools_page.215ea1d3.css"]}}}})(),(self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).push([["devtools"],{67271:function(J,o,r){"use strict";r.r(o),r.d(o,{createApp:function(){return E},bootstrap:function(){return D}});var t=r("61078"),f=r("20891"),u=r("15169"),O=r("85056"),S=r("93160"),nr=r("73706"),k=r("9880"),V=r.n(k),T=r("6171"),er=r.n(T),b=r("99428"),L=r.n(b),l=r("38338"),P=r("31971"),R=r("97511"),C=!0;function N(x){return typeof x=="string"||typeof HTMLElement<"u"&&(0,f._)(x,HTMLElement)}var g=new WeakMap,i=function(y){return{loaderManager:(0,R.createLoaderManager)({}),runner:y,isBrowser:!0,routeManifest:typeof window<"u"&&window[null]}},E=function(y){var m=y.plugins,A=y.props,c,a=P.runtime.clone();return(c=a).usePlugin.apply(c,(0,S._)(m)),function(M){var v=a.init(),q=function(w){var K,U=er.createElement(M||er.Fragment,M?(0,u._)({},w):null,M?w.children:er.cloneElement(w.children,(0,u._)({},(K=w.children)===null||K===void 0?void 0:K.props,w))),F=(0,T.useContext)(l.RuntimeReactContext);return v.provide({element:U,props:(0,u._)({},w),context:F},{onLast:function(Q){var cr=Q.element;return cr}})};M&&L(q,M);var H=v.hoc({App:q},{onLast:function(w){var K=w.App,U=function(rr){var Q=rr.context,cr=(0,O._)(rr,["context"]),ir,sr=Q;!((ir=sr)===null||ir===void 0)&&ir.runner||(sr=i(v),v.init({context:sr},{onLast:function(_r){var Er=_r.context,or,ur;return(ur=K)===null||ur===void 0||(or=ur.init)===null||or===void 0?void 0:or.call(ur,Er)}}));var fr=(0,u._)({},cr,A);return(0,k.jsx)(l.RuntimeReactContext.Provider,{value:sr,children:(0,k.jsx)(K,(0,u._)({},fr))})};return L(U,K)}});return g.set(H,v),H}},D=function(){var x=(0,t._)(function(y,m,A,c){var a,M,v,q,H,z,w,K,U,F,rr,Q,cr,ir,sr,fr,gr,_r,Er;return(0,nr._)(this,function(or){switch(or.label){case 0:return a=y,M=g.get(a),M||(a=E({plugins:[]})(a),M=g.get(a)),v=i(M),q=function(s){return M.init({context:s},{onLast:function(e){var _=e.context,h,B;return(B=a)===null||B===void 0||(h=B.init)===null||h===void 0?void 0:h.call(B,_)}})},m?(H=typeof window<"u"&&window.name!=="nodejs",H?N(m)?(rr=window._SSR_DATA,Q=((w=rr)===null||w===void 0||(z=w.data)===null||z===void 0?void 0:z.loadersData)||{},cr=Object.keys(Q).reduce(function(ur,s){var n=Q[s];return n.loading!==!1||(ur[s]=n),ur},{}),Object.assign(v,(0,u._)({loaderManager:(0,R.createLoaderManager)(cr,{skipStatic:!0})},rr?{ssrContext:(K=rr)===null||K===void 0?void 0:K.context}:{})),v.initialData=(F=rr)===null||F===void 0||(U=F.data)===null||U===void 0?void 0:U.initialData,[4,q(v)]):[3,2]:[3,4]):[2,er.createElement(a,{context:v})];case 1:if(ir=or.sent(),ir&&(v.initialData=ir),sr=typeof m!="string"?m:document.getElementById(m||"root"),!c)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return fr=function(s){if(C)if(A)A.render(s);else if(c.createRoot)c.createRoot(sr).render(s);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method");else{if(!c.render)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `render` method");c.render(s,sr)}},gr=function(s,n){if(C){if(!c.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");c.hydrateRoot(sr,s)}else{if(!c.hydrate)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrate` method");c.hydrate(s,sr,n)}},[2,M.client({App:a,context:v,ModernRender:fr,ModernHydrate:gr},{onLast:function(s){var n=s.App;fr(er.createElement(n,{context:v}))}})];case 2:throw Error("`bootstrap` needs id in browser environment, it needs to be string or element");case 3:return[3,6];case 4:return Object.assign(v,{ssrContext:m,isBrowser:!1,loaderManager:(0,R.createLoaderManager)({},{skipNonStatic:m.staticGenerate,skipStatic:!m.staticGenerate})}),_r=function(s){if(typeof Response<"u"&&(0,f._)(s,Response)&&s.status>=300&&s.status<=399){var n=s.status,e=s.headers.get("Location")||"/",_=v.ssrContext;return _&&(_.res.statusCode=n,_.res.setHeader("Location",e),_.redirection=_.redirection||{},_.redirection.status=n,_.redirection.url=e),!0}return!1},[4,q(v)];case 5:if(Er=or.sent(),!_r(Er))return v.initialData=Er,[2,M.server({App:a,context:v})];or.label=6;case 6:return[2]}})});return function(m,A,c,a){return x.apply(this,arguments)}}(),j=function(){var y=(0,T.useContext)(l.RuntimeReactContext),m=null(function(){return y.runner.pickContext({context:y,pickedContext:{}},{onLast:function(c){var a=c.pickedContext;return a}})},[y]);return m}},17500:function(J,o,r){"use strict";r.r(o),r.d(o,{RuntimeReactContext:function(){return f.RuntimeReactContext}});var t=r("67271");r.es(t,o);var f=r("38338"),u=r("89323");r.es(u,o)},97511:function(J,o,r){"use strict";r.r(o),r.d(o,{createLoaderManager:function(){return b}});var t=r("61078"),f=r("20891"),u=r("28003"),O=r("93160"),S=r("73706"),nr=r("44463"),k=r.n(nr),V=function(){var l=new Map;return function(P){var R=l.get(P);if(R)return R;var C=JSON.stringify(P);return k(C,"params should be not null value"),l.set(P,C),C}},T;(function(L){L[L.idle=0]="idle",L[L.loading=1]="loading",L[L.fulfilled=2]="fulfilled",L[L.rejected=3]="rejected"})(T||(T={}));var er=function(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},R=arguments.length>2?arguments[2]:void 0,C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,N,g=T.idle,i=P.data,E=P.error,D=!1,j=new Set,x=function(){var c=(0,t._)(function(){return(0,S._)(this,function(a){return C?[2,N]:g===T.loading?[2,N]:(g=T.loading,m(),N=R().then(function(M){i=M,E=null,g=T.fulfilled}).catch(function(M){E=M,i=null,g=T.rejected}).finally(function(){N=null,D=!0,m()}),[2,N])})});return function(){return c.apply(this,arguments)}}(),y=function(){return{loading:!D&&g===T.loading,reloading:D&&g===T.loading,data:i,error:(0,f._)(E,Error)?"".concat(E.message):E,_error:E}},m=function(){(0,O._)(j).forEach(function(a){a(g,y())})},A=function(a){return j.add(a),function(){j.delete(a)}};return{get result(){return y()},get promise(){return N},onChange:A,load:x}},b=function(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=P.skipStatic,C=R===void 0?!1:R,N=P.skipNonStatic,g=N===void 0?!1:N,i=new Map,E=V(),D=function(A,c){var a=E(c.params),M=i.get(a),v=c._cache;if(!M||v===!1){var q=g&&!c.static,H=C&&c.static,z=q||H;M=er(a,typeof l[a]<"u"?l[a]:{data:c.initialData},A,z),i.set(a,M)}return a},j=function(A){return i.get(A)},x=function(){var A=!0,c=!1,a=void 0;try{for(var M=i.values()[Symbol.iterator](),v;!(A=(v=M.next()).done);A=!0){var q=v.value,H=q.promise;if((0,f._)(H,Promise))return!0}}catch(z){c=!0,a=z}finally{try{!A&&M.return!=null&&M.return()}finally{if(c)throw a}}return!1},y=function(){var m=(0,t._)(function(){var A,c,a,M,v,q,H,z,w,K;return(0,S._)(this,function(U){switch(U.label){case 0:A=[],c=!0,a=!1,M=void 0;try{for(v=i[Symbol.iterator]();!(c=(q=v.next()).done);c=!0)H=(0,u._)(q.value,2),z=H[0],w=H[1],K=w.promise,(0,f._)(K,Promise)&&A.push([z,w])}catch(F){a=!0,M=F}finally{try{!c&&v.return!=null&&v.return()}finally{if(a)throw M}}return[4,Promise.all(A.map(function(F){return F[1].promise}))];case 1:return U.sent(),[2,A.reduce(function(F,rr){var Q=(0,u._)(rr,2),cr=Q[0],ir=Q[1];return F[cr]=ir.result,F},{})]}})});return function(){return m.apply(this,arguments)}}();return{hasPendingLoaders:x,awaitPendingLoaders:y,add:D,get:j}}},31971:function(J,o,r){"use strict";r.r(o),r.d(o,{runtime:function(){return b}});var t=r("89323"),f=(0,t.createPipeline)(),u=(0,t.createPipeline)(),O=(0,t.createAsyncPipeline)(),S=(0,t.createAsyncPipeline)(),nr=(0,t.createAsyncPipeline)(),k=(0,t.createPipeline)(),V={hoc:f,provide:u,client:O,server:S,init:nr,pickContext:k},T=function(){return(0,t.createManager)(V)},er=function(P,R){var C=P.init;P.init=function(){var N=(0,_swc_helpers_async_to_generator__WEBPACK_IMPORTED_MODULE_0_._)(function(g){var i,E;return(0,_swc_helpers_ts_generator__WEBPACK_IMPORTED_MODULE_1_._)(this,function(D){switch(D.label){case 0:return g.loaderManager||(g.loaderManager=(0,_loader_loaderManager__WEBPACK_IMPORTED_MODULE_3_.createLoaderManager)({})),[4,Promise.all([(i=C)===null||i===void 0?void 0:i(g),(E=R)===null||E===void 0?void 0:E(g)])];case 1:return D.sent(),[2]}})});return function(g){return N.apply(this,arguments)}}()},b=T(),L=b.createPlugin},71300:function(J,o,r){"use strict";r.r(o),r.d(o,{createApp:function(){return t.createApp},bootstrap:function(){return t.bootstrap}});var t=r("17500")},71593:function(J,o,r){"use strict";r.r(o),r.d(o,{default:function(){return t.default}});var t=r("94552");r.es(t,o)},75949:function(J,o,r){"use strict";r.r(o),r.d(o,{DefaultNotFound:function(){return u}});var t=r("9880"),f=r.n(t),u=function(){return(0,t.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},90208:function(J,o,r){"use strict";r.r(o),r.d(o,{default:function(){return t}});function t(){return null}},87872:function(J,o,r){"use strict";r.r(o),r.d(o,{modifyRoutes:function(){return f}});var t=r("89323"),f=(0,t.createWaterfall)()},94552:function(J,o,r){"use strict";r.r(o),r.d(o,{Outlet:function(){return f.Outlet}}),r.d(o,{default:function(){return u}});var t=r("96856"),f=r("11275"),u=t.routerPlugin,O=function(nr){var k=nr.replace(/\[(.*?)\]/g,"($1)");return null(k)}},96856:function(J,o,r){"use strict";r.r(o),r.d(o,{routerPlugin:function(){return g}});var t=r("15169"),f=r("43932"),u=r("93160"),O=r("9880"),S=r.n(O),nr=r("6171"),k=r.n(nr),V=r("11275"),T=r("99428"),er=r.n(T),b=r("58579"),L=r("17500"),l=r("87872"),P=r("40318"),R={routes:[]},C=!0;function N(i){if(C){var E=R.routes,D=i(E);R.routes=D}else console.error("It is not allowed to modify routes config after create router.")}var g=function(E){var D=E.serverBase,j=D===void 0?[]:D,x=E.supportHtml5History,y=x===void 0?!0:x,m=E.basename,A=m===void 0?"":m,c=E.routesConfig,a=E.createRoutes,M=function(H){return j.find(function(z){return H.search(z)===0})||"/"},v=[];return R=c,window._SERVER_DATA=(0,b.parsedJSONFromElement)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:l.modifyRoutes},setup:function(H){return{init:function(w,K){var U=w.context;return U.router={useMatches:V.useMatches,useLocation:V.useLocation},Object.defineProperty(U,"routes",{get:function(){return v}}),K({context:U})},hoc:function(w,K){var U=w.App,F;if(!R&&!a)return K({App:U});var rr=function(){return function(ir){var sr,fr;C=!1,v=a?a():(0,V.createRoutesFromElements)((0,P.renderRoutes)({routesConfig:R,props:ir}));var gr=H.useHookRunners();v=gr.modifyRoutes(v);var _r=((sr=window._SERVER_DATA)===null||sr===void 0?void 0:sr.router.baseUrl)||M(location.pathname),Er=_r==="/"?(0,P.urlJoin)(_r,A):_r,or=window._ROUTER_DATA;!((fr=or)===null||fr===void 0)&&fr.errors&&(or=(0,f._)((0,t._)({},or),{errors:(0,P.deserializeErrors)(or.errors)}));var ur=y?(0,V.createBrowserRouter)(v,{basename:Er,hydrationData:or}):(0,V.createHashRouter)(v,{basename:Er,hydrationData:or}),s=(0,nr.useContext)(L.RuntimeReactContext);s.remixRouter||Object.defineProperty(s,"remixRouter",{get:function(){return ur}});var n=ur.subscribe;return ur.subscribe=function(e){var _=function(){for(var B=arguments.length,I=new Array(B),p=0;p<B;p++)I[p]=arguments[p];var d=s.unstable_getBlockNavState,W=d?d():!1;if(!W)return e.apply(void 0,(0,u._)(I))};return n(_)},(0,O.jsx)(U,(0,f._)((0,t._)({},ir),{children:(0,O.jsx)(V.RouterProvider,{router:ur})}))}},Q=rr();return U&&(Q=er(Q,U)),!((F=c)===null||F===void 0)&&F.globalApp?K({App:er(Q,c.globalApp)}):K({App:Q})},pickContext:function(w,K){var U=w.context,F=w.pickedContext,rr=U.remixRouter;if(!rr)return K({context:U,pickedContext:F});var Q={navigate:rr.navigate,get location(){return rr.state.location}};return K({context:U,pickedContext:(0,f._)((0,t._)({},F),{router:Q})})}}}}}},40318:function(J,o,r){"use strict";r.r(o),r.d(o,{renderRoutes:function(){return L},urlJoin:function(){return P},deserializeErrors:function(){return N}});var t=r("15169"),f=r("85056"),u=r("28003"),O=r("9880"),S=r.n(O),nr=r("11275"),k=r("54700"),V=r("53405"),T=r("75949"),er=r("90208");function b(g,i){var E=i.globalApp,D=i.ssrMode,j=i.props,x=function(w){var K=w.Component,U=(0,f._)(w,["Component"]),F=E;return F?(0,O.jsx)(F,(0,t._)({Component:K},U)):(0,O.jsx)(K,(0,t._)({},U))},y=[],m=!0,A=!1,c=void 0;try{for(var a=g[Symbol.iterator](),M;!(m=(M=a.next()).done);m=!0){var v=M.value;if(v.type==="nested"){var q=(0,V.renderNestedRoute)(v,{DeferredDataComponent:D==="stream"?er.default:void 0,props:j});y.push(q)}else{var H=(0,O.jsx)(nr.Route,{path:v.path,element:(0,O.jsx)(x,{Component:v.component})},v.path);y.push(H)}}}catch(z){A=!0,c=z}finally{try{!m&&a.return!=null&&a.return()}finally{if(A)throw c}}return y.push((0,O.jsx)(nr.Route,{path:"*",element:(0,O.jsx)(T.DefaultNotFound,{})},"*")),y}function L(g){var i=g.routesConfig,E=g.props,D=g.ssrMode;if(!i)return null;var j=i.routes,x=i.globalApp;if(!j)return null;var y=b(j,{globalApp:x,ssrMode:D,props:E});return y}function l(g){var i,E,D,j=((i=g)===null||i===void 0?void 0:i.request)||{},x=j.pathname,y=j.url,m=(D=y)===null||D===void 0||(E=D.replace("http://",""))===null||E===void 0?void 0:E.replace("https://",""),A=(m||"").indexOf(x);return A===-1?x:m.substring(A)}var P=function(){for(var i=arguments.length,E=new Array(i),D=0;D<i;D++)E[D]=arguments[D];var j="/",x=new RegExp("".concat(j,"{1,}"),"g");return R(E.join(j).replace(x,j))};function R(g){var i=g;return!i||typeof i!="string"||(i.startsWith(".")&&(i=i.slice(1)),i.startsWith("/")||(i="/".concat(i)),i.endsWith("/")&&i!=="/"&&(i=i.slice(0,i.length-1))),i}function C(g){if(!g)return null;var i=Object.entries(g),E={},D=!0,j=!1,x=void 0;try{for(var y=i[Symbol.iterator](),m;!(D=(m=y.next()).done);D=!0){var A=(0,u._)(m.value,2),c=A[0],a=A[1];null(a)?E[c]=(0,_swc_helpers_object_spread_props__WEBPACK_IMPORTED_MODULE_2_._)((0,t._)({},a),{__type:"RouteErrorResponse"}):(0,_swc_helpers_instanceof__WEBPACK_IMPORTED_MODULE_0_._)(a,Error)?E[c]={message:a.message,stack:a.stack,__type:"Error"}:E[c]=a}}catch(M){j=!0,x=M}finally{try{!D&&y.return!=null&&y.return()}finally{if(j)throw x}}return E}function N(g){if(!g)return null;var i=Object.entries(g),E={},D=!0,j=!1,x=void 0;try{for(var y=i[Symbol.iterator](),m;!(D=(m=y.next()).done);D=!0){var A=(0,u._)(m.value,2),c=A[0],a=A[1];if(a&&a.__type==="RouteErrorResponse")E[c]=new k.ErrorResponse(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){var M=new Error(a.message);M.stack=a.stack,E[c]=M}else E[c]=a}}catch(v){j=!0,x=v}finally{try{!D&&y.return!=null&&y.return()}finally{if(j)throw x}}return E}},38338:function(J,o,r){"use strict";r.r(o),r.d(o,{RuntimeReactContext:function(){return u}});var t=r("6171"),f=r.n(t),u=(0,t.createContext)({}),O=(0,t.createContext)({})},89323:function(J,o,r){"use strict";r.r(o),r.d(o,{createAsyncPipeline:function(){return L},createManager:function(){return fr},createPipeline:function(){return b},createWaterfall:function(){return R}});var t=r("37599"),f=r("15169"),u=r("93160"),O=r("43932"),S=r("16584"),nr=function(n){var e=n;return{use:function(){return{get value(){return e},set value(h){e=h}}},get:function(){return e},set:function(h){e=h}}},k=function(n){var e=function(h,B){var I=function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:B;return e(h+1,d)};return n(h,B,I)};return{start:function(h){return e(0,h)},dispatch:e}},V=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[T])},T=Symbol.for("MODERN_PIPELINE"),er=function(n){if(typeof n=="function")return n;if(n&&typeof n.middleware=="function")return n.middleware;throw new Error("".concat(n," is not a Middleware"))},b=function(){var n=[],e=function(){for(var ar=arguments.length,Y=new Array(ar),lr=0;lr<ar;lr++)Y[lr]=arguments[lr];var dr;return(dr=n).push.apply(dr,(0,u._)(Y.map(er))),W},_=function(ar){return k(function(Y,lr,dr){if(Y>=n.length){if(ar)return ar(lr);throw new Error("Expect returning a value, but all middlewares just calling next()")}return n[Y](lr,dr)})},h=_(),B=function(ar){var Y;return ar?_((Y=ar)===null||Y===void 0?void 0:Y.onLast):h},I=function(ar,Y){return B(Y).start(ar)},p=function(ar,Y){return I(ar,{onLast:Y})},d,W=(d={},(0,t._)(d,T,!0),(0,t._)(d,"use",e),(0,t._)(d,"run",I),(0,t._)(d,"middleware",p),d);return W},L=function(){var n=b();return(0,f._)({},n)},l=Symbol.for("MODERN_WATERFALL"),P=function(n){if(typeof n=="function")return n;if(n&&typeof n.middleware=="function")return n.middleware;throw new Error("".concat(n," is not a Brook or { brook: Brook }"))},R=function(){var n=b(),e=function(){for(var p=arguments.length,d=new Array(p),W=0;W<p;W++)d[W]=arguments[W];var G;return(G=n).use.apply(G,(0,u._)(d.map(P).map(N))),B},_=function(p,d){return n.run(p,(0,O._)((0,f._)({},d),{onLast:function(G){return G}}))},h=function(p){return n.run(p,{onLast:function(W){return W}})},B=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_,middleware:h},l,!0));return B},C=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[l])},N=function(n){return function(e,_){return _(n(e))}},g=Symbol.for("MODERN_ASYNC_WATERFALL"),i=function(n){if(typeof n=="function")return n;if(n&&typeof n.middleware=="function")return n.middleware;throw new Error("".concat(n," is not a AsyncBrook or { brook: AsyncBrook }"))},E=function(){var n=L(),e=function(){for(var p=arguments.length,d=new Array(p),W=0;W<p;W++)d[W]=arguments[W];var G;return(G=n).use.apply(G,(0,u._)(d.map(i).map(j))),B},_=function(p,d){return n.run(p,(0,O._)((0,f._)({},d),{onLast:function(G){return G}}))},h=function(p){return n.run(p,{onLast:function(W){return W}})},B=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_,middleware:h},g,!0));return B},D=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[g])},j=function(n){return function(e,_){return Promise.resolve(n(e)).then(function(h){return _(h)})}},x=Symbol.for("MODERN_WORKFLOW"),y=function(){var n=b(),e=function(){for(var I=arguments.length,p=new Array(I),d=0;d<I;d++)p[d]=arguments[d];var W;return(W=n).use.apply(W,(0,u._)(p.map(A))),h},_=function(I){var p=n.run(I,{onLast:function(){return[]}});return p.filter(Boolean)},h=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_},x,!0));return h},m=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[x])},A=function(n){return function(e,_){return[n(e)].concat((0,u._)(_(e)))}},c=Symbol.for("MODERN_PARALLEL_WORKFLOW"),a=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[c])},M=function(){var n=b(),e=function(){for(var I=arguments.length,p=new Array(I),d=0;d<I;d++)p[d]=arguments[d];var W;return(W=n).use.apply(W,(0,u._)(p.map(v))),h},_=function(I){return Promise.all(n.run(I,{onLast:function(){return[]}})).then(function(p){return p.filter(Boolean)})},h=(0,O._)((0,f._)({},n),(0,t._)({run:_,use:e},c,!0));return h},v=function(n){return function(e,_){return[n(e)].concat((0,u._)(_(e)))}},q=Symbol.for("MODERN_ASYNC_WORKFLOW"),H=function(n){var e;return!!(!((e=n)===null||e===void 0)&&e[q])},z=function(){var n=L(),e=function(){for(var I=arguments.length,p=new Array(I),d=0;d<I;d++)p[d]=arguments[d];var W;return(W=n).use.apply(W,(0,u._)(p.map(w))),h},_=function(I){var p=n.run(I,{onLast:function(){return[]}});return K(p)?p.then(function(d){return d.filter(Boolean)}):p.filter(Boolean)},h=(0,O._)((0,f._)({},n),(0,t._)({use:e,run:_},q,!0));return h},w=function(n){return function(e,_){return Promise.resolve(n(e)).then(function(h){return Promise.resolve(_(e)).then(function(B){return[h].concat((0,u._)(B))})})}};function K(s){return s&&typeof s.then=="function"}var U=function(n){};function F(s){return(0,S.pluginDagSort)(s.slice())}var rr=function(n,e){return n.some(function(_){return _.name===e.name})},Q=function(n){return n!==null&&typeof n=="object"},cr=function(n,e){return n.hasOwnProperty(e)},ir="SYNC_PLUGIN_SYMBOL",sr={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},fr=function(n,e){var _=0,h,B=(0,f._)({},n),I=function(){return h},p=function(Y){B=(0,f._)({},Y,B)},d=function(Y){return Q(Y)&&cr(Y,ir)&&Y[ir]===ir},W=(0,O._)((0,f._)({},e),{useHookRunners:I}),G=function(Y){var lr=[],dr=function($){rr(lr,$)||lr.push((0,f._)({},$))},pr=function(){for(var $=arguments.length,tr=new Array($),Z=0;Z<$;Z++)tr[Z]=arguments[Z];return tr.forEach(function(X){if(d(X))dr(X);else if(typeof X=="function"){var Mr=X();dr(mr(Mr.setup,Mr))}else Q(X)&&dr(mr(X.setup,X))}),Pr},mr=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z;return!((Z=tr.usePlugins)===null||Z===void 0)&&Z.length&&tr.usePlugins.forEach(function(X){pr(mr(X.setup,X))}),tr.registerHook&&p(tr.registerHook),(0,O._)((0,f._)((0,O._)((0,f._)({},sr),{name:"No.".concat(_++," plugin")}),tr),{SYNC_PLUGIN_SYMBOL:ir,setup:$})},hr=function(){lr=[]},Or=function(){var $=F(lr),tr=(0,f._)({},W,Y);U($);var Z=$.map(function(X){return X.setup(tr)});return h=gr(Z,B),h},Dr=function($){return $()},Pr={createPlugin:mr,isPlugin:d,usePlugin:pr,init:Or,clear:hr,run:Dr,registerHook:p,useRunner:I,clone:G};return Pr};return G()},gr=function(n,e){var _={},h=Er(e);if(e){var B=function(d){n.forEach(function(W){var G;!((G=W)===null||G===void 0)&&G[d]&&h[d].use(W[d])}),_[d]=function(W,G){return h[d].run(W,(0,f._)({},G))}};for(var I in h)B(I)}return _},_r=function(n){if(C(n))return R();if(D(n))return E();if(m(n))return y();if(H(n))return z();if(a(n))return M();if(V(n))return b();throw new Error("Unknown hook: ".concat(n))},Er=function(n){if(!n)return n;var e={};for(var _ in n)e[_]=_r(n[_]);return e},or="ASYNC_PLUGIN_SYMBOL",ur=function(n,e){var _=0,h,B=(0,f._)({},n),I=function(){return h},p=function(Y){B=(0,f._)({},Y,B)},d=function(Y){return Q(Y)&&cr(Y,or)&&Y[or]===or},W=(0,O._)((0,f._)({},e),{useHookRunners:I}),G=function(Y){var lr=[],dr=function($){rr(lr,$)||lr.push((0,f._)({},$))},pr=function(){for(var $=arguments.length,tr=new Array($),Z=0;Z<$;Z++)tr[Z]=arguments[Z];return tr.forEach(function(X){if(d(X))dr(X);else if(typeof X=="function"){var Mr=X();dr(mr(Mr.setup,Mr))}else Q(X)&&dr(mr(X.setup,X))}),Pr},mr=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z;return!((Z=tr.usePlugins)===null||Z===void 0)&&Z.length&&tr.usePlugins.forEach(function(X){pr(mr(X.setup,X))}),tr.registerHook&&p(tr.registerHook),(0,O._)((0,f._)((0,O._)((0,f._)({},sr),{name:"No.".concat(_++," plugin")}),tr),{ASYNC_PLUGIN_SYMBOL:or,setup:$})},hr=function(){lr=[]},Or=function(){var $=F(lr),tr=(0,f._)({},W,Y);return U($),Promise.all($.map(function(Z){return Z.setup(tr)})).then(function(Z){return h=gr(Z,B),h})},Dr=function($){return $()},Pr={createPlugin:mr,isPlugin:d,usePlugin:pr,init:Or,run:Dr,clear:hr,clone:G,registerHook:p,useRunner:I};return Pr};return G()}},58579:function(J,o,r){"use strict";r.r(o);var t=r("58759");r.es(t,o)},58759:function(J,o,r){"use strict";r.r(o),r.d(o,{parsedJSONFromElement:function(){return t}});var t=function(u){var O=document.querySelectorAll("#".concat(u));if(O.length!==0){var S=O[O.length-1];if(S)try{var nr,k=JSON.parse(((nr=S)===null||nr===void 0?void 0:nr.textContent)||"");return k}catch(V){console.error("parse ".concat(u," error"),V);return}}}},53405:function(J,o,r){"use strict";r.r(o),r.d(o,{renderNestedRoute:function(){return T}});var t=r("15169"),f=r("43932"),u=r("9880"),O=r.n(u),S=r("6171"),nr=r.n(S),k=r("42130"),V=function(l){var P=[],R=!0,C=!1,N=void 0;try{for(var g=l[Symbol.iterator](),i;!(R=(i=g.next()).done);R=!0){var E=i.value,D=T(E);P.push(D)}}catch(j){C=!0,N=j}finally{try{!R&&g.return!=null&&g.return()}finally{if(C)throw N}}return(0,k.createRoutesFromElements)(P)},T=function(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R,C,N=l.children,g=l.index,i=l.id,E=l.component,D=l.isRoot,j=l.lazyImport,x=l.config,y=l.handle,m=E,A=P.parent,c=P.DeferredDataComponent,a=P.props,M=a===void 0?{}:a,v={caseSensitive:l.caseSensitive,path:l.path,id:l.id,loader:er(l),action:l.action,hasErrorBoundary:l.hasErrorBoundary,shouldRevalidate:l.shouldRevalidate,handle:(0,t._)({},y,typeof x=="object"?(R=x)===null||R===void 0?void 0:R.handle:{}),index:l.index,element:l.element,errorElement:l.errorElement};if(l.error){var q=(0,u.jsx)(l.error,{});v.errorElement=q}var H;if(m){var z;if(!((z=A)===null||z===void 0)&&z.loading&&j){var w=A.loading;b(m)?H=(0,u.jsx)(m,{fallback:(0,u.jsx)(w,{})}):H=(0,u.jsx)(S.Suspense,{fallback:(0,u.jsx)(w,{}),children:(0,u.jsx)(m,{})})}else if(b(m)&&j)H=(0,u.jsx)(m,{});else if(D){var K;H=(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(m,(0,t._)({},M)),typeof document>"u"&&c&&(0,u.jsx)(c,{nonce:(K=M)===null||K===void 0?void 0:K.nonce})]})}else j?H=(0,u.jsx)(S.Suspense,{fallback:null,children:(0,u.jsx)(m,{})}):H=(0,u.jsx)(m,{})}else{var U;l.loading=(U=A)===null||U===void 0?void 0:U.loading}H&&(v.element=H);var F=(C=N)===null||C===void 0?void 0:C.map(function(Q){return T(Q,{parent:l})}),rr=g?(0,u.jsx)(k.Route,(0,f._)((0,t._)({},v),{index:!0}),i):(0,u.jsx)(k.Route,(0,f._)((0,t._)({},v),{index:!1,children:F}),i);return rr};function er(L){var l=L.loader;return l?function(P){return typeof L.lazyImport=="function"&&L.lazyImport(),l(P)}:function(){return typeof L.lazyImport=="function"&&L.lazyImport(),null}}function b(L){return L&&L.displayName==="Loadable"&&L.preload&&typeof L.preload=="function"}},54700:function(J,o,r){"use strict";r.r(o);var t=r("21921");r.es(t,o)},11275:function(J,o,r){"use strict";r.r(o);var t=r("42130");r.es(t,o)},16584:function(J,o,r){"use strict";r.r(o),r.d(o,{pluginDagSort:function(){return t}});var t=function(u){var O=function(){var P=er.shift();b.push(V(P)),T=T.filter(function(C){return C[0]!==V(P)[S]});var R=u.filter(function(C){return!b.find(function(N){return N[S]===C[S]})});er=R.filter(function(C){return!T.find(function(N){return N[1]===C[S]})})},S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"name",nr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"pre",k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"post",V=function(P){var R=u.find(function(C){return typeof P=="string"?C[S]===P:C[S]===P[S]});if(!R)throw new Error("plugin ".concat(P," not existed"));return R},T=[];u.forEach(function(l){var P,R;(P=l[nr])===null||P===void 0||P.forEach(function(C){u.find(function(N){return N.name===C})&&T.push([V(C)[S],V(l)[S]])}),(R=l[k])===null||R===void 0||R.forEach(function(C){u.find(function(N){return N.name===C})&&T.push([V(l)[S],V(C)[S]])})});for(var er=u.filter(function(l){return!T.find(function(P){return P[1]===l[S]})}),b=[];er.length;)O();if(T.length){var L={};throw T.forEach(function(l){L[l[0]]=!0,L[l[1]]=!0}),new Error("plugins dependences has loop: ".concat(Object.keys(L).join(",")))}return b}},61568:function(J,o,r){"use strict";r.r(o),r.d(o,{default:function(){return O}});var t=r("9880"),f=r.n(t),u=r("71593");function O(){return(0,t.jsx)("div",{children:(0,t.jsx)(u.Outlet,{})})}}},function(J){var o=function(t){return J(J.s=t)};J.O(0,["lib-polyfill","lib-react","lib-router","vendors~splitting~devtools_page"],function(){return o("68958"),o("78675"),o("68924")});var r=J.O()}]);
|