@modern-js/devtools-client 0.0.0-nightly-20231226170639 → 0.0.0-nightly-20231228170609
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/dist/html/client/index.html +3 -3
- package/dist/html/mount/index.html +3 -3
- package/dist/modern.config.json +3 -3
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +6 -6
- package/dist/static/js/builder-runtime.785a3fe1.js +1 -0
- package/dist/static/js/{client.d80fa2c3.js → client.7a548df6.js} +2 -2
- package/dist/static/js/{mount.b2c453ee.js → mount.6c2069cb.js} +2 -2
- package/dist/static/js/{mount.b2c453ee.js.LICENSE.txt → mount.6c2069cb.js.LICENSE.txt} +29 -25
- package/exports/mount.mjs +1 -24
- package/package.json +13 -13
- package/dist/static/js/builder-runtime.cddc735f.js +0 -1
- /package/dist/static/js/{client.d80fa2c3.js.LICENSE.txt → client.7a548df6.js.LICENSE.txt} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
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" src="/__devtools/static/js/builder-runtime.
|
|
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" src="/__devtools/static/js/builder-runtime.785a3fe1.js"></script><script >
|
|
2
2
|
;(function(){
|
|
3
|
-
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"client":{"chunkIds":["242","126","58","707","118","807","160","462"],"assets":["static/js/builder-runtime.
|
|
3
|
+
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"client":{"chunkIds":["242","126","58","707","118","807","160","462"],"assets":["static/js/builder-runtime.785a3fe1.js","static/js/lib-polyfill.fa8cc18b.js","static/js/lib-react.33d99680.js","static/js/lib-lodash.5937543e.js","static/js/lib-router.52a9901f.js","static/js/807.62f63a5a.js","static/css/807.8be470d9.css","static/js/160.2f2ff36d.js","static/css/client.b10c4f89.css","static/js/client.7a548df6.js"],"referenceCssAssets":["static/css/807.8be470d9.css","static/css/client.b10c4f89.css"]},"client_config/layout":{"chunkIds":["518"],"assets":["static/js/async/client_config/layout.cfac38e1.js"],"referenceCssAssets":[]},"client_config/page":{"chunkIds":["943"],"assets":["static/js/async/client_config/page.fe1bf462.js"],"referenceCssAssets":[]},"client_context/builder/page":{"chunkIds":["769","958"],"assets":["static/js/async/769.080b83be.js","static/js/async/client_context/builder/page.8cc088fb.js","static/css/async/client_context/builder/page.c66a6c70.css"],"referenceCssAssets":["static/css/async/client_context/builder/page.c66a6c70.css"]},"client_context/framework/page":{"chunkIds":["769","818"],"assets":["static/js/async/769.080b83be.js","static/js/async/client_context/framework/page.2e90bc7c.js","static/css/async/client_context/framework/page.c66a6c70.css"],"referenceCssAssets":["static/css/async/client_context/framework/page.c66a6c70.css"]},"client_context/layout":{"chunkIds":["504"],"assets":["static/js/async/client_context/layout.7963208c.js"],"referenceCssAssets":[]},"client_context/page":{"chunkIds":["361"],"assets":["static/js/async/client_context/page.28900e48.js"],"referenceCssAssets":[]},"client_headers/editor/page":{"chunkIds":["730"],"assets":["static/css/async/client_headers/editor/page.e29517c9.css","static/js/async/client_headers/editor/page.b9ab7c3b.js"],"referenceCssAssets":["static/css/async/client_headers/editor/page.e29517c9.css"]},"client_headers/layout":{"chunkIds":["925"],"assets":["static/css/async/client_headers/layout.9bd205b2.css","static/js/async/client_headers/layout.9ba8bfc7.js"],"referenceCssAssets":["static/css/async/client_headers/layout.9bd205b2.css"]},"client_headers/page":{"chunkIds":["963"],"assets":["static/js/async/client_headers/page.62fff212.js"],"referenceCssAssets":[]},"client_headers/welcome/page":{"chunkIds":["860"],"assets":["static/js/async/client_headers/welcome/page.08927618.js"],"referenceCssAssets":[]},"client_overview/page":{"chunkIds":["161"],"assets":["static/js/async/client_overview/page.9fd93497.js","static/css/async/client_overview/page.56f70470.css"],"referenceCssAssets":["static/css/async/client_overview/page.56f70470.css"]},"client_page":{"chunkIds":["127"],"assets":["static/js/async/client_page.02104fa3.js"],"referenceCssAssets":[]},"client_pages/layout":{"chunkIds":["631"],"assets":["static/js/async/client_pages/layout.111351b1.js","static/css/async/client_pages/layout.5120bebd.css"],"referenceCssAssets":["static/css/async/client_pages/layout.5120bebd.css"]},"client_pages/page":{"chunkIds":["718"],"assets":["static/js/async/client_pages/page.881fd6f7.js","static/css/async/client_pages/page.02386144.css"],"referenceCssAssets":["static/css/async/client_pages/page.02386144.css"]},"client_react/(tab)/layout":{"chunkIds":["299"],"assets":["static/js/async/client_react/(tab)/layout.3fc4c280.js"],"referenceCssAssets":[]},"client_react/(tab)/page":{"chunkIds":["851","483"],"assets":["static/js/async/851.e4339a7f.js","static/js/async/client_react/(tab)/page.1fdfe20d.js"],"referenceCssAssets":[]},"client_react/offscreen/page":{"chunkIds":["752"],"assets":["static/js/async/client_react/offscreen/page.e6566f05.js"],"referenceCssAssets":[]},"client_react/page":{"chunkIds":["945"],"assets":["static/js/async/client_react/page.c992b662.js"],"referenceCssAssets":[]}}};
|
|
4
4
|
})();
|
|
5
|
-
</script><script defer="defer" src="/__devtools/static/js/lib-polyfill.fa8cc18b.js"></script><script defer="defer" src="/__devtools/static/js/lib-react.33d99680.js"></script><script defer="defer" src="/__devtools/static/js/lib-lodash.5937543e.js"></script><script defer="defer" src="/__devtools/static/js/lib-router.52a9901f.js"></script><script defer="defer" src="/__devtools/static/js/807.62f63a5a.js"></script><script defer="defer" src="/__devtools/static/js/160.2f2ff36d.js"></script><script defer="defer" src="/__devtools/static/js/client.
|
|
5
|
+
</script><script defer="defer" src="/__devtools/static/js/lib-polyfill.fa8cc18b.js"></script><script defer="defer" src="/__devtools/static/js/lib-react.33d99680.js"></script><script defer="defer" src="/__devtools/static/js/lib-lodash.5937543e.js"></script><script defer="defer" src="/__devtools/static/js/lib-router.52a9901f.js"></script><script defer="defer" src="/__devtools/static/js/807.62f63a5a.js"></script><script defer="defer" src="/__devtools/static/js/160.2f2ff36d.js"></script><script defer="defer" src="/__devtools/static/js/client.7a548df6.js"></script><link href="/__devtools/static/css/807.8be470d9.css" rel="stylesheet"><link href="/__devtools/static/css/client.b10c4f89.css" rel="stylesheet"></head><body><div id="root"><!--<?- html ?>--></div><!--<?- chunksMap.js ?>--><!--<?- SSRDataScript ?>--></body></html>
|
|
@@ -1,5 +1,5 @@
|
|
|
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" src="/__devtools/static/js/builder-runtime.
|
|
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" src="/__devtools/static/js/builder-runtime.785a3fe1.js"></script><script >
|
|
2
2
|
;(function(){
|
|
3
|
-
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"mount":{"chunkIds":["242","126","58","707","807","821","400"],"assets":["static/js/builder-runtime.
|
|
3
|
+
window._MODERNJS_ROUTE_MANIFEST = {"routeAssets":{"mount":{"chunkIds":["242","126","58","707","807","821","400"],"assets":["static/js/builder-runtime.785a3fe1.js","static/js/lib-polyfill.fa8cc18b.js","static/js/lib-react.33d99680.js","static/js/lib-lodash.5937543e.js","static/js/807.62f63a5a.js","static/css/807.8be470d9.css","static/js/821.8fa77df7.js","static/js/mount.6c2069cb.js","static/css/mount.272e03b0.css"],"referenceCssAssets":["static/css/807.8be470d9.css","static/css/mount.272e03b0.css"]}}};
|
|
4
4
|
})();
|
|
5
|
-
</script><script defer="defer" src="/__devtools/static/js/lib-polyfill.fa8cc18b.js"></script><script defer="defer" src="/__devtools/static/js/lib-react.33d99680.js"></script><script defer="defer" src="/__devtools/static/js/lib-lodash.5937543e.js"></script><script defer="defer" src="/__devtools/static/js/807.62f63a5a.js"></script><script defer="defer" src="/__devtools/static/js/821.8fa77df7.js"></script><script defer="defer" src="/__devtools/static/js/mount.
|
|
5
|
+
</script><script defer="defer" src="/__devtools/static/js/lib-polyfill.fa8cc18b.js"></script><script defer="defer" src="/__devtools/static/js/lib-react.33d99680.js"></script><script defer="defer" src="/__devtools/static/js/lib-lodash.5937543e.js"></script><script defer="defer" src="/__devtools/static/js/807.62f63a5a.js"></script><script defer="defer" src="/__devtools/static/js/821.8fa77df7.js"></script><script defer="defer" src="/__devtools/static/js/mount.6c2069cb.js"></script><link href="/__devtools/static/css/807.8be470d9.css" rel="stylesheet"><link href="/__devtools/static/css/mount.272e03b0.css" rel="stylesheet"></head><body><div id="root"><!--<?- html ?>--></div><!--<?- chunksMap.js ?>--><!--<?- SSRDataScript ?>--></body></html>
|
package/dist/modern.config.json
CHANGED
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
null,
|
|
26
26
|
{
|
|
27
|
-
"process.env.VERSION": "2.
|
|
28
|
-
"process.env.PKG_VERSION": "2.
|
|
29
|
-
"process.env.DEVTOOLS_MARK": "
|
|
27
|
+
"process.env.VERSION": "2.44.0",
|
|
28
|
+
"process.env.PKG_VERSION": "2.44.0",
|
|
29
|
+
"process.env.DEVTOOLS_MARK": "Uip9OTRELphdnIxQzk5kN"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"aliasStrategy": "prefer-tsconfig",
|
package/dist/public/sw-proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){var e={658:function(e,t,r){"use strict";r.r(t);let s="2.
|
|
1
|
+
!function(){var e={658:function(e,t,r){"use strict";r.r(t);let s="2.44.0",o=new URL(location.href).searchParams.get("rules");if(!s)throw Error("[Modern.js DevTools] failed to load version");let n=o?JSON.parse(o):[],i=`http://${location.host}/__devtools/service/unregister`;self.addEventListener("install",e=>{console.log("[Modern.js DevTools] service worker installed with rules:",JSON.stringify(n,null,2)),e.waitUntil(self.skipWaiting())}),self.addEventListener("activate",e=>{console.log(`[Modern.js DevTools] service worker activated, click to unregister: ${i}`),e.waitUntil(self.clients.claim())}),self.addEventListener("fetch",e=>{let t=new URL(e.request.url);if(t.host===location.host){if("/__devtools/service/status"===t.pathname){let t={href:location.href,rules:n,version:s},r=new Response(JSON.stringify(t,null,2));e.respondWith(r);return}if("/__devtools/service/unregister"===t.pathname){e.respondWith(Promise.resolve().then(async()=>{let e=await self.registration.unregister();return e&&(n.length=0),new Response(null,{status:e?200:500})}));return}}let r={};for(let{test:t,key:s,value:o}of(e.request.headers.forEach((e,t)=>{r[t]=e}),n))(void 0===t||t===e.request.url)&&(r[s]=o);let o=new Request(e.request,{headers:r});e.respondWith(fetch(o))})}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,r),n.exports}r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r("658")}();
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"462"
|
|
13
13
|
],
|
|
14
14
|
"assets": [
|
|
15
|
-
"/__devtools/static/js/builder-runtime.
|
|
15
|
+
"/__devtools/static/js/builder-runtime.785a3fe1.js",
|
|
16
16
|
"/__devtools/static/js/lib-polyfill.fa8cc18b.js",
|
|
17
17
|
"/__devtools/static/js/lib-react.33d99680.js",
|
|
18
18
|
"/__devtools/static/js/lib-lodash.5937543e.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"/__devtools/static/css/807.8be470d9.css",
|
|
22
22
|
"/__devtools/static/js/160.2f2ff36d.js",
|
|
23
23
|
"/__devtools/static/css/client.b10c4f89.css",
|
|
24
|
-
"/__devtools/static/js/client.
|
|
24
|
+
"/__devtools/static/js/client.7a548df6.js"
|
|
25
25
|
],
|
|
26
26
|
"referenceCssAssets": [
|
|
27
27
|
"/__devtools/static/css/807.8be470d9.css",
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
"161"
|
|
140
140
|
],
|
|
141
141
|
"assets": [
|
|
142
|
-
"/__devtools/static/
|
|
143
|
-
"/__devtools/static/
|
|
142
|
+
"/__devtools/static/js/async/client_overview/page.9fd93497.js",
|
|
143
|
+
"/__devtools/static/css/async/client_overview/page.56f70470.css"
|
|
144
144
|
],
|
|
145
145
|
"referenceCssAssets": [
|
|
146
146
|
"/__devtools/static/css/async/client_overview/page.56f70470.css"
|
|
@@ -228,14 +228,14 @@
|
|
|
228
228
|
"400"
|
|
229
229
|
],
|
|
230
230
|
"assets": [
|
|
231
|
-
"/__devtools/static/js/builder-runtime.
|
|
231
|
+
"/__devtools/static/js/builder-runtime.785a3fe1.js",
|
|
232
232
|
"/__devtools/static/js/lib-polyfill.fa8cc18b.js",
|
|
233
233
|
"/__devtools/static/js/lib-react.33d99680.js",
|
|
234
234
|
"/__devtools/static/js/lib-lodash.5937543e.js",
|
|
235
235
|
"/__devtools/static/js/807.62f63a5a.js",
|
|
236
236
|
"/__devtools/static/css/807.8be470d9.css",
|
|
237
237
|
"/__devtools/static/js/821.8fa77df7.js",
|
|
238
|
-
"/__devtools/static/js/mount.
|
|
238
|
+
"/__devtools/static/js/mount.6c2069cb.js",
|
|
239
239
|
"/__devtools/static/css/mount.272e03b0.css"
|
|
240
240
|
],
|
|
241
241
|
"referenceCssAssets": [
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(){var e,t,n,r,o,i,a,c,u,l,d,f,s,p,b,g={},h={};function v(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={id:e,loaded:!1,exports:{}};return g[e](n,n.exports,v),n.loaded=!0,n.exports}v.m=g,v.es=function(e,t){return Object.keys(e).forEach(function(n){"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e},v.f={},v.e=function(e){return Promise.all(Object.keys(v.f).reduce(function(t,n){return v.f[n](e,t),t},[]))},e={"52915@10256:10382":["860"],"52915@10812:10926":["925"],"52915@11073:11187":["925"],"52915@11687:11799":["161"],"52915@11953:12065":["161"],"52915@12681:12775":["127"],"52915@12912:13006":["127"],"52915@13562:13668":["718"],"52915@13819:13925":["718"],"52915@14341:14451":["631"],"52915@14596:14706":["631"],"52915@15212:15330":["851","483"],"52915@15487:15605":["851","483"],"52915@16039:16161":["299"],"52915@16312:16434":["299"],"52915@16836:16962":["752"],"52915@17115:17241":["752"],"52915@17651:17757":["945"],"52915@17900:18006":["945"],"52915@1961:2103":["769","670"],"52915@2272:2414":["769","670"],"52915@3003:3111":["943"],"52915@3263:3371":["943"],"52915@3880:3992":["518"],"52915@4138:4250":["518"],"52915@4766:4892":["769","958"],"52915@5053:5179":["769","958"],"52915@5637:5767":["769","818"],"52915@5930:6060":["769","818"],"52915@6538:6648":["361"],"52915@6801:6911":["361"],"52915@7424:7538":["504"],"52915@7685:7799":["504"],"52915@8313:8437":["730"],"52915@8597:8721":["730"],"52915@9152:9262":["963"],"52915@9415:9525":["963"],"52915@9969:10095":["860"]},v.el=function(t){var n=e[t];return void 0===n?Promise.resolve():n.length>1?Promise.all(n.map(v.e)):v.e(n[0])},t=[],v.O=function(e,n,r,o){if(n){o=o||0;for(var i=t.length;i>0&&t[i-1][2]>o;i--)t[i]=t[i-1];t[i]=[n,r,o];return}for(var a=1/0,i=0;i<t.length;i++){for(var n=t[i][0],r=t[i][1],o=t[i][2],c=!0,u=0;u<n.length;u++)a>=o&&Object.keys(v.O).every(function(e){return v.O[e](n[u])})?n.splice(u--,1):(c=!1,o<a&&(a=o));if(c){t.splice(i--,1);var l=r();void 0!==l&&(e=l)}}return e},v.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),v.d=function(e,t){for(var n in t)v.o(t,n)&&!v.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},v.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},v.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return v.d(t,{a:t}),t},r=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);v.r(o);var i={};n=n||[null,r({}),r([]),r(r)];for(var a=2&t&&e;"object"==typeof a&&!~n.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(function(t){i[t]=function(){return e[t]}});return i.default=function(){return e},v.d(o,i),o},v.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},v.nc=void 0,v.p="/__devtools/",v.u=function(e){return"static/js/async/"+(({127:"client_page",161:"client_overview/page",299:"client_react/(tab)/layout",361:"client_context/page",483:"client_react/(tab)/page",504:"client_context/layout",518:"client_config/layout",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",752:"client_react/offscreen/page",818:"client_context/framework/page",860:"client_headers/welcome/page",925:"client_headers/layout",943:"client_config/page",945:"client_react/page",958:"client_context/builder/page",963:"client_headers/page"})[e]||e)+"."+({127:"02104fa3",161:"9fd93497",299:"3fc4c280",361:"28900e48",483:"1fdfe20d",504:"7963208c",518:"cfac38e1",631:"111351b1",670:"f2371014",718:"881fd6f7",730:"b9ab7c3b",752:"e6566f05",769:"080b83be",818:"2e90bc7c",851:"e4339a7f",860:"08927618",925:"9ba8bfc7",943:"fe1bf462",945:"c992b662",958:"8cc088fb",963:"62fff212"})[e]+".js"},v.k=function(e){return"static/css/async/"+(({161:"client_overview/page",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",818:"client_context/framework/page",925:"client_headers/layout",958:"client_context/builder/page"})[e]||e)+"."+({161:"56f70470",631:"5120bebd",670:"c66a6c70",718:"02386144",730:"e29517c9",818:"c66a6c70",925:"9bd205b2",958:"c66a6c70"})[e]+".css"},o={},i="@modern-js/devtools-client:",v.l=function(e,t,n,r){if(o[e]){o[e].push(t);return}if(void 0!==n){for(var a,c,u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var d=u[l];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+n){a=d;break}}}!a&&(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,v.nc&&a.setAttribute("nonce",v.nc),a.setAttribute("data-webpack",i+n),a.src=e),o[e]=[t];var f=function(t,n){a.onerror=a.onload=null,clearTimeout(s);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach(function(e){return e(n)}),t)return t(n)},s=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),c&&document.head.appendChild(a)},v.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a={118:0,126:0,160:0,242:0,58:0,707:0,821:0},c="webpack",u="data-webpack-loading",l=function(e,t,n,r){var o,i,a="chunk-"+e;if(!r){for(var l=document.getElementsByTagName("link"),d=0;d<l.length;d++){var f=l[d],s=f.getAttribute("href")||f.href;if(s&&!s.startsWith(v.p)&&(s=v.p+(s.startsWith("/")?s.slice(1):s)),"stylesheet"==f.rel&&(s&&s.startsWith(t)||f.getAttribute("data-webpack")==c+":"+a)){o=f;break}}if(!n)return o}!o&&(i=!0,(o=document.createElement("link")).setAttribute("data-webpack",c+":"+a),o.setAttribute(u,1),o.rel="stylesheet",o.href=t);var p=function(e,t){if(o.onerror=o.onload=null,o.removeAttribute(u),clearTimeout(b),t&&"load"!=t.type&&o.parentNode.removeChild(o),n(t),e)return e(t)};if(o.getAttribute(u)){var b=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload)}else p(void 0,{type:"load",target:o});return r?r.parentNode.insertBefore(o,r):i&&document.head.appendChild(o),o},v.f.css=function(e,t){var n=v.o(a,e)?a[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(161|400|462|631|670|718|730|807|818|925|958)$/.test(e)){var r=new Promise(function(t,r){n=a[e]=[t,r]});t.push(n[2]=r);var o=v.p+v.k(e),i=Error();l(e,o,function(t){if(v.o(a,e)&&(0!==(n=a[e])&&(a[e]=void 0),n)){if("load"!==t.type){var r=t&&t.type,o=t&&t.target&&t.target.src;i.message="Loading css chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}else n[0]()}})}else a[e]=0}},d=function(e,t){var n=t[0];e&&e(t);for(var r=0;r<n.length;r++)void 0===a[n[r]]&&(a[n[r]]=0)},(f=self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).forEach(d.bind(null,0)),f.push=d.bind(null,f.push.bind(f)),s={242:0},v.f.j=function(e,t){var n=v.o(s,e)?s[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if("242"!=e){var r=new Promise(function(t,r){n=s[e]=[t,r]});t.push(n[2]=r);var o=v.p+v.u(e),i=Error();v.l(o,function(t){if(v.o(s,e)&&(0!==(n=s[e])&&(s[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}else s[e]=0}},v.O.j=function(e){return 0===s[e]},p=function(e,t){var n=t[0],r=t[1],o=t[2],i,a,c=0;if(n.some(function(e){return 0!==s[e]})){for(i in r)v.o(r,i)&&(v.m[i]=r[i]);if(o)var u=o(v)}for(e&&e(t);c<n.length;c++)a=n[c],v.o(s,a)&&s[a]&&s[a][0](),s[a]=0;return v.O(u)},(b=self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).forEach(p.bind(null,0)),b.push=p.bind(null,b.push.bind(b))}();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see client.
|
|
2
|
-
(self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).push([["462"],{72215:function(e,t,n){"use strict";var r,o,i,u,a=Object.create,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,f=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,M=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var o=function(o){!d.call(e,o)&&o!==n&&c(e,o,{get:()=>t[o],enumerable:!(r=s(t,o))||r.enumerable})};for(var i of l(t))o(i)}return e},p={};((e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})})(p,{AnnouncementDefinition:()=>N,AssetDefinition:()=>m,ClientDefinition:()=>y,NameDefinition:()=>v,PackageDefinition:()=>j}),e.exports=(r=p,M(c({},"__esModule",{value:!0}),r));var g=(u=null!=(o=n("34070"))?a(f(o)):{},M(o&&o.__esModule?u:c(u,"default",{value:o,enumerable:!0}),o));class v{constructor(){this.formalName="Modern.js",this.casualName="modern.js",this.prefixName="_modern_js"}}class j{constructor(){this.appTools="@modern-js/app-tools"}}class m{constructor(){this.logo=g.default}}class N{constructor(){this.src="https://raw.githubusercontent.com/web-infra-dev/modern.js/main/ANNOUNCEMENT.md",this.fallback="https://modernjs.dev/"}}class y{constructor(){this.name=new v,this.packages=new j,this.assets=new m,this.announcement=new N}}},74966:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(s,{ROUTE_BASENAME:()=>l}),e.exports=(r=s,c(o({},"__esModule",{value:!0}),r));var l="/__devtools"},93549:function(e,t,n){"use strict";n("2382");var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s=(e,t,n)=>(c(e,t,"default"),n&&c(n,t,"default")),l={};e.exports=(r=l,c(o({},"__esModule",{value:!0}),r)),s(l,n("21624"),e.exports),s(l,n("72215"),e.exports),s(l,n("31656"),e.exports),s(l,n("85076"),e.exports),s(l,n("74966"),e.exports)},34070:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(s,{default:()=>l}),e.exports=(r=s,c(o({},"__esModule",{value:!0}),r));var l="data:image/svg+xml;base64,".concat("PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCA0NSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzEzOjUxNDkpIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguODIwNzcgMjAuMjg2OUM3Ljg0NzU5IDE3LjE1NzEgNy45NjgyNiAxMy43ODk0IDkuMTYyOTggMTAuNzM3M0MxMC4zNTc3IDcuNjg1MjggMTIuNTU1NCA1LjEzMDU3IDE1LjM5NDYgMy40OTMyQzE4LjIzMzkgMS44NTU4MyAyMS41NDU4IDEuMjMzMjYgMjQuNzg1OCAxLjcyNzg1QzI4LjAyNTkgMi4yMjI0NSAzMS4wMDEyIDMuODA0NzYgMzMuMjIyNyA2LjIxNDY1QzMyLjY2MTggNi40OTAxMSAzMi4wODY5IDYuNzc2NTQgMzEuNDk4MSA3LjA3Mzk1QzI5LjUzNjggNS4xMTc5MSAyNi45ODU1IDMuODYyODcgMjQuMjM5MSAzLjUwMzFDMjEuNDkyNiAzLjE0MzM0IDE4LjcwNDEgMy42OTg5IDE2LjMwNTIgNS4wODM4MUMxMy45MDYzIDYuNDY4NzIgMTIuMDMwOSA4LjYwNTczIDEwLjk2OTEgMTEuMTY0MUM5LjkwNzI1IDEzLjcyMjQgOS43MTgzNiAxNi41NTk0IDEwLjQzMTYgMTkuMjM2QzkuODc4NjkgMTkuNTg5MyA5LjM0MTc0IDE5LjkzOTYgOC44MjA3NyAyMC4yODY5Wk00My4wMDAxIDMuOTU1NTJDNDIuOTE4NyAzLjkzMzYyIDQyLjgzMTkgMy45NDQ5NyA0Mi43NTg4IDMuOTg3MDVINDIuNzY3OEMzOC41ODAyIDUuODE5NjIgMzQuNDU1NyA3Ljc4NjE5IDMwLjQwMDUgOS44ODMxOEwyMi41MTU4IDYuMzQ2MzlDMjIuMzY2NyA2LjI4MDc2IDIyLjIwNDMgNi4yNTA5MSAyMi4wNDE2IDYuMjU5MjNDMjEuODc4OCA2LjI2NzU1IDIxLjcyMDMgNi4zMTM4IDIxLjU3ODcgNi4zOTQzQzIxLjQzNzkgNi40NzUxNyAyMS4zMTgyIDYuNTg4MDYgMjEuMjI5MyA2LjcyMzgzQzIxLjE0MDMgNi44NTk2IDIxLjA4NDYgNy4wMTQ0MyAyMS4wNjY3IDcuMTc1NzVMMjAuMzA5MiAxMy45ODQzTDE2LjUzNjYgMTIuMzgyNUMxNi4zOTA4IDEyLjMyMDIgMTYuMjMyNSAxMi4yOTI0IDE2LjA3NDIgMTIuMzAxM0MxNS45MTU5IDEyLjMxMDIgMTUuNzYxOCAxMi4zNTU1IDE1LjYyMzggMTIuNDMzOEMxNS40ODU5IDEyLjUxMiAxNS4zNjc5IDEyLjYyMSAxNS4yNzkgMTIuNzUyNEMxNS4xOTAxIDEyLjg4MzcgMTUuMTMyOCAxMy4wMzM4IDE1LjExMTQgMTMuMTkwOUwxNC4yODQzIDE5LjEzNTdDMTAuMTQzMiAyMS43NjEzIDYuMDkxOCAyNC41MzE5IDIuMTM3ODkgMjcuNDQyOEMyLjA3MTk1IDI3LjQ4ODUgMi4wMjU1NyAyNy41NTczIDIuMDA3ODggMjcuNjM1NUMxLjk5MDIgMjcuNzEzOCAyLjAwMjUgMjcuNzk1OCAyLjA0MjM5IDI3Ljg2NTRDMi4wODIyNyAyNy45MzUgMi4xNDY4MiAyNy45ODcxIDIuMjIzMjcgMjguMDExNEMyLjI5OTcyIDI4LjAzNTcgMi4zODI1MiAyOC4wMzA1IDIuNDU1MjggMjcuOTk2N0M5LjYyNTI1IDI0LjgzODMgMTYuNjIxNCAyMS4yOTkyIDIzLjQxNCAxNy4zOTQ2QzMwLjE5MjggMTMuNDYzIDM2Ljc1NjMgOS4xNzEzNSA0My4wNzYyIDQuNTM3OTdDNDMuMTQ5MyA0LjQ5NTg4IDQzLjIwMjYgNC40MjY1IDQzLjIyNDUgNC4zNDUwOEM0My4yNDY0IDQuMjYzNjYgNDMuMjM1IDQuMTc2ODcgNDMuMTkyOSA0LjEwMzgyQzQzLjE1MDkgNC4wMzA3NiA0My4wODE1IDMuOTc3NDIgNDMuMDAwMSAzLjk1NTUyWk0xNi4yOTM5IDE3Ljg3NzJDMTcuNDU4OCAxNy4xNTY3IDE4LjYzMDcgMTYuNDQ3NiAxOS44MDkzIDE1Ljc1TDE2Ljc3MzEgMTQuNDYwNEwxNi4yOTM5IDE3Ljg3NzJaTTIyLjA5MjEgMTQuNDE3OUMyNC4xNTc2IDEzLjIyOTkgMjYuMjQzMSAxMi4wNzY3IDI4LjM0NzkgMTAuOTU4OUwyMi43NTU0IDguNDUxMjRMMjIuMDkyMSAxNC40MTc5Wk0zMy4wNzc5IDIyLjk2MTRDMzQuNDU4IDIwLjg5MjggMzUuMTk0OSAxOC40NjIxIDM1LjE5NTggMTUuOTc1NEMzNS4xOTY0IDE0Ljg5MiAzNS4wNTY1IDEzLjgxMzEgMzQuNzc5NiAxMi43NjU3QzM1LjMzMjUgMTIuNDAyNSAzNS44Njk0IDEyLjA0NzIgMzYuMzkwNCAxMS42OTk4QzM3LjM1NDcgMTQuODI2NSAzNy4yMjg1IDE4LjE4NzkgMzYuMDMyNiAyMS4yMzM1QzM0LjgzNjcgMjQuMjc5MSAzMi42NDIgMjYuODI4MiAyOS44MDc5IDI4LjQ2MzRDMjYuOTczOCAzMC4wOTg2IDIzLjY2ODUgMzAuNzIyOCAyMC40MzMzIDMwLjIzMzlDMTcuMTk4IDI5Ljc0NDkgMTQuMjI0OCAyOC4xNzE3IDEyLjAwMDUgMjUuNzcyMUMxMi41NTM0IDI1LjQ5NjYgMTMuMTI5MyAyNS4yMTAyIDEzLjcyODEgMjQuOTEyOEMxNS40OTM0IDI2LjY2NDEgMTcuNzM3NSAyNy44NTM4IDIwLjE3NzggMjguMzMxOUMyMi42MTggMjguODEgMjUuMTQ1MiAyOC41NTUyIDI3LjQ0MDggMjcuNTk5NEMyOS43MzY1IDI2LjY0MzcgMzEuNjk3OSAyNS4wMjk5IDMzLjA3NzkgMjIuOTYxNFpNNDEuOTEgMjQuMzU3NkM0Mi4xNTMxIDIzLjk5MzcgNDIuMjgyOSAyMy41NjU5IDQyLjI4MjkgMjMuMTI4M0M0Mi4yODI5IDIyLjU0MTUgNDIuMDQ5NyAyMS45Nzg3IDQxLjYzNDggMjEuNTYzN0M0MS4yMTk4IDIxLjE0ODggNDAuNjU3MSAyMC45MTU3IDQwLjA3MDIgMjAuOTE1N0MzOS42MzI2IDIwLjkxNTcgMzkuMjA0OCAyMS4wNDU0IDM4Ljg0MSAyMS4yODg2QzM4LjQ3NzEgMjEuNTMxNyAzOC4xOTM1IDIxLjg3NzMgMzguMDI2IDIyLjI4MTZDMzcuODU4NSAyMi42ODU5IDM3LjgxNDcgMjMuMTMwOCAzNy45MDAxIDIzLjU2QzM3Ljk4NTUgMjMuOTg5MiAzOC4xOTYyIDI0LjM4MzQgMzguNTA1NiAyNC42OTI5QzM4LjgxNTEgMjUuMDAyMyAzOS4yMDk0IDI1LjIxMzEgMzkuNjM4NiAyNS4yOTg0QzQwLjA2NzggMjUuMzgzOCA0MC41MTI3IDI1LjM0IDQwLjkxNyAyNS4xNzI1QzQxLjMyMTMgMjUuMDA1IDQxLjY2NjggMjQuNzIxNCA0MS45MSAyNC4zNTc2Wk02Ljk4NTM4IDcuODM3NDNDNi45ODUzOCA4LjA1NDg5IDYuOTIwODQgOC4yNjc0NSA2Ljc5OTk3IDguNDQ4MjJDNi42NzkwOSA4LjYyODk5IDYuNTA3MzMgOC43Njk4MyA2LjMwNjM3IDguODUyOTFDNi4xMDU0MSA4LjkzNTk5IDUuODg0MzEgOC45NTc1OCA1LjY3MTA4IDguOTE0OTNDNS40NTc4NCA4Ljg3MjI5IDUuMjYyMDMgOC43NjczNCA1LjEwODQ4IDguNjEzMzdDNC45NTQ5MiA4LjQ1OTM5IDQuODUwNTEgOC4yNjMzMSA0LjgwODQ1IDguMDQ5OTZDNC43NjYzOSA3LjgzNjYyIDQuNzg4NiA3LjYxNTU4IDQuODcyMjIgNy40MTQ4NUM0Ljk1NTg1IDcuMjE0MTIgNS4wOTcxNSA3LjA0MjcyIDUuMjc4MjUgNi45MjIzNEM1LjQ1OTM0IDYuODAxOTYgNS42NzIwNyA2LjczODAxIDUuODg5NTMgNi43Mzg2QzYuMDMzNjkgNi43Mzg2IDYuMTc2NDQgNi43NjcwNCA2LjMwOTU5IDYuODIyM0M2LjQ0Mjc0IDYuODc3NTYgNi41NjM2NyA2Ljk1ODU1IDYuNjY1NDYgNy4wNjA2M0M2Ljc2NzI2IDcuMTYyNyA2Ljg0NzkyIDcuMjgzODYgNi45MDI4MSA3LjQxNzE1QzYuOTU3NzEgNy41NTA0NSA2Ljk4NTc3IDcuNjkzMjcgNi45ODUzOCA3LjgzNzQzWiIgZmlsbD0iIzRFQ0FGRiIvPjwvZz48L3N2Zz4=")},31656:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e};e.exports=(r={},c(o({},"__esModule",{value:!0}),r))},21624:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e};e.exports=(r={},c(o({},"__esModule",{value:!0}),r))},85076:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s={};function l(e,t){if(!t)return e;var n=e;for(var r of t)n=n.replace(r.replace,r.to);return n}((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(s,{applyShortenAliases:()=>l}),e.exports=(r=s,c(o({},"__esModule",{value:!0}),r))},58266:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return D},createApp:function(){return h}});var r,o=n("92255"),i=n("59166"),u=n("2382"),a=n("19672"),c=n("17028"),s=n("40862"),l=n("86834"),f=n("5872"),d=n.n(f),M=n("13266"),p=n.n(M),g=n("63415"),v=n("59535"),j=n("4513"),m=n("13063"),N=new WeakMap,y=function(e){return{loaderManager:(0,m.createLoaderManager)({}),runner:e,isBrowser:!0,routeManifest:"undefined"!=typeof window&&window[g.ROUTE_MANIFEST]}},h=function(e){var t=e.plugins,n=e.props,r=j.runtime.clone();return r.usePlugin.apply(r,(0,c._)(t)),function(e){var t=r.init(),o=function(n){var r,o=d().createElement(e||d().Fragment,e?(0,u._)({},n):null,e?n.children:d().cloneElement(n.children,(0,u._)({},null===(r=n.children)||void 0===r?void 0:r.props,n))),i=(0,f.useContext)(v.RuntimeReactContext);return t.provide({element:o,props:(0,u._)({},n),context:i},{onLast:function(e){return e.element}})};e&&p()(o,e);var i=t.hoc({App:o},{onLast:function(e){var r=e.App;return p()(function(e){var o=e.context,i=(0,a._)(e,["context"]),c=o;!(null==c?void 0:c.runner)&&(c=y(t),t.init({context:c},{onLast:function(e){var t,n=e.context;return null==r?void 0:null===(t=r.init)||void 0===t?void 0:t.call(r,n)}}));var s=(0,u._)({},i,n);return(0,l.jsx)(v.RuntimeReactContext.Provider,{value:c,children:(0,l.jsx)(r,(0,u._)({},s))})},r)}});return N.set(i,t),i}};var D=(r=(0,o._)(function(e,t,n,r){var o,a,c,l,f,M,p,g,v,j,D,x,O,I,T;return(0,s._)(this,function(s){switch(s.label){case 0:var z;if(o=e,!(a=N.get(o))&&(o=h({plugins:[]})(o),a=N.get(o)),c=y(a),l=function(e){return a.init({context:e},{onLast:function(e){var t,n=e.context;return null==o?void 0:null===(t=o.init)||void 0===t?void 0:t.call(o,n)}})},!t)return[2,d().createElement(o,{context:c})];if(!("undefined"!=typeof window&&"nodejs"!==window.name))return[3,4];if(!("string"==typeof(z=t)||"undefined"!=typeof HTMLElement&&(0,i._)(z,HTMLElement)))return[3,2];return v=Object.keys(g=(null==(p=window._SSR_DATA)?void 0:null===(f=p.data)||void 0===f?void 0:f.loadersData)||{}).reduce(function(e,t){var n=g[t];return!1!==n.loading?e:(e[t]=n,e)},{}),Object.assign(c,(0,u._)({loaderManager:(0,m.createLoaderManager)(v,{skipStatic:!0})},p?{ssrContext:null==p?void 0:p.context}:{})),c.initialData=null==p?void 0:null===(M=p.data)||void 0===M?void 0:M.initialData,[4,l(c)];case 1:if((j=s.sent())&&(c.initialData=j),D="string"!=typeof t?t:document.getElementById(t||"root"),!r)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return x=function(e){if(n)n.render(e);else if(r.createRoot)r.createRoot(D).render(e);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method")},O=function(e,t){if(!r.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");r.hydrateRoot(D,e)},[2,a.client({App:o,context:c,ModernRender:x,ModernHydrate:O},{onLast:function(e){var t=e.App;x(d().createElement(t,{context:c}))}})];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(c,{ssrContext:t,isBrowser:!1,loaderManager:(0,m.createLoaderManager)({},{skipNonStatic:t.staticGenerate,skipStatic:!t.staticGenerate})}),I=function(e){if("undefined"!=typeof Response&&(0,i._)(e,Response)&&e.status>=300&&e.status<=399){var t=e.status,n=e.headers.get("Location")||"/",r=c.ssrContext;return r&&(r.res.statusCode=t,r.res.setHeader("Location",n),r.redirection=r.redirection||{},r.redirection.status=t,r.redirection.url=n),!0}return!1},[4,l(c)];case 5:if(T=s.sent(),!I(T))return c.initialData=T,[2,a.server({App:o,context:c})];s.label=6;case 6:return[2]}})}),function(e,t,n,o){return r.apply(this,arguments)})},25543:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o.RuntimeReactContext}});var r=n("58266");n.es(r,t);var o=n("59535"),i=n("15413");n.es(i,t)},13063:function(e,t,n){"use strict";n.r(t),n.d(t,{createLoaderManager:function(){return p}});var r,o,i=n("92255"),u=n("59166"),a=n("85984"),c=n("17028"),s=n("40862"),l=n("24546"),f=n.n(l),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var M=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=0,f=r.data,d=r.error,M=!1,p=new Set;var g=(t=(0,i._)(function(){return(0,s._)(this,function(e){return a||1===l?[2,n]:(l=1,j(),[2,n=o().then(function(e){f=e,d=null,l=2}).catch(function(e){d=e,f=null,l=3}).finally(function(){n=null,M=!0,j()})])})}),function(){return t.apply(this,arguments)}),v=function(){return{loading:!M&&1===l,reloading:M&&1===l,data:f,error:(0,u._)(d,Error)?"".concat(d.message):d,_error:d}},j=function(){(0,c._)(p).forEach(function(e){e(l,v())})};return{get result(){return v()},get promise(){return n},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:g}},p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,c=n.skipNonStatic,l=void 0!==c&&c,f=new Map,p=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value.promise;if((0,u._)(i,Promise))return!0}}catch(e){t=!0,n=e}finally{try{!e&&null!=o.return&&o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,i._)(function(){var e,t,n,r,o,i,c,l,d,M;return(0,s._)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)l=(c=(0,a._)(i.value,2))[0],M=(d=c[1]).promise,(0,u._)(M,Promise)&&e.push([l,d])}catch(e){n=!0,r=e}finally{try{!t&&null!=o.return&&o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,a._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=p(n.params),i=f.get(r),u=n._cache;if(!i||!1===u){var a=l&&!n.static,c=o&&n.static;i=M(r,void 0!==e[r]?e[r]:{data:n.initialData},t,a||c),f.set(r,i)}return r},get:function(e){return f.get(e)}}}},4513:function(e,t,n){"use strict";n.r(t),n.d(t,{runtime:function(){return l}});var r=n("15413"),o=(0,r.createPipeline)(),i=(0,r.createPipeline)(),u=(0,r.createAsyncPipeline)(),a=(0,r.createAsyncPipeline)(),c=(0,r.createAsyncPipeline)(),s={hoc:o,provide:i,client:u,server:a,init:c,pickContext:(0,r.createPipeline)()},l=(0,r.createManager)(s);l.createPlugin},46606:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return r.bootstrap},createApp:function(){return r.createApp}});var r=n("25543")},39934:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.default}});var r=n("90979");n.es(r,t)},47534:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultNotFound:function(){return o}});var r=n("86834"),o=function(){return(0,r.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},21446:function(e,t,n){"use strict";function r(){return null}n.r(t),n.d(t,{default:function(){return r}})},85371:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return h},NavLink:function(){return D}});var r=n("92255"),o=n("2382"),i=n("19672"),u=n("85984"),a=n("40862"),c=n("86834"),s=n("5872"),l=n.n(s),f=n("78771"),d=n("25543");function M(e,t){return function(n){null==e||e(n),!n.defaultPrevented&&t(n)}}var p=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function g(){return(g=(0,r._)(function(e,t){var r,o;return(0,a._)(this,function(i){switch(i.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(String(e))}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var v=function(e,t){var n=window.location,r=n.protocol,o=n.host,i=new URL(e,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",t),i.searchParams.append("__ssrDirect","true"),i},j=function(e,t,n){var r,o=e.id;return r=v("/"===n?t:"".concat(n).concat(t),o).toString(),(0,c.jsx)("link",{rel:"prefetch",as:"fetch",href:r},r)},m=function(e){var t=e.path,n=t.pathname,r=(0,s.useContext)(d.RuntimeReactContext),o=r.routeManifest,i=r.routes,u=(o||{}).routeAssets,a=Array.isArray(i)?(0,f.matchRoutes)(i,n):[];return(Array.isArray(a)&&u&&(null==a||a.forEach(function(e){return function(e,t){return g.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,c.jsx)(N,{matches:a,path:t,routeManifest:o}):null},N=function(e){var t=e.matches,n=e.path,r=e.routeManifest,o=n.pathname,i=n.search,u=n.hash,a=(0,f.useMatches)(),l=(0,f.useHref)("/"),d=(0,s.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),c=new URL(o+i+u,window.origin),s=e.route.shouldRevalidate({currentUrl:r,currentParams:(null===(n=a[0])||void 0===n?void 0:n.params)||{},nextUrl:c,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof s)return s}var l=a[t];return!!(!l||l.id!==e.route.id||l.pathname!==e.pathname||l.pathname.endsWith("*")&&l.params["*"]!==e.params["*"])||!1}).map(function(e){return j(e.route,o,l)})},[t,o,r]);return(0,c.jsx)(c.Fragment,{children:d})},y=function(e){return l().forwardRef(function(t,r){var a,s,d,g,v,j,N,y,h,D,x,O,I,T,z,w=t.to,A=t.prefetch,b=(0,i._)(t,["to","prefetch"]),L="string"==typeof w&&p.test(w);var E=(0,u._)((a=void 0===A?"none":A,s=b,g=(d=(0,u._)(l().useState(!1),2))[0],v=d[1],N=(j=(0,u._)(l().useState(!1),2))[0],y=j[1],h=s.onFocus,D=s.onBlur,x=s.onMouseEnter,O=s.onMouseLeave,I=s.onTouchStart,l().useEffect(function(){"render"===a&&y(!0)},[a]),T=function(){"intent"===a&&v(!0)},z=function(){"intent"===a&&(v(!1),y(!1))},l().useEffect(function(){if(g){var e=setTimeout(function(){y(!0)},100);return function(){clearTimeout(e)}}},[g]),[N,{onFocus:M(h,T),onBlur:M(D,z),onMouseEnter:M(x,T),onMouseLeave:M(O,z),onTouchStart:M(I,T)}]),2),_=E[0],S=E[1],k=(0,f.useResolvedPath)(w);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(e,(0,o._)({ref:r,to:w},b,S)),_&&n.e&&!L?(0,c.jsx)(m,{path:k}):null]})})},h=y(f.Link);h.displayName="Link";var D=y(f.NavLink);D.displayName="NavLink"},68705:function(e,t,n){"use strict";n.r(t),n.d(t,{modifyRoutes:function(){return r}});var r=(0,n("15413").createWaterfall)()},90979:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return o.Link},NavLink:function(){return o.NavLink},Outlet:function(){return u.Outlet},createShouldRevalidate:function(){return i.createShouldRevalidate},default:function(){return a},handleRouteModule:function(){return i.handleRouteModule},handleRouteModuleError:function(){return i.handleRouteModuleError},matchPath:function(){return u.matchPath},matchRoutes:function(){return u.matchRoutes},redirect:function(){return u.redirect},useLocation:function(){return u.useLocation},useMatches:function(){return u.useMatches},useNavigate:function(){return u.useNavigate},useParams:function(){return u.useParams}});var r=n("29552"),o=n("85371"),i=n("83366"),u=n("78771"),a=r.routerPlugin},29552:function(e,t,n){"use strict";n.r(t),n.d(t,{routerPlugin:function(){return j}});var r=n("2382"),o=n("43382"),i=n("17028"),u=n("86834"),a=n("5872"),c=n("78771"),s=n("13266"),l=n.n(s),f=n("89736"),d=n("25543"),M=n("68705"),p=n("78923"),g={routes:[]},v=!0,j=function(e){var t=e.serverBase,n=void 0===t?[]:t,s=e.supportHtml5History,v=void 0===s||s,j=e.basename,m=void 0===j?"":j,N=e.routesConfig,y=e.createRoutes,h=[];return g=N,window._SERVER_DATA=(0,f.parsedJSONFromElement)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:M.modifyRoutes},setup:function(e){return{init:function(e,t){var n=e.context;return n.router={useMatches:c.useMatches,useLocation:c.useLocation},Object.defineProperty(n,"routes",{get:function(){return h}}),t({context:n})},hoc:function(t,s){var f,M=t.App;if(!g&&!y)return s({App:M});var j=(f=function(t){var u,s,l=(null===(s=window._SERVER_DATA)||void 0===s?void 0:s.router.baseUrl)||(u=location.pathname,n.find(function(e){return 0===u.search(e)})||"/"),f="/"===l?(0,p.urlJoin)(l,m):l,M=window._ROUTER_DATA,j=(0,a.useContext)(d.RuntimeReactContext),N=j.unstable_getBlockNavState;return(0,a.useMemo)(function(){(null==M?void 0:M.errors)&&(M=(0,o._)((0,r._)({},M),{errors:(0,p.deserializeErrors)(M.errors)})),h=y?y():(0,c.createRoutesFromElements)((0,p.renderRoutes)({routesConfig:g,props:t})),h=e.useHookRunners().modifyRoutes(h);var n=v?(0,c.createBrowserRouter)(h,{basename:f,hydrationData:M}):(0,c.createHashRouter)(h,{basename:f,hydrationData:M}),u=n.subscribe;return n.subscribe=function(e){return u(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(N&&N()))return e.apply(void 0,(0,i._)(n))})},Object.defineProperty(j,"remixRouter",{get:function(){return n},configurable:!0}),n},[g,t,f,M,N])},function(e){var t=f(e);return(0,u.jsx)(M,(0,o._)((0,r._)({},e),{children:(0,u.jsx)(c.RouterProvider,{router:t})}))});return(M&&(j=l()(j,M)),null==N?void 0:N.globalApp)?s({App:l()(j,N.globalApp)}):s({App:j})},pickContext:function(e,t){var n=e.context,i=e.pickedContext,u=n.remixRouter;if(!u)return t({context:n,pickedContext:i});var a={navigate:u.navigate,get location(){return u.state.location}};return t({context:n,pickedContext:(0,o._)((0,r._)({},i),{router:a})})}}}}}},83366:function(e,t,n){"use strict";n.r(t),n.d(t,{createShouldRevalidate:function(){return o},handleRouteModule:function(){return i},handleRouteModuleError:function(){return u}});var r=n("63415"),o=function(e){return function(t){var n,o,i=null===(o=window)||void 0===o?void 0:null===(n=o[r.ROUTE_MODULES])||void 0===n?void 0:n[e];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(t):t.defaultShouldRevalidate}},i=function(e,t){return"undefined"!=typeof document&&(window[r.ROUTE_MODULES][t]=e),e},u=function(e){return console.error(e),null}},78923:function(e,t,n){"use strict";n.r(t),n.d(t,{deserializeErrors:function(){return p},renderRoutes:function(){return d},urlJoin:function(){return M}});var r=n("2382"),o=n("19672"),i=n("85984"),u=n("86834"),a=n("78771"),c=n("69444"),s=n("48747"),l=n("47534"),f=n("21446");function d(e){var t=e.routesConfig,n=e.props,i=e.ssrMode,c=e.reporter;if(!t)return null;var d=t.routes,M=t.globalApp;return d?function(e,t){var n=t.globalApp,i=t.ssrMode,c=t.props,d=t.reporter,M=function(e){var t=e.Component,i=(0,o._)(e,["Component"]);return n?(0,u.jsx)(n,(0,r._)({Component:t},i)):(0,u.jsx)(t,(0,r._)({},i))},p=[],g=!0,v=!1,j=void 0;try{for(var m,N=e[Symbol.iterator]();!(g=(m=N.next()).done);g=!0){var y=m.value;if("nested"===y.type){var h=(0,s.renderNestedRoute)(y,{DeferredDataComponent:"stream"===i?f.default:void 0,props:c,reporter:d});p.push(h)}else{var D=(0,u.jsx)(a.Route,{path:y.path,element:(0,u.jsx)(M,{Component:y.component})},y.path);p.push(D)}}}catch(e){v=!0,j=e}finally{try{!g&&null!=N.return&&N.return()}finally{if(v)throw j}}return p.push((0,u.jsx)(a.Route,{path:"*",element:(0,u.jsx)(l.DefaultNotFound,{})},"*")),p}(d,{globalApp:M,ssrMode:i,props:n,reporter:c}):null}var M=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=RegExp("".concat("/","{1,}"),"g");return function(e){var t=e;return t&&"string"==typeof t?(t.startsWith(".")&&(t=t.slice(1)),!t.startsWith("/")&&(t="/".concat(t)),t.endsWith("/")&&"/"!==t&&(t=t.slice(0,t.length-1)),t):t}(t.join("/").replace(r,"/"))};function p(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,u=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=(0,i._)(a.value,2),f=l[0],d=l[1];if(d&&"RouteErrorResponse"===d.__type)n[f]=new c.UNSAFE_ErrorResponseImpl(d.status,d.statusText,d.data,!0===d.internal);else if(d&&"Error"===d.__type){var M=Error(d.message);M.stack=d.stack,n[f]=M}else n[f]=d}}catch(e){o=!0,u=e}finally{try{!r&&null!=s.return&&s.return()}finally{if(o)throw u}}return n}},59535:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o}});var r=n("5872"),o=(0,r.createContext)({});(0,r.createContext)({})},15413:function(e,t,n){"use strict";n.r(t),n.d(t,{createAsyncPipeline:function(){return d},createManager:function(){return S},createPipeline:function(){return f},createWaterfall:function(){return g}});var r=n("39759"),o=n("2382"),i=n("17028"),u=n("43382"),a=n("76492"),c=function(e){var t=function(n,r){return e(n,r,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return t(n+1,e)})};return{start:function(e){return t(0,e)},dispatch:t}},s=Symbol.for("MODERN_PIPELINE"),l=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Middleware"))},f=function(){var e,t=[],n=function(e){return c(function(n,r,o){if(n>=t.length){if(e)return e(r);throw Error("Expect returning a value, but all middlewares just calling next()")}return t[n](r,o)})},o=n(),u=function(e,t){var r;return((r=t)?n(null==r?void 0:r.onLast):o).start(e)},a=(e={},(0,r._)(e,s,!0),(0,r._)(e,"use",function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.push.apply(t,(0,i._)(n.map(l))),a}),(0,r._)(e,"run",u),(0,r._)(e,"middleware",function(e,t){return u(e,{onLast:t})}),e);return a},d=function(){var e=f();return(0,o._)({},e)},M=Symbol.for("MODERN_WATERFALL"),p=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Brook or { brook: Brook }"))},g=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(p).map(v))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},M,!0));return t},v=function(e){return function(t,n){return n(e(t))}},j=Symbol.for("MODERN_ASYNC_WATERFALL"),m=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a AsyncBrook or { brook: AsyncBrook }"))},N=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(m).map(y))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},j,!0));return t},y=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return n(e)})}},h=Symbol.for("MODERN_WORKFLOW"),D=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(x))),t},run:function(t){return e.run(t,{onLast:function(){return[]}}).filter(Boolean)}},h,!0));return t},x=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},O=Symbol.for("MODERN_PARALLEL_WORKFLOW"),I=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({run:function(t){return Promise.all(e.run(t,{onLast:function(){return[]}})).then(function(e){return e.filter(Boolean)})},use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(T))),t}},O,!0));return t},T=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},z=Symbol.for("MODERN_ASYNC_WORKFLOW"),w=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(A))),t},run:function(t){var n,r=e.run(t,{onLast:function(){return[]}});return(n=r)&&"function"==typeof n.then?r.then(function(e){return e.filter(Boolean)}):r.filter(Boolean)}},z,!0));return t},A=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return Promise.resolve(n(t)).then(function(t){return[e].concat((0,i._)(t))})})}},b=function(e){},L=function(e){return null!==e&&"object"==typeof e},E="SYNC_PLUGIN_SYMBOL",_={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},S=function(e,t){var n,r=0,i=(0,o._)({},e),c=function(){return n},s=function(e){i=(0,o._)({},e,i)},l=function(e){var t,n;return L(e)&&(t=e,n=E,t.hasOwnProperty(n))&&e[E]===E},f=(0,u._)((0,o._)({},t),{useHookRunners:c}),d=function(e){var t=[],M=function(e){var n,r;if(n=t,r=e,!n.some(function(e){return e.name===r.name}))t.push((0,o._)({},e))},p=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(e){if(l(e))M(e);else if("function"==typeof e){var t=e();M(g(t.setup,t))}else L(e)&&M(g(e.setup,e))}),v},g=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===(e=n.usePlugins)||void 0===e?void 0:e.length)&&n.usePlugins.forEach(function(e){p(g(e.setup,e))}),n.registerHook&&s(n.registerHook),(0,u._)((0,o._)((0,u._)((0,o._)({},_),{name:"No.".concat(r++," plugin")}),n),{SYNC_PLUGIN_SYMBOL:E,setup:t})},v={createPlugin:g,isPlugin:l,usePlugin:p,init:function(){var r,u=(r=t,(0,a.pluginDagSort)(r.slice())),c=(0,o._)({},f,e);return b(u),n=k(u.map(function(e){return e.setup(c)}),i)},clear:function(){t=[]},run:function(e){return e()},registerHook:s,useRunner:c,clone:d};return v};return d()},k=function(e,t){var n={},r=R(t);if(t){var i=function(t){e.forEach(function(e){(null==e?void 0:e[t])&&r[t].use(e[t])}),n[t]=function(e,n){return r[t].run(e,(0,o._)({},n))}};for(var u in r)i(u)}return n},C=function(e){var t,n,r,o,i,u;if(null==(t=e)?void 0:t[M])return g();if(null==(n=e)?void 0:n[j])return N();if(null==(r=e)?void 0:r[h])return D();if(null==(o=e)?void 0:o[z])return w();if(null==(i=e)?void 0:i[O])return I();if(null==(u=e)?void 0:u[s])return f();throw Error("Unknown hook: ".concat(e))},R=function(e){if(!e)return e;var t={};for(var n in e)t[n]=C(e[n]);return t}},48747:function(e,t,n){"use strict";n.r(t);var r=n("8921");n.es(r,t)},8921:function(e,t,n){"use strict";n.r(t),n.d(t,{renderNestedRoute:function(){return d}});var r=n("92255"),o=n("2382"),i=n("43382"),u=n("40862"),a=n("86834"),c=n("5872"),s=n("84026"),l=n("63415"),f=n("67791"),d=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=e.children,g=e.index,v=e.id,j=e.component,m=e.isRoot,N=e.lazyImport,y=e.config,h=e.handle,D=n.parent,x=n.DeferredDataComponent,O=n.props,I=void 0===O?{}:O,T=n.reporter,z={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:function(e,t){var n,o=e.loader;if(!o)return function(){return"function"==typeof e.lazyImport&&e.lazyImport(),null};return n=(0,r._)(function(n){var r,i,a;return(0,u._)(this,function(u){switch(u.label){case 0:return"function"==typeof e.lazyImport&&e.lazyImport(),r=(0,f.time)(),[4,o(n)];case 1:return i=u.sent(),a=r(),"undefined"==typeof document&&t&&(null==t||t.reportTiming("".concat(l.LOADER_REPORTER_NAME,"-").concat(e.id),a)),[2,i]}})}),function(e){return n.apply(this,arguments)}}(e,T),action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,o._)({},h,"object"==typeof y?null==y?void 0:y.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error){var w=(0,a.jsx)(e.error,{});z.errorElement=w}if(j){if((null==D?void 0:D.loading)&&N){var A=D.loading;t=M(j)?(0,a.jsx)(j,{fallback:(0,a.jsx)(A,{})}):(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(A,{}),children:(0,a.jsx)(j,{})})}else t=M(j)&&N?(0,a.jsx)(j,{}):m?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j,(0,o._)({},I)),"undefined"==typeof document&&x&&(0,a.jsx)(x,{nonce:null==I?void 0:I.nonce})]}):N?(0,a.jsx)(c.Suspense,{fallback:null,children:(0,a.jsx)(j,{})}):(0,a.jsx)(j,{})}else e.loading=null==D?void 0:D.loading,z.element=(0,a.jsx)(s.Outlet,{});t&&(z.element=t);var b=null==p?void 0:p.map(function(t){return d(t,{parent:e,reporter:T})});return g?(0,a.jsx)(s.Route,(0,i._)((0,o._)({},z),{index:!0}),v):(0,a.jsx)(s.Route,(0,i._)((0,o._)({},z),{index:!1,children:b}),v)};function M(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}},89736:function(e,t,n){"use strict";n.r(t),n.d(t,{parsedJSONFromElement:function(){return r}});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}}},69444:function(e,t,n){"use strict";n.r(t);var r=n("30368");n.es(r,t)},78771:function(e,t,n){"use strict";n.r(t);var r=n("84026");n.es(r,t)},67791:function(e,t,n){"use strict";n.r(t),n.d(t,{time:function(){return u}});var r=n("85984");function o(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var i=function(e){var t=(0,r._)(o(e),2);return 1e3*t[0]+t[1]/1e6},u=function(){var e=o();return function(){return i(e)}}},63415:function(e,t,n){"use strict";n.r(t),n.d(t,{LOADER_REPORTER_NAME:function(){return i},ROUTE_MANIFEST:function(){return r},ROUTE_MODULES:function(){return o}});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},76492:function(e,t,n){"use strict";n.r(t),n.d(t,{pluginDagSort:function(){return r}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"pre",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"post",o=function(n){var r=e.find(function(e){return"string"==typeof n?e[t]===n:e[t]===n[t]});if(!r)throw Error("plugin ".concat(n," not existed"));return r},i=[];e.forEach(function(u){var a,c;null===(a=u[n])||void 0===a||a.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(n)[t],o(u)[t]])}),null===(c=u[r])||void 0===c||c.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(u)[t],o(n)[t]])})});for(var u=e.filter(function(e){return!i.find(function(n){return n[1]===e[t]})}),a=[];u.length;)!function(){var n=u.shift();a.push(o(n)),i=i.filter(function(e){return e[0]!==o(n)[t]}),u=e.filter(function(e){return!a.find(function(n){return n[t]===e[t]})}).filter(function(e){return!i.find(function(n){return n[1]===e[t]})})}();if(i.length){var c={};throw i.forEach(function(e){c[e[0]]=!0,c[e[1]]=!0}),Error("plugins dependencies has loop: ".concat(Object.keys(c).join(",")))}return a}},62862:function(e,t,n){"use strict";e.exports={connector:"connector-_43720",link:"link-_26ee2"}},39118:function(e,t,n){"use strict";e.exports={tooltip:"tooltip-ece352"}},18372:function(e,t,n){"use strict";e.exports={breadcrumbs:"breadcrumbs-_6b38a",container:"container-_7aa7d","fading-mask":"fading-mask-d5651b",fadingMask:"fading-mask-d5651b",inner:"inner-e0e4a8","inner-right":"inner-right-c4d5b6",innerRight:"inner-right-c4d5b6",navigator:"navigator-bd780c","tab-button":"tab-button-_97258",tabButton:"tab-button-_97258","tab-button-inner":"tab-button-inner-_2887d",tabButtonInner:"tab-button-inner-_2887d",wrapper:"wrapper-_97d72"}},94396:function(e,t,n){},78097:function(e,t,n){"use strict";n.r(t),n("95818"),n("15787"),n("62940"),n("31401"),n("20578"),n("72595"),n("71614"),n("57762"),n("53049"),n("59890"),n("52489"),n("37179"),n("45059"),n("48759"),n("7783"),n("20964"),n("74366"),n("14078"),n("10029"),n("21992"),n("92271"),n("83318"),n("92111"),n("72656"),n("71851"),n("5026"),n("87361"),n("54957"),n("52027"),n("48668"),n("42160"),n("36480"),n("12577"),n("16997"),n("64045"),n("71217"),n("29640"),n("11288"),n("91809"),n("43990"),n("41484"),n("41910"),n("18840"),n("79956"),n("27364"),n("43308"),n("87295"),n("60315"),n("86876"),n("59424"),n("97219"),n("3712"),n("44117"),n("45434"),n("75460"),n("44503"),n("76383"),n("41195"),n("4331"),n("5780"),n("51826"),n("2392"),n("70157"),n("80495"),n("87313"),n("56273"),n("75069"),n("3091"),n("8256"),n("65244"),n("31867"),n("56821"),n("12035"),n("26249"),n("22584"),n("57497"),n("56221"),n("25283"),n("44913"),n("43743"),n("46911"),n("98617"),n("75190"),n("89765"),n("2913"),n("71242"),n("47062"),n("5377"),n("19971"),n("75779"),n("36800"),n("79148"),n("99803"),n("84036"),n("76728"),n("26548"),n("54615"),n("16982"),n("67393"),n("17781"),n("83418"),n("92417"),n("29267"),n("75182"),n("51297"),n("5732"),n("80907"),n("24638"),n("25983"),n("12620"),n("42393"),n("11935"),n("31938"),n("42542"),n("29910"),n("97630"),n("1016"),n("31922"),n("76739"),n("66354"),n("14942"),n("66066"),n("71829"),n("59186"),n("81660"),n("48053"),n("76959"),n("53183"),n("8532"),n("6868"),n("71859"),n("5574"),n("36825"),n("93567"),n("3200"),n("3238"),n("21862"),n("69660"),n("33350"),n("45661"),n("62323"),n("25221"),n("71510"),n("5258"),n("52348"),n("63305"),n("82997"),n("64667"),n("76544"),n("72499"),n("4600"),n("7229"),n("78394"),n("71874"),n("54626"),n("11057"),n("76074"),n("54925"),n("8254"),n("76805"),n("98846"),n("84691"),n("49191"),n("50558"),n("18031"),n("92816"),n("53423"),n("10166"),n("88849"),n("99885"),n("83323"),n("57101"),n("68883"),n("51104"),n("14218"),n("43421"),n("53116"),n("66923"),n("68961"),n("45259"),n("2531"),n("74814"),n("80401"),n("58627"),n("92798"),n("97748"),n("34999"),n("25911"),n("94384"),n("15056"),n("86706"),n("48373"),n("96709"),n("82176"),n("82495"),n("44477"),n("79944"),n("97461"),n("98451"),n("31119"),n("92881"),n("85304"),n("14182"),n("58922"),n("15919"),n("55723"),n("85373"),n("61554"),n("42634"),n("34414"),n("94117"),n("84733"),n("40184"),n("52450"),n("23101"),n("80779"),n("52823"),n("37799"),n("25837"),n("50375"),n("18001"),n("33059"),n("23566"),n("76270"),n("64983"),n("80072"),n("79061"),n("35397"),n("96746"),n("76462"),n("37850"),n("68590"),n("1733"),n("39779"),n("51558"),n("5794"),n("92265"),n("79914"),n("29294"),n("32451"),n("26743"),n("26579"),n("41773"),n("75281"),n("76682"),n("49985"),n("42067"),n("93220"),n("7549"),n("99623"),n("72814"),n("52253"),n("93625"),n("92180"),n("154"),n("77904"),n("76179"),n("1587"),n("39177"),n("45109"),n("1336"),n("78136"),n("7005"),n("84960"),n("32642"),n("99149"),n("29814"),n("75870"),n("71571"),n("77313"),n("95577"),n("72340"),n("20995"),n("1254"),n("84594"),n("37806"),n("33132"),n("83367"),n("90602"),n("52400"),n("84518"),n("27093"),n("44904"),n("65272"),n("15262"),n("65308"),n("70241"),n("17905"),n("39022"),n("34353"),n("49128"),n("72104"),n("1676"),n("50882")},80161:function(e,t,n){"use strict";n.r(t),window.__assetPrefix__="/__devtools"},69222:function(e,t,n){"use strict";n.r(t),n.d(t,{Breadcrumbs:function(){return M}});var r=n("2382"),o=n("43382"),i=n("86834");n("5872");var u=n("52493"),a=n.n(u),c=n("83982"),s=n("60441"),l=n("39934"),f=n("62862"),d=n("52519"),M=e=>{var t=[],n=[];for(var u of(0,l.useMatches)()){var M=a().get(u,"handle.breadcrumb");if(M){for(var p of a().castArray(M).filter(a().isObject))if("title"in p){var g="pathname"in p&&a().isString(p.pathname)?p.pathname:u.pathname;n.push({title:p.title,pathname:g,id:u.id})}}}for(var[v,j]of Object.entries(n)){var m=[j.id,j.pathname,v];t.push((0,i.jsx)(d.Link,{color:"gray",size:"2",to:j.pathname,children:j.title},m.join("_"))),j!==n.at(-1)&&(m.push("#connector"),t.push((0,i.jsx)(s.ChevronRightIcon,{className:f.connector},m.join("_"))))}return(0,i.jsx)(c.Flex,(0,o._)((0,r._)({align:"center",height:"8",gap:"1",px:"4"},e),{children:t}))}},52519:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s}});var r=n("2382"),o=n("43382"),i=n("19672"),u=n("86834"),a=n("39934"),c=n("83982"),s=e=>{var{to:t,children:n}=e,s=(0,i._)(e,["to","children"]);return(0,u.jsx)(c.Link,(0,o._)((0,r._)({},s),{asChild:!0,children:(0,u.jsx)(a.Link,{to:t,children:n})}))}},42735:function(e,t,n){"use strict";n.r(t),n.d(t,{SelectLink:function(){return u}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934"),u=e=>{var{items:t}=e,n=(0,i.useNavigate)(),u=(0,i.useLocation)(),a=t.find(e=>(0,i.matchPath)(e.to,u.pathname));return(0,r.jsxs)(o.Select.Root,{size:"1",value:null==a?void 0:a.to,onValueChange:n,children:[(0,r.jsx)(o.Select.Trigger,{}),(0,r.jsx)(o.Select.Content,{position:"popper",children:t.map(e=>{var{title:t,to:n}=e;return(0,r.jsx)(o.Select.Item,{value:n,children:t},n)})})]})}},31927:function(e,t,n){"use strict";n.r(t),n.d(t,{Theme:function(){return p}});var r=n("2382"),o=n("43382"),i=n("19672"),u=n("86834"),a=n("5872"),c=n("83982"),s=n("55058"),l=n("52493"),f=n.n(l),d=e=>["inherit","light","dark"].includes(e),M=e=>{var{children:t}=e,{appearance:n}=(0,c.useThemeContext)();return(0,a.useEffect)(()=>{localStorage.setItem("__modern_js_devtools_appearance",n),"inherit"!==n&&(document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(n))},[n]),(0,u.jsx)(u.Fragment,{children:t})},p=e=>{var{appearance:t,children:n}=e,a=(0,i._)(e,["appearance","children"]),l=t||f().castArray((0,s.getQuery)(location.href).appearance)[0]||localStorage.getItem("__modern_js_devtools_appearance")||"light";if(!d(l))throw Error("Initial appearance value is invalid.");return(0,u.jsx)(c.Theme,(0,o._)((0,r._)({},a),{appearance:l,children:(0,u.jsx)(M,{children:n})}))}},58455:function(e,t,n){"use strict";n.r(t),n.d(t,{getDefaultTabs:function(){return u}});var r=n("86834"),o=n("29214"),i=n("54201"),u=()=>[{name:"overview",title:"Overview",icon:(0,r.jsx)(o.HiOutlineHome,{}),view:{type:"builtin",url:"/overview"}},{name:"config",title:"Config",icon:(0,r.jsx)(o.HiOutlineAdjustmentsHorizontal,{}),view:{type:"builtin",url:"/config"}},{name:"pages",title:"Pages",icon:(0,r.jsx)(o.HiOutlineRectangleGroup,{}),view:{type:"builtin",url:"/pages"}},{name:"react",title:"React",icon:(0,r.jsx)(i.RiReactjsLine,{}),view:{type:"builtin",url:"/react"}},{name:"context",title:"Context",icon:(0,r.jsx)(o.HiOutlineCube,{}),view:{type:"builtin",url:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,r.jsx)(o.HiOutlineAcademicCap,{}),view:{type:"builtin",url:"/headers"}}]},16033:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return d}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934"),u=n("52493"),a=n.n(u),c=n("39118"),s=e=>{var{name:t,describe:n}=e;return(0,r.jsx)(o.Tooltip,{className:c.tooltip,side:"right",content:n.map(e=>(0,r.jsx)(o.Text,{style:{display:"block"},children:e},e)),children:(0,r.jsx)(o.Select.Item,{value:t,children:(0,r.jsx)(o.Box,{children:a().startCase(t)})})},t)},l=[{name:"framework",describe:["Framework config is a superset of Builder config, ","extending it with additional configurations that ","include server-side capabilities and so on."]},{name:"builder",describe:["Builder provides wrapped building capabilities for scheduling Bundler, ","as well as other plugins and tools."]},{name:"bundler",describe:["Bundler is typically a low-level build tool like webpack or Rspack, ","and their configuration options differ significantly from higher-level tools."]}],f=[{name:"resolved",describe:["The configuration content passed by the user or superior tools,","usually exposed to the plugin API for modification."]},{name:"transformed",describe:["The modified and frozen configuration objects,","typically exposed to the plugin API for consumption."]}],d={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{var e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(u))},children:[(0,r.jsx)(o.Select.Trigger,{children:n}),(0,r.jsx)(o.Select.Content,{children:l.map(e=>{var{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{var e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:u,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(o.Select.Trigger,{children:u}),(0,r.jsx)(o.Select.Content,{children:f.map(e=>{var{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})}]}},89011:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("42735"),i={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},3407:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("29214"),i={breadcrumb:{title:(0,r.jsx)(o.HiHomeModern,{}),pathname:"/overview"}}},55329:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n("86834");n("94396");var o=n("5872"),i=n("39934"),u=n("83982"),a=n("29214"),c=n("18372"),s=n("84834"),l=n("31927"),f=n("69222"),d=e=>{var{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.url;else if("iframe"===t.view.type)n="/external/".concat(t.view.src);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,o.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(u.Tooltip,{content:t.title,side:"right",children:(0,r.jsx)(i.NavLink,{to:n,className:c.tabButton,children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:c.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:t.icon})})})})},M=()=>{var{appearance:e}=(0,u.useThemeContext)();return(0,r.jsx)(u.Tooltip,{content:"Appearance",side:"right",children:(0,r.jsx)(u.Box,{className:c.tabButton,onClick:()=>{(0,u.updateThemeAppearanceClass)("light"===e?"dark":"light")},children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:c.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:"dark"===e?(0,r.jsx)(a.HiOutlineMoon,{}):(0,r.jsx)(a.HiOutlineSun,{})})})})})},p=()=>{var{tabs:e}=(0,s.useStoreSnapshot)();return(0,r.jsxs)(u.Flex,{direction:"column",shrink:"0",className:c.navigator,children:[e.map(e=>(0,r.jsx)(d,{tab:e},e.name)),(0,r.jsx)(u.Box,{grow:"1"}),(0,r.jsx)(M,{})]})};function g(){return(0,r.jsx)(s.StoreContextProvider,{children:(0,r.jsxs)(l.Theme,{className:c.wrapper,accentColor:"blue",panelBackground:"solid",children:[(0,r.jsx)(u.Box,{className:c.inner,children:(0,r.jsx)(u.Box,{className:c.innerRight,children:(0,r.jsx)(u.Box,{className:c.container,children:(0,r.jsx)(i.Outlet,{})})})}),(0,r.jsx)(u.ThemePanel,{defaultOpen:!1,style:{display:"none"}}),(0,r.jsx)(p,{}),(0,r.jsx)(f.Breadcrumbs,{className:c.breadcrumbs})]})})}},34460:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});var r={breadcrumb:{title:"Overview"}}},53077:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("42735"),i={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},84834:function(e,t,n){"use strict";n.r(t),n.d(t,{StoreContextProvider:function(){return N},useStore:function(){return y},useStoreSnapshot:function(){return h}});var r=n("92255"),o=n("86834"),i=n("52493"),u=n.n(i),a=n("5872"),c=n("20421"),s=n("9880"),l=n.n(s),f=n("55058"),d=n("42700"),M=n("60407"),p=n("21713"),g=n("58455"),v=(0,a.createContext)(null),j=()=>{var e=(0,f.getQuery)(location.href).src||sessionStorage.getItem("devtools-data-source");if(!u().isString(e))throw TypeError("Can't connection to data source: ".concat(e||"<EMPTY>"));return sessionStorage.setItem("devtools-data-source",e),e},m=()=>({framework:{context:l()(),config:{resolved:l()(),transformed:l()()}},builder:{context:l()(),config:{resolved:l()(),transformed:l()()}},bundler:{config:{resolved:l()(),transformed:l()()}},dependencies:l()(),compileTimeCost:l()(),clientDefinition:l()()}),N=e=>{var{children:t}=e,n=(0,a.useMemo)(j,[]),i=(0,a.useMemo)(m,[]),u=(0,p.useProxyFrom)(()=>({dataSource:n,location:"/",framework:{context:i.framework.context.promise,fileSystemRoutes:{},config:{resolved:i.framework.config.resolved.promise,transformed:i.framework.config.transformed.promise}},builder:{context:i.builder.context.promise,config:{resolved:i.builder.config.resolved.promise,transformed:i.builder.config.transformed.promise}},bundler:{config:{resolved:i.bundler.config.resolved.promise,transformed:i.bundler.config.transformed.promise}},tabs:(0,g.getDefaultTabs)().map(e=>(0,d.ref)(e)),version:"2.43.0",dependencies:i.dependencies.promise,compileTimeCost:i.compileTimeCost.promise,name:i.clientDefinition.promise.then(e=>e.name),packages:i.clientDefinition.promise.then(e=>e.packages),assets:i.clientDefinition.promise.then(e=>e.assets),announcement:i.clientDefinition.promise.then(e=>e.announcement),breadcrumb:[]})),{error:s}=(0,c.useAsync)((0,r._)(function*(){var{server:e}=yield(0,M.setupServerConnection)({url:n,$store:u});for(var{entryName:t}of(i.framework.context.resolve(e.getAppContext()),i.framework.config.resolved.resolve(e.getFrameworkConfig()),i.framework.config.transformed.resolve(e.getTransformedFrameworkConfig()),i.builder.context.resolve(e.getBuilderContext()),i.builder.config.resolved.resolve(e.getBuilderConfig()),i.builder.config.transformed.resolve(e.getTransformedBuilderConfig()),i.bundler.config.resolved.resolve(e.getBundlerConfigs()),i.bundler.config.transformed.resolve(e.getTransformedBundlerConfigs()),i.dependencies.resolve(e.getDependencies()),i.compileTimeCost.resolve(e.getCompileTimeCost()),i.clientDefinition.resolve(e.getClientDefinition()),(yield u.framework.context).entrypoints))u.framework.fileSystemRoutes[t]=e.getFileSystemRoutes(t)}),[n,i]);if(s)throw s;return(0,o.jsx)(v.Provider,{value:u,children:t})},y=()=>{var e=(0,a.useContext)(v);if(!e)throw Error("Can't resolve the context of global store.");return e},h=()=>(0,d.useSnapshot)(y())},36151:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n("39934"),o=e=>{var{params:t}=e;if(!t.toolkit||!t.type)return(0,r.redirect)("/404");if(!["framework","builder","bundler"].includes(t.toolkit))return(0,r.redirect)("/404");if(!["resolved","transformed"].includes(t.type))return(0,r.redirect)("/404");else return null}},48043:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder/transformed");return(0,r.redirect)(n)}},48876:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder");return(0,r.redirect)(n)}},9041:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});var r={breadcrumb:{title:"Header Modifier"}}},77552:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./overview");return(0,r.redirect)(n)}},67061:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});var r={breadcrumb:{title:"Pages"}}},81884:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./components");return(0,r.redirect)(n)}},60407:function(e,t,n){"use strict";n.r(t);var r=n("5103");n.es(r,t);var o=n("75682");n.es(o,t)},75682:function(e,t,n){"use strict";n.r(t),n.d(t,{setupMountPointConnection:function(){return l}});var r,o=n("92255"),i=n("88739"),u=n("9880"),a=n.n(u),c=n("27542"),s=n("2046");var l=(r=(0,o._)(function*(){var e=new c.ReactDevtoolsWallAgent,t=window.parent;if(!t||t===window)throw Error("Can't resolve the parent window.");var n=new MessageChannel,r=n.port1,u=n.port2,l=a()(),f=(0,i.createBirpc)({sendReactDevtoolsData:t=>(0,o._)(function*(){e.emit(t)})(),onMountPointConnect:()=>(0,o._)(function*(){l.resolve({mountPoint:f,wall:e})})()},{post:e=>r.postMessage(e),on:e=>r.onmessage=e,deserialize:e=>e.data,timeout:500});return e.sender=e=>f.sendReactDevtoolsData(e),t.postMessage({type:s.CLIENT_CONNECT_EVENT},"*",[u]),l.promise}),function(){return r.apply(this,arguments)})},5103:function(e,t,n){"use strict";n.r(t),n.d(t,{setupServerConnection:function(){return f}});var r,o=n("92255"),i=n("2382"),u=n("43382"),a=n("93549"),c=n("88739"),s=n("55058"),l=e=>{var t=(0,s.parseURL)(e);return(0,s.stringifyParsedURL)((0,u._)((0,i._)({protocol:"https:"===location.protocol?"wss:":"ws:",host:location.host},t),{pathname:t.pathname||"".concat(a.ROUTE_BASENAME,"/rpc")}))};var f=(r=(0,o._)(function*(e){var{url:t,$store:n}=e,r=new window.WebSocket(l(t)),o=(0,c.createBirpc)({refresh:()=>location.reload(),updateFileSystemRoutes(e){var{entrypoint:t,routes:r}=e;n.framework.fileSystemRoutes[t.entryName]=r}},{post:e=>r.send(e),on:e=>r.onmessage=e,serialize:e=>JSON.stringify(e),deserialize:e=>JSON.parse(e.data.toString())});return yield new Promise((e,n)=>{r.onopen=()=>e(),r.onerror=()=>n(Error("Failed connect to WebSocket server: ".concat(t)))}),{server:o}}),function(e){return r.apply(this,arguments)})},2046:function(e,t,n){"use strict";n.r(t),n.d(t,{CLIENT_CONNECT_EVENT:function(){return r}});var r="modern_js_devtools::client::connect"},21713:function(e,t,n){"use strict";n.r(t),n.d(t,{useProxyFrom:function(){return i}}),n("52493");var r=n("5872"),o=n("42700"),i=e=>(0,r.useMemo)(()=>(0,o.proxy)(e()),[])},27542:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactDevtoolsWallAgent:function(){return r}});class r{send(e,t,n){var r;null===(r=this.sender)||void 0===r||r.call(this,{event:e,payload:t,transferable:n})}listen(e){return this.listeners.includes(e)||this.listeners.push(e),e}emit(e){for(var t of this.listeners)t(e)}constructor(){this.listeners=[]}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["118","126","160","58","707","807"],function(){return t("80161"),t("78097"),t("93474"),t("10302"),t("78071")}),e.O()}]);
|
|
1
|
+
/*! For license information please see client.7a548df6.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).push([["462"],{72215:function(e,t,n){"use strict";var r,o,i,u,a=Object.create,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,f=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,M=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var o=function(o){!d.call(e,o)&&o!==n&&c(e,o,{get:()=>t[o],enumerable:!(r=s(t,o))||r.enumerable})};for(var i of l(t))o(i)}return e},p={};((e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})})(p,{AnnouncementDefinition:()=>N,AssetDefinition:()=>m,ClientDefinition:()=>y,NameDefinition:()=>v,PackageDefinition:()=>j}),e.exports=(r=p,M(c({},"__esModule",{value:!0}),r));var g=(u=null!=(o=n("34070"))?a(f(o)):{},M(o&&o.__esModule?u:c(u,"default",{value:o,enumerable:!0}),o));class v{constructor(){this.formalName="Modern.js",this.casualName="modern.js",this.prefixName="_modern_js"}}class j{constructor(){this.appTools="@modern-js/app-tools"}}class m{constructor(){this.logo=g.default}}class N{constructor(){this.src="https://raw.githubusercontent.com/web-infra-dev/modern.js/main/ANNOUNCEMENT.md",this.fallback="https://modernjs.dev/"}}class y{constructor(){this.name=new v,this.packages=new j,this.assets=new m,this.announcement=new N}}},74966:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(s,{ROUTE_BASENAME:()=>l}),e.exports=(r=s,c(o({},"__esModule",{value:!0}),r));var l="/__devtools"},93549:function(e,t,n){"use strict";n("2382");var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s=(e,t,n)=>(c(e,t,"default"),n&&c(n,t,"default")),l={};e.exports=(r=l,c(o({},"__esModule",{value:!0}),r)),s(l,n("21624"),e.exports),s(l,n("72215"),e.exports),s(l,n("31656"),e.exports),s(l,n("85076"),e.exports),s(l,n("74966"),e.exports)},34070:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(s,{default:()=>l}),e.exports=(r=s,c(o({},"__esModule",{value:!0}),r));var l="data:image/svg+xml;base64,".concat("PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCA0NSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzEzOjUxNDkpIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguODIwNzcgMjAuMjg2OUM3Ljg0NzU5IDE3LjE1NzEgNy45NjgyNiAxMy43ODk0IDkuMTYyOTggMTAuNzM3M0MxMC4zNTc3IDcuNjg1MjggMTIuNTU1NCA1LjEzMDU3IDE1LjM5NDYgMy40OTMyQzE4LjIzMzkgMS44NTU4MyAyMS41NDU4IDEuMjMzMjYgMjQuNzg1OCAxLjcyNzg1QzI4LjAyNTkgMi4yMjI0NSAzMS4wMDEyIDMuODA0NzYgMzMuMjIyNyA2LjIxNDY1QzMyLjY2MTggNi40OTAxMSAzMi4wODY5IDYuNzc2NTQgMzEuNDk4MSA3LjA3Mzk1QzI5LjUzNjggNS4xMTc5MSAyNi45ODU1IDMuODYyODcgMjQuMjM5MSAzLjUwMzFDMjEuNDkyNiAzLjE0MzM0IDE4LjcwNDEgMy42OTg5IDE2LjMwNTIgNS4wODM4MUMxMy45MDYzIDYuNDY4NzIgMTIuMDMwOSA4LjYwNTczIDEwLjk2OTEgMTEuMTY0MUM5LjkwNzI1IDEzLjcyMjQgOS43MTgzNiAxNi41NTk0IDEwLjQzMTYgMTkuMjM2QzkuODc4NjkgMTkuNTg5MyA5LjM0MTc0IDE5LjkzOTYgOC44MjA3NyAyMC4yODY5Wk00My4wMDAxIDMuOTU1NTJDNDIuOTE4NyAzLjkzMzYyIDQyLjgzMTkgMy45NDQ5NyA0Mi43NTg4IDMuOTg3MDVINDIuNzY3OEMzOC41ODAyIDUuODE5NjIgMzQuNDU1NyA3Ljc4NjE5IDMwLjQwMDUgOS44ODMxOEwyMi41MTU4IDYuMzQ2MzlDMjIuMzY2NyA2LjI4MDc2IDIyLjIwNDMgNi4yNTA5MSAyMi4wNDE2IDYuMjU5MjNDMjEuODc4OCA2LjI2NzU1IDIxLjcyMDMgNi4zMTM4IDIxLjU3ODcgNi4zOTQzQzIxLjQzNzkgNi40NzUxNyAyMS4zMTgyIDYuNTg4MDYgMjEuMjI5MyA2LjcyMzgzQzIxLjE0MDMgNi44NTk2IDIxLjA4NDYgNy4wMTQ0MyAyMS4wNjY3IDcuMTc1NzVMMjAuMzA5MiAxMy45ODQzTDE2LjUzNjYgMTIuMzgyNUMxNi4zOTA4IDEyLjMyMDIgMTYuMjMyNSAxMi4yOTI0IDE2LjA3NDIgMTIuMzAxM0MxNS45MTU5IDEyLjMxMDIgMTUuNzYxOCAxMi4zNTU1IDE1LjYyMzggMTIuNDMzOEMxNS40ODU5IDEyLjUxMiAxNS4zNjc5IDEyLjYyMSAxNS4yNzkgMTIuNzUyNEMxNS4xOTAxIDEyLjg4MzcgMTUuMTMyOCAxMy4wMzM4IDE1LjExMTQgMTMuMTkwOUwxNC4yODQzIDE5LjEzNTdDMTAuMTQzMiAyMS43NjEzIDYuMDkxOCAyNC41MzE5IDIuMTM3ODkgMjcuNDQyOEMyLjA3MTk1IDI3LjQ4ODUgMi4wMjU1NyAyNy41NTczIDIuMDA3ODggMjcuNjM1NUMxLjk5MDIgMjcuNzEzOCAyLjAwMjUgMjcuNzk1OCAyLjA0MjM5IDI3Ljg2NTRDMi4wODIyNyAyNy45MzUgMi4xNDY4MiAyNy45ODcxIDIuMjIzMjcgMjguMDExNEMyLjI5OTcyIDI4LjAzNTcgMi4zODI1MiAyOC4wMzA1IDIuNDU1MjggMjcuOTk2N0M5LjYyNTI1IDI0LjgzODMgMTYuNjIxNCAyMS4yOTkyIDIzLjQxNCAxNy4zOTQ2QzMwLjE5MjggMTMuNDYzIDM2Ljc1NjMgOS4xNzEzNSA0My4wNzYyIDQuNTM3OTdDNDMuMTQ5MyA0LjQ5NTg4IDQzLjIwMjYgNC40MjY1IDQzLjIyNDUgNC4zNDUwOEM0My4yNDY0IDQuMjYzNjYgNDMuMjM1IDQuMTc2ODcgNDMuMTkyOSA0LjEwMzgyQzQzLjE1MDkgNC4wMzA3NiA0My4wODE1IDMuOTc3NDIgNDMuMDAwMSAzLjk1NTUyWk0xNi4yOTM5IDE3Ljg3NzJDMTcuNDU4OCAxNy4xNTY3IDE4LjYzMDcgMTYuNDQ3NiAxOS44MDkzIDE1Ljc1TDE2Ljc3MzEgMTQuNDYwNEwxNi4yOTM5IDE3Ljg3NzJaTTIyLjA5MjEgMTQuNDE3OUMyNC4xNTc2IDEzLjIyOTkgMjYuMjQzMSAxMi4wNzY3IDI4LjM0NzkgMTAuOTU4OUwyMi43NTU0IDguNDUxMjRMMjIuMDkyMSAxNC40MTc5Wk0zMy4wNzc5IDIyLjk2MTRDMzQuNDU4IDIwLjg5MjggMzUuMTk0OSAxOC40NjIxIDM1LjE5NTggMTUuOTc1NEMzNS4xOTY0IDE0Ljg5MiAzNS4wNTY1IDEzLjgxMzEgMzQuNzc5NiAxMi43NjU3QzM1LjMzMjUgMTIuNDAyNSAzNS44Njk0IDEyLjA0NzIgMzYuMzkwNCAxMS42OTk4QzM3LjM1NDcgMTQuODI2NSAzNy4yMjg1IDE4LjE4NzkgMzYuMDMyNiAyMS4yMzM1QzM0LjgzNjcgMjQuMjc5MSAzMi42NDIgMjYuODI4MiAyOS44MDc5IDI4LjQ2MzRDMjYuOTczOCAzMC4wOTg2IDIzLjY2ODUgMzAuNzIyOCAyMC40MzMzIDMwLjIzMzlDMTcuMTk4IDI5Ljc0NDkgMTQuMjI0OCAyOC4xNzE3IDEyLjAwMDUgMjUuNzcyMUMxMi41NTM0IDI1LjQ5NjYgMTMuMTI5MyAyNS4yMTAyIDEzLjcyODEgMjQuOTEyOEMxNS40OTM0IDI2LjY2NDEgMTcuNzM3NSAyNy44NTM4IDIwLjE3NzggMjguMzMxOUMyMi42MTggMjguODEgMjUuMTQ1MiAyOC41NTUyIDI3LjQ0MDggMjcuNTk5NEMyOS43MzY1IDI2LjY0MzcgMzEuNjk3OSAyNS4wMjk5IDMzLjA3NzkgMjIuOTYxNFpNNDEuOTEgMjQuMzU3NkM0Mi4xNTMxIDIzLjk5MzcgNDIuMjgyOSAyMy41NjU5IDQyLjI4MjkgMjMuMTI4M0M0Mi4yODI5IDIyLjU0MTUgNDIuMDQ5NyAyMS45Nzg3IDQxLjYzNDggMjEuNTYzN0M0MS4yMTk4IDIxLjE0ODggNDAuNjU3MSAyMC45MTU3IDQwLjA3MDIgMjAuOTE1N0MzOS42MzI2IDIwLjkxNTcgMzkuMjA0OCAyMS4wNDU0IDM4Ljg0MSAyMS4yODg2QzM4LjQ3NzEgMjEuNTMxNyAzOC4xOTM1IDIxLjg3NzMgMzguMDI2IDIyLjI4MTZDMzcuODU4NSAyMi42ODU5IDM3LjgxNDcgMjMuMTMwOCAzNy45MDAxIDIzLjU2QzM3Ljk4NTUgMjMuOTg5MiAzOC4xOTYyIDI0LjM4MzQgMzguNTA1NiAyNC42OTI5QzM4LjgxNTEgMjUuMDAyMyAzOS4yMDk0IDI1LjIxMzEgMzkuNjM4NiAyNS4yOTg0QzQwLjA2NzggMjUuMzgzOCA0MC41MTI3IDI1LjM0IDQwLjkxNyAyNS4xNzI1QzQxLjMyMTMgMjUuMDA1IDQxLjY2NjggMjQuNzIxNCA0MS45MSAyNC4zNTc2Wk02Ljk4NTM4IDcuODM3NDNDNi45ODUzOCA4LjA1NDg5IDYuOTIwODQgOC4yNjc0NSA2Ljc5OTk3IDguNDQ4MjJDNi42NzkwOSA4LjYyODk5IDYuNTA3MzMgOC43Njk4MyA2LjMwNjM3IDguODUyOTFDNi4xMDU0MSA4LjkzNTk5IDUuODg0MzEgOC45NTc1OCA1LjY3MTA4IDguOTE0OTNDNS40NTc4NCA4Ljg3MjI5IDUuMjYyMDMgOC43NjczNCA1LjEwODQ4IDguNjEzMzdDNC45NTQ5MiA4LjQ1OTM5IDQuODUwNTEgOC4yNjMzMSA0LjgwODQ1IDguMDQ5OTZDNC43NjYzOSA3LjgzNjYyIDQuNzg4NiA3LjYxNTU4IDQuODcyMjIgNy40MTQ4NUM0Ljk1NTg1IDcuMjE0MTIgNS4wOTcxNSA3LjA0MjcyIDUuMjc4MjUgNi45MjIzNEM1LjQ1OTM0IDYuODAxOTYgNS42NzIwNyA2LjczODAxIDUuODg5NTMgNi43Mzg2QzYuMDMzNjkgNi43Mzg2IDYuMTc2NDQgNi43NjcwNCA2LjMwOTU5IDYuODIyM0M2LjQ0Mjc0IDYuODc3NTYgNi41NjM2NyA2Ljk1ODU1IDYuNjY1NDYgNy4wNjA2M0M2Ljc2NzI2IDcuMTYyNyA2Ljg0NzkyIDcuMjgzODYgNi45MDI4MSA3LjQxNzE1QzYuOTU3NzEgNy41NTA0NSA2Ljk4NTc3IDcuNjkzMjcgNi45ODUzOCA3LjgzNzQzWiIgZmlsbD0iIzRFQ0FGRiIvPjwvZz48L3N2Zz4=")},31656:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e};e.exports=(r={},c(o({},"__esModule",{value:!0}),r))},21624:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e};e.exports=(r={},c(o({},"__esModule",{value:!0}),r))},85076:function(e,t,n){"use strict";var r,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t){var c=function(u){!a.call(e,u)&&u!==n&&o(e,u,{get:()=>t[u],enumerable:!(r=i(t,u))||r.enumerable})};for(var s of u(t))c(s)}return e},s={};function l(e,t){if(!t)return e;var n=e;for(var r of t)n=n.replace(r.replace,r.to);return n}((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(s,{applyShortenAliases:()=>l}),e.exports=(r=s,c(o({},"__esModule",{value:!0}),r))},58266:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return D},createApp:function(){return h}});var r,o=n("92255"),i=n("59166"),u=n("2382"),a=n("19672"),c=n("17028"),s=n("40862"),l=n("86834"),f=n("5872"),d=n.n(f),M=n("13266"),p=n.n(M),g=n("63415"),v=n("59535"),j=n("4513"),m=n("13063"),N=new WeakMap,y=function(e){return{loaderManager:(0,m.createLoaderManager)({}),runner:e,isBrowser:!0,routeManifest:"undefined"!=typeof window&&window[g.ROUTE_MANIFEST]}},h=function(e){var t=e.plugins,n=e.props,r=j.runtime.clone();return r.usePlugin.apply(r,(0,c._)(t)),function(e){var t=r.init(),o=function(n){var r,o=d().createElement(e||d().Fragment,e?(0,u._)({},n):null,e?n.children:d().cloneElement(n.children,(0,u._)({},null===(r=n.children)||void 0===r?void 0:r.props,n))),i=(0,f.useContext)(v.RuntimeReactContext);return t.provide({element:o,props:(0,u._)({},n),context:i},{onLast:function(e){return e.element}})};e&&p()(o,e);var i=t.hoc({App:o},{onLast:function(e){var r=e.App;return p()(function(e){var o=e.context,i=(0,a._)(e,["context"]),c=o;!(null==c?void 0:c.runner)&&(c=y(t),t.init({context:c},{onLast:function(e){var t,n=e.context;return null==r?void 0:null===(t=r.init)||void 0===t?void 0:t.call(r,n)}}));var s=(0,u._)({},i,n);return(0,l.jsx)(v.RuntimeReactContext.Provider,{value:c,children:(0,l.jsx)(r,(0,u._)({},s))})},r)}});return N.set(i,t),i}};var D=(r=(0,o._)(function(e,t,n,r){var o,a,c,l,f,M,p,g,v,j,D,x,O,I,T;return(0,s._)(this,function(s){switch(s.label){case 0:var z;if(o=e,!(a=N.get(o))&&(o=h({plugins:[]})(o),a=N.get(o)),c=y(a),l=function(e){return a.init({context:e},{onLast:function(e){var t,n=e.context;return null==o?void 0:null===(t=o.init)||void 0===t?void 0:t.call(o,n)}})},!t)return[2,d().createElement(o,{context:c})];if(!("undefined"!=typeof window&&"nodejs"!==window.name))return[3,4];if(!("string"==typeof(z=t)||"undefined"!=typeof HTMLElement&&(0,i._)(z,HTMLElement)))return[3,2];return v=Object.keys(g=(null==(p=window._SSR_DATA)?void 0:null===(f=p.data)||void 0===f?void 0:f.loadersData)||{}).reduce(function(e,t){var n=g[t];return!1!==n.loading?e:(e[t]=n,e)},{}),Object.assign(c,(0,u._)({loaderManager:(0,m.createLoaderManager)(v,{skipStatic:!0})},p?{ssrContext:null==p?void 0:p.context}:{})),c.initialData=null==p?void 0:null===(M=p.data)||void 0===M?void 0:M.initialData,[4,l(c)];case 1:if((j=s.sent())&&(c.initialData=j),D="string"!=typeof t?t:document.getElementById(t||"root"),!r)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return x=function(e){if(n)n.render(e);else if(r.createRoot)r.createRoot(D).render(e);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method")},O=function(e,t){if(!r.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");r.hydrateRoot(D,e)},[2,a.client({App:o,context:c,ModernRender:x,ModernHydrate:O},{onLast:function(e){var t=e.App;x(d().createElement(t,{context:c}))}})];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(c,{ssrContext:t,isBrowser:!1,loaderManager:(0,m.createLoaderManager)({},{skipNonStatic:t.staticGenerate,skipStatic:!t.staticGenerate})}),I=function(e){if("undefined"!=typeof Response&&(0,i._)(e,Response)&&e.status>=300&&e.status<=399){var t=e.status,n=e.headers.get("Location")||"/",r=c.ssrContext;return r&&(r.res.statusCode=t,r.res.setHeader("Location",n),r.redirection=r.redirection||{},r.redirection.status=t,r.redirection.url=n),!0}return!1},[4,l(c)];case 5:if(T=s.sent(),!I(T))return c.initialData=T,[2,a.server({App:o,context:c})];s.label=6;case 6:return[2]}})}),function(e,t,n,o){return r.apply(this,arguments)})},25543:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o.RuntimeReactContext}});var r=n("58266");n.es(r,t);var o=n("59535"),i=n("15413");n.es(i,t)},13063:function(e,t,n){"use strict";n.r(t),n.d(t,{createLoaderManager:function(){return p}});var r,o,i=n("92255"),u=n("59166"),a=n("85984"),c=n("17028"),s=n("40862"),l=n("24546"),f=n.n(l),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var M=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=0,f=r.data,d=r.error,M=!1,p=new Set;var g=(t=(0,i._)(function(){return(0,s._)(this,function(e){return a||1===l?[2,n]:(l=1,j(),[2,n=o().then(function(e){f=e,d=null,l=2}).catch(function(e){d=e,f=null,l=3}).finally(function(){n=null,M=!0,j()})])})}),function(){return t.apply(this,arguments)}),v=function(){return{loading:!M&&1===l,reloading:M&&1===l,data:f,error:(0,u._)(d,Error)?"".concat(d.message):d,_error:d}},j=function(){(0,c._)(p).forEach(function(e){e(l,v())})};return{get result(){return v()},get promise(){return n},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:g}},p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,c=n.skipNonStatic,l=void 0!==c&&c,f=new Map,p=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value.promise;if((0,u._)(i,Promise))return!0}}catch(e){t=!0,n=e}finally{try{!e&&null!=o.return&&o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,i._)(function(){var e,t,n,r,o,i,c,l,d,M;return(0,s._)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)l=(c=(0,a._)(i.value,2))[0],M=(d=c[1]).promise,(0,u._)(M,Promise)&&e.push([l,d])}catch(e){n=!0,r=e}finally{try{!t&&null!=o.return&&o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,a._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=p(n.params),i=f.get(r),u=n._cache;if(!i||!1===u){var a=l&&!n.static,c=o&&n.static;i=M(r,void 0!==e[r]?e[r]:{data:n.initialData},t,a||c),f.set(r,i)}return r},get:function(e){return f.get(e)}}}},4513:function(e,t,n){"use strict";n.r(t),n.d(t,{runtime:function(){return l}});var r=n("15413"),o=(0,r.createPipeline)(),i=(0,r.createPipeline)(),u=(0,r.createAsyncPipeline)(),a=(0,r.createAsyncPipeline)(),c=(0,r.createAsyncPipeline)(),s={hoc:o,provide:i,client:u,server:a,init:c,pickContext:(0,r.createPipeline)()},l=(0,r.createManager)(s);l.createPlugin},46606:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return r.bootstrap},createApp:function(){return r.createApp}});var r=n("25543")},39934:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.default}});var r=n("90979");n.es(r,t)},47534:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultNotFound:function(){return o}});var r=n("86834"),o=function(){return(0,r.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},21446:function(e,t,n){"use strict";function r(){return null}n.r(t),n.d(t,{default:function(){return r}})},85371:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return h},NavLink:function(){return D}});var r=n("92255"),o=n("2382"),i=n("19672"),u=n("85984"),a=n("40862"),c=n("86834"),s=n("5872"),l=n.n(s),f=n("78771"),d=n("25543");function M(e,t){return function(n){null==e||e(n),!n.defaultPrevented&&t(n)}}var p=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function g(){return(g=(0,r._)(function(e,t){var r,o;return(0,a._)(this,function(i){switch(i.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(String(e))}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var v=function(e,t){var n=window.location,r=n.protocol,o=n.host,i=new URL(e,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",t),i.searchParams.append("__ssrDirect","true"),i},j=function(e,t,n){var r,o=e.id;return r=v("/"===n?t:"".concat(n).concat(t),o).toString(),(0,c.jsx)("link",{rel:"prefetch",as:"fetch",href:r},r)},m=function(e){var t=e.path,n=t.pathname,r=(0,s.useContext)(d.RuntimeReactContext),o=r.routeManifest,i=r.routes,u=(o||{}).routeAssets,a=Array.isArray(i)?(0,f.matchRoutes)(i,n):[];return(Array.isArray(a)&&u&&(null==a||a.forEach(function(e){return function(e,t){return g.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,c.jsx)(N,{matches:a,path:t,routeManifest:o}):null},N=function(e){var t=e.matches,n=e.path,r=e.routeManifest,o=n.pathname,i=n.search,u=n.hash,a=(0,f.useMatches)(),l=(0,f.useHref)("/"),d=(0,s.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),c=new URL(o+i+u,window.origin),s=e.route.shouldRevalidate({currentUrl:r,currentParams:(null===(n=a[0])||void 0===n?void 0:n.params)||{},nextUrl:c,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof s)return s}var l=a[t];return!!(!l||l.id!==e.route.id||l.pathname!==e.pathname||l.pathname.endsWith("*")&&l.params["*"]!==e.params["*"])||!1}).map(function(e){return j(e.route,o,l)})},[t,o,r]);return(0,c.jsx)(c.Fragment,{children:d})},y=function(e){return l().forwardRef(function(t,r){var a,s,d,g,v,j,N,y,h,D,x,O,I,T,z,w=t.to,A=t.prefetch,b=(0,i._)(t,["to","prefetch"]),L="string"==typeof w&&p.test(w);var E=(0,u._)((a=void 0===A?"none":A,s=b,g=(d=(0,u._)(l().useState(!1),2))[0],v=d[1],N=(j=(0,u._)(l().useState(!1),2))[0],y=j[1],h=s.onFocus,D=s.onBlur,x=s.onMouseEnter,O=s.onMouseLeave,I=s.onTouchStart,l().useEffect(function(){"render"===a&&y(!0)},[a]),T=function(){"intent"===a&&v(!0)},z=function(){"intent"===a&&(v(!1),y(!1))},l().useEffect(function(){if(g){var e=setTimeout(function(){y(!0)},100);return function(){clearTimeout(e)}}},[g]),[N,{onFocus:M(h,T),onBlur:M(D,z),onMouseEnter:M(x,T),onMouseLeave:M(O,z),onTouchStart:M(I,T)}]),2),_=E[0],S=E[1],k=(0,f.useResolvedPath)(w);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(e,(0,o._)({ref:r,to:w},b,S)),_&&n.e&&!L?(0,c.jsx)(m,{path:k}):null]})})},h=y(f.Link);h.displayName="Link";var D=y(f.NavLink);D.displayName="NavLink"},68705:function(e,t,n){"use strict";n.r(t),n.d(t,{modifyRoutes:function(){return r}});var r=(0,n("15413").createWaterfall)()},90979:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return o.Link},NavLink:function(){return o.NavLink},Outlet:function(){return u.Outlet},createShouldRevalidate:function(){return i.createShouldRevalidate},default:function(){return a},handleRouteModule:function(){return i.handleRouteModule},handleRouteModuleError:function(){return i.handleRouteModuleError},matchPath:function(){return u.matchPath},matchRoutes:function(){return u.matchRoutes},redirect:function(){return u.redirect},useLocation:function(){return u.useLocation},useMatches:function(){return u.useMatches},useNavigate:function(){return u.useNavigate},useParams:function(){return u.useParams}});var r=n("29552"),o=n("85371"),i=n("83366"),u=n("78771"),a=r.routerPlugin},29552:function(e,t,n){"use strict";n.r(t),n.d(t,{routerPlugin:function(){return j}});var r=n("2382"),o=n("43382"),i=n("17028"),u=n("86834"),a=n("5872"),c=n("78771"),s=n("13266"),l=n.n(s),f=n("89736"),d=n("25543"),M=n("68705"),p=n("78923"),g={routes:[]},v=!0,j=function(e){var t=e.serverBase,n=void 0===t?[]:t,s=e.supportHtml5History,v=void 0===s||s,j=e.basename,m=void 0===j?"":j,N=e.routesConfig,y=e.createRoutes,h=[];return g=N,window._SERVER_DATA=(0,f.parsedJSONFromElement)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:M.modifyRoutes},setup:function(e){return{init:function(e,t){var n=e.context;return n.router={useMatches:c.useMatches,useLocation:c.useLocation},Object.defineProperty(n,"routes",{get:function(){return h}}),t({context:n})},hoc:function(t,s){var f,M=t.App;if(!g&&!y)return s({App:M});var j=(f=function(t){var u,s,l=(null===(s=window._SERVER_DATA)||void 0===s?void 0:s.router.baseUrl)||(u=location.pathname,n.find(function(e){return 0===u.search(e)})||"/"),f="/"===l?(0,p.urlJoin)(l,m):l,M=window._ROUTER_DATA,j=(0,a.useContext)(d.RuntimeReactContext),N=j.unstable_getBlockNavState;return(0,a.useMemo)(function(){(null==M?void 0:M.errors)&&(M=(0,o._)((0,r._)({},M),{errors:(0,p.deserializeErrors)(M.errors)})),h=y?y():(0,c.createRoutesFromElements)((0,p.renderRoutes)({routesConfig:g,props:t})),h=e.useHookRunners().modifyRoutes(h);var n=v?(0,c.createBrowserRouter)(h,{basename:f,hydrationData:M}):(0,c.createHashRouter)(h,{basename:f,hydrationData:M}),u=n.subscribe;return n.subscribe=function(e){return u(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(N&&N()))return e.apply(void 0,(0,i._)(n))})},Object.defineProperty(j,"remixRouter",{get:function(){return n},configurable:!0}),n},[g,t,f,M,N])},function(e){var t=f(e);return(0,u.jsx)(M,(0,o._)((0,r._)({},e),{children:(0,u.jsx)(c.RouterProvider,{router:t})}))});return(M&&(j=l()(j,M)),null==N?void 0:N.globalApp)?s({App:l()(j,N.globalApp)}):s({App:j})},pickContext:function(e,t){var n=e.context,i=e.pickedContext,u=n.remixRouter;if(!u)return t({context:n,pickedContext:i});var a={navigate:u.navigate,get location(){return u.state.location}};return t({context:n,pickedContext:(0,o._)((0,r._)({},i),{router:a})})}}}}}},83366:function(e,t,n){"use strict";n.r(t),n.d(t,{createShouldRevalidate:function(){return o},handleRouteModule:function(){return i},handleRouteModuleError:function(){return u}});var r=n("63415"),o=function(e){return function(t){var n,o,i=null===(o=window)||void 0===o?void 0:null===(n=o[r.ROUTE_MODULES])||void 0===n?void 0:n[e];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(t):t.defaultShouldRevalidate}},i=function(e,t){return"undefined"!=typeof document&&(window[r.ROUTE_MODULES][t]=e),e},u=function(e){return console.error(e),null}},78923:function(e,t,n){"use strict";n.r(t),n.d(t,{deserializeErrors:function(){return p},renderRoutes:function(){return d},urlJoin:function(){return M}});var r=n("2382"),o=n("19672"),i=n("85984"),u=n("86834"),a=n("78771"),c=n("69444"),s=n("48747"),l=n("47534"),f=n("21446");function d(e){var t=e.routesConfig,n=e.props,i=e.ssrMode,c=e.reporter;if(!t)return null;var d=t.routes,M=t.globalApp;return d?function(e,t){var n=t.globalApp,i=t.ssrMode,c=t.props,d=t.reporter,M=function(e){var t=e.Component,i=(0,o._)(e,["Component"]);return n?(0,u.jsx)(n,(0,r._)({Component:t},i)):(0,u.jsx)(t,(0,r._)({},i))},p=[],g=!0,v=!1,j=void 0;try{for(var m,N=e[Symbol.iterator]();!(g=(m=N.next()).done);g=!0){var y=m.value;if("nested"===y.type){var h=(0,s.renderNestedRoute)(y,{DeferredDataComponent:"stream"===i?f.default:void 0,props:c,reporter:d});p.push(h)}else{var D=(0,u.jsx)(a.Route,{path:y.path,element:(0,u.jsx)(M,{Component:y.component})},y.path);p.push(D)}}}catch(e){v=!0,j=e}finally{try{!g&&null!=N.return&&N.return()}finally{if(v)throw j}}return p.push((0,u.jsx)(a.Route,{path:"*",element:(0,u.jsx)(l.DefaultNotFound,{})},"*")),p}(d,{globalApp:M,ssrMode:i,props:n,reporter:c}):null}var M=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=RegExp("".concat("/","{1,}"),"g");return function(e){var t=e;return t&&"string"==typeof t?(t.startsWith(".")&&(t=t.slice(1)),!t.startsWith("/")&&(t="/".concat(t)),t.endsWith("/")&&"/"!==t&&(t=t.slice(0,t.length-1)),t):t}(t.join("/").replace(r,"/"))};function p(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,u=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=(0,i._)(a.value,2),f=l[0],d=l[1];if(d&&"RouteErrorResponse"===d.__type)n[f]=new c.UNSAFE_ErrorResponseImpl(d.status,d.statusText,d.data,!0===d.internal);else if(d&&"Error"===d.__type){var M=Error(d.message);M.stack=d.stack,n[f]=M}else n[f]=d}}catch(e){o=!0,u=e}finally{try{!r&&null!=s.return&&s.return()}finally{if(o)throw u}}return n}},59535:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o}});var r=n("5872"),o=(0,r.createContext)({});(0,r.createContext)({})},15413:function(e,t,n){"use strict";n.r(t),n.d(t,{createAsyncPipeline:function(){return d},createManager:function(){return S},createPipeline:function(){return f},createWaterfall:function(){return g}});var r=n("39759"),o=n("2382"),i=n("17028"),u=n("43382"),a=n("76492"),c=function(e){var t=function(n,r){return e(n,r,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return t(n+1,e)})};return{start:function(e){return t(0,e)},dispatch:t}},s=Symbol.for("MODERN_PIPELINE"),l=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Middleware"))},f=function(){var e,t=[],n=function(e){return c(function(n,r,o){if(n>=t.length){if(e)return e(r);throw Error("Expect returning a value, but all middlewares just calling next()")}return t[n](r,o)})},o=n(),u=function(e,t){var r;return((r=t)?n(null==r?void 0:r.onLast):o).start(e)},a=(e={},(0,r._)(e,s,!0),(0,r._)(e,"use",function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.push.apply(t,(0,i._)(n.map(l))),a}),(0,r._)(e,"run",u),(0,r._)(e,"middleware",function(e,t){return u(e,{onLast:t})}),e);return a},d=function(){var e=f();return(0,o._)({},e)},M=Symbol.for("MODERN_WATERFALL"),p=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Brook or { brook: Brook }"))},g=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(p).map(v))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},M,!0));return t},v=function(e){return function(t,n){return n(e(t))}},j=Symbol.for("MODERN_ASYNC_WATERFALL"),m=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a AsyncBrook or { brook: AsyncBrook }"))},N=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(m).map(y))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},j,!0));return t},y=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return n(e)})}},h=Symbol.for("MODERN_WORKFLOW"),D=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(x))),t},run:function(t){return e.run(t,{onLast:function(){return[]}}).filter(Boolean)}},h,!0));return t},x=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},O=Symbol.for("MODERN_PARALLEL_WORKFLOW"),I=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({run:function(t){return Promise.all(e.run(t,{onLast:function(){return[]}})).then(function(e){return e.filter(Boolean)})},use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(T))),t}},O,!0));return t},T=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},z=Symbol.for("MODERN_ASYNC_WORKFLOW"),w=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(A))),t},run:function(t){var n,r=e.run(t,{onLast:function(){return[]}});return(n=r)&&"function"==typeof n.then?r.then(function(e){return e.filter(Boolean)}):r.filter(Boolean)}},z,!0));return t},A=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return Promise.resolve(n(t)).then(function(t){return[e].concat((0,i._)(t))})})}},b=function(e){},L=function(e){return null!==e&&"object"==typeof e},E="SYNC_PLUGIN_SYMBOL",_={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},S=function(e,t){var n,r=0,i=(0,o._)({},e),c=function(){return n},s=function(e){i=(0,o._)({},e,i)},l=function(e){var t,n;return L(e)&&(t=e,n=E,t.hasOwnProperty(n))&&e[E]===E},f=(0,u._)((0,o._)({},t),{useHookRunners:c}),d=function(e){var t=[],M=function(e){var n,r;if(n=t,r=e,!n.some(function(e){return e.name===r.name}))t.push((0,o._)({},e))},p=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(e){if(l(e))M(e);else if("function"==typeof e){var t=e();M(g(t.setup,t))}else L(e)&&M(g(e.setup,e))}),v},g=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===(e=n.usePlugins)||void 0===e?void 0:e.length)&&n.usePlugins.forEach(function(e){p(g(e.setup,e))}),n.registerHook&&s(n.registerHook),(0,u._)((0,o._)((0,u._)((0,o._)({},_),{name:"No.".concat(r++," plugin")}),n),{SYNC_PLUGIN_SYMBOL:E,setup:t})},v={createPlugin:g,isPlugin:l,usePlugin:p,init:function(){var r,u=(r=t,(0,a.pluginDagSort)(r.slice())),c=(0,o._)({},f,e);return b(u),n=k(u.map(function(e){return e.setup(c)}),i)},clear:function(){t=[]},run:function(e){return e()},registerHook:s,useRunner:c,clone:d};return v};return d()},k=function(e,t){var n={},r=R(t);if(t){var i=function(t){e.forEach(function(e){(null==e?void 0:e[t])&&r[t].use(e[t])}),n[t]=function(e,n){return r[t].run(e,(0,o._)({},n))}};for(var u in r)i(u)}return n},C=function(e){var t,n,r,o,i,u;if(null==(t=e)?void 0:t[M])return g();if(null==(n=e)?void 0:n[j])return N();if(null==(r=e)?void 0:r[h])return D();if(null==(o=e)?void 0:o[z])return w();if(null==(i=e)?void 0:i[O])return I();if(null==(u=e)?void 0:u[s])return f();throw Error("Unknown hook: ".concat(e))},R=function(e){if(!e)return e;var t={};for(var n in e)t[n]=C(e[n]);return t}},48747:function(e,t,n){"use strict";n.r(t);var r=n("8921");n.es(r,t)},8921:function(e,t,n){"use strict";n.r(t),n.d(t,{renderNestedRoute:function(){return d}});var r=n("92255"),o=n("2382"),i=n("43382"),u=n("40862"),a=n("86834"),c=n("5872"),s=n("84026"),l=n("63415"),f=n("67791"),d=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=e.children,g=e.index,v=e.id,j=e.component,m=e.isRoot,N=e.lazyImport,y=e.config,h=e.handle,D=n.parent,x=n.DeferredDataComponent,O=n.props,I=void 0===O?{}:O,T=n.reporter,z={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:function(e,t){var n,o=e.loader;if(!o)return function(){return"function"==typeof e.lazyImport&&e.lazyImport(),null};return n=(0,r._)(function(n){var r,i,a;return(0,u._)(this,function(u){switch(u.label){case 0:return"function"==typeof e.lazyImport&&e.lazyImport(),r=(0,f.time)(),[4,o(n)];case 1:return i=u.sent(),a=r(),"undefined"==typeof document&&t&&(null==t||t.reportTiming("".concat(l.LOADER_REPORTER_NAME,"-").concat(e.id),a)),[2,i]}})}),function(e){return n.apply(this,arguments)}}(e,T),action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,o._)({},h,"object"==typeof y?null==y?void 0:y.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error){var w=(0,a.jsx)(e.error,{});z.errorElement=w}if(j){if((null==D?void 0:D.loading)&&N){var A=D.loading;t=M(j)?(0,a.jsx)(j,{fallback:(0,a.jsx)(A,{})}):(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(A,{}),children:(0,a.jsx)(j,{})})}else t=M(j)&&N?(0,a.jsx)(j,{}):m?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j,(0,o._)({},I)),"undefined"==typeof document&&x&&(0,a.jsx)(x,{nonce:null==I?void 0:I.nonce})]}):N?(0,a.jsx)(c.Suspense,{fallback:null,children:(0,a.jsx)(j,{})}):(0,a.jsx)(j,{})}else e.loading=null==D?void 0:D.loading,z.element=(0,a.jsx)(s.Outlet,{});t&&(z.element=t);var b=null==p?void 0:p.map(function(t){return d(t,{parent:e,reporter:T})});return g?(0,a.jsx)(s.Route,(0,i._)((0,o._)({},z),{index:!0}),v):(0,a.jsx)(s.Route,(0,i._)((0,o._)({},z),{index:!1,children:b}),v)};function M(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}},89736:function(e,t,n){"use strict";n.r(t),n.d(t,{parsedJSONFromElement:function(){return r}});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}}},69444:function(e,t,n){"use strict";n.r(t);var r=n("30368");n.es(r,t)},78771:function(e,t,n){"use strict";n.r(t);var r=n("84026");n.es(r,t)},67791:function(e,t,n){"use strict";n.r(t),n.d(t,{time:function(){return u}});var r=n("85984");function o(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var i=function(e){var t=(0,r._)(o(e),2);return 1e3*t[0]+t[1]/1e6},u=function(){var e=o();return function(){return i(e)}}},63415:function(e,t,n){"use strict";n.r(t),n.d(t,{LOADER_REPORTER_NAME:function(){return i},ROUTE_MANIFEST:function(){return r},ROUTE_MODULES:function(){return o}});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},76492:function(e,t,n){"use strict";n.r(t),n.d(t,{pluginDagSort:function(){return r}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"pre",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"post",o=function(n){var r=e.find(function(e){return"string"==typeof n?e[t]===n:e[t]===n[t]});if(!r)throw Error("plugin ".concat(n," not existed"));return r},i=[];e.forEach(function(u){var a,c;null===(a=u[n])||void 0===a||a.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(n)[t],o(u)[t]])}),null===(c=u[r])||void 0===c||c.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(u)[t],o(n)[t]])})});for(var u=e.filter(function(e){return!i.find(function(n){return n[1]===e[t]})}),a=[];u.length;)!function(){var n=u.shift();a.push(o(n)),i=i.filter(function(e){return e[0]!==o(n)[t]}),u=e.filter(function(e){return!a.find(function(n){return n[t]===e[t]})}).filter(function(e){return!i.find(function(n){return n[1]===e[t]})})}();if(i.length){var c={};throw i.forEach(function(e){c[e[0]]=!0,c[e[1]]=!0}),Error("plugins dependencies has loop: ".concat(Object.keys(c).join(",")))}return a}},62862:function(e,t,n){"use strict";e.exports={connector:"connector-_43720",link:"link-_26ee2"}},39118:function(e,t,n){"use strict";e.exports={tooltip:"tooltip-ece352"}},18372:function(e,t,n){"use strict";e.exports={breadcrumbs:"breadcrumbs-_6b38a",container:"container-_7aa7d","fading-mask":"fading-mask-d5651b",fadingMask:"fading-mask-d5651b",inner:"inner-e0e4a8","inner-right":"inner-right-c4d5b6",innerRight:"inner-right-c4d5b6",navigator:"navigator-bd780c","tab-button":"tab-button-_97258",tabButton:"tab-button-_97258","tab-button-inner":"tab-button-inner-_2887d",tabButtonInner:"tab-button-inner-_2887d",wrapper:"wrapper-_97d72"}},94396:function(e,t,n){},78097:function(e,t,n){"use strict";n.r(t),n("95818"),n("15787"),n("62940"),n("31401"),n("20578"),n("72595"),n("71614"),n("57762"),n("53049"),n("59890"),n("52489"),n("37179"),n("45059"),n("48759"),n("7783"),n("20964"),n("74366"),n("14078"),n("10029"),n("21992"),n("92271"),n("83318"),n("92111"),n("72656"),n("71851"),n("5026"),n("87361"),n("54957"),n("52027"),n("48668"),n("42160"),n("36480"),n("12577"),n("16997"),n("64045"),n("71217"),n("29640"),n("11288"),n("91809"),n("43990"),n("41484"),n("41910"),n("18840"),n("79956"),n("27364"),n("43308"),n("87295"),n("60315"),n("86876"),n("59424"),n("97219"),n("3712"),n("44117"),n("45434"),n("75460"),n("44503"),n("76383"),n("41195"),n("4331"),n("5780"),n("51826"),n("2392"),n("70157"),n("80495"),n("87313"),n("56273"),n("75069"),n("3091"),n("8256"),n("65244"),n("31867"),n("56821"),n("12035"),n("26249"),n("22584"),n("57497"),n("56221"),n("25283"),n("44913"),n("43743"),n("46911"),n("98617"),n("75190"),n("89765"),n("2913"),n("71242"),n("47062"),n("5377"),n("19971"),n("75779"),n("36800"),n("79148"),n("99803"),n("84036"),n("76728"),n("26548"),n("54615"),n("16982"),n("67393"),n("17781"),n("83418"),n("92417"),n("29267"),n("75182"),n("51297"),n("5732"),n("80907"),n("24638"),n("25983"),n("12620"),n("42393"),n("11935"),n("31938"),n("42542"),n("29910"),n("97630"),n("1016"),n("31922"),n("76739"),n("66354"),n("14942"),n("66066"),n("71829"),n("59186"),n("81660"),n("48053"),n("76959"),n("53183"),n("8532"),n("6868"),n("71859"),n("5574"),n("36825"),n("93567"),n("3200"),n("3238"),n("21862"),n("69660"),n("33350"),n("45661"),n("62323"),n("25221"),n("71510"),n("5258"),n("52348"),n("63305"),n("82997"),n("64667"),n("76544"),n("72499"),n("4600"),n("7229"),n("78394"),n("71874"),n("54626"),n("11057"),n("76074"),n("54925"),n("8254"),n("76805"),n("98846"),n("84691"),n("49191"),n("50558"),n("18031"),n("92816"),n("53423"),n("10166"),n("88849"),n("99885"),n("83323"),n("57101"),n("68883"),n("51104"),n("14218"),n("43421"),n("53116"),n("66923"),n("68961"),n("45259"),n("2531"),n("74814"),n("80401"),n("58627"),n("92798"),n("97748"),n("34999"),n("25911"),n("94384"),n("15056"),n("86706"),n("48373"),n("96709"),n("82176"),n("82495"),n("44477"),n("79944"),n("97461"),n("98451"),n("31119"),n("92881"),n("85304"),n("14182"),n("58922"),n("15919"),n("55723"),n("85373"),n("61554"),n("42634"),n("34414"),n("94117"),n("84733"),n("40184"),n("52450"),n("23101"),n("80779"),n("52823"),n("37799"),n("25837"),n("50375"),n("18001"),n("33059"),n("23566"),n("76270"),n("64983"),n("80072"),n("79061"),n("35397"),n("96746"),n("76462"),n("37850"),n("68590"),n("1733"),n("39779"),n("51558"),n("5794"),n("92265"),n("79914"),n("29294"),n("32451"),n("26743"),n("26579"),n("41773"),n("75281"),n("76682"),n("49985"),n("42067"),n("93220"),n("7549"),n("99623"),n("72814"),n("52253"),n("93625"),n("92180"),n("154"),n("77904"),n("76179"),n("1587"),n("39177"),n("45109"),n("1336"),n("78136"),n("7005"),n("84960"),n("32642"),n("99149"),n("29814"),n("75870"),n("71571"),n("77313"),n("95577"),n("72340"),n("20995"),n("1254"),n("84594"),n("37806"),n("33132"),n("83367"),n("90602"),n("52400"),n("84518"),n("27093"),n("44904"),n("65272"),n("15262"),n("65308"),n("70241"),n("17905"),n("39022"),n("34353"),n("49128"),n("72104"),n("1676"),n("50882")},80161:function(e,t,n){"use strict";n.r(t),window.__assetPrefix__="/__devtools"},69222:function(e,t,n){"use strict";n.r(t),n.d(t,{Breadcrumbs:function(){return M}});var r=n("2382"),o=n("43382"),i=n("86834");n("5872");var u=n("52493"),a=n.n(u),c=n("83982"),s=n("60441"),l=n("39934"),f=n("62862"),d=n("52519"),M=e=>{var t=[],n=[];for(var u of(0,l.useMatches)()){var M=a().get(u,"handle.breadcrumb");if(M){for(var p of a().castArray(M).filter(a().isObject))if("title"in p){var g="pathname"in p&&a().isString(p.pathname)?p.pathname:u.pathname;n.push({title:p.title,pathname:g,id:u.id})}}}for(var[v,j]of Object.entries(n)){var m=[j.id,j.pathname,v];t.push((0,i.jsx)(d.Link,{color:"gray",size:"2",to:j.pathname,children:j.title},m.join("_"))),j!==n.at(-1)&&(m.push("#connector"),t.push((0,i.jsx)(s.ChevronRightIcon,{className:f.connector},m.join("_"))))}return(0,i.jsx)(c.Flex,(0,o._)((0,r._)({align:"center",height:"8",gap:"1",px:"4"},e),{children:t}))}},52519:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s}});var r=n("2382"),o=n("43382"),i=n("19672"),u=n("86834"),a=n("39934"),c=n("83982"),s=e=>{var{to:t,children:n}=e,s=(0,i._)(e,["to","children"]);return(0,u.jsx)(c.Link,(0,o._)((0,r._)({},s),{asChild:!0,children:(0,u.jsx)(a.Link,{to:t,children:n})}))}},42735:function(e,t,n){"use strict";n.r(t),n.d(t,{SelectLink:function(){return u}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934"),u=e=>{var{items:t}=e,n=(0,i.useNavigate)(),u=(0,i.useLocation)(),a=t.find(e=>(0,i.matchPath)(e.to,u.pathname));return(0,r.jsxs)(o.Select.Root,{size:"1",value:null==a?void 0:a.to,onValueChange:n,children:[(0,r.jsx)(o.Select.Trigger,{}),(0,r.jsx)(o.Select.Content,{position:"popper",children:t.map(e=>{var{title:t,to:n}=e;return(0,r.jsx)(o.Select.Item,{value:n,children:t},n)})})]})}},31927:function(e,t,n){"use strict";n.r(t),n.d(t,{Theme:function(){return p}});var r=n("2382"),o=n("43382"),i=n("19672"),u=n("86834"),a=n("5872"),c=n("83982"),s=n("55058"),l=n("52493"),f=n.n(l),d=e=>["inherit","light","dark"].includes(e),M=e=>{var{children:t}=e,{appearance:n}=(0,c.useThemeContext)();return(0,a.useEffect)(()=>{localStorage.setItem("__modern_js_devtools_appearance",n),"inherit"!==n&&(document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(n))},[n]),(0,u.jsx)(u.Fragment,{children:t})},p=e=>{var{appearance:t,children:n}=e,a=(0,i._)(e,["appearance","children"]),l=t||f().castArray((0,s.getQuery)(location.href).appearance)[0]||localStorage.getItem("__modern_js_devtools_appearance")||"light";if(!d(l))throw Error("Initial appearance value is invalid.");return(0,u.jsx)(c.Theme,(0,o._)((0,r._)({},a),{appearance:l,children:(0,u.jsx)(M,{children:n})}))}},58455:function(e,t,n){"use strict";n.r(t),n.d(t,{getDefaultTabs:function(){return u}});var r=n("86834"),o=n("29214"),i=n("54201"),u=()=>[{name:"overview",title:"Overview",icon:(0,r.jsx)(o.HiOutlineHome,{}),view:{type:"builtin",url:"/overview"}},{name:"config",title:"Config",icon:(0,r.jsx)(o.HiOutlineAdjustmentsHorizontal,{}),view:{type:"builtin",url:"/config"}},{name:"pages",title:"Pages",icon:(0,r.jsx)(o.HiOutlineRectangleGroup,{}),view:{type:"builtin",url:"/pages"}},{name:"react",title:"React",icon:(0,r.jsx)(i.RiReactjsLine,{}),view:{type:"builtin",url:"/react"}},{name:"context",title:"Context",icon:(0,r.jsx)(o.HiOutlineCube,{}),view:{type:"builtin",url:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,r.jsx)(o.HiOutlineAcademicCap,{}),view:{type:"builtin",url:"/headers"}}]},16033:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return d}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934"),u=n("52493"),a=n.n(u),c=n("39118"),s=e=>{var{name:t,describe:n}=e;return(0,r.jsx)(o.Tooltip,{className:c.tooltip,side:"right",content:n.map(e=>(0,r.jsx)(o.Text,{style:{display:"block"},children:e},e)),children:(0,r.jsx)(o.Select.Item,{value:t,children:(0,r.jsx)(o.Box,{children:a().startCase(t)})})},t)},l=[{name:"framework",describe:["Framework config is a superset of Builder config, ","extending it with additional configurations that ","include server-side capabilities and so on."]},{name:"builder",describe:["Builder provides wrapped building capabilities for scheduling Bundler, ","as well as other plugins and tools."]},{name:"bundler",describe:["Bundler is typically a low-level build tool like webpack or Rspack, ","and their configuration options differ significantly from higher-level tools."]}],f=[{name:"resolved",describe:["The configuration content passed by the user or superior tools,","usually exposed to the plugin API for modification."]},{name:"transformed",describe:["The modified and frozen configuration objects,","typically exposed to the plugin API for consumption."]}],d={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{var e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(u))},children:[(0,r.jsx)(o.Select.Trigger,{children:n}),(0,r.jsx)(o.Select.Content,{children:l.map(e=>{var{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{var e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:u,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(o.Select.Trigger,{children:u}),(0,r.jsx)(o.Select.Content,{children:f.map(e=>{var{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})}]}},89011:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("42735"),i={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},3407:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("29214"),i={breadcrumb:{title:(0,r.jsx)(o.HiHomeModern,{}),pathname:"/overview"}}},55329:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n("86834");n("94396");var o=n("5872"),i=n("39934"),u=n("83982"),a=n("29214"),c=n("18372"),s=n("84834"),l=n("31927"),f=n("69222"),d=e=>{var{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.url;else if("iframe"===t.view.type)n="/external/".concat(t.view.src);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,o.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(u.Tooltip,{content:t.title,side:"right",children:(0,r.jsx)(i.NavLink,{to:n,className:c.tabButton,children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:c.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:t.icon})})})})},M=()=>{var{appearance:e}=(0,u.useThemeContext)();return(0,r.jsx)(u.Tooltip,{content:"Appearance",side:"right",children:(0,r.jsx)(u.Box,{className:c.tabButton,onClick:()=>{(0,u.updateThemeAppearanceClass)("light"===e?"dark":"light")},children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:c.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:"dark"===e?(0,r.jsx)(a.HiOutlineMoon,{}):(0,r.jsx)(a.HiOutlineSun,{})})})})})},p=()=>{var{tabs:e}=(0,s.useStoreSnapshot)();return(0,r.jsxs)(u.Flex,{direction:"column",shrink:"0",className:c.navigator,children:[e.map(e=>(0,r.jsx)(d,{tab:e},e.name)),(0,r.jsx)(u.Box,{grow:"1"}),(0,r.jsx)(M,{})]})};function g(){return(0,r.jsx)(s.StoreContextProvider,{children:(0,r.jsxs)(l.Theme,{className:c.wrapper,accentColor:"blue",panelBackground:"solid",children:[(0,r.jsx)(u.Box,{className:c.inner,children:(0,r.jsx)(u.Box,{className:c.innerRight,children:(0,r.jsx)(u.Box,{className:c.container,children:(0,r.jsx)(i.Outlet,{})})})}),(0,r.jsx)(u.ThemePanel,{defaultOpen:!1,style:{display:"none"}}),(0,r.jsx)(p,{}),(0,r.jsx)(f.Breadcrumbs,{className:c.breadcrumbs})]})})}},34460:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});var r={breadcrumb:{title:"Overview"}}},53077:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("42735"),i={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},84834:function(e,t,n){"use strict";n.r(t),n.d(t,{StoreContextProvider:function(){return N},useStore:function(){return y},useStoreSnapshot:function(){return h}});var r=n("92255"),o=n("86834"),i=n("52493"),u=n.n(i),a=n("5872"),c=n("20421"),s=n("9880"),l=n.n(s),f=n("55058"),d=n("42700"),M=n("60407"),p=n("21713"),g=n("58455"),v=(0,a.createContext)(null),j=()=>{var e=(0,f.getQuery)(location.href).src||sessionStorage.getItem("devtools-data-source");if(!u().isString(e))throw TypeError("Can't connection to data source: ".concat(e||"<EMPTY>"));return sessionStorage.setItem("devtools-data-source",e),e},m=()=>({framework:{context:l()(),config:{resolved:l()(),transformed:l()()}},builder:{context:l()(),config:{resolved:l()(),transformed:l()()}},bundler:{config:{resolved:l()(),transformed:l()()}},dependencies:l()(),compileTimeCost:l()(),clientDefinition:l()()}),N=e=>{var{children:t}=e,n=(0,a.useMemo)(j,[]),i=(0,a.useMemo)(m,[]),u=(0,p.useProxyFrom)(()=>({dataSource:n,location:"/",framework:{context:i.framework.context.promise,fileSystemRoutes:{},config:{resolved:i.framework.config.resolved.promise,transformed:i.framework.config.transformed.promise}},builder:{context:i.builder.context.promise,config:{resolved:i.builder.config.resolved.promise,transformed:i.builder.config.transformed.promise}},bundler:{config:{resolved:i.bundler.config.resolved.promise,transformed:i.bundler.config.transformed.promise}},tabs:(0,g.getDefaultTabs)().map(e=>(0,d.ref)(e)),version:"2.44.0",dependencies:i.dependencies.promise,compileTimeCost:i.compileTimeCost.promise,name:i.clientDefinition.promise.then(e=>e.name),packages:i.clientDefinition.promise.then(e=>e.packages),assets:i.clientDefinition.promise.then(e=>e.assets),announcement:i.clientDefinition.promise.then(e=>e.announcement),breadcrumb:[]})),{error:s}=(0,c.useAsync)((0,r._)(function*(){var{server:e}=yield(0,M.setupServerConnection)({url:n,$store:u});for(var{entryName:t}of(i.framework.context.resolve(e.getAppContext()),i.framework.config.resolved.resolve(e.getFrameworkConfig()),i.framework.config.transformed.resolve(e.getTransformedFrameworkConfig()),i.builder.context.resolve(e.getBuilderContext()),i.builder.config.resolved.resolve(e.getBuilderConfig()),i.builder.config.transformed.resolve(e.getTransformedBuilderConfig()),i.bundler.config.resolved.resolve(e.getBundlerConfigs()),i.bundler.config.transformed.resolve(e.getTransformedBundlerConfigs()),i.dependencies.resolve(e.getDependencies()),i.compileTimeCost.resolve(e.getCompileTimeCost()),i.clientDefinition.resolve(e.getClientDefinition()),(yield u.framework.context).entrypoints))u.framework.fileSystemRoutes[t]=e.getFileSystemRoutes(t)}),[n,i]);if(s)throw s;return(0,o.jsx)(v.Provider,{value:u,children:t})},y=()=>{var e=(0,a.useContext)(v);if(!e)throw Error("Can't resolve the context of global store.");return e},h=()=>(0,d.useSnapshot)(y())},36151:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n("39934"),o=e=>{var{params:t}=e;if(!t.toolkit||!t.type)return(0,r.redirect)("/404");if(!["framework","builder","bundler"].includes(t.toolkit))return(0,r.redirect)("/404");if(!["resolved","transformed"].includes(t.type))return(0,r.redirect)("/404");else return null}},48043:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder/transformed");return(0,r.redirect)(n)}},48876:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder");return(0,r.redirect)(n)}},9041:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});var r={breadcrumb:{title:"Header Modifier"}}},77552:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./overview");return(0,r.redirect)(n)}},67061:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});var r={breadcrumb:{title:"Pages"}}},81884:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n("39934"),o=n("55058"),i=e=>{var{request:t}=e,n=(0,o.resolveURL)(t.url,"./components");return(0,r.redirect)(n)}},60407:function(e,t,n){"use strict";n.r(t);var r=n("5103");n.es(r,t);var o=n("75682");n.es(o,t)},75682:function(e,t,n){"use strict";n.r(t),n.d(t,{setupMountPointConnection:function(){return l}});var r,o=n("92255"),i=n("88739"),u=n("9880"),a=n.n(u),c=n("27542"),s=n("2046");var l=(r=(0,o._)(function*(){var e=new c.ReactDevtoolsWallAgent,t=window.parent;if(!t||t===window)throw Error("Can't resolve the parent window.");var n=new MessageChannel,r=n.port1,u=n.port2,l=a()(),f=(0,i.createBirpc)({sendReactDevtoolsData:t=>(0,o._)(function*(){e.emit(t)})(),onMountPointConnect:()=>(0,o._)(function*(){l.resolve({mountPoint:f,wall:e})})()},{post:e=>r.postMessage(e),on:e=>r.onmessage=e,deserialize:e=>e.data,timeout:500});return e.sender=e=>f.sendReactDevtoolsData(e),t.postMessage({type:s.CLIENT_CONNECT_EVENT},"*",[u]),l.promise}),function(){return r.apply(this,arguments)})},5103:function(e,t,n){"use strict";n.r(t),n.d(t,{setupServerConnection:function(){return f}});var r,o=n("92255"),i=n("2382"),u=n("43382"),a=n("93549"),c=n("88739"),s=n("55058"),l=e=>{var t=(0,s.parseURL)(e);return(0,s.stringifyParsedURL)((0,u._)((0,i._)({protocol:"https:"===location.protocol?"wss:":"ws:",host:location.host},t),{pathname:t.pathname||"".concat(a.ROUTE_BASENAME,"/rpc")}))};var f=(r=(0,o._)(function*(e){var{url:t,$store:n}=e,r=new window.WebSocket(l(t)),o=(0,c.createBirpc)({refresh:()=>location.reload(),updateFileSystemRoutes(e){var{entrypoint:t,routes:r}=e;n.framework.fileSystemRoutes[t.entryName]=r}},{post:e=>r.send(e),on:e=>r.onmessage=e,serialize:e=>JSON.stringify(e),deserialize:e=>JSON.parse(e.data.toString())});return yield new Promise((e,n)=>{r.onopen=()=>e(),r.onerror=()=>n(Error("Failed connect to WebSocket server: ".concat(t)))}),{server:o}}),function(e){return r.apply(this,arguments)})},2046:function(e,t,n){"use strict";n.r(t),n.d(t,{CLIENT_CONNECT_EVENT:function(){return r}});var r="modern_js_devtools::client::connect"},21713:function(e,t,n){"use strict";n.r(t),n.d(t,{useProxyFrom:function(){return i}}),n("52493");var r=n("5872"),o=n("42700"),i=e=>(0,r.useMemo)(()=>(0,o.proxy)(e()),[])},27542:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactDevtoolsWallAgent:function(){return r}});class r{send(e,t,n){var r;null===(r=this.sender)||void 0===r||r.call(this,{event:e,payload:t,transferable:n})}listen(e){return this.listeners.includes(e)||this.listeners.push(e),e}emit(e){for(var t of this.listeners)t(e)}constructor(){this.listeners=[]}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["118","126","160","58","707","807"],function(){return t("80161"),t("78097"),t("93474"),t("10302"),t("78071")}),e.O()}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see mount.
|
|
2
|
-
(self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).push([["400"],{85435:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactComponent:function(){return i}});var r,a=n("5872");function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=e=>a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:455.127,height:76.954,viewBox:"0 0 455.127 76.954"},e),r||(r=a.createElement("g",{fill:"currentColor",fillRule:"evenodd",strokeLinecap:"round",fontSize:12},a.createElement("path",{d:"M23.096 75.977H0V4.59h24.707a55.919 55.919 0 0 1 8.783.653q4.823.767 8.844 2.438a32.184 32.184 0 0 1 1.904.864q8.008 3.955 12.183 11.572a32.438 32.438 0 0 1 3.257 9.058q.803 3.869.903 8.313a56.775 56.775 0 0 1 .015 1.282 55.441 55.441 0 0 1-.653 8.747q-1.087 6.798-3.986 11.956-4.639 8.252-13.061 12.378-8.423 4.126-19.8 4.126Zm1.806-55.811h-5.615v39.99h4.297a23.978 23.978 0 0 0 4.805-.449q5.202-1.066 8.086-4.653a15.925 15.925 0 0 0 2.578-4.81q1.523-4.394 1.523-10.791a40.21 40.21 0 0 0-.234-4.469q-.402-3.594-1.499-6.297a14.688 14.688 0 0 0-2.006-3.534 11.922 11.922 0 0 0-3.194-2.863 13.658 13.658 0 0 0-4.056-1.626q-1.731-.405-3.742-.48a24.996 24.996 0 0 0-.943-.018ZM123.291 44.971v8.496H89.16a10.988 10.988 0 0 0 .884 3.843 9.877 9.877 0 0 0 2.363 3.286q3.003 2.783 8.863 2.783 5.175 0 9.497-1.025a42.981 42.981 0 0 0 5.506-1.721 52.544 52.544 0 0 0 3.405-1.453V72.9q-4.004 2.1-8.74 3.077a41.172 41.172 0 0 1-3.859.59q-3.56.386-8.104.386a40.077 40.077 0 0 1-8.372-.84 32.226 32.226 0 0 1-6.57-2.138 22.906 22.906 0 0 1-10.376-9.229q-3.289-5.432-3.719-13.556a47.413 47.413 0 0 1-.065-2.508q0-9.961 3.418-16.382a22.599 22.599 0 0 1 5.501-6.864 21.455 21.455 0 0 1 4.069-2.658 28.536 28.536 0 0 1 8.473-2.664 37.588 37.588 0 0 1 5.834-.436q7.915 0 13.709 2.71a24.328 24.328 0 0 1 .207.097q5.859 2.808 9.033 8.423a23.114 23.114 0 0 1 2.381 6.323q.632 2.802.76 6.053a42.733 42.733 0 0 1 .033 1.687Zm-33.74-3.516h16.406a11.664 11.664 0 0 0-.404-2.879 10.108 10.108 0 0 0-.573-1.564q-.927-2.002-2.709-3.174a6.912 6.912 0 0 0-2.409-.977 9.817 9.817 0 0 0-2.01-.195 8.801 8.801 0 0 0-2.918.467 7.628 7.628 0 0 0-2.722 1.657 7.286 7.286 0 0 0-1.672 2.421q-.46 1.046-.723 2.346a16.942 16.942 0 0 0-.266 1.898ZM167.48 75.977h-18.896L127.49 20.654h19.922l9.375 32.715q.137.411.467 2.02a112.258 112.258 0 0 1 .046.226 19.061 19.061 0 0 1 .291 1.903 14.863 14.863 0 0 1 .075 1.466h.342a14.573 14.573 0 0 1 .252-2.745 13.298 13.298 0 0 1 .09-.428q.261-1.159.437-1.918a136.744 136.744 0 0 1 .1-.426l9.814-32.813h19.873L167.48 75.977ZM227.783 20.361v55.616h-19.287V20.361h-17.432V4.59h54.102v15.771h-17.383ZM306.662 54.35a43.23 43.23 0 0 0 .418-6.157q0-4.303-.778-7.983a26.737 26.737 0 0 0-2.762-7.544 23.91 23.91 0 0 0-9.741-9.668 27.016 27.016 0 0 0-6.2-2.383 32.596 32.596 0 0 0-7.96-.937 37.958 37.958 0 0 0-6.862.591 27.435 27.435 0 0 0-8.006 2.729 22.673 22.673 0 0 0-9.571 9.668 24.588 24.588 0 0 0-.648 1.325q-2.697 5.959-2.697 14.202a41.077 41.077 0 0 0 .388 5.768 30.674 30.674 0 0 0 1.639 6.537 28.789 28.789 0 0 0 .856 2.033 24.022 24.022 0 0 0 4.881 7 24.539 24.539 0 0 0 8.716 5.542 28.236 28.236 0 0 0 4.232 1.217 33.502 33.502 0 0 0 6.779.663 39.162 39.162 0 0 0 5.019-.31 30.239 30.239 0 0 0 6.553-1.57 26.901 26.901 0 0 0 .477-.18 23.287 23.287 0 0 0 8.263-5.362q3.613-3.662 5.518-9.033a32.011 32.011 0 0 0 1.486-6.148Zm-35.422-6.157q0 4.737.83 7.984t2.661 4.931a6.244 6.244 0 0 0 3.102 1.529 8.91 8.91 0 0 0 1.708.156 8.544 8.544 0 0 0 1.983-.218 5.857 5.857 0 0 0 2.753-1.467 7.765 7.765 0 0 0 1.439-1.922q.479-.883.831-1.974a15.643 15.643 0 0 0 .294-1.035 24.171 24.171 0 0 0 .491-2.645q.195-1.477.269-3.179a49.717 49.717 0 0 0 .045-2.16 46.12 46.12 0 0 0-.11-3.3q-.188-2.614-.695-4.61-.806-3.174-2.588-4.785a6.007 6.007 0 0 0-2.635-1.365q-.922-.229-2.009-.245a11.184 11.184 0 0 0-.166-.001 8.132 8.132 0 0 0-2.619.398q-2.256.764-3.532 2.992a8.551 8.551 0 0 0-.123.223 13.288 13.288 0 0 0-1.078 2.819q-.851 3.173-.851 7.874ZM370.382 54.35a43.23 43.23 0 0 0 .419-6.157q0-4.303-.778-7.983a26.737 26.737 0 0 0-2.762-7.544 23.91 23.91 0 0 0-9.741-9.668 27.016 27.016 0 0 0-6.2-2.383 32.596 32.596 0 0 0-7.961-.937 37.958 37.958 0 0 0-6.862.591 27.435 27.435 0 0 0-8.006 2.729 22.673 22.673 0 0 0-9.57 9.668 24.588 24.588 0 0 0-.648 1.325q-2.697 5.959-2.697 14.202a41.077 41.077 0 0 0 .388 5.768 30.674 30.674 0 0 0 1.639 6.537 28.789 28.789 0 0 0 .855 2.033 24.022 24.022 0 0 0 4.882 7 24.539 24.539 0 0 0 8.716 5.542 28.236 28.236 0 0 0 4.231 1.217 33.502 33.502 0 0 0 6.779.663 39.162 39.162 0 0 0 5.02-.31 30.239 30.239 0 0 0 6.553-1.57 26.901 26.901 0 0 0 .477-.18 23.287 23.287 0 0 0 8.263-5.362q3.613-3.662 5.517-9.033a32.011 32.011 0 0 0 1.486-6.148Zm-35.421-6.157q0 4.737.83 7.984t2.661 4.931a6.244 6.244 0 0 0 3.101 1.529 8.91 8.91 0 0 0 1.709.156 8.544 8.544 0 0 0 1.983-.218 5.857 5.857 0 0 0 2.753-1.467 7.765 7.765 0 0 0 1.439-1.922q.479-.883.831-1.974a15.643 15.643 0 0 0 .294-1.035 24.171 24.171 0 0 0 .49-2.645q.196-1.477.27-3.179a49.717 49.717 0 0 0 .045-2.16 46.12 46.12 0 0 0-.111-3.3q-.188-2.614-.694-4.61-.806-3.174-2.588-4.785a6.007 6.007 0 0 0-2.635-1.365q-.923-.229-2.01-.245a11.184 11.184 0 0 0-.165-.001 8.132 8.132 0 0 0-2.619.398q-2.256.764-3.532 2.992a8.551 8.551 0 0 0-.123.223 13.288 13.288 0 0 0-1.079 2.819q-.85 3.173-.85 7.874ZM400.781 0v75.977h-19.092V0h19.092ZM411.719 73.877V58.594a46.942 46.942 0 0 0 10.644 3.442q4.467.865 7.376 1.017a22.453 22.453 0 0 0 1.169.033 23.338 23.338 0 0 0 1.633-.053q1.997-.141 3.079-.655a3.273 3.273 0 0 0 .737-.469 2.089 2.089 0 0 0 .752-1.655q0-1.221-1.001-2.075a6.393 6.393 0 0 0-.664-.488q-.753-.489-1.94-1.053a34.704 34.704 0 0 0-.96-.437q-1.963-.86-5.142-2.177a655.312 655.312 0 0 0-2.06-.85q-4.59-1.904-7.642-4.151a15.29 15.29 0 0 1-3.214-3.151 13.596 13.596 0 0 1-1.351-2.22 14.224 14.224 0 0 1-1.111-3.359q-.321-1.566-.386-3.371a25.946 25.946 0 0 1-.017-.936 16.624 16.624 0 0 1 .773-5.204 13.104 13.104 0 0 1 5.477-7.003q5.212-3.42 13.244-3.988a46.937 46.937 0 0 1 3.309-.113 44.511 44.511 0 0 1 7.533.618 38.904 38.904 0 0 1 2.77.578 56.912 56.912 0 0 1 6.491 2.043 69.134 69.134 0 0 1 3.518 1.448l-5.224 12.305q-4.102-1.856-8.301-2.979-3.888-1.039-6.311-1.116a11.911 11.911 0 0 0-.379-.007q-2.246 0-3.466.586a2.789 2.789 0 0 0-.59.372 1.672 1.672 0 0 0-.631 1.337 2.288 2.288 0 0 0 .586 1.531 3.206 3.206 0 0 0 .268.276q.649.593 2.184 1.327a28.563 28.563 0 0 0 1.064.48q2.392 1.025 6.982 2.88a51.888 51.888 0 0 1 3.65 1.632q1.693.841 3.107 1.728a27.253 27.253 0 0 1 1.226.815 14.95 14.95 0 0 1 3.24 3.061 13.247 13.247 0 0 1 1.448 2.335 14.028 14.028 0 0 1 1.051 3.104q.487 2.206.487 4.952a20.16 20.16 0 0 1-.662 5.259 16.821 16.821 0 0 1-1.682 4.068 14.139 14.139 0 0 1-4.22 4.516 19.641 19.641 0 0 1-3.275 1.831 23.27 23.27 0 0 1-4.52 1.443q-2.2.479-4.782.689a52.548 52.548 0 0 1-4.248.163 94.534 94.534 0 0 1-5.265-.139q-2.829-.158-5.306-.496a42.222 42.222 0 0 1-7.658-1.805 48.282 48.282 0 0 1-1.79-.636Z",vectorEffect:"non-scaling-stroke"}))))},83320:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactComponent:function(){return i}});var r,a=n("5872");function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=e=>a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",stroke:"currentColor",strokeWidth:0,"aria-hidden":"true",style:{"--darkreader-inline-fill":"currentColor","--darkreader-inline-stroke":"currentColor"},viewBox:"0 0 20 20"},e),r||(r=a.createElement("path",{stroke:"none",d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22z"})))},92366:function(e,t,n){"use strict";e.exports={container:"container-_2b857",fab:"fab-_08a6e",heading:"heading-_1bbcd",logo:"logo-ed314b"}},61001:function(e,t,n){"use strict";e.exports={backdrop:"backdrop-_51706","close-button":"close-button-c3742a",closeButton:"close-button-c3742a",container:"container-fb8255",frame:"frame-_5d7ff",loading:"loading-b07c1f",rotate:"rotate-db7214"}},98497:function(e,t,n){"use strict";e.exports={container:"container-d972e2"}},78097:function(e,t,n){"use strict";n.r(t),n("95818"),n("15787"),n("62940"),n("31401"),n("20578"),n("72595"),n("71614"),n("57762"),n("53049"),n("59890"),n("52489"),n("37179"),n("45059"),n("48759"),n("7783"),n("20964"),n("74366"),n("14078"),n("10029"),n("21992"),n("92271"),n("83318"),n("92111"),n("72656"),n("71851"),n("5026"),n("87361"),n("54957"),n("52027"),n("48668"),n("42160"),n("36480"),n("12577"),n("16997"),n("64045"),n("71217"),n("29640"),n("11288"),n("91809"),n("43990"),n("41484"),n("41910"),n("18840"),n("79956"),n("27364"),n("43308"),n("87295"),n("60315"),n("86876"),n("59424"),n("97219"),n("3712"),n("44117"),n("45434"),n("75460"),n("44503"),n("76383"),n("41195"),n("4331"),n("5780"),n("51826"),n("2392"),n("70157"),n("80495"),n("87313"),n("56273"),n("75069"),n("3091"),n("8256"),n("65244"),n("31867"),n("56821"),n("12035"),n("26249"),n("22584"),n("57497"),n("56221"),n("25283"),n("44913"),n("43743"),n("46911"),n("98617"),n("75190"),n("89765"),n("2913"),n("71242"),n("47062"),n("5377"),n("19971"),n("75779"),n("36800"),n("79148"),n("99803"),n("84036"),n("76728"),n("26548"),n("54615"),n("16982"),n("67393"),n("17781"),n("83418"),n("92417"),n("29267"),n("75182"),n("51297"),n("5732"),n("80907"),n("24638"),n("25983"),n("12620"),n("42393"),n("11935"),n("31938"),n("42542"),n("29910"),n("97630"),n("1016"),n("31922"),n("76739"),n("66354"),n("14942"),n("66066"),n("71829"),n("59186"),n("81660"),n("48053"),n("76959"),n("53183"),n("8532"),n("6868"),n("71859"),n("5574"),n("36825"),n("93567"),n("3200"),n("3238"),n("21862"),n("69660"),n("33350"),n("45661"),n("62323"),n("25221"),n("71510"),n("5258"),n("52348"),n("63305"),n("82997"),n("64667"),n("76544"),n("72499"),n("4600"),n("7229"),n("78394"),n("71874"),n("54626"),n("11057"),n("76074"),n("54925"),n("8254"),n("76805"),n("98846"),n("84691"),n("49191"),n("50558"),n("18031"),n("92816"),n("53423"),n("10166"),n("88849"),n("99885"),n("83323"),n("57101"),n("68883"),n("51104"),n("14218"),n("43421"),n("53116"),n("66923"),n("68961"),n("45259"),n("2531"),n("74814"),n("80401"),n("58627"),n("92798"),n("97748"),n("34999"),n("25911"),n("94384"),n("15056"),n("86706"),n("48373"),n("96709"),n("82176"),n("82495"),n("44477"),n("79944"),n("97461"),n("98451"),n("31119"),n("92881"),n("85304"),n("14182"),n("58922"),n("15919"),n("55723"),n("85373"),n("61554"),n("42634"),n("34414"),n("94117"),n("84733"),n("40184"),n("52450"),n("23101"),n("80779"),n("52823"),n("37799"),n("25837"),n("50375"),n("18001"),n("33059"),n("23566"),n("76270"),n("64983"),n("80072"),n("79061"),n("35397"),n("96746"),n("76462"),n("37850"),n("68590"),n("1733"),n("39779"),n("51558"),n("5794"),n("92265"),n("79914"),n("29294"),n("32451"),n("26743"),n("26579"),n("41773"),n("75281"),n("76682"),n("49985"),n("42067"),n("93220"),n("7549"),n("99623"),n("72814"),n("52253"),n("93625"),n("92180"),n("154"),n("77904"),n("76179"),n("1587"),n("39177"),n("45109"),n("1336"),n("78136"),n("7005"),n("84960"),n("32642"),n("99149"),n("29814"),n("75870"),n("71571"),n("77313"),n("95577"),n("72340"),n("20995"),n("1254"),n("84594"),n("37806"),n("33132"),n("83367"),n("90602"),n("52400"),n("84518"),n("27093"),n("44904"),n("65272"),n("15262"),n("65308"),n("70241"),n("17905"),n("39022"),n("34353"),n("49128"),n("72104"),n("1676"),n("50882")},80161:function(e,t,n){"use strict";n.r(t),window.__assetPrefix__="/__devtools"},92774:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsActionButton:function(){return h}});var r=n("2382"),a=n("43382"),o=n("86834"),i=n("83982"),s=n("5872"),c=n("20421"),l=n("55058"),u=n("47081"),d=n("92366"),v=n("47232"),f=n("85435"),p=n("95981"),h=e=>{var t=e.def.assets.logo,[n,h]=(0,c.useToggle)(!1),g=(0,l.withQuery)(e.endpoint,{src:e.dataSource}),m=(0,p.useStickyDraggable)({clamp:!0}),[w,q]=(0,s.useState)(()=>{var e,t=null!==(e=localStorage.getItem("__modern_js_devtools_appearance"))&&void 0!==e?e:"light";return localStorage.setItem("__modern_js_devtools_appearance",t),t});return(0,c.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&q(e.newValue||void 0)}),(0,c.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&h()}),(0,o.jsxs)(i.Theme,{appearance:w,className:w,children:[(0,o.jsx)(u.default,{when:n,keepAlive:!0,children:(0,o.jsx)("div",{className:d.container,children:(0,o.jsx)(v.FrameBox,{src:g,onClose:()=>h(!1),style:{pointerEvents:m.isDragging?"none":"auto"}})})}),(0,o.jsx)(i.Flex,{asChild:!0,py:"1",px:"2",align:"center",children:(0,o.jsxs)("button",(0,a._)((0,r._)({className:d.fab,onClick:()=>h()},m.props),{children:[(0,o.jsx)("img",{className:d.logo,src:t,alt:""}),(0,o.jsx)(f.ReactComponent,{className:d.heading})]}))})]})}},47232:function(e,t,n){"use strict";n.r(t),n.d(t,{FrameBox:function(){return v}});var r=n("2382"),a=n("43382"),o=n("19672"),i=n("86834"),s=n("5872"),c=n("83982"),l=n("56971"),u=n("61001"),d=n("83320"),v=e=>{var{src:t,onClose:n}=e,v=(0,o._)(e,["src","onClose"]),[f,p]=(0,s.useState)(!1);return(0,i.jsxs)(c.Box,(0,a._)((0,r._)({className:u.container},v),{children:[(0,i.jsx)("iframe",{className:u.frame,onLoad:()=>p(!0),src:t}),(0,i.jsx)(d.ReactComponent,{className:u.closeButton,onClick:()=>null==n?void 0:n()}),(0,i.jsx)("div",{className:u.backdrop,style:{display:f?"none":void 0},children:(0,i.jsx)(l.LoaderIcon,{className:u.loading})})]}))}},56971:function(e,t,n){"use strict";n.r(t),n.d(t,{LoaderIcon:function(){return i}});var r=n("2382"),a=n("43382"),o=n("86834");n("5872");var i=e=>(0,o.jsx)("svg",(0,a._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:(0,o.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeDasharray:"56.548667764616276",strokeDashoffset:"14.137166941154069"})}))},47081:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n("86834"),a=n("5872"),o=e=>{var t,n=null===(t=e.keepAlive)||void 0===t||t,{when:o}=e,i=(0,a.useRef)(!1);o&&(i.current=!0);var s=n?i.current:o;return s?(0,r.jsx)("div",{style:{display:!n||o?"unset":"none"},children:e.children}):null}},90309:function(e,t,n){"use strict";n.r(t);var r=n("2382"),a=n("86834"),o=n("60182"),i=n("55058"),s=n("52493"),c=n.n(s),l=n("25442"),u=n("98497"),d=n("92774"),{container:v,resourceQuery:f}=window._modern_js_devtools_app;v.classList.add(u.container);var p=(0,o.createRoot)(v),h=(0,i.parseQuery)(f);if(!c().isString(h.dataSource)||!c().isString(h.def)||!c().isString(h.endpoint))throw TypeError("Failed to parse client definitions of devtools: ".concat(f));var g={dataSource:h.dataSource,endpoint:h.endpoint,def:JSON.parse(h.def)};(0,l.waitClientConnection)(),p.render((0,a.jsx)(d.DevtoolsActionButton,(0,r._)({},g)))},96177:function(e,t,n){"use strict";n.r(t),n.d(t,{waitClientConnection:function(){return f}});var r,a,o=n("92255"),i=n("9880"),s=n.n(i),c=n("88739"),l=n("57662"),u=n("2046"),d=n("27542");var v=(r=(0,o._)(function*(e){var{port:t}=e,n=new d.ReactDevtoolsWallAgent,r=(0,c.createBirpc)({sendReactDevtoolsData:e=>(0,o._)(function*(){n.emit(e)})(),activateReactDevtools:()=>(0,o._)(function*(){var e=(0,l.createBridge)(window,n);(0,l.activate)(window,{bridge:e})})()},{post:e=>t.postMessage(e),on:e=>t.onmessage=e,deserialize:e=>e.data,timeout:500});return n.sender=e=>r.sendReactDevtoolsData(e),{client:r,wall:n}}),function(e){return r.apply(this,arguments)});var f=(a=(0,o._)(function*(){var e,t=s()();var n=(e=(0,o._)(function*(e){if(!!e.data&&"object"==typeof e.data){if(e.data.type===u.CLIENT_CONNECT_EVENT){var r=e.ports[0];if(!r)throw Error("Missing message channel port from devtools.");window.removeEventListener("message",n);var a=yield v({port:r});yield a.client.onMountPointConnect(),t.resolve(a)}}}),function(t){return e.apply(this,arguments)});return window.addEventListener("message",n),t.promise}),function(){return a.apply(this,arguments)})},25442:function(e,t,n){"use strict";n.r(t);var r=n("96177");n.es(r,t)},2046:function(e,t,n){"use strict";n.r(t),n.d(t,{CLIENT_CONNECT_EVENT:function(){return r}});var r="modern_js_devtools::client::connect"},95981:function(e,t,n){"use strict";n.r(t),n.d(t,{useStickyDraggable:function(){return c}});var r=n("5872"),a=n("20421"),o=(e,t)=>{var n,r;return null!==(r=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==r&&r},i=e=>{var[t,...n]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),r=n.findIndex(e=>{var{key:n}=e;return o(t.key,n)}),[a]=n.splice(r,1);return[t,a,n[0],n[1]]},s=e=>{var{top:t,left:n,height:r,width:a}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-r,right:window.innerWidth-n-a}},c=e=>{var t,n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",o="number"==typeof n?"".concat(n,"px"):n,[c,l]=(0,r.useState)(),u=()=>{if(c){c.moveable=!1;var{el:e}=c,[t]=i(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{l(void 0),e.style[t.key]=o})}},d=t=>{var n="touches"in t?t.touches[0]:t;if(null==c?void 0:c.moveable){var{startX:r,startY:a}=c;Math.pow(r-n.clientX,2)+Math.pow(a-n.clientY,2)>9&&(c.clickable=!1);var{width:s,height:l}=c.el.getBoundingClientRect(),u=n.clientY-c.offsetY,d=n.clientX-c.offsetX,v=i({top:u,left:d,bottom:window.innerHeight-u-l,right:window.innerWidth-d-s}).map(e=>{var{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(var f of v){var p=["top","bottom"].includes(f.key)?window.innerHeight-l:window.innerWidth-s;f.value="clamp(".concat(o,", ").concat(f.value,", ").concat(p,"px)")}var[h,g,...m]=v,{style:w}=c.el;w.transition="",w[h.key]=h.value,w[g.key]=g.value,w[m[0].key]="auto",w[m[1].key]="auto"}};(0,a.useEvent)("blur",u),(0,a.useEvent)("mouseup",u),(0,a.useEvent)("touchend",u),(0,a.useEvent)("mousemove",d),(0,a.useEvent)("touchmove",d);var v=e=>{var t="touches"in e?e.touches[0]:e,n=e.currentTarget,r=n.getBoundingClientRect(),a=t.clientX-r.left;l({el:n,clickable:!0,moveable:!0,offsetX:a,offsetY:t.clientY-r.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!c,props:{onMouseDown:v,onTouchStart:v,onClickCapture:e=>{(null==c?void 0:c.clickable)||e.stopPropagation()}}}}},27542:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactDevtoolsWallAgent:function(){return r}});class r{send(e,t,n){var r;null===(r=this.sender)||void 0===r||r.call(this,{event:e,payload:t,transferable:n})}listen(e){return this.listeners.includes(e)||this.listeners.push(e),e}emit(e){for(var t of this.listeners)t(e)}constructor(){this.listeners=[]}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","58","707","807","821"],function(){return t("80161"),t("78097"),t("93474"),t("10302"),t("90309")}),e.O()}]);
|
|
1
|
+
/*! For license information please see mount.6c2069cb.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).push([["400"],{85435:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactComponent:function(){return i}});var r,o=n("5872");function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=e=>o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:455.127,height:76.954,viewBox:"0 0 455.127 76.954"},e),r||(r=o.createElement("g",{fill:"currentColor",fillRule:"evenodd",strokeLinecap:"round",fontSize:12},o.createElement("path",{d:"M23.096 75.977H0V4.59h24.707a55.919 55.919 0 0 1 8.783.653q4.823.767 8.844 2.438a32.184 32.184 0 0 1 1.904.864q8.008 3.955 12.183 11.572a32.438 32.438 0 0 1 3.257 9.058q.803 3.869.903 8.313a56.775 56.775 0 0 1 .015 1.282 55.441 55.441 0 0 1-.653 8.747q-1.087 6.798-3.986 11.956-4.639 8.252-13.061 12.378-8.423 4.126-19.8 4.126Zm1.806-55.811h-5.615v39.99h4.297a23.978 23.978 0 0 0 4.805-.449q5.202-1.066 8.086-4.653a15.925 15.925 0 0 0 2.578-4.81q1.523-4.394 1.523-10.791a40.21 40.21 0 0 0-.234-4.469q-.402-3.594-1.499-6.297a14.688 14.688 0 0 0-2.006-3.534 11.922 11.922 0 0 0-3.194-2.863 13.658 13.658 0 0 0-4.056-1.626q-1.731-.405-3.742-.48a24.996 24.996 0 0 0-.943-.018ZM123.291 44.971v8.496H89.16a10.988 10.988 0 0 0 .884 3.843 9.877 9.877 0 0 0 2.363 3.286q3.003 2.783 8.863 2.783 5.175 0 9.497-1.025a42.981 42.981 0 0 0 5.506-1.721 52.544 52.544 0 0 0 3.405-1.453V72.9q-4.004 2.1-8.74 3.077a41.172 41.172 0 0 1-3.859.59q-3.56.386-8.104.386a40.077 40.077 0 0 1-8.372-.84 32.226 32.226 0 0 1-6.57-2.138 22.906 22.906 0 0 1-10.376-9.229q-3.289-5.432-3.719-13.556a47.413 47.413 0 0 1-.065-2.508q0-9.961 3.418-16.382a22.599 22.599 0 0 1 5.501-6.864 21.455 21.455 0 0 1 4.069-2.658 28.536 28.536 0 0 1 8.473-2.664 37.588 37.588 0 0 1 5.834-.436q7.915 0 13.709 2.71a24.328 24.328 0 0 1 .207.097q5.859 2.808 9.033 8.423a23.114 23.114 0 0 1 2.381 6.323q.632 2.802.76 6.053a42.733 42.733 0 0 1 .033 1.687Zm-33.74-3.516h16.406a11.664 11.664 0 0 0-.404-2.879 10.108 10.108 0 0 0-.573-1.564q-.927-2.002-2.709-3.174a6.912 6.912 0 0 0-2.409-.977 9.817 9.817 0 0 0-2.01-.195 8.801 8.801 0 0 0-2.918.467 7.628 7.628 0 0 0-2.722 1.657 7.286 7.286 0 0 0-1.672 2.421q-.46 1.046-.723 2.346a16.942 16.942 0 0 0-.266 1.898ZM167.48 75.977h-18.896L127.49 20.654h19.922l9.375 32.715q.137.411.467 2.02a112.258 112.258 0 0 1 .046.226 19.061 19.061 0 0 1 .291 1.903 14.863 14.863 0 0 1 .075 1.466h.342a14.573 14.573 0 0 1 .252-2.745 13.298 13.298 0 0 1 .09-.428q.261-1.159.437-1.918a136.744 136.744 0 0 1 .1-.426l9.814-32.813h19.873L167.48 75.977ZM227.783 20.361v55.616h-19.287V20.361h-17.432V4.59h54.102v15.771h-17.383ZM306.662 54.35a43.23 43.23 0 0 0 .418-6.157q0-4.303-.778-7.983a26.737 26.737 0 0 0-2.762-7.544 23.91 23.91 0 0 0-9.741-9.668 27.016 27.016 0 0 0-6.2-2.383 32.596 32.596 0 0 0-7.96-.937 37.958 37.958 0 0 0-6.862.591 27.435 27.435 0 0 0-8.006 2.729 22.673 22.673 0 0 0-9.571 9.668 24.588 24.588 0 0 0-.648 1.325q-2.697 5.959-2.697 14.202a41.077 41.077 0 0 0 .388 5.768 30.674 30.674 0 0 0 1.639 6.537 28.789 28.789 0 0 0 .856 2.033 24.022 24.022 0 0 0 4.881 7 24.539 24.539 0 0 0 8.716 5.542 28.236 28.236 0 0 0 4.232 1.217 33.502 33.502 0 0 0 6.779.663 39.162 39.162 0 0 0 5.019-.31 30.239 30.239 0 0 0 6.553-1.57 26.901 26.901 0 0 0 .477-.18 23.287 23.287 0 0 0 8.263-5.362q3.613-3.662 5.518-9.033a32.011 32.011 0 0 0 1.486-6.148Zm-35.422-6.157q0 4.737.83 7.984t2.661 4.931a6.244 6.244 0 0 0 3.102 1.529 8.91 8.91 0 0 0 1.708.156 8.544 8.544 0 0 0 1.983-.218 5.857 5.857 0 0 0 2.753-1.467 7.765 7.765 0 0 0 1.439-1.922q.479-.883.831-1.974a15.643 15.643 0 0 0 .294-1.035 24.171 24.171 0 0 0 .491-2.645q.195-1.477.269-3.179a49.717 49.717 0 0 0 .045-2.16 46.12 46.12 0 0 0-.11-3.3q-.188-2.614-.695-4.61-.806-3.174-2.588-4.785a6.007 6.007 0 0 0-2.635-1.365q-.922-.229-2.009-.245a11.184 11.184 0 0 0-.166-.001 8.132 8.132 0 0 0-2.619.398q-2.256.764-3.532 2.992a8.551 8.551 0 0 0-.123.223 13.288 13.288 0 0 0-1.078 2.819q-.851 3.173-.851 7.874ZM370.382 54.35a43.23 43.23 0 0 0 .419-6.157q0-4.303-.778-7.983a26.737 26.737 0 0 0-2.762-7.544 23.91 23.91 0 0 0-9.741-9.668 27.016 27.016 0 0 0-6.2-2.383 32.596 32.596 0 0 0-7.961-.937 37.958 37.958 0 0 0-6.862.591 27.435 27.435 0 0 0-8.006 2.729 22.673 22.673 0 0 0-9.57 9.668 24.588 24.588 0 0 0-.648 1.325q-2.697 5.959-2.697 14.202a41.077 41.077 0 0 0 .388 5.768 30.674 30.674 0 0 0 1.639 6.537 28.789 28.789 0 0 0 .855 2.033 24.022 24.022 0 0 0 4.882 7 24.539 24.539 0 0 0 8.716 5.542 28.236 28.236 0 0 0 4.231 1.217 33.502 33.502 0 0 0 6.779.663 39.162 39.162 0 0 0 5.02-.31 30.239 30.239 0 0 0 6.553-1.57 26.901 26.901 0 0 0 .477-.18 23.287 23.287 0 0 0 8.263-5.362q3.613-3.662 5.517-9.033a32.011 32.011 0 0 0 1.486-6.148Zm-35.421-6.157q0 4.737.83 7.984t2.661 4.931a6.244 6.244 0 0 0 3.101 1.529 8.91 8.91 0 0 0 1.709.156 8.544 8.544 0 0 0 1.983-.218 5.857 5.857 0 0 0 2.753-1.467 7.765 7.765 0 0 0 1.439-1.922q.479-.883.831-1.974a15.643 15.643 0 0 0 .294-1.035 24.171 24.171 0 0 0 .49-2.645q.196-1.477.27-3.179a49.717 49.717 0 0 0 .045-2.16 46.12 46.12 0 0 0-.111-3.3q-.188-2.614-.694-4.61-.806-3.174-2.588-4.785a6.007 6.007 0 0 0-2.635-1.365q-.923-.229-2.01-.245a11.184 11.184 0 0 0-.165-.001 8.132 8.132 0 0 0-2.619.398q-2.256.764-3.532 2.992a8.551 8.551 0 0 0-.123.223 13.288 13.288 0 0 0-1.079 2.819q-.85 3.173-.85 7.874ZM400.781 0v75.977h-19.092V0h19.092ZM411.719 73.877V58.594a46.942 46.942 0 0 0 10.644 3.442q4.467.865 7.376 1.017a22.453 22.453 0 0 0 1.169.033 23.338 23.338 0 0 0 1.633-.053q1.997-.141 3.079-.655a3.273 3.273 0 0 0 .737-.469 2.089 2.089 0 0 0 .752-1.655q0-1.221-1.001-2.075a6.393 6.393 0 0 0-.664-.488q-.753-.489-1.94-1.053a34.704 34.704 0 0 0-.96-.437q-1.963-.86-5.142-2.177a655.312 655.312 0 0 0-2.06-.85q-4.59-1.904-7.642-4.151a15.29 15.29 0 0 1-3.214-3.151 13.596 13.596 0 0 1-1.351-2.22 14.224 14.224 0 0 1-1.111-3.359q-.321-1.566-.386-3.371a25.946 25.946 0 0 1-.017-.936 16.624 16.624 0 0 1 .773-5.204 13.104 13.104 0 0 1 5.477-7.003q5.212-3.42 13.244-3.988a46.937 46.937 0 0 1 3.309-.113 44.511 44.511 0 0 1 7.533.618 38.904 38.904 0 0 1 2.77.578 56.912 56.912 0 0 1 6.491 2.043 69.134 69.134 0 0 1 3.518 1.448l-5.224 12.305q-4.102-1.856-8.301-2.979-3.888-1.039-6.311-1.116a11.911 11.911 0 0 0-.379-.007q-2.246 0-3.466.586a2.789 2.789 0 0 0-.59.372 1.672 1.672 0 0 0-.631 1.337 2.288 2.288 0 0 0 .586 1.531 3.206 3.206 0 0 0 .268.276q.649.593 2.184 1.327a28.563 28.563 0 0 0 1.064.48q2.392 1.025 6.982 2.88a51.888 51.888 0 0 1 3.65 1.632q1.693.841 3.107 1.728a27.253 27.253 0 0 1 1.226.815 14.95 14.95 0 0 1 3.24 3.061 13.247 13.247 0 0 1 1.448 2.335 14.028 14.028 0 0 1 1.051 3.104q.487 2.206.487 4.952a20.16 20.16 0 0 1-.662 5.259 16.821 16.821 0 0 1-1.682 4.068 14.139 14.139 0 0 1-4.22 4.516 19.641 19.641 0 0 1-3.275 1.831 23.27 23.27 0 0 1-4.52 1.443q-2.2.479-4.782.689a52.548 52.548 0 0 1-4.248.163 94.534 94.534 0 0 1-5.265-.139q-2.829-.158-5.306-.496a42.222 42.222 0 0 1-7.658-1.805 48.282 48.282 0 0 1-1.79-.636Z",vectorEffect:"non-scaling-stroke"}))))},83320:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactComponent:function(){return i}});var r,o=n("5872");function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=e=>o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",stroke:"currentColor",strokeWidth:0,"aria-hidden":"true",style:{"--darkreader-inline-fill":"currentColor","--darkreader-inline-stroke":"currentColor"},viewBox:"0 0 20 20"},e),r||(r=o.createElement("path",{stroke:"none",d:"M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22z"})))},92366:function(e,t,n){"use strict";e.exports={container:"container-_2b857",fab:"fab-_08a6e",heading:"heading-_1bbcd",logo:"logo-ed314b"}},61001:function(e,t,n){"use strict";e.exports={backdrop:"backdrop-_51706","close-button":"close-button-c3742a",closeButton:"close-button-c3742a",container:"container-fb8255",frame:"frame-_5d7ff",loading:"loading-b07c1f",rotate:"rotate-db7214"}},98497:function(e,t,n){"use strict";e.exports={container:"container-d972e2"}},78097:function(e,t,n){"use strict";n.r(t),n("95818"),n("15787"),n("62940"),n("31401"),n("20578"),n("72595"),n("71614"),n("57762"),n("53049"),n("59890"),n("52489"),n("37179"),n("45059"),n("48759"),n("7783"),n("20964"),n("74366"),n("14078"),n("10029"),n("21992"),n("92271"),n("83318"),n("92111"),n("72656"),n("71851"),n("5026"),n("87361"),n("54957"),n("52027"),n("48668"),n("42160"),n("36480"),n("12577"),n("16997"),n("64045"),n("71217"),n("29640"),n("11288"),n("91809"),n("43990"),n("41484"),n("41910"),n("18840"),n("79956"),n("27364"),n("43308"),n("87295"),n("60315"),n("86876"),n("59424"),n("97219"),n("3712"),n("44117"),n("45434"),n("75460"),n("44503"),n("76383"),n("41195"),n("4331"),n("5780"),n("51826"),n("2392"),n("70157"),n("80495"),n("87313"),n("56273"),n("75069"),n("3091"),n("8256"),n("65244"),n("31867"),n("56821"),n("12035"),n("26249"),n("22584"),n("57497"),n("56221"),n("25283"),n("44913"),n("43743"),n("46911"),n("98617"),n("75190"),n("89765"),n("2913"),n("71242"),n("47062"),n("5377"),n("19971"),n("75779"),n("36800"),n("79148"),n("99803"),n("84036"),n("76728"),n("26548"),n("54615"),n("16982"),n("67393"),n("17781"),n("83418"),n("92417"),n("29267"),n("75182"),n("51297"),n("5732"),n("80907"),n("24638"),n("25983"),n("12620"),n("42393"),n("11935"),n("31938"),n("42542"),n("29910"),n("97630"),n("1016"),n("31922"),n("76739"),n("66354"),n("14942"),n("66066"),n("71829"),n("59186"),n("81660"),n("48053"),n("76959"),n("53183"),n("8532"),n("6868"),n("71859"),n("5574"),n("36825"),n("93567"),n("3200"),n("3238"),n("21862"),n("69660"),n("33350"),n("45661"),n("62323"),n("25221"),n("71510"),n("5258"),n("52348"),n("63305"),n("82997"),n("64667"),n("76544"),n("72499"),n("4600"),n("7229"),n("78394"),n("71874"),n("54626"),n("11057"),n("76074"),n("54925"),n("8254"),n("76805"),n("98846"),n("84691"),n("49191"),n("50558"),n("18031"),n("92816"),n("53423"),n("10166"),n("88849"),n("99885"),n("83323"),n("57101"),n("68883"),n("51104"),n("14218"),n("43421"),n("53116"),n("66923"),n("68961"),n("45259"),n("2531"),n("74814"),n("80401"),n("58627"),n("92798"),n("97748"),n("34999"),n("25911"),n("94384"),n("15056"),n("86706"),n("48373"),n("96709"),n("82176"),n("82495"),n("44477"),n("79944"),n("97461"),n("98451"),n("31119"),n("92881"),n("85304"),n("14182"),n("58922"),n("15919"),n("55723"),n("85373"),n("61554"),n("42634"),n("34414"),n("94117"),n("84733"),n("40184"),n("52450"),n("23101"),n("80779"),n("52823"),n("37799"),n("25837"),n("50375"),n("18001"),n("33059"),n("23566"),n("76270"),n("64983"),n("80072"),n("79061"),n("35397"),n("96746"),n("76462"),n("37850"),n("68590"),n("1733"),n("39779"),n("51558"),n("5794"),n("92265"),n("79914"),n("29294"),n("32451"),n("26743"),n("26579"),n("41773"),n("75281"),n("76682"),n("49985"),n("42067"),n("93220"),n("7549"),n("99623"),n("72814"),n("52253"),n("93625"),n("92180"),n("154"),n("77904"),n("76179"),n("1587"),n("39177"),n("45109"),n("1336"),n("78136"),n("7005"),n("84960"),n("32642"),n("99149"),n("29814"),n("75870"),n("71571"),n("77313"),n("95577"),n("72340"),n("20995"),n("1254"),n("84594"),n("37806"),n("33132"),n("83367"),n("90602"),n("52400"),n("84518"),n("27093"),n("44904"),n("65272"),n("15262"),n("65308"),n("70241"),n("17905"),n("39022"),n("34353"),n("49128"),n("72104"),n("1676"),n("50882")},80161:function(e,t,n){"use strict";n.r(t),window.__assetPrefix__="/__devtools"},92774:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsActionButton:function(){return p}});var r=n("2382"),o=n("43382"),a=n("86834"),i=n("83982"),s=n("5872"),c=n("20421"),l=n("55058"),u=n("47081"),d=n("92366"),v=n("47232"),f=n("85435"),h=n("95981"),p=e=>{var t=e.def.assets.logo,[n,p]=(0,c.useToggle)(!1),g=(0,l.withQuery)(e.endpoint,{src:e.dataSource}),_=(0,h.useStickyDraggable)({clamp:!0}),[m,w]=(0,s.useState)(()=>{var e,t=null!==(e=localStorage.getItem("__modern_js_devtools_appearance"))&&void 0!==e?e:"light";return localStorage.setItem("__modern_js_devtools_appearance",t),t});return(0,c.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&w(e.newValue||void 0)}),(0,c.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&p()}),(0,a.jsxs)(i.Theme,{appearance:m,className:m,children:[(0,a.jsx)(u.default,{when:n,keepAlive:!0,children:(0,a.jsx)("div",{className:d.container,children:(0,a.jsx)(v.FrameBox,{src:g,onClose:()=>p(!1),style:{pointerEvents:_.isDragging?"none":"auto"}})})}),(0,a.jsx)(i.Flex,{asChild:!0,py:"1",px:"2",align:"center",children:(0,a.jsxs)("button",(0,o._)((0,r._)({className:d.fab,onClick:()=>p()},_.props),{children:[(0,a.jsx)("img",{className:d.logo,src:t,alt:""}),(0,a.jsx)(f.ReactComponent,{className:d.heading})]}))})]})}},47232:function(e,t,n){"use strict";n.r(t),n.d(t,{FrameBox:function(){return v}});var r=n("2382"),o=n("43382"),a=n("19672"),i=n("86834"),s=n("5872"),c=n("83982"),l=n("56971"),u=n("61001"),d=n("83320"),v=e=>{var{src:t,onClose:n}=e,v=(0,a._)(e,["src","onClose"]),[f,h]=(0,s.useState)(!1);return(0,i.jsxs)(c.Box,(0,o._)((0,r._)({className:u.container},v),{children:[(0,i.jsx)("iframe",{className:u.frame,onLoad:()=>h(!0),src:t}),(0,i.jsx)(d.ReactComponent,{className:u.closeButton,onClick:()=>null==n?void 0:n()}),(0,i.jsx)("div",{className:u.backdrop,style:{display:f?"none":void 0},children:(0,i.jsx)(l.LoaderIcon,{className:u.loading})})]}))}},56971:function(e,t,n){"use strict";n.r(t),n.d(t,{LoaderIcon:function(){return i}});var r=n("2382"),o=n("43382"),a=n("86834");n("5872");var i=e=>(0,a.jsx)("svg",(0,o._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeDasharray:"56.548667764616276",strokeDashoffset:"14.137166941154069"})}))},47081:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n("86834"),o=n("5872"),a=e=>{var t,n=null===(t=e.keepAlive)||void 0===t||t,{when:a}=e,i=(0,o.useRef)(!1);a&&(i.current=!0);var s=n?i.current:a;return s?(0,r.jsx)("div",{style:{display:!n||a?"unset":"none"},children:e.children}):null}},90309:function(e,t,n){"use strict";n.r(t);var r=n("2382"),o=n("86834");n("36109");var a=n("60182"),i=n("55058"),s=n("52493"),c=n.n(s),l=n("25442"),u=n("98497"),d=n("92774"),{container:v,resourceQuery:f}=window._modern_js_devtools_app;v.classList.add(u.container);var h=(0,a.createRoot)(v),p=(0,i.parseQuery)(f);if(!c().isString(p.dataSource)||!c().isString(p.def)||!c().isString(p.endpoint))throw TypeError("Failed to parse client definitions of devtools: ".concat(f));var g={dataSource:p.dataSource,endpoint:p.endpoint,def:JSON.parse(p.def)};(0,l.waitClientConnection)(),h.render((0,o.jsx)(d.DevtoolsActionButton,(0,r._)({},g)))},36109:function(e,t,n){"use strict";n.r(t);var r=n("57662");if(!window.opener)try{try{delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}(0,r.initialize)(window);var o=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub=(e,t)=>{if("devtools-backend-installed"!==e)return o(e,t)}}catch(e){var a=Error("Failed to inject React DevTools backend.");a.cause=e,console.error(a)}},96177:function(e,t,n){"use strict";n.r(t),n.d(t,{waitClientConnection:function(){return f}});var r,o,a=n("92255"),i=n("9880"),s=n.n(i),c=n("88739"),l=n("57662"),u=n("2046"),d=n("27542");var v=(r=(0,a._)(function*(e){var{port:t}=e,n=new d.ReactDevtoolsWallAgent,r=(0,c.createBirpc)({sendReactDevtoolsData:e=>(0,a._)(function*(){n.emit(e)})(),activateReactDevtools:()=>(0,a._)(function*(){var e=(0,l.createBridge)(window,n);(0,l.activate)(window,{bridge:e})})()},{post:e=>t.postMessage(e),on:e=>t.onmessage=e,deserialize:e=>e.data,timeout:500});return n.sender=e=>r.sendReactDevtoolsData(e),{client:r,wall:n}}),function(e){return r.apply(this,arguments)});var f=(o=(0,a._)(function*(){var e,t=s()();var n=(e=(0,a._)(function*(e){if(!!e.data&&"object"==typeof e.data){if(e.data.type===u.CLIENT_CONNECT_EVENT){var r=e.ports[0];if(!r)throw Error("Missing message channel port from devtools.");window.removeEventListener("message",n);var o=yield v({port:r});yield o.client.onMountPointConnect(),t.resolve(o)}}}),function(t){return e.apply(this,arguments)});return window.addEventListener("message",n),t.promise}),function(){return o.apply(this,arguments)})},25442:function(e,t,n){"use strict";n.r(t);var r=n("96177");n.es(r,t)},2046:function(e,t,n){"use strict";n.r(t),n.d(t,{CLIENT_CONNECT_EVENT:function(){return r}});var r="modern_js_devtools::client::connect"},95981:function(e,t,n){"use strict";n.r(t),n.d(t,{useStickyDraggable:function(){return c}});var r=n("5872"),o=n("20421"),a=(e,t)=>{var n,r;return null!==(r=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==r&&r},i=e=>{var[t,...n]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),r=n.findIndex(e=>{var{key:n}=e;return a(t.key,n)}),[o]=n.splice(r,1);return[t,o,n[0],n[1]]},s=e=>{var{top:t,left:n,height:r,width:o}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-r,right:window.innerWidth-n-o}},c=e=>{var t,n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",a="number"==typeof n?"".concat(n,"px"):n,[c,l]=(0,r.useState)(),u=()=>{if(c){c.moveable=!1;var{el:e}=c,[t]=i(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{l(void 0),e.style[t.key]=a})}},d=t=>{var n="touches"in t?t.touches[0]:t;if(null==c?void 0:c.moveable){var{startX:r,startY:o}=c;Math.pow(r-n.clientX,2)+Math.pow(o-n.clientY,2)>9&&(c.clickable=!1);var{width:s,height:l}=c.el.getBoundingClientRect(),u=n.clientY-c.offsetY,d=n.clientX-c.offsetX,v=i({top:u,left:d,bottom:window.innerHeight-u-l,right:window.innerWidth-d-s}).map(e=>{var{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(var f of v){var h=["top","bottom"].includes(f.key)?window.innerHeight-l:window.innerWidth-s;f.value="clamp(".concat(a,", ").concat(f.value,", ").concat(h,"px)")}var[p,g,..._]=v,{style:m}=c.el;m.transition="",m[p.key]=p.value,m[g.key]=g.value,m[_[0].key]="auto",m[_[1].key]="auto"}};(0,o.useEvent)("blur",u),(0,o.useEvent)("mouseup",u),(0,o.useEvent)("touchend",u),(0,o.useEvent)("mousemove",d),(0,o.useEvent)("touchmove",d);var v=e=>{var t="touches"in e?e.touches[0]:e,n=e.currentTarget,r=n.getBoundingClientRect(),o=t.clientX-r.left;l({el:n,clickable:!0,moveable:!0,offsetX:o,offsetY:t.clientY-r.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!c,props:{onMouseDown:v,onTouchStart:v,onClickCapture:e=>{(null==c?void 0:c.clickable)||e.stopPropagation()}}}}},27542:function(e,t,n){"use strict";n.r(t),n.d(t,{ReactDevtoolsWallAgent:function(){return r}});class r{send(e,t,n){var r;null===(r=this.sender)||void 0===r||r.call(this,{event:e,payload:t,transferable:n})}listen(e){return this.listeners.includes(e)||this.listeners.push(e),e}emit(e){for(var t of this.listeners)t(e)}constructor(){this.listeners=[]}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","58","707","807","821"],function(){return t("80161"),t("78097"),t("93474"),t("10302"),t("90309")}),e.O()}]);
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
|
|
21
21
|
/*! core-js/modules/esnext.reflect.get-metadata-keys.js */
|
|
22
22
|
|
|
23
|
+
/*! p-defer */
|
|
24
|
+
|
|
23
25
|
/*! core-js/modules/es.typed-array.of.js */
|
|
24
26
|
|
|
25
27
|
/*! @radix-ui/themes */
|
|
@@ -68,7 +70,7 @@
|
|
|
68
70
|
|
|
69
71
|
/*! ../Visible */
|
|
70
72
|
|
|
71
|
-
/*!
|
|
73
|
+
/*! @/components/Devtools/Action */
|
|
72
74
|
|
|
73
75
|
/*! core-js/modules/esnext.async-iterator.constructor.js */
|
|
74
76
|
|
|
@@ -76,14 +78,10 @@
|
|
|
76
78
|
|
|
77
79
|
/*! core-js/modules/esnext.object.iterate-entries.js */
|
|
78
80
|
|
|
79
|
-
/*!
|
|
80
|
-
|
|
81
|
-
/*! react-use */
|
|
81
|
+
/*! ./react-devtools-backend */
|
|
82
82
|
|
|
83
83
|
/*! core-js/modules/esnext.function.metadata.js */
|
|
84
84
|
|
|
85
|
-
/*! lodash */
|
|
86
|
-
|
|
87
85
|
/*! core-js/modules/es.typed-array.find-last-index.js */
|
|
88
86
|
|
|
89
87
|
/*! core-js/modules/es.promise.finally.js */
|
|
@@ -148,8 +146,6 @@
|
|
|
148
146
|
|
|
149
147
|
/*! core-js/modules/es.aggregate-error.cause.js */
|
|
150
148
|
|
|
151
|
-
/*! ./index.module.scss */
|
|
152
|
-
|
|
153
149
|
/*! core-js/modules/esnext.iterator.reduce.js */
|
|
154
150
|
|
|
155
151
|
/*! core-js/modules/esnext.map.delete-all.js */
|
|
@@ -200,8 +196,6 @@
|
|
|
200
196
|
|
|
201
197
|
/*! core-js/modules/es.array.to-sorted.js */
|
|
202
198
|
|
|
203
|
-
/*! ./rpc */
|
|
204
|
-
|
|
205
199
|
/*! core-js/modules/esnext.function.is-constructor.js */
|
|
206
200
|
|
|
207
201
|
/*! core-js/modules/esnext.string.dedent.js */
|
|
@@ -236,8 +230,6 @@
|
|
|
236
230
|
|
|
237
231
|
/*! core-js/modules/esnext.reflect.metadata.js */
|
|
238
232
|
|
|
239
|
-
/*! ufo */
|
|
240
|
-
|
|
241
233
|
/*! core-js/modules/es.array.unshift.js */
|
|
242
234
|
|
|
243
235
|
/*! core-js/modules/esnext.function.is-callable.js */
|
|
@@ -264,8 +256,6 @@
|
|
|
264
256
|
|
|
265
257
|
/*! core-js/modules/es.number.to-exponential.js */
|
|
266
258
|
|
|
267
|
-
/*! ./client */
|
|
268
|
-
|
|
269
259
|
/*! react-devtools-inline/backend */
|
|
270
260
|
|
|
271
261
|
/*! core-js/modules/es.string.split.js */
|
|
@@ -294,8 +284,6 @@
|
|
|
294
284
|
|
|
295
285
|
/*! core-js/modules/esnext.math.rad-per-deg.js */
|
|
296
286
|
|
|
297
|
-
/*! @swc/helpers/_/_async_to_generator */
|
|
298
|
-
|
|
299
287
|
/*! ./heading.svg */
|
|
300
288
|
|
|
301
289
|
/*! core-js/modules/es.reflect.set.js */
|
|
@@ -326,14 +314,14 @@
|
|
|
326
314
|
|
|
327
315
|
/*! ufo */
|
|
328
316
|
|
|
329
|
-
/*! react-dom/client */
|
|
330
|
-
|
|
331
317
|
/*! core-js/modules/es.number.parse-float.js */
|
|
332
318
|
|
|
333
319
|
/*! core-js/modules/esnext.map.update.js */
|
|
334
320
|
|
|
335
321
|
/*! core-js/modules/esnext.math.f16round.js */
|
|
336
322
|
|
|
323
|
+
/*! birpc */
|
|
324
|
+
|
|
337
325
|
/*! core-js/modules/es.typed-array.set.js */
|
|
338
326
|
|
|
339
327
|
/*! core-js/modules/esnext.async-iterator.drop.js */
|
|
@@ -342,8 +330,6 @@
|
|
|
342
330
|
|
|
343
331
|
/*! core-js/modules/esnext.async-iterator.indexed.js */
|
|
344
332
|
|
|
345
|
-
/*! p-defer */
|
|
346
|
-
|
|
347
333
|
/*! core-js/modules/es.object.lookup-setter.js */
|
|
348
334
|
|
|
349
335
|
/*! core-js/modules/es.symbol.match.js */
|
|
@@ -370,6 +356,8 @@
|
|
|
370
356
|
|
|
371
357
|
/*! core-js/modules/esnext.weak-map.delete-all.js */
|
|
372
358
|
|
|
359
|
+
/*! lodash */
|
|
360
|
+
|
|
373
361
|
/*! core-js/modules/esnext.array-buffer.transfer-to-fixed-length.js */
|
|
374
362
|
|
|
375
363
|
/*! core-js/modules/esnext.async-iterator.take.js */
|
|
@@ -388,6 +376,8 @@
|
|
|
388
376
|
|
|
389
377
|
/*! @swc/helpers/_/_object_spread_props */
|
|
390
378
|
|
|
379
|
+
/*! @/types/rpc */
|
|
380
|
+
|
|
391
381
|
/*! core-js/modules/es.typed-array.uint8-array.js */
|
|
392
382
|
|
|
393
383
|
/*! core-js/modules/es.object.get-own-property-descriptors.js */
|
|
@@ -416,6 +406,8 @@
|
|
|
416
406
|
|
|
417
407
|
/*! core-js/modules/esnext.iterator.take.js */
|
|
418
408
|
|
|
409
|
+
/*! ./index.module.scss */
|
|
410
|
+
|
|
419
411
|
/*! core-js/modules/es.symbol.match-all.js */
|
|
420
412
|
|
|
421
413
|
/*! core-js/modules/es.string.is-well-formed.js */
|
|
@@ -478,6 +470,10 @@
|
|
|
478
470
|
|
|
479
471
|
/*! core-js/modules/esnext.map.of.js */
|
|
480
472
|
|
|
473
|
+
/*! react */
|
|
474
|
+
|
|
475
|
+
/*! ./rpc */
|
|
476
|
+
|
|
481
477
|
/*! core-js/modules/es.object.entries.js */
|
|
482
478
|
|
|
483
479
|
/*! core-js/modules/esnext.set.is-superset-of.js */
|
|
@@ -488,6 +484,10 @@
|
|
|
488
484
|
|
|
489
485
|
/*! core-js/modules/es.aggregate-error.js */
|
|
490
486
|
|
|
487
|
+
/*! @/utils/react-devtools */
|
|
488
|
+
|
|
489
|
+
/*! react-use */
|
|
490
|
+
|
|
491
491
|
/*! core-js/modules/esnext.function.un-this.js */
|
|
492
492
|
|
|
493
493
|
/*! core-js/modules/es.object.has-own.js */
|
|
@@ -512,9 +512,9 @@
|
|
|
512
512
|
|
|
513
513
|
/*! core-js/modules/esnext.iterator.from.js */
|
|
514
514
|
|
|
515
|
-
/*!
|
|
515
|
+
/*! ufo */
|
|
516
516
|
|
|
517
|
-
/*!
|
|
517
|
+
/*! core-js/modules/es.array-buffer.slice.js */
|
|
518
518
|
|
|
519
519
|
/*! core-js/modules/esnext.set.find.js */
|
|
520
520
|
|
|
@@ -574,6 +574,8 @@
|
|
|
574
574
|
|
|
575
575
|
/*! core-js/modules/esnext.weak-map.emplace.js */
|
|
576
576
|
|
|
577
|
+
/*! react-dom/client */
|
|
578
|
+
|
|
577
579
|
/*! core-js/modules/esnext.map.group-by.js */
|
|
578
580
|
|
|
579
581
|
/*! core-js/modules/esnext.map.every.js */
|
|
@@ -642,7 +644,7 @@
|
|
|
642
644
|
|
|
643
645
|
/*! core-js/modules/esnext.array.group-to-map.js */
|
|
644
646
|
|
|
645
|
-
/*!
|
|
647
|
+
/*! ./client */
|
|
646
648
|
|
|
647
649
|
/*! core-js/modules/es.regexp.test.js */
|
|
648
650
|
|
|
@@ -650,6 +652,8 @@
|
|
|
650
652
|
|
|
651
653
|
/*! core-js/modules/esnext.reflect.has-metadata.js */
|
|
652
654
|
|
|
655
|
+
/*! react-devtools-inline/backend */
|
|
656
|
+
|
|
653
657
|
/*! core-js/modules/esnext.disposable-stack.constructor.js */
|
|
654
658
|
|
|
655
659
|
/*! core-js/modules/es.string.ends-with.js */
|
|
@@ -658,6 +662,8 @@
|
|
|
658
662
|
|
|
659
663
|
/*! core-js/modules/esnext.set.from.js */
|
|
660
664
|
|
|
665
|
+
/*! @swc/helpers/_/_async_to_generator */
|
|
666
|
+
|
|
661
667
|
/*! core-js/modules/es.string.replace-all.js */
|
|
662
668
|
|
|
663
669
|
/*! core-js/modules/esnext.array.filter-out.js */
|
|
@@ -674,6 +680,4 @@
|
|
|
674
680
|
|
|
675
681
|
/*! core-js/modules/esnext.promise.with-resolvers.js */
|
|
676
682
|
|
|
677
|
-
/*! @/types/rpc */
|
|
678
|
-
|
|
679
683
|
/*! core-js/modules/web.url.js */
|
package/exports/mount.mjs
CHANGED
|
@@ -1,29 +1,5 @@
|
|
|
1
|
-
import { initialize } from 'react-devtools-inline/backend';
|
|
2
1
|
import routesManifest from '../dist/routes-manifest.json';
|
|
3
2
|
|
|
4
|
-
if (!window.opener) {
|
|
5
|
-
try {
|
|
6
|
-
// Delete existing devtools hooks registered by react devtools extension.
|
|
7
|
-
try {
|
|
8
|
-
delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
9
|
-
} catch {}
|
|
10
|
-
// Call this before importing React (or any other packages that might import React).
|
|
11
|
-
initialize(window);
|
|
12
|
-
// Deny react devtools extension to activate.
|
|
13
|
-
const originSubHook = window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;
|
|
14
|
-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub = (e, handler) => {
|
|
15
|
-
if (e === 'devtools-backend-installed') {
|
|
16
|
-
return undefined;
|
|
17
|
-
}
|
|
18
|
-
return originSubHook(e, handler);
|
|
19
|
-
};
|
|
20
|
-
} catch (err) {
|
|
21
|
-
const e = new Error('Failed to inject React DevTools backend.');
|
|
22
|
-
e.cause = err;
|
|
23
|
-
console.error(e);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
3
|
try {
|
|
28
4
|
const container = document.createElement('div');
|
|
29
5
|
container.className = '_modern_js_devtools_container';
|
|
@@ -60,4 +36,5 @@ try {
|
|
|
60
36
|
const e = new Error('Failed to execute mount point of DevTools.');
|
|
61
37
|
e.cause = err;
|
|
62
38
|
console.error(e);
|
|
39
|
+
console.error(err);
|
|
63
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/devtools-client",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231228170609",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.0.0"
|
|
6
6
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@radix-ui/react-popover": "^1.0.7",
|
|
23
23
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
24
24
|
"@radix-ui/themes": "^2.0.0",
|
|
25
|
-
"@rsbuild/core": "0.2.
|
|
25
|
+
"@rsbuild/core": "0.2.11",
|
|
26
26
|
"@types/jest": "^29",
|
|
27
27
|
"@types/lodash": "^4.14.202",
|
|
28
28
|
"@types/node": "~16.11.7",
|
|
@@ -53,17 +53,17 @@
|
|
|
53
53
|
"typescript": "~5.0.4",
|
|
54
54
|
"ufo": "^1.3.0",
|
|
55
55
|
"valtio": "^1.11.1",
|
|
56
|
-
"@modern-js-app/eslint-config": "0.0.0-nightly-
|
|
57
|
-
"@modern-js/app-tools": "0.0.0-nightly-
|
|
58
|
-
"@modern-js/builder-
|
|
59
|
-
"@modern-js/builder-
|
|
60
|
-
"@modern-js/
|
|
61
|
-
"@modern-js/
|
|
62
|
-
"@modern-js/devtools-kit": "0.0.0-nightly-
|
|
63
|
-
"@modern-js/
|
|
64
|
-
"@modern-js/
|
|
65
|
-
"@modern-js/
|
|
66
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
56
|
+
"@modern-js-app/eslint-config": "0.0.0-nightly-20231228170609",
|
|
57
|
+
"@modern-js/app-tools": "0.0.0-nightly-20231228170609",
|
|
58
|
+
"@modern-js/builder-rspack-provider": "0.0.0-nightly-20231228170609",
|
|
59
|
+
"@modern-js/builder-shared": "0.0.0-nightly-20231228170609",
|
|
60
|
+
"@modern-js/eslint-config": "0.0.0-nightly-20231228170609",
|
|
61
|
+
"@modern-js/plugin-proxy": "0.0.0-nightly-20231228170609",
|
|
62
|
+
"@modern-js/devtools-kit": "0.0.0-nightly-20231228170609",
|
|
63
|
+
"@modern-js/tsconfig": "0.0.0-nightly-20231228170609",
|
|
64
|
+
"@modern-js/runtime": "0.0.0-nightly-20231228170609",
|
|
65
|
+
"@modern-js/types": "0.0.0-nightly-20231228170609",
|
|
66
|
+
"@modern-js/utils": "0.0.0-nightly-20231228170609"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"reset": "npx rimraf ./**/node_modules",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(){var e,t,n,r,o,i,a,c,u,l,f,d,s,p,b={},g={};function h(e){var t=g[e];if(void 0!==t)return t.exports;var n=g[e]={id:e,loaded:!1,exports:{}};return b[e](n,n.exports,h),n.loaded=!0,n.exports}h.m=b,h.es=function(e,t){return Object.keys(e).forEach(function(n){"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e},e={"52915@10256:10382":["860"],"52915@10812:10926":["925"],"52915@11073:11187":["925"],"52915@11687:11799":["161"],"52915@11953:12065":["161"],"52915@12681:12775":["127"],"52915@12912:13006":["127"],"52915@13562:13668":["718"],"52915@13819:13925":["718"],"52915@14341:14451":["631"],"52915@14596:14706":["631"],"52915@15212:15330":["851","483"],"52915@15487:15605":["851","483"],"52915@16039:16161":["299"],"52915@16312:16434":["299"],"52915@16836:16962":["752"],"52915@17115:17241":["752"],"52915@17651:17757":["945"],"52915@17900:18006":["945"],"52915@1961:2103":["769","670"],"52915@2272:2414":["769","670"],"52915@3003:3111":["943"],"52915@3263:3371":["943"],"52915@3880:3992":["518"],"52915@4138:4250":["518"],"52915@4766:4892":["769","958"],"52915@5053:5179":["769","958"],"52915@5637:5767":["769","818"],"52915@5930:6060":["769","818"],"52915@6538:6648":["361"],"52915@6801:6911":["361"],"52915@7424:7538":["504"],"52915@7685:7799":["504"],"52915@8313:8437":["730"],"52915@8597:8721":["730"],"52915@9152:9262":["963"],"52915@9415:9525":["963"],"52915@9969:10095":["860"]},h.el=function(t){var n=e[t];return void 0===n?Promise.resolve():n.length>1?Promise.all(n.map(h.e)):h.e(n[0])},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,n){return h.f[n](e,t),t},[]))},t=[],h.O=function(e,n,r,o){if(n){o=o||0;for(var i=t.length;i>0&&t[i-1][2]>o;i--)t[i]=t[i-1];t[i]=[n,r,o];return}for(var a=1/0,i=0;i<t.length;i++){for(var n=t[i][0],r=t[i][1],o=t[i][2],c=!0,u=0;u<n.length;u++)a>=o&&Object.keys(h.O).every(function(e){return h.O[e](n[u])})?n.splice(u--,1):(c=!1,o<a&&(a=o));if(c){t.splice(i--,1);var l=r();void 0!==l&&(e=l)}}return e},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},r=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},h.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var o=Object.create(null);h.r(o);var i={};n=n||[null,r({}),r([]),r(r)];for(var a=2&t&&e;"object"==typeof a&&!~n.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(function(t){i[t]=function(){return e[t]}});return i.default=function(){return e},h.d(o,i),o},h.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},h.nc=void 0,h.p="/__devtools/",h.u=function(e){return"static/js/async/"+(({127:"client_page",161:"client_overview/page",299:"client_react/(tab)/layout",361:"client_context/page",483:"client_react/(tab)/page",504:"client_context/layout",518:"client_config/layout",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",752:"client_react/offscreen/page",818:"client_context/framework/page",860:"client_headers/welcome/page",925:"client_headers/layout",943:"client_config/page",945:"client_react/page",958:"client_context/builder/page",963:"client_headers/page"})[e]||e)+"."+({127:"02104fa3",161:"9fd93497",299:"3fc4c280",361:"28900e48",483:"1fdfe20d",504:"7963208c",518:"cfac38e1",631:"111351b1",670:"f2371014",718:"881fd6f7",730:"b9ab7c3b",752:"e6566f05",769:"080b83be",818:"2e90bc7c",851:"e4339a7f",860:"08927618",925:"9ba8bfc7",943:"fe1bf462",945:"c992b662",958:"8cc088fb",963:"62fff212"})[e]+".js"},h.k=function(e){return"static/css/async/"+(({161:"client_overview/page",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",818:"client_context/framework/page",925:"client_headers/layout",958:"client_context/builder/page"})[e]||e)+"."+({161:"56f70470",631:"5120bebd",670:"c66a6c70",718:"02386144",730:"e29517c9",818:"c66a6c70",925:"9bd205b2",958:"c66a6c70"})[e]+".css"},o={},h.l=function(e,t,n,r){if(o[e]){o[e].push(t);return}if(void 0!==n){for(var i,a,c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var l=c[u];if(l.getAttribute("src")==e){i=l;break}}}!i&&(a=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,h.nc&&i.setAttribute("nonce",h.nc),i.src=e),o[e]=[t];var f=function(t,n){i.onerror=i.onload=null,clearTimeout(d);var r=o[e];if(delete o[e],i.parentNode&&i.parentNode.removeChild(i),r&&r.forEach(function(e){return e(n)}),t)return t(n)},d=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)},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i={118:0,126:0,160:0,242:0,58:0,707:0,821:0},a="webpack",c="data-webpack-loading",u=function(e,t,n,r){var o,i,u="chunk-"+e;if(!r){for(var l=document.getElementsByTagName("link"),f=0;f<l.length;f++){var d=l[f],s=d.getAttribute("href")||d.href;if(s&&!s.startsWith(h.p)&&(s=h.p+(s.startsWith("/")?s.slice(1):s)),"stylesheet"==d.rel&&(s&&s.startsWith(t)||d.getAttribute("data-webpack")==a+":"+u)){o=d;break}}if(!n)return o}!o&&(i=!0,(o=document.createElement("link")).setAttribute("data-webpack",a+":"+u),o.setAttribute(c,1),o.rel="stylesheet",o.href=t);var p=function(e,t){if(o.onerror=o.onload=null,o.removeAttribute(c),clearTimeout(b),t&&"load"!=t.type&&o.parentNode.removeChild(o),n(t),e)return e(t)};if(o.getAttribute(c)){var b=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload)}else p(void 0,{type:"load",target:o});return r?r.parentNode.insertBefore(o,r):i&&document.head.appendChild(o),o},h.f.css=function(e,t){var n=h.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(161|400|462|631|670|718|730|807|818|925|958)$/.test(e)){var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.k(e),a=Error();u(e,o,function(t){if(h.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){if("load"!==t.type){var r=t&&t.type,o=t&&t.target&&t.target.src;a.message="Loading css chunk "+e+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,n[1](a)}else n[0]()}})}else i[e]=0}},l=function(e,t){var n=t[0];e&&e(t);for(var r=0;r<n.length;r++)void 0===i[n[r]]&&(i[n[r]]=0)},(f=self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).forEach(l.bind(null,0)),f.push=l.bind(null,f.push.bind(f)),d={242:0},h.f.j=function(e,t){var n=h.o(d,e)?d[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if("242"!=e){var r=new Promise(function(t,r){n=d[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.u(e),i=Error();h.l(o,function(t){if(h.o(d,e)&&(0!==(n=d[e])&&(d[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}else d[e]=0}},h.O.j=function(e){return 0===d[e]},s=function(e,t){var n=t[0],r=t[1],o=t[2],i,a,c=0;if(n.some(function(e){return 0!==d[e]})){for(i in r)h.o(r,i)&&(h.m[i]=r[i]);if(o)var u=o(h)}for(e&&e(t);c<n.length;c++)a=n[c],h.o(d,a)&&d[a]&&d[a][0](),d[a]=0;return h.O(u)},(p=self.webpackChunk_modern_js_devtools_client=self.webpackChunk_modern_js_devtools_client||[]).forEach(s.bind(null,0)),p.push=s.bind(null,p.push.bind(p))}();
|
|
File without changes
|