@modern-js/devtools-client 2.47.1 → 2.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/html/client/index.html +3 -3
  2. package/dist/html/mount/index.html +3 -3
  3. package/dist/modern.config.json +5 -4
  4. package/dist/public/sw-proxy.js +1 -1
  5. package/dist/routes-manifest.json +87 -87
  6. package/dist/static/js/{669.4c467935.js → 615.c7bf959b.js} +2 -2
  7. package/dist/static/js/{669.4c467935.js.LICENSE.txt → 615.c7bf959b.js.LICENSE.txt} +233 -233
  8. package/dist/static/js/768.09265bdf.js +12 -0
  9. package/dist/static/js/987.da197c98.js +6 -0
  10. package/dist/static/js/{28.ff9cf79c.js.LICENSE.txt → 987.da197c98.js.LICENSE.txt} +377 -377
  11. package/dist/static/js/991.0a8930ea.js +2 -0
  12. package/dist/static/js/{405.a362a59e.js.LICENSE.txt → 991.0a8930ea.js.LICENSE.txt} +72 -72
  13. package/dist/static/js/async/13.713eafbf.js +2 -0
  14. package/dist/static/js/async/{574.5ecbe81d.js.LICENSE.txt → 13.713eafbf.js.LICENSE.txt} +9 -9
  15. package/dist/static/js/async/{769.e476d373.js → 769.e85f7c76.js} +2 -2
  16. package/dist/static/js/async/{769.e476d373.js.LICENSE.txt → 769.e85f7c76.js.LICENSE.txt} +51 -51
  17. package/dist/static/js/async/851.ee5298ce.js +107 -0
  18. package/dist/static/js/async/client_config/layout.93d5447a.js +2 -0
  19. package/dist/static/js/async/client_config/layout.93d5447a.js.LICENSE.txt +5 -0
  20. package/dist/static/js/async/client_config/page.855825e9.js +1 -0
  21. package/dist/static/js/async/client_context/builder/page.57367f46.js +2 -0
  22. package/dist/static/js/async/client_context/{framework/page.8193408b.js.LICENSE.txt → builder/page.57367f46.js.LICENSE.txt} +10 -10
  23. package/dist/static/js/async/client_context/framework/page.3ab93d05.js +2 -0
  24. package/dist/static/js/async/client_context/{builder/page.4fb84cc6.js.LICENSE.txt → framework/page.3ab93d05.js.LICENSE.txt} +10 -10
  25. package/dist/static/js/async/{client_config/layout.74621de5.js → client_context/layout.2e062ccf.js} +2 -2
  26. package/dist/static/js/async/client_context/page.ac1c2b07.js +1 -0
  27. package/dist/static/js/async/client_doctor/page.bdd34893.js +2 -0
  28. package/dist/static/js/async/client_doctor/{page.9757e8c5.js.LICENSE.txt → page.bdd34893.js.LICENSE.txt} +18 -18
  29. package/dist/static/js/async/client_headers/editor/page.5bbf97db.js +2 -0
  30. package/dist/static/js/async/client_headers/editor/{page.f6e89a4f.js.LICENSE.txt → page.5bbf97db.js.LICENSE.txt} +15 -15
  31. package/dist/static/js/async/client_headers/layout.ba55a562.js +2 -0
  32. package/dist/static/js/async/client_headers/page.2e32f9e7.js +1 -0
  33. package/dist/static/js/async/client_headers/welcome/{page.8e092837.js → page.ae0ee7b1.js} +2 -2
  34. package/dist/static/js/async/client_overview/page.8dea53dd.js +2 -0
  35. package/dist/static/js/async/client_overview/{page.b36b0893.js.LICENSE.txt → page.8dea53dd.js.LICENSE.txt} +14 -14
  36. package/dist/static/js/async/client_page.98d64feb.js +1 -0
  37. package/dist/static/js/async/client_pages/layout.12947364.js +2 -0
  38. package/dist/static/js/async/client_pages/page.b8ca3bf4.js +2 -0
  39. package/dist/static/js/async/client_pages/{page.7fbc044c.js.LICENSE.txt → page.b8ca3bf4.js.LICENSE.txt} +66 -66
  40. package/dist/static/js/async/client_react/(tab)/layout.e0c7fdb9.js +2 -0
  41. package/dist/static/js/async/client_react/(tab)/page.af8bdb2c.js +2 -0
  42. package/dist/static/js/async/client_react/(tab)/{page.e4b4ca14.js.LICENSE.txt → page.af8bdb2c.js.LICENSE.txt} +5 -7
  43. package/dist/static/js/async/client_react/offscreen/page.304766aa.js +2 -0
  44. package/dist/static/js/async/client_react/offscreen/page.304766aa.js.LICENSE.txt +5 -0
  45. package/dist/static/js/async/client_react/page.e5920d0a.js +1 -0
  46. package/dist/static/js/builder-runtime.c28b57b7.js +1 -0
  47. package/dist/static/js/client.296a9f94.js +2 -0
  48. package/dist/static/js/{client.f70bf229.js.LICENSE.txt → client.296a9f94.js.LICENSE.txt} +172 -172
  49. package/dist/static/js/components.ac000cae.js +1 -0
  50. package/dist/static/js/lib-lodash.29bef8c5.js +1 -0
  51. package/dist/static/js/lib-polyfill.e92737b9.js +2 -0
  52. package/dist/static/js/lib-react.0fc8ed3b.js +2 -0
  53. package/dist/static/js/lib-router.d8fe5836.js +2 -0
  54. package/dist/static/js/{lib-router.651a118d.js.LICENSE.txt → lib-router.d8fe5836.js.LICENSE.txt} +6 -6
  55. package/dist/static/js/mount.0469c3d3.js +2 -0
  56. package/dist/static/js/{mount.510535ae.js.LICENSE.txt → mount.0469c3d3.js.LICENSE.txt} +38 -40
  57. package/package.json +12 -12
  58. package/dist/static/js/28.ff9cf79c.js +0 -6
  59. package/dist/static/js/405.a362a59e.js +0 -2
  60. package/dist/static/js/768.cc6b6105.js +0 -12
  61. package/dist/static/js/async/574.5ecbe81d.js +0 -2
  62. package/dist/static/js/async/851.10db2ec6.js +0 -107
  63. package/dist/static/js/async/client_config/page.aab3b105.js +0 -1
  64. package/dist/static/js/async/client_context/builder/page.4fb84cc6.js +0 -2
  65. package/dist/static/js/async/client_context/framework/page.8193408b.js +0 -2
  66. package/dist/static/js/async/client_context/layout.5323e5cd.js +0 -2
  67. package/dist/static/js/async/client_context/layout.5323e5cd.js.LICENSE.txt +0 -5
  68. package/dist/static/js/async/client_context/page.e011c45f.js +0 -1
  69. package/dist/static/js/async/client_doctor/page.9757e8c5.js +0 -2
  70. package/dist/static/js/async/client_headers/editor/page.f6e89a4f.js +0 -2
  71. package/dist/static/js/async/client_headers/layout.1c0290a9.js +0 -2
  72. package/dist/static/js/async/client_headers/page.d98208e7.js +0 -1
  73. package/dist/static/js/async/client_overview/page.b36b0893.js +0 -2
  74. package/dist/static/js/async/client_page.50bf0cdc.js +0 -1
  75. package/dist/static/js/async/client_pages/layout.c9ca92dd.js +0 -2
  76. package/dist/static/js/async/client_pages/page.7fbc044c.js +0 -2
  77. package/dist/static/js/async/client_react/(tab)/layout.b9d4424b.js +0 -2
  78. package/dist/static/js/async/client_react/(tab)/page.e4b4ca14.js +0 -2
  79. package/dist/static/js/async/client_react/offscreen/page.fe448b0c.js +0 -2
  80. package/dist/static/js/async/client_react/offscreen/page.fe448b0c.js.LICENSE.txt +0 -5
  81. package/dist/static/js/async/client_react/page.b813d5a5.js +0 -1
  82. package/dist/static/js/builder-runtime.292aab36.js +0 -1
  83. package/dist/static/js/client.f70bf229.js +0 -2
  84. package/dist/static/js/components.449e2c3f.js +0 -1
  85. package/dist/static/js/lib-lodash.104ea357.js +0 -1
  86. package/dist/static/js/lib-polyfill.f1a659c9.js +0 -2
  87. package/dist/static/js/lib-react.38c297f4.js +0 -2
  88. package/dist/static/js/lib-router.651a118d.js +0 -2
  89. package/dist/static/js/mount.510535ae.js +0 -2
  90. /package/dist/static/css/{28.1aa2771e.css → 987.390571a0.css} +0 -0
  91. /package/dist/static/css/async/client_doctor/{page.4b5b3f70.css → page.02275949.css} +0 -0
  92. /package/dist/static/css/async/client_headers/editor/{page.1e269ab4.css → page.36471e17.css} +0 -0
  93. /package/dist/static/css/async/client_headers/{layout.6a59fdd7.css → layout.e00833cb.css} +0 -0
  94. /package/dist/static/css/async/client_overview/{page.a21fd53b.css → page.05b502e2.css} +0 -0
  95. /package/dist/static/css/async/client_pages/{layout.20ccbdd7.css → layout.965327cf.css} +0 -0
  96. /package/dist/static/css/async/client_pages/{page.f6b1fb86.css → page.91179631.css} +0 -0
  97. /package/dist/static/css/{client.8fa82b25.css → client.9c59c49e.css} +0 -0
  98. /package/dist/static/css/{components.f0d2e418.css → components.6a42eff9.css} +0 -0
  99. /package/dist/static/css/{mount.85d07e8a.css → mount.17b4b4a3.css} +0 -0
  100. /package/dist/static/js/{768.cc6b6105.js.LICENSE.txt → 768.09265bdf.js.LICENSE.txt} +0 -0
  101. /package/dist/static/js/async/{851.10db2ec6.js.LICENSE.txt → 851.ee5298ce.js.LICENSE.txt} +0 -0
  102. /package/dist/static/js/async/{client_config/layout.74621de5.js.LICENSE.txt → client_context/layout.2e062ccf.js.LICENSE.txt} +0 -0
  103. /package/dist/static/js/async/client_headers/{layout.1c0290a9.js.LICENSE.txt → layout.ba55a562.js.LICENSE.txt} +0 -0
  104. /package/dist/static/js/async/client_headers/welcome/{page.8e092837.js.LICENSE.txt → page.ae0ee7b1.js.LICENSE.txt} +0 -0
  105. /package/dist/static/js/async/client_pages/{layout.c9ca92dd.js.LICENSE.txt → layout.12947364.js.LICENSE.txt} +0 -0
  106. /package/dist/static/js/async/client_react/(tab)/{layout.b9d4424b.js.LICENSE.txt → layout.e0c7fdb9.js.LICENSE.txt} +0 -0
  107. /package/dist/static/js/{lib-polyfill.f1a659c9.js.LICENSE.txt → lib-polyfill.e92737b9.js.LICENSE.txt} +0 -0
  108. /package/dist/static/js/{lib-react.38c297f4.js.LICENSE.txt → lib-react.0fc8ed3b.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.93d5447a.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["518"],{1007:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return r}});var s=t("86834"),u=t("39934"),o=t("83982");function r(){return(0,s.jsx)(o.Box,{px:"4",children:(0,s.jsx)(u.Outlet,{})})}}}]);
@@ -0,0 +1,5 @@
1
+ /*! @modern-js/runtime/router */
2
+
3
+ /*! @radix-ui/themes */
4
+
5
+ /*! react/jsx-runtime */
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["943"],{28386:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.57367f46.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["958"],{1388:function(e,s,a){"use strict";a.r(s),a.d(s,{ObjectInspector:function(){return f}});var b=a("90247"),t=a("86834"),r=a("83982"),c=a("28291"),n=a("97970");let o={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"transparent",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},f=e=>(0,t.jsx)(r.Box,{className:n.container,children:(0,t.jsx)(c.JSONTree,(0,b._)({theme:o},e))})},13360:function(e,s,a){"use strict";a.r(s);var b=a("86834");a("5872");var t=a("42700"),r=a("9266"),c=a("1388");s.default=()=>{let{context:e}=(0,t.useSnapshot)(r.$builder);return(0,b.jsx)(c.ObjectInspector,{data:e,sortObjectKeys:!0})}}}]);
@@ -1,19 +1,19 @@
1
- /*! @swc/helpers/_/_object_spread */
2
-
3
- /*! valtio */
4
-
5
- /*! react-json-tree */
6
-
7
- /*! ../../state */
8
-
9
1
  /*! ./ObjectInspector.module.scss */
10
2
 
3
+ /*! @/components/ObjectInspector */
4
+
11
5
  /*! react/jsx-runtime */
12
6
 
13
7
  /*! react */
14
8
 
15
9
  /*! react/jsx-runtime */
16
10
 
17
- /*! @/components/ObjectInspector */
11
+ /*! @radix-ui/themes */
12
+
13
+ /*! @swc/helpers/_/_object_spread */
14
+
15
+ /*! valtio */
16
+
17
+ /*! react-json-tree */
18
18
 
19
- /*! @radix-ui/themes */
19
+ /*! ../../state */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.3ab93d05.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["818"],{1388:function(e,s,a){"use strict";a.r(s),a.d(s,{ObjectInspector:function(){return f}});var b=a("90247"),t=a("86834"),r=a("83982"),c=a("28291"),o=a("97970");let n={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"transparent",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},f=e=>(0,t.jsx)(r.Box,{className:o.container,children:(0,t.jsx)(c.JSONTree,(0,b._)({theme:n},e))})},34410:function(e,s,a){"use strict";a.r(s);var b=a("86834");a("5872");var t=a("42700"),r=a("9266"),c=a("1388");s.default=()=>{let{context:e}=(0,t.useSnapshot)(r.$framework);return(0,b.jsx)(c.ObjectInspector,{data:e,sortObjectKeys:!0})}}}]);
@@ -1,19 +1,19 @@
1
- /*! @swc/helpers/_/_object_spread */
2
-
3
- /*! valtio */
4
-
5
- /*! react-json-tree */
6
-
7
- /*! ../../state */
8
-
9
1
  /*! ./ObjectInspector.module.scss */
10
2
 
3
+ /*! @/components/ObjectInspector */
4
+
11
5
  /*! react/jsx-runtime */
12
6
 
13
7
  /*! react */
14
8
 
15
9
  /*! react/jsx-runtime */
16
10
 
17
- /*! @/components/ObjectInspector */
11
+ /*! @radix-ui/themes */
12
+
13
+ /*! @swc/helpers/_/_object_spread */
14
+
15
+ /*! valtio */
16
+
17
+ /*! react-json-tree */
18
18
 
19
- /*! @radix-ui/themes */
19
+ /*! ../../state */
@@ -1,2 +1,2 @@
1
- /*! For license information please see layout.74621de5.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["518"],{20852:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return r}});var s=t("86834"),u=t("39934"),o=t("83982");function r(){return(0,s.jsx)(o.Box,{px:"4",children:(0,s.jsx)(u.Outlet,{})})}}}]);
1
+ /*! For license information please see layout.2e062ccf.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["504"],{44070:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return r}});var s=t("86834"),u=t("39934"),o=t("83982");function r(){return(0,s.jsx)(o.Box,{px:"4",children:(0,s.jsx)(u.Outlet,{})})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["361"],{29742:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.bdd34893.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["488"],{88640:function(e,r,t){"use strict";t.r(r);r.default=function(){for(var e,r,t=0,n="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){var t,n,s="";if("string"==typeof r||"number"==typeof r)s+=r;else if("object"==typeof r){if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(n=e(r[t]))&&(s&&(s+=" "),s+=n);else for(t in r)r[t]&&(s&&(s+=" "),s+=t)}return s}(e))&&(n&&(n+=" "),n+=r);return n}},32579:function(e,r,t){"use strict";e.exports=t.p+"static/image/rsdoctor-large.b2f496d9.png"},81344:function(e,r,t){"use strict";t.r(r),t.d(r,{IndicateCard:function(){return x}});var n=t("90247"),s=t("55709"),c=t("16170"),o=t("86834"),a=t("88640"),i=t("83982"),l=t("5276");let d=e=>{var{children:r,className:t}=e,d=(0,c._)(e,["children","className"]);return(0,o.jsx)(i.Box,(0,s._)((0,n._)({},d),{className:(0,a.default)(l.indicateCard,t),children:r}))};d.displayName="IndicateCard";let u=e=>(0,o.jsx)(i.Flex,(0,n._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e));u.displayName="IndicateCard.Column";let x=Object.assign(d,{Column:u})},65614:function(e,r,t){"use strict";t.r(r);var n=t("81344");t.es(n,r)},32105:function(e,r,t){"use strict";t.r(r);var n=t("90247"),s=t("55709"),c=t("86834"),o=t("42700"),a=t("83982"),i=t("29214"),l=t("52493"),d=t.n(l),u=t("55058"),x=t("88640"),h=t("9266"),m=t("32579"),p=t("49554"),j=t("5807"),g=t("65614");let b=e=>{let{cost:r}=e,[t,n]=r.name.split("->"),[s,o]=[t,n].map(e=>["bootstrap","done"].includes(e)?void 0:"".concat("https://webpack.js.org/api/compiler-hooks","#").concat(e.toLowerCase())),i=r.costs>1e3?"".concat((r.costs/1e3).toFixed(2),"s"):"".concat(r.costs,"ms");return(0,c.jsxs)(a.HoverCard.Root,{children:[(0,c.jsx)(a.HoverCard.Trigger,{children:(0,c.jsxs)(a.Box,{className:j.costBox,style:{flex:r.costs},children:[(0,c.jsxs)(a.Text,{size:"1",color:"gray",className:(0,x.default)(j.textTruncation,j.costLabel),children:[d().startCase(r.title),"(",i,")"]}),(0,c.jsx)(a.Box,{className:j.costBar})]})}),(0,c.jsx)(a.HoverCard.Content,{size:"1",children:(0,c.jsxs)(a.Text,{size:"1",color:"gray",children:[(0,c.jsx)(a.Link,{target:"_blank",href:s,children:t}),(0,c.jsxs)(a.Text,{children:[" \xb7\xb7\xb7",i,"\xb7\xb7\xb7 "]}),(0,c.jsx)(a.Link,{target:"_blank",href:o,children:n})]})})]})};r.default=()=>{var e,r,t,l,x,f;let C=(0,o.useSnapshot)(p.$doctor),_=(0,o.useSnapshot)(h.$dependencies),k=(0,o.useSnapshot)(h.$definition),y=Object.keys(_).find(e=>e.startsWith("@web-doctor/"))?"Web Doctor":"Rsdoctor",v=null!==(f=null!==(x=null!==(l=null!==(t=null!==(r=null!==(e=_["@web-doctor/webpack-plugin(builder)"])&&void 0!==e?e:_["@web-doctor/rspack-plugin(builder)"])&&void 0!==r?r:_["@web-doctor/webpack-plugin"])&&void 0!==t?t:_["@web-doctor/rspack-plugin"])&&void 0!==l?l:_["@rsdoctor/rspack-plugin"])&&void 0!==x?x:_["@rsdoctor/webpack-plugin"])&&void 0!==f?f:_["@rsdoctor/core"],w=d()(C.summary.costs).sortBy(["startAt","name","costs"]).sortedUniqBy("name").cloneDeep().map(e=>{if("bootstrap->beforeCompile"===e.name)return(0,s._)((0,n._)({},e),{title:"prepare"});if("beforeCompile->afterCompile"===e.name)return(0,s._)((0,n._)({},e),{title:"compile"});if("afterCompile->done"===e.name)return(0,s._)((0,n._)({},e),{title:"optimize"});return(0,s._)((0,n._)({},e),{title:"unknown"})}),N=d().groupBy(C.errors,"description");return(0,c.jsx)(a.Flex,{direction:"column",align:"center",p:"4",children:(0,c.jsxs)(a.Flex,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:j.container,children:[(0,c.jsx)(g.IndicateCard,{className:j.primaryCard,children:(0,c.jsx)(a.Theme,{appearance:"light",hasBackground:!1,asChild:!0,children:(0,c.jsxs)(g.IndicateCard.Column,{children:[(0,c.jsx)(a.Heading,{as:"h1",color:"gray",className:j.heading,children:y}),(0,c.jsx)(a.Flex,{gap:"2",children:(0,c.jsx)("button",{type:"button",children:v?"v".concat(v):"Unknown"})}),(0,c.jsxs)(a.Link,{href:k.doctor.quickStart,color:"gray",size:"1",underline:"always",target:"_blank",rel:"noopener noreferrer",children:["Launch ",y," with complete features."]})]})})}),(0,c.jsx)(g.IndicateCard,{className:j.infoCard,children:(0,c.jsxs)(a.Flex,{justify:"between",gap:"2",align:"center",height:"100%",children:[(0,c.jsxs)(a.Box,{children:[(0,c.jsx)(a.Text,{color:"gray",children:"Visit our website"}),(0,c.jsx)(a.Flex,{align:"center",asChild:!0,children:(0,c.jsxs)(a.Link,{href:k.doctor.home,target:"_blank",rel:"noopener noreferrer",children:[(0,c.jsx)(i.HiLink,{}),(0,c.jsx)(a.Text,{children:(0,u.parseURL)(k.doctor.home).host})]})})]}),(0,c.jsx)("img",{className:j.logo,src:m})]})}),(0,c.jsx)(g.IndicateCard,{className:j.countCard,children:(0,c.jsxs)(g.IndicateCard.Column,{children:[(0,c.jsxs)(a.Text,{className:j.countText,size:"1",children:[(0,c.jsx)(i.HiMiniRectangleStack,{})," ",C.numModules," modules"]}),(0,c.jsxs)(a.Text,{className:j.countText,size:"1",children:[(0,c.jsx)(i.HiMiniInboxStack,{})," ",C.numPackages," packages"]}),(0,c.jsxs)(a.Text,{className:j.countText,size:"1",children:[(0,c.jsx)(i.HiMiniArchiveBox,{})," ",C.numChunks," chunks"]})]})}),(0,c.jsx)(g.IndicateCard,{className:j.compileCostCard,children:(0,c.jsxs)(g.IndicateCard.Column,{children:[(0,c.jsx)(a.Flex,{asChild:!0,align:"center",gap:"1",children:(0,c.jsxs)(a.Heading,{as:"h3",size:"2",color:"gray",children:[(0,c.jsx)(i.HiChartBar,{}),"Compile Overall"]})}),(0,c.jsx)(a.Flex,{width:"100%",gap:"1",children:w.map(e=>(0,c.jsx)(b,{cost:e},e.name))})]})}),(0,c.jsx)(g.IndicateCard,{width:"100%",children:(0,c.jsxs)(g.IndicateCard.Column,{children:[(0,c.jsxs)(a.Text,{weight:"bold",size:"1",color:"gray",children:["Found ",d().size(N)," ",d().size(N)>1?"errors":"error"]}),Object.entries(N).map(e=>{let[r,t]=e;return(0,c.jsxs)(a.Box,{className:j.errorItem,children:[(0,c.jsx)(i.HiMiniExclamationCircle,{className:j.errorIcon})," ",(0,c.jsx)(a.Text,{size:"1",className:j.textTruncation,children:r}),t.length>1&&(0,c.jsxs)(a.Text,{size:"1",className:j.errorCount,children:["(x",t.length,")"]})]},r)})]})})]})})}},49554:function(e,r,t){"use strict";t.r(r),t.d(r,{$doctor:function(){return c}});var n=t("42700");let s=t("9266").$server.then(e=>e.remote.getDoctorOverview()),c=(0,n.proxy)({errors:s.then(e=>e.errors),numChunks:s.then(e=>e.numChunks),numModules:s.then(e=>e.numModules),numPackages:s.then(e=>e.numPackages),summary:s.then(e=>e.summary)})},5807:function(e){"use strict";e.exports={"compile-cost-card":"compile-cost-card-_02ec7",compileCostCard:"compile-cost-card-_02ec7",container:"container-_97e59","cost-bar":"cost-bar-_13827",costBar:"cost-bar-_13827","cost-box":"cost-box-_0264a",costBox:"cost-box-_0264a","cost-label":"cost-label-_486b6",costLabel:"cost-label-_486b6","count-card":"count-card-_8b9c0",countCard:"count-card-_8b9c0","count-text":"count-text-_77d70",countText:"count-text-_77d70","error-item":"error-item-_3072a",errorItem:"error-item-_3072a",heading:"heading-e81e8c","info-card":"info-card-_6b634",infoCard:"info-card-_6b634",logo:"logo-_24de9","primary-card":"primary-card-_1e6c5",primaryCard:"primary-card-_1e6c5","text-truncation":"text-truncation-_8bcae",textTruncation:"text-truncation-_8bcae"}}}]);
@@ -1,47 +1,47 @@
1
- /*! @swc/helpers/_/_object_spread_props */
2
-
3
- /*! ../state */
4
-
5
- /*! lodash */
1
+ /*! ./page.module.scss */
6
2
 
7
3
  /*! @swc/helpers/_/_object_spread_props */
8
4
 
9
- /*! valtio */
10
-
11
5
  /*! react/jsx-runtime */
12
6
 
13
- /*! ./state */
7
+ /*! @swc/helpers/_/_object_without_properties */
14
8
 
15
- /*! @/components/Card */
9
+ /*! ./Indicate */
16
10
 
17
11
  /*! @radix-ui/themes */
18
12
 
19
- /*! clsx */
13
+ /*! @swc/helpers/_/_object_spread */
20
14
 
21
- /*! @swc/helpers/_/_object_without_properties */
15
+ /*! react/jsx-runtime */
22
16
 
23
- /*! ./page.module.scss */
17
+ /*! @/components/Card */
18
+
19
+ /*! @swc/helpers/_/_object_spread_props */
24
20
 
25
21
  /*! valtio */
26
22
 
27
- /*! ./Indicate */
23
+ /*! valtio */
28
24
 
29
- /*! ./Indicate.module.scss */
25
+ /*! clsx */
30
26
 
31
27
  /*! @radix-ui/themes */
32
28
 
33
29
  /*! ./rsdoctor-large.png */
34
30
 
35
- /*! @swc/helpers/_/_object_spread */
31
+ /*! ../state */
36
32
 
37
33
  /*! ufo */
38
34
 
39
- /*! clsx */
35
+ /*! ./Indicate.module.scss */
40
36
 
41
37
  /*! react-icons/hi2 */
42
38
 
43
- /*! react/jsx-runtime */
39
+ /*! ../state */
40
+
41
+ /*! clsx */
44
42
 
45
43
  /*! @swc/helpers/_/_object_spread */
46
44
 
47
- /*! ../state */
45
+ /*! lodash */
46
+
47
+ /*! ./state */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.5bbf97db.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["730"],{86209:function(e,r,s){"use strict";s.r(r),s.d(r,{PairsEditor:function(){return x}});var a=s("90247"),i=s("55709"),n=s("16170"),l=s("86834"),t=s("83982"),c=s("89677"),o=s("5872"),d=s("42700"),u=s("2852"),h=s("26906");let x=e=>{var{$data:r=(0,d.proxy)([]),disabled:s,placeholders:x}=e,p=(0,n._)(e,["$data","disabled","placeholders"]);let v=(0,d.useSnapshot)(r);return(0,o.useEffect)(()=>{v.length<=0&&r.push({id:(0,c.nanoid)(),key:"",value:""})},[v.length]),(0,l.jsx)(t.Box,(0,i._)((0,a._)({className:u.container},p),{children:v.map((e,a)=>(0,l.jsx)(h.Pair,{$data:r[a],disabled:s,placeholders:x,onDelete:()=>r.splice(a,1),onInsert:()=>r.splice(a+1,0,{id:(0,c.nanoid)(),key:"",value:""})},e.id))}))}},26906:function(e,r,s){"use strict";s.r(r),s.d(r,{Pair:function(){return c}});var a=s("86834"),i=s("83982");s("5872");var n=s("29214"),l=s("42700"),t=s("48273");let c=e=>{let{$data:r,onDelete:s,onInsert:c,disabled:o,placeholders:d=["Key...","Value..."]}=e,u=(0,l.useSnapshot)(r);return(0,a.jsxs)(i.Box,{className:t.inputPair,"aria-disabled":o,children:[(0,a.jsx)(i.TextField.Root,{children:(0,a.jsx)(i.TextField.Input,{value:u.key,disabled:o,placeholder:d[0],onChange:e=>r.key=e.currentTarget.value})}),(0,a.jsx)(i.Box,{asChild:!0,grow:"1",children:(0,a.jsx)(i.TextField.Root,{children:(0,a.jsx)(i.TextField.Input,{value:u.value,disabled:o,placeholder:d[1],onChange:e=>r.value=e.currentTarget.value})})}),(0,a.jsxs)(i.Box,{className:t.actions,children:[(0,a.jsx)(i.IconButton,{variant:"ghost",color:"gray",onClick:s,children:(0,a.jsx)(n.HiMinusSmall,{})}),(0,a.jsx)(i.IconButton,{variant:"ghost",color:"gray",onClick:c,children:(0,a.jsx)(n.HiPlusSmall,{})})]})]},u.id)}},61537:function(e,r,s){"use strict";s.r(r);var a=s("86834"),i=s("52493"),n=s.n(i),l=s("5872"),t=s("83982"),c=s("42700"),o=s("55058"),d=s("46579"),u=s("84886"),h=s("86209");r.default=()=>{let e=(0,c.useSnapshot)(d.$state),r=!!e.service.href,s=(0,l.useMemo)(()=>{var r;return(0,c.proxy)(null!==(r=n().cloneDeep(e.service.rules))&&void 0!==r?r:[])},[]),i=(0,c.useSnapshot)(s),x=r?"Active":"Offline",p=async()=>{await (0,d.registerService)(i.filter(e=>e.key))},v=async()=>{await (0,d.unregisterService)()};return(0,a.jsxs)(t.Box,{className:u.container,children:[(0,a.jsx)(t.Heading,{mt:"4",children:"Header Modifier"}),(0,a.jsxs)(t.Flex,{align:"center",gap:"1",children:[(0,a.jsx)(t.Box,{className:u.signal,"data-active":r}),(0,a.jsx)(t.Text,{color:"gray",size:"1",children:x}),e.service.href&&(0,a.jsx)(t.Link,{size:"1",href:e.service.href,target:"_blank",children:(0,o.parseURL)(e.service.href).pathname})]}),(0,a.jsx)(h.PairsEditor,{$data:s,disabled:r,my:"3",placeholders:["Match header field...","Replace by..."]}),(0,a.jsx)(t.Flex,{justify:"end",gap:"2",children:r?(0,a.jsx)(t.Button,{color:"red",onClick:v,children:"Unregister"}):(0,a.jsx)(t.Button,{onClick:p,children:"Register"})})]})}},84886:function(e){"use strict";e.exports={signal:"signal-_8af82"}}}]);
@@ -1,49 +1,49 @@
1
- /*! react/jsx-runtime */
2
-
3
- /*! lodash */
4
-
5
1
  /*! @/components/PairsEditor/Editor */
6
2
 
7
3
  /*! react/jsx-runtime */
8
4
 
9
- /*! valtio */
5
+ /*! ufo */
10
6
 
11
7
  /*! @swc/helpers/_/_object_without_properties */
12
8
 
13
- /*! ufo */
14
-
15
9
  /*! react */
16
10
 
17
11
  /*! react */
18
12
 
19
- /*! ./Editor.module.scss */
13
+ /*! ./Pair */
20
14
 
21
15
  /*! @radix-ui/themes */
22
16
 
23
- /*! ./Pair */
17
+ /*! react-icons/hi2 */
18
+
19
+ /*! react/jsx-runtime */
20
+
21
+ /*! ./Editor.module.scss */
24
22
 
25
23
  /*! @radix-ui/themes */
26
24
 
27
- /*! react-icons/hi2 */
25
+ /*! @radix-ui/themes */
28
26
 
29
27
  /*! @swc/helpers/_/_object_spread */
30
28
 
31
29
  /*! react */
32
30
 
33
- /*! react/jsx-runtime */
31
+ /*! ../state */
34
32
 
35
33
  /*! ./page.module.scss */
36
34
 
35
+ /*! valtio */
36
+
37
+ /*! ./Pair.module.scss */
38
+
37
39
  /*! nanoid */
38
40
 
39
- /*! @radix-ui/themes */
41
+ /*! lodash */
40
42
 
41
- /*! ../state */
43
+ /*! react/jsx-runtime */
42
44
 
43
45
  /*! valtio */
44
46
 
45
47
  /*! valtio */
46
48
 
47
- /*! ./Pair.module.scss */
48
-
49
49
  /*! @swc/helpers/_/_object_spread_props */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.ba55a562.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["925"],{39868:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return c}});var o=t("86834"),s=t("39934"),r=t("83982"),u=t("20859");function c(){return(0,o.jsx)(r.Box,{px:"4",mx:"auto",pb:"4",className:u.container,children:(0,o.jsx)(s.Outlet,{})})}},20859:function(e){"use strict";e.exports={container:"container-_15ef2"}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["963"],{36579:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see page.8e092837.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["860"],{2552:function(e,s,r){"use strict";r.r(s);var n=r("86834"),t=r("39934"),i=r("83982");r("5872");s.default=()=>{let e=(0,t.useNavigate)();return(0,n.jsxs)(i.Box,{children:[(0,n.jsx)(i.Heading,{my:"4",children:"Header Modifier"}),(0,n.jsx)(i.Text,{as:"p",mb:"2",children:"Modifying headers of requests, useful for switch between traffic lanes."}),(0,n.jsxs)(i.Text,{as:"p",children:["That will register",(0,n.jsx)(i.Link,{href:"/sw-proxy.js",target:"_blank",mx:"1",children:"/sw-proxy.js"}),"as a service worker to handle all requests under",(0,n.jsx)(i.Link,{mx:"1",children:location.host})]}),(0,n.jsx)(i.Button,{my:"4",onClick:()=>e("../editor"),children:"Enable"})]})}}}]);
1
+ /*! For license information please see page.ae0ee7b1.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["860"],{1172:function(e,s,r){"use strict";r.r(s);var n=r("86834"),t=r("39934"),i=r("83982");r("5872");s.default=()=>{let e=(0,t.useNavigate)();return(0,n.jsxs)(i.Box,{children:[(0,n.jsx)(i.Heading,{my:"4",children:"Header Modifier"}),(0,n.jsx)(i.Text,{as:"p",mb:"2",children:"Modifying headers of requests, useful for switch between traffic lanes."}),(0,n.jsxs)(i.Text,{as:"p",children:["That will register",(0,n.jsx)(i.Link,{href:"/sw-proxy.js",target:"_blank",mx:"1",children:"/sw-proxy.js"}),"as a service worker to handle all requests under",(0,n.jsx)(i.Link,{mx:"1",children:location.host})]}),(0,n.jsx)(i.Button,{my:"4",onClick:()=>e("../editor"),children:"Enable"})]})}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.8dea53dd.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["161"],{88640:function(e,r,a){"use strict";a.r(r);r.default=function(){for(var e,r,a=0,i="";a<arguments.length;)(e=arguments[a++])&&(r=function e(r){var a,i,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r){if(Array.isArray(r))for(a=0;a<r.length;a++)r[a]&&(i=e(r[a]))&&(n&&(n+=" "),n+=i);else for(a in r)r[a]&&(n&&(n+=" "),n+=a)}return n}(e))&&(i&&(i+=" "),i+=r);return i}},81344:function(e,r,a){"use strict";a.r(r),a.d(r,{IndicateCard:function(){return h}});var i=a("90247"),n=a("55709"),s=a("16170"),t=a("86834"),c=a("88640"),l=a("83982"),o=a("5276");let d=e=>{var{children:r,className:a}=e,d=(0,s._)(e,["children","className"]);return(0,t.jsx)(l.Box,(0,n._)((0,i._)({},d),{className:(0,c.default)(o.indicateCard,a),children:r}))};d.displayName="IndicateCard";let p=e=>(0,t.jsx)(l.Flex,(0,i._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e));p.displayName="IndicateCard.Column";let h=Object.assign(d,{Column:p})},65614:function(e,r,a){"use strict";a.r(r);var i=a("81344");a.es(i,r)},83669:function(e,r,a){"use strict";a.r(r);var i=a("86834"),n=a("83982");a("5872");var s=a("29214"),t=a("55058"),c=a("42700"),l=a("9266");a("5276");var o=a("8170"),d=a("65614");let p={webpack:"webpack",rspack:"@rspack/core"};r.default=()=>{let e=(0,c.useSnapshot)(l.$framework),r=(0,c.useSnapshot)(l.$definition),a=(0,c.useSnapshot)(l.$dependencies),h=(0,c.useSnapshot)(l.$builder),x=(0,c.useSnapshot)(l.$perf),u=window.navigator.userAgent.includes("Mac OS"),{toolsType:g}=e.context;if("app-tools"!==g)throw Error();let m=r.packages.appTools,j=a[m],{bundlerType:f}=h.context,b=p[f],y=a[b];return(0,i.jsxs)(n.Flex,{direction:"column",align:"center",p:"4",children:[(0,i.jsxs)(n.Flex,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:o.container,children:[(0,i.jsx)(d.IndicateCard,{className:o.primaryCard,children:(0,i.jsx)(n.Theme,{appearance:"dark",hasBackground:!1,asChild:!0,children:(0,i.jsxs)(d.IndicateCard.Column,{children:[(0,i.jsx)(n.Heading,{as:"h1",className:o.heading,children:"DevTools"}),(0,i.jsx)(n.Flex,{gap:"2",children:(0,i.jsxs)("button",{type:"button",children:["v",l.VERSION]})}),(0,i.jsxs)(n.Text,{as:"p",size:"1",children:["Powered by ",m,"@",j]})]})})}),(0,i.jsx)(d.IndicateCard,{className:o.infoCard,children:(0,i.jsxs)(n.Flex,{justify:"between",gap:"3",align:"center",height:"100%",children:[(0,i.jsxs)(n.Box,{children:[(0,i.jsx)(n.Text,{color:"gray",children:"Visit our website"}),(0,i.jsx)(n.Flex,{align:"center",asChild:!0,children:(0,i.jsxs)(n.Link,{href:r.announcement.fallback,target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)(s.HiLink,{}),(0,i.jsx)(n.Text,{children:(0,t.parseURL)(r.announcement.fallback).host})]})})]}),(0,i.jsx)(n.Box,{color:"gray",asChild:!0,children:(0,i.jsx)(s.HiOutlineDocumentText,{size:"50",color:"var(--gray-6)"})})]})}),(0,i.jsx)(d.IndicateCard,{className:o.pluginCard,children:(0,i.jsxs)(n.Flex,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.Box,{children:[(0,i.jsx)(n.Text,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},mb:"2",children:e.context.plugins.length}),(0,i.jsx)(n.Text,{as:"p",size:"1",color:"gray",children:"Framework Plugins"})]}),(0,i.jsx)(s.HiOutlinePuzzlePiece,{size:"50",color:"var(--gray-6)"})]})}),(0,i.jsx)(d.IndicateCard,{className:o.compileTimeCard,children:(0,i.jsxs)(n.Flex,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.Box,{children:[(0,i.jsxs)(n.Text,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},children:[(x.compileDuration/1e3).toFixed(2),"s"]}),(0,i.jsxs)(n.Text,{as:"p",size:"1",color:"gray",children:["Compiled in ",b,"@",y]})]}),(0,i.jsx)(s.HiOutlineClock,{size:"50",color:"var(--gray-6)"})]})})]}),(0,i.jsxs)(n.Flex,{align:"center",className:o.bottomTip,children:[(0,i.jsx)(n.Text,{color:"gray",size:"2",children:"Use"}),(0,i.jsxs)(n.Kbd,{mx:"2",children:["Shift + ",u?"Opt":"Alt"," + D"]}),(0,i.jsx)(n.Text,{color:"gray",size:"2",children:"to open DevTools"})]})]})}},8170:function(e){"use strict";e.exports={"bottom-tip":"bottom-tip-_4de0d",bottomTip:"bottom-tip-_4de0d","compile-time-card":"compile-time-card-_5eda1",compileTimeCard:"compile-time-card-_5eda1",container:"container-_43720",heading:"heading-ecaa29","indicate-bar":"indicate-bar-_5118d",indicateBar:"indicate-bar-_5118d","info-card":"info-card-_07b33",infoCard:"info-card-_07b33","plugin-card":"plugin-card-f1e2dc",pluginCard:"plugin-card-f1e2dc","primary-card":"primary-card-a671aa",primaryCard:"primary-card-a671aa"}}}]);
@@ -1,24 +1,14 @@
1
- /*! react/jsx-runtime */
2
-
3
1
  /*! @radix-ui/themes */
4
2
 
5
3
  /*! @swc/helpers/_/_object_without_properties */
6
4
 
7
- /*! valtio */
8
-
9
- /*! @/components/Card/Indicate.module.scss */
10
-
11
- /*! ./page.module.scss */
12
-
13
5
  /*! ./Indicate */
14
6
 
15
- /*! ./Indicate.module.scss */
7
+ /*! @/components/Card */
16
8
 
17
9
  /*! react */
18
10
 
19
- /*! clsx */
20
-
21
- /*! @swc/helpers/_/_object_spread */
11
+ /*! ./Indicate.module.scss */
22
12
 
23
13
  /*! @radix-ui/themes */
24
14
 
@@ -26,10 +16,20 @@
26
16
 
27
17
  /*! ../state */
28
18
 
19
+ /*! clsx */
20
+
21
+ /*! @swc/helpers/_/_object_spread */
22
+
23
+ /*! ufo */
24
+
25
+ /*! ./page.module.scss */
26
+
29
27
  /*! @swc/helpers/_/_object_spread_props */
30
28
 
31
29
  /*! react/jsx-runtime */
32
30
 
33
- /*! ufo */
31
+ /*! react/jsx-runtime */
32
+
33
+ /*! @/components/Card/Indicate.module.scss */
34
34
 
35
- /*! @/components/Card */
35
+ /*! valtio */
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["127"],{37052:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.12947364.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["631"],{15286:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return u}});var o=t("86834"),s=t("39934"),r=t("83982"),c=t("95439");function u(){return(0,o.jsx)(r.Box,{px:"4",mx:"auto",pb:"4",className:c.container,children:(0,o.jsx)(s.Outlet,{})})}},95439:function(e){"use strict";e.exports={container:"container-a0c6fe"}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.b8ca3bf4.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{11450:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseRoute:function(){return c}});var r=n("86834"),o=n("5872"),a=n("1607"),i=n("83982"),s=n("60441"),l=n("8153"),u=n("82619");let c=e=>{let{badge:t,route:n,title:c,children:d,open:x,onOpenChange:h}=e,{matched:p}=(0,o.useContext)(u.MatchUrlContext),[m,f]=(0,o.useState)(!1),j=p===n,g=j||(null!=x?x:m);return(0,r.jsx)(i.Box,{p:"3",className:l.container,children:(0,r.jsxs)(a.Root,{open:g,onOpenChange:null!=h?h:f,children:[(0,r.jsxs)(a.Trigger,{className:l.trigger,children:[t,(0,r.jsx)(i.Text,{className:l.urlText,style:{opacity:p&&!j?.5:1},children:c}),(0,r.jsx)(i.Box,{grow:"1"}),(0,r.jsx)(i.Box,{className:l.mark,"data-open":g,children:(0,r.jsx)(s.CaretSortIcon,{})})]}),(0,r.jsx)(a.Content,{className:l.content,children:d})]})})}},82619:function(e,t,n){"use strict";n.r(t),n.d(t,{MatchUrlContext:function(){return r}});let r=(0,n("5872").createContext)({url:""})},68483:function(e,t,n){"use strict";n.r(t),n.d(t,{LegacyRouteStats:function(){return a}});var r=n("86834");n("5872");var o=n("83982");let a=()=>(0,r.jsx)(o.Text,{children:"Unimplemented."})},52446:function(e,t,n){"use strict";n.r(t),n.d(t,{MatchRemixRouteContext:function(){return r}});let r=(0,n("5872").createContext)([])},68769:function(e,t,n){"use strict";n.r(t),n.d(t,{RemixRoute:function(){return x}});var r=n("86834"),o=n("5872"),a=n("83982"),i=n("52493"),s=n.n(i),l=n("55058"),u=n("20421"),c=n("52446"),d=n("35410");let x=e=>{var t,n;let{route:i}=e,h=s().castArray(i),p=s().last(h),m="_component"in p&&s().isString(p._component)?p._component:null,f=(0,l.resolveURL)("/",...h.map(e=>e.path).filter(s().isString))||"/",j=null!==(n=p.index)&&void 0!==n&&n,g="/"===f,y=(0,o.useContext)(c.MatchRemixRouteContext),v=!1===y||y.length>0,R=!!y&&!!s().find(y,{route:{id:p.id}}),C=(0,o.useRef)(null),b=(0,u.useHoverDirty)(C);return(0,r.jsxs)(a.Box,{ref:C,children:[(0,r.jsxs)(a.Flex,{gap:"2",align:"center",mb:p.children&&"1",children:[(0,r.jsxs)(a.Box,{className:d.endpointContainer,"data-matched":!v||R,children:[j&&g||(0,r.jsx)(a.Code,{className:d.endpointTag,"data-compose":j&&"head",children:f}),j&&(0,r.jsx)(a.Code,{className:d.endpointTag,color:"purple","data-compose":!g&&"tail",children:"/(index)"})]}),m&&(0,r.jsx)(a.Link,{className:d.shyLink,style:{visibility:b?"visible":"hidden"},children:m})]}),(0,r.jsx)(a.Flex,{direction:"column",gap:"1",children:null===(t=p.children)||void 0===t?void 0:t.map(e=>(0,r.jsx)(x,{route:h.concat(e)},e.id))})]})}},3326:function(e,t,n){"use strict";n.r(t),n.d(t,{RemixRouteStats:function(){return d}});var r=n("86834"),o=n("39934"),a=n("83982"),i=n("5872"),s=n("55058"),l=n("82619"),u=n("52446"),c=n("68769");let d=e=>{let{remixRoutes:t,route:n}=e,{matched:d,url:x}=(0,i.useContext)(l.MatchUrlContext),h=(0,i.useMemo)(()=>{if(d!==n)return!d&&[];{var e;if(!t)return[];let r=(0,s.cleanDoubleSlashes)(x.replace(n.urlPath,"/")),a=null!==(e=(0,o.matchRoutes)(t,r))&&void 0!==e?e:[];return!!a.length&&a}},[t,d,x]);return t.length?(0,r.jsx)(u.MatchRemixRouteContext.Provider,{value:h,children:(0,r.jsx)(a.Flex,{gap:"2",direction:"column",children:t.map(e=>(0,r.jsx)(c.RemixRoute,{route:e},e.id))})}):null}},35242:function(e,t,n){"use strict";n.r(t),n.d(t,{ClientRouteStats:function(){return x}});var r=n("86834"),o=n("52493"),a=n.n(o),i=n("5872"),s=n("42700"),l=n("68483"),u=n("3326"),c=n("9266"),d=n("60107");(0,s.proxy)({});let x=e=>{let{route:t}=e,n=(0,d.useThrowable)(c.$server),{entrypoints:o}=(0,s.useSnapshot)(c.$framework).context,x=t.entryName&&a().find(o,{entryName:t.entryName});if(!x)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));let p=n.remote.getFileSystemRoutes(x.entryName);return(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(()=>{let e=(0,d.useThrowable)(p);return h(e)?(0,r.jsx)(l.LegacyRouteStats,{}):(0,r.jsx)(u.RemixRouteStats,{remixRoutes:e,route:t})},{})})},h=e=>e[0]&&!("type"in e[0])},39652:function(e,t,n){"use strict";n.r(t);var r=n("35242");n.es(r,t)},9245:function(e,t,n){"use strict";n.r(t),n.d(t,{EntryRoute:function(){return u}});var r=n("86834"),o=n("5872"),a=n("83982"),i=n("11450"),s=n("65612"),l=n("39652");let u=e=>{let{route:t}=e;return(0,r.jsx)(i.BaseRoute,{badge:c,route:t,title:t.urlPath,children:(0,r.jsxs)(a.Flex,{direction:"column",gap:"2",children:[(0,r.jsx)(a.ScrollArea,{scrollbars:"horizontal",children:(0,r.jsx)(s.EntryStats,{route:t})}),(0,r.jsx)(a.ScrollArea,{scrollbars:"horizontal",children:(0,r.jsx)(o.Suspense,{children:(0,r.jsx)(l.ClientRouteStats,{route:t})})})]})})},c=(0,r.jsx)(a.Badge,{color:"cyan",children:"Entry"})},65612:function(e,t,n){"use strict";n.r(t),n.d(t,{EntryStats:function(){return c}});var r=n("86834");n("5872");var o=n("52493"),a=n.n(o),i=n("42700"),s=n("83982"),l=n("11192"),u=n("9266");let c=e=>{let{route:t}=e,{entrypoints:n}=(0,i.useSnapshot)(u.$framework).context,o=t.entryName&&a().find(n,{entryName:t.entryName});if(!o)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));return(0,r.jsxs)(s.Box,{className:l.stats,children:[(0,r.jsxs)(s.Flex,{gap:"1",children:[(0,r.jsx)(s.Strong,{children:"Directory: "}),(0,r.jsx)(s.Text,{children:o.absoluteEntryDir})]}),(0,r.jsxs)(s.Flex,{gap:"1",children:[(0,r.jsx)(s.Strong,{children:"Entry:"}),(0,r.jsx)(s.Text,{children:o.entry})]})]})}},76533:function(e,t,n){"use strict";n.r(t);var r=n("9245");n.es(r,t)},51168:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerRoute:function(){return l}});var r=n("86834");n("5872");var o=n("52493"),a=n.n(o),i=n("76533"),s=n("55847");let l=e=>{let{route:t}=e;return a().isString(t.entryName)?(0,r.jsx)(i.EntryRoute,{route:t}):(0,r.jsx)(s.UnknownRoute,{route:t})}},55847:function(e,t,n){"use strict";n.r(t),n.d(t,{UnknownRoute:function(){return i}});var r=n("86834");n("5872");var o=n("83982"),a=n("11450");let i=e=>{let{route:t}=e;return(0,r.jsx)(a.BaseRoute,{badge:s,route:t,title:t.urlPath,children:(0,r.jsx)(o.Card,{children:"Unknown route type."})})},s=(0,r.jsx)(o.Badge,{color:"gray",children:"Unknown"})},52106:function(e,t,n){"use strict";n.r(t);var r=n("86834"),o=n("83982"),a=n("5872"),i=n("42700"),s=n("55058"),l=n("29214"),u=n("9266"),c=n("58696"),d=n("82619"),x=n("51168");t.default=()=>{let{serverRoutes:e}=(0,i.useSnapshot)(u.$framework).context,[t,n]=(0,a.useState)({url:""}),h=t=>{let{pathname:r}=(0,s.parseURL)(t);n({url:t,matched:e.find(e=>r===e.urlPath||r.startsWith((0,s.withTrailingSlash)(e.urlPath)))})};return(0,r.jsx)(d.MatchUrlContext.Provider,{value:t,children:(0,r.jsxs)(o.Flex,{position:"relative",direction:"column",gap:"2",align:"stretch",justify:"between",pt:"8",children:[e.map(e=>(0,r.jsx)(x.ServerRoute,{route:e},e.entryPath)),(0,r.jsx)(o.Box,{mb:"2",className:c.input,children:(0,r.jsx)(o.Box,{style:{maxWidth:"40rem",margin:"0 auto",padding:"0 var(--space-4)"},children:(0,r.jsxs)(o.TextField.Root,{children:[(0,r.jsx)(o.TextField.Slot,{children:(0,r.jsx)(l.HiOutlineArrowsRightLeft,{})}),(0,r.jsx)(o.TextField.Input,{placeholder:"/foo?bar#baz",onChange:e=>h(e.target.value),type:"url",autoComplete:"false",autoCapitalize:"false",autoCorrect:"false"})]})})})]})})}},58696:function(e){"use strict";e.exports={input:"input-d0c7d8"}},1607:function(e,t,n){"use strict";n.r(t),n.d(t,{Content:function(){return w},Root:function(){return S},Trigger:function(){return N}});var r=n("83197"),o=n("5872"),a=n("67844"),i=n("82602"),s=n("88654"),l=n("59504"),u=n("88340"),c=n("63422"),d=n("78910"),x=n("63018");let h="Collapsible",[p,m]=(0,i.createContextScope)(h),[f,j]=p(h),g=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,open:a,defaultOpen:i,disabled:l,onOpenChange:u,...d}=e,[h=!1,p]=(0,s.useControllableState)({prop:a,defaultProp:i,onChange:u});return(0,o.createElement)(f,{scope:n,disabled:l,contentId:(0,x.useId)(),open:h,onOpenToggle:(0,o.useCallback)(()=>p(e=>!e),[p])},(0,o.createElement)(c.Primitive.div,(0,r.default)({"data-state":b(h),"data-disabled":l?"":void 0},d,{ref:t})))}),y=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,...i}=e,s=j("CollapsibleTrigger",n);return(0,o.createElement)(c.Primitive.button,(0,r.default)({type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":b(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled},i,{ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,s.onOpenToggle)}))}),v="CollapsibleContent",R=(0,o.forwardRef)((e,t)=>{let{forceMount:n,...a}=e,i=j(v,e.__scopeCollapsible);return(0,o.createElement)(d.Presence,{present:n||i.open},({present:e})=>(0,o.createElement)(C,(0,r.default)({},a,{ref:t,present:e})))}),C=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:a,children:i,...s}=e,d=j(v,n),[x,h]=(0,o.useState)(a),p=(0,o.useRef)(null),m=(0,u.useComposedRefs)(t,p),f=(0,o.useRef)(0),g=f.current,y=(0,o.useRef)(0),R=y.current,C=d.open||x,S=(0,o.useRef)(C),N=(0,o.useRef)();return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.useLayoutEffect)(()=>{let e=p.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();f.current=t.height,y.current=t.width,!S.current&&(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),h(a)}},[d.open,a]),(0,o.createElement)(c.Primitive.div,(0,r.default)({"data-state":b(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!C},s,{ref:m,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":R?`${R}px`:void 0,...e.style}}),C&&i)});function b(e){return e?"open":"closed"}let S=g,N=y,w=R}}]);
@@ -1,145 +1,135 @@
1
- /*! ./Base */
2
-
3
- /*! lodash */
1
+ /*! react */
4
2
 
5
- /*! @radix-ui/primitive */
3
+ /*! @/components/ServerRoute/Context */
6
4
 
7
- /*! @radix-ui/themes */
5
+ /*! ./Context */
8
6
 
9
- /*! @/components/ServerRoute/Context */
7
+ /*! valtio */
10
8
 
11
9
  /*! @radix-ui/react-icons */
12
10
 
13
- /*! react */
14
-
15
- /*! @/entries/client/routes/state */
11
+ /*! @radix-ui/themes */
16
12
 
17
- /*! lodash */
13
+ /*! react */
18
14
 
19
- /*! lodash */
15
+ /*! react/jsx-runtime */
20
16
 
21
17
  /*! react */
22
18
 
23
19
  /*! react/jsx-runtime */
24
20
 
25
- /*! valtio */
21
+ /*! ./LegacyRoute/Stats */
26
22
 
27
23
  /*! react */
28
24
 
29
- /*! @babel/runtime/helpers/esm/extends */
30
-
31
25
  /*! react */
32
26
 
33
27
  /*! react/jsx-runtime */
34
28
 
35
- /*! react-icons/hi2 */
36
-
37
- /*! @/components/ServerRoute/Route */
38
-
39
- /*! @radix-ui/react-compose-refs */
40
-
41
- /*! ./Base.module.scss */
42
-
43
- /*! ./Context */
44
-
45
- /*! ./Route */
46
-
47
- /*! react */
29
+ /*! @babel/runtime/helpers/esm/extends */
48
30
 
49
- /*! @radix-ui/themes */
31
+ /*! ufo */
50
32
 
51
33
  /*! @radix-ui/themes */
52
34
 
53
- /*! ../state */
35
+ /*! react/jsx-runtime */
54
36
 
55
37
  /*! ./Stats.module.scss */
56
38
 
57
- /*! react */
39
+ /*! @/components/ServerRoute/Route */
58
40
 
59
- /*! react/jsx-runtime */
41
+ /*! @radix-ui/react-compose-refs */
60
42
 
61
- /*! react/jsx-runtime */
43
+ /*! ./Base */
62
44
 
63
45
  /*! ./Stats */
64
46
 
65
- /*! ufo */
47
+ /*! react */
66
48
 
67
- /*! ufo */
49
+ /*! ./Base.module.scss */
68
50
 
69
- /*! @/utils */
51
+ /*! valtio */
70
52
 
71
- /*! @radix-ui/react-context */
53
+ /*! @/utils */
72
54
 
73
- /*! @radix-ui/react-id */
55
+ /*! react */
74
56
 
75
- /*! ../../../Context */
57
+ /*! react/jsx-runtime */
76
58
 
77
- /*! ./Context */
59
+ /*! @radix-ui/themes */
78
60
 
79
- /*! ufo */
61
+ /*! ./Route.module.scss */
80
62
 
81
- /*! ./EntryRoute */
63
+ /*! ./RemixRoute/Stats */
82
64
 
83
- /*! ./Unknown */
65
+ /*! lodash */
84
66
 
85
67
  /*! @radix-ui/themes */
86
68
 
87
- /*! @modern-js/runtime/router */
69
+ /*! lodash */
88
70
 
89
- /*! @radix-ui/themes */
71
+ /*! ../Base */
90
72
 
91
- /*! react */
73
+ /*! @radix-ui/react-context */
92
74
 
93
- /*! react */
75
+ /*! @radix-ui/react-id */
94
76
 
95
- /*! ../Base */
77
+ /*! react-icons/hi2 */
96
78
 
97
- /*! @/entries/client/routes/state */
79
+ /*! react-use */
80
+
81
+ /*! ./Route */
82
+
83
+ /*! ./Context */
98
84
 
99
85
  /*! react */
100
86
 
101
87
  /*! react/jsx-runtime */
102
88
 
103
- /*! ./Stats */
89
+ /*! react */
104
90
 
105
91
  /*! ./page.module.scss */
106
92
 
107
- /*! valtio */
108
-
109
- /*! ./Route.module.scss */
93
+ /*! ./ClientRoute */
110
94
 
111
95
  /*! @radix-ui/react-use-controllable-state */
112
96
 
97
+ /*! @radix-ui/themes */
98
+
99
+ /*! ../state */
100
+
113
101
  /*! @radix-ui/react-collapsible */
114
102
 
115
- /*! ./LegacyRoute/Stats */
103
+ /*! ufo */
104
+
105
+ /*! @/entries/client/routes/state */
116
106
 
117
107
  /*! react */
118
108
 
109
+ /*! @radix-ui/themes */
110
+
119
111
  /*! react/jsx-runtime */
120
112
 
121
- /*! @radix-ui/themes */
113
+ /*! ./Stats */
122
114
 
123
- /*! @radix-ui/themes */
115
+ /*! react */
124
116
 
125
- /*! ./ClientRoute */
117
+ /*! ./Route */
126
118
 
127
- /*! react-use */
119
+ /*! ./EntryRoute */
128
120
 
129
- /*! ./Context */
121
+ /*! ./Unknown */
130
122
 
131
- /*! react */
123
+ /*! lodash */
132
124
 
133
125
  /*! react/jsx-runtime */
134
126
 
135
- /*! valtio */
127
+ /*! lodash */
136
128
 
137
- /*! react */
129
+ /*! ufo */
138
130
 
139
131
  /*! @radix-ui/react-primitive */
140
132
 
141
- /*! react/jsx-runtime */
142
-
143
133
  /*! @radix-ui/themes */
144
134
 
145
135
  /*! react */
@@ -148,12 +138,22 @@
148
138
 
149
139
  /*! @radix-ui/react-use-layout-effect */
150
140
 
141
+ /*! @/entries/client/routes/state */
142
+
151
143
  /*! @radix-ui/react-presence */
152
144
 
153
- /*! ./RemixRoute/Stats */
145
+ /*! valtio */
154
146
 
155
- /*! ./Route */
147
+ /*! ../../../Context */
148
+
149
+ /*! ./Context */
150
+
151
+ /*! react */
156
152
 
157
153
  /*! react/jsx-runtime */
158
154
 
159
- /*! lodash */
155
+ /*! @modern-js/runtime/router */
156
+
157
+ /*! @radix-ui/primitive */
158
+
159
+ /*! @radix-ui/themes */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.e0c7fdb9.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["299"],{71166:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var u=t("86834"),s=t("39934");function o(){return(0,u.jsx)(s.Outlet,{})}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.af8bdb2c.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["483"],{27329:function(e,t,n){"use strict";n.r(t);var o=n("86834"),s=n("39934"),r=n("83982"),a=n("5872"),i=n("3570"),l=n("9266"),c=n("77240"),u=n("60107");t.default=()=>{let e=(0,s.useParams)(),t=(0,r.useThemeContext)(),n=(0,s.useLocation)(),h=(0,s.useNavigate)(),d="light"===t.appearance?"light":"dark",v=(0,u.useThrowable)(l.$mountPoint);(0,a.useEffect)(()=>{v.remote.activateReactDevtools()},[]),(0,a.useEffect)(()=>{if("#inspecting"===n.hash){let e=()=>{c.wallAgent.send("startInspectingNative",null),h(n.pathname,{replace:!0})};"active"===c.wallAgent.status?e():c.wallAgent.hookOnce("active",e)}},[n,h]);let f=(0,a.useMemo)(()=>{let e=(0,i.createBridge)(window.parent,c.wallAgent),t=(0,i.createStore)(e);return(0,i.initialize)(window.parent,{bridge:e,store:t})},[]);return(0,o.jsx)(r.Box,{style:{position:"fixed",left:"var(--navigator-width)",top:"var(--breadcrumb-height)",bottom:0,right:0},children:f&&(0,o.jsx)(f,{browserTheme:d,overrideTab:"profiler"===e.tab?"profiler":"components",hideSettings:!1})})}},77240:function(e,t,n){"use strict";n.r(t),n.d(t,{wallAgent:function(){return s}});var o=n("9266");let s=new(n("5451")).WallAgent;o.$mountPoint.then(e=>{s.bindRemote(e.remote,"sendReactDevtoolsData")})},5451:function(e,t,n){"use strict";n.r(t),n.d(t,{WallAgent:function(){return s}});var o=n("65872");class s extends o.Hookable{listen(e){return this.hook("receive",e),e}send(e,t,n){this.callHook("send",{event:e,payload:t,transferable:n})}bindRemote(e,t){var n=this;return e.$functions[t]=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),s=1;s<t;s++)o[s-1]=arguments[s];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];e[t](...o)}),this}constructor(){super(),this.status="close";let e=e=>{this.status!==e&&(this.status=e,this.callHook(e))};this.hook("send",t=>{"shutdown"===t.event&&e("close")}),this.hook("receive",t=>{"shutdown"===t.event?e("close"):"operations"===t.event?e("active"):e("open")})}}}}]);
@@ -2,6 +2,8 @@
2
2
 
3
3
  /*! react-devtools-inline/frontend */
4
4
 
5
+ /*! @/utils */
6
+
5
7
  /*! @modern-js/runtime/router */
6
8
 
7
9
  /*! @radix-ui/themes */
@@ -10,14 +12,10 @@
10
12
 
11
13
  /*! ../state */
12
14
 
13
- /*! @swc/helpers/_/_define_property */
14
-
15
- /*! @/utils */
15
+ /*! ../state */
16
16
 
17
17
  /*! ../../state */
18
18
 
19
- /*! ../state */
20
-
21
- /*! react */
19
+ /*! @/utils/react-devtools */
22
20
 
23
- /*! @/utils/react-devtools */
21
+ /*! react */