@modern-js/devtools-client 2.46.1 → 2.47.1

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 (122) 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 +39 -14
  4. package/dist/nestedRoutes.json +1 -1
  5. package/dist/public/sw-proxy.js +1 -1
  6. package/dist/routes-manifest.json +106 -72
  7. package/dist/static/css/async/client_doctor/page.4b5b3f70.css +1 -0
  8. package/dist/static/css/async/client_headers/editor/page.1e269ab4.css +1 -0
  9. package/dist/static/css/async/client_overview/page.a21fd53b.css +1 -0
  10. package/dist/static/css/async/client_pages/page.f6b1fb86.css +1 -0
  11. package/dist/static/css/client.8fa82b25.css +1 -0
  12. package/dist/static/css/components.f0d2e418.css +1 -0
  13. package/dist/static/css/mount.85d07e8a.css +1 -0
  14. package/dist/static/font/NotoSans-latin-subset.0dd84d42.woff2 +0 -0
  15. package/dist/static/image/rsdoctor-large.b2f496d9.png +0 -0
  16. package/dist/static/js/28.ff9cf79c.js +6 -0
  17. package/dist/static/js/{544.a062c5bf.js.LICENSE.txt → 28.ff9cf79c.js.LICENSE.txt} +405 -321
  18. package/dist/static/js/405.a362a59e.js +2 -0
  19. package/dist/static/js/405.a362a59e.js.LICENSE.txt +162 -0
  20. package/dist/static/js/669.4c467935.js +2 -0
  21. package/dist/static/js/{971.dfaf371b.js.LICENSE.txt → 669.4c467935.js.LICENSE.txt} +269 -269
  22. package/dist/static/js/768.cc6b6105.js +12 -0
  23. package/dist/static/js/{821.746e4296.js.LICENSE.txt → 768.cc6b6105.js.LICENSE.txt} +3 -3
  24. package/dist/static/js/async/574.5ecbe81d.js +2 -0
  25. package/dist/static/js/async/{199.632ea604.js.LICENSE.txt → 574.5ecbe81d.js.LICENSE.txt} +9 -9
  26. package/dist/static/js/async/{769.d97a8752.js → 769.e476d373.js} +2 -2
  27. package/dist/static/js/async/{769.d97a8752.js.LICENSE.txt → 769.e476d373.js.LICENSE.txt} +64 -64
  28. package/dist/static/js/async/851.10db2ec6.js +107 -0
  29. package/dist/static/js/async/{851.f1680ec1.js.LICENSE.txt → 851.10db2ec6.js.LICENSE.txt} +9 -9
  30. package/dist/static/js/async/client_config/{layout.166501ba.js → layout.74621de5.js} +2 -2
  31. package/dist/static/js/async/client_config/page.aab3b105.js +1 -0
  32. package/dist/static/js/async/client_context/builder/page.4fb84cc6.js +2 -0
  33. package/dist/static/js/async/client_context/{framework/page.0e7a358d.js.LICENSE.txt → builder/page.4fb84cc6.js.LICENSE.txt} +4 -4
  34. package/dist/static/js/async/client_context/framework/page.8193408b.js +2 -0
  35. package/dist/static/js/async/client_context/{builder/page.4a147316.js.LICENSE.txt → framework/page.8193408b.js.LICENSE.txt} +4 -4
  36. package/dist/static/js/async/client_context/{layout.7142f660.js → layout.5323e5cd.js} +2 -2
  37. package/dist/static/js/async/client_context/page.e011c45f.js +1 -0
  38. package/dist/static/js/async/client_doctor/page.9757e8c5.js +2 -0
  39. package/dist/static/js/async/client_doctor/page.9757e8c5.js.LICENSE.txt +47 -0
  40. package/dist/static/js/async/client_headers/editor/page.f6e89a4f.js +2 -0
  41. package/dist/static/js/async/client_headers/editor/{page.8a90ebab.js.LICENSE.txt → page.f6e89a4f.js.LICENSE.txt} +17 -21
  42. package/dist/static/js/async/client_headers/layout.1c0290a9.js +2 -0
  43. package/dist/static/js/async/client_headers/page.d98208e7.js +1 -0
  44. package/dist/static/js/async/client_headers/welcome/page.8e092837.js +2 -0
  45. package/dist/static/js/async/client_overview/page.b36b0893.js +2 -0
  46. package/dist/static/js/async/client_overview/{page.e2907cdb.js.LICENSE.txt → page.b36b0893.js.LICENSE.txt} +18 -12
  47. package/dist/static/js/async/client_page.50bf0cdc.js +1 -0
  48. package/dist/static/js/async/client_pages/layout.c9ca92dd.js +2 -0
  49. package/dist/static/js/async/{client_headers/layout.a02ba20e.js.LICENSE.txt → client_pages/layout.c9ca92dd.js.LICENSE.txt} +3 -3
  50. package/dist/static/js/async/client_pages/page.7fbc044c.js +2 -0
  51. package/dist/static/js/async/client_pages/{page.cbbcc027.js.LICENSE.txt → page.7fbc044c.js.LICENSE.txt} +64 -76
  52. package/dist/static/js/async/client_react/(tab)/layout.b9d4424b.js +2 -0
  53. package/dist/static/js/async/client_react/(tab)/page.e4b4ca14.js +2 -0
  54. package/dist/static/js/async/client_react/(tab)/{page.3990630b.js.LICENSE.txt → page.e4b4ca14.js.LICENSE.txt} +12 -18
  55. package/dist/static/js/async/client_react/offscreen/page.fe448b0c.js +2 -0
  56. package/dist/static/js/async/client_react/offscreen/page.fe448b0c.js.LICENSE.txt +5 -0
  57. package/dist/static/js/async/client_react/page.b813d5a5.js +1 -0
  58. package/dist/static/js/builder-runtime.292aab36.js +1 -0
  59. package/dist/static/js/client.f70bf229.js +2 -0
  60. package/dist/static/js/{client.83082cde.js.LICENSE.txt → client.f70bf229.js.LICENSE.txt} +191 -113
  61. package/dist/static/js/components.449e2c3f.js +1 -0
  62. package/dist/static/js/lib-lodash.104ea357.js +1 -0
  63. package/dist/static/js/lib-polyfill.f1a659c9.js +2 -0
  64. package/dist/static/js/{lib-polyfill.65ea0a24.js.LICENSE.txt → lib-polyfill.f1a659c9.js.LICENSE.txt} +2350 -2350
  65. package/dist/static/js/lib-react.38c297f4.js +2 -0
  66. package/dist/static/js/{lib-react.5131ac93.js.LICENSE.txt → lib-react.38c297f4.js.LICENSE.txt} +16 -16
  67. package/dist/static/js/lib-router.651a118d.js +2 -0
  68. package/dist/static/js/{lib-router.ad2f384b.js.LICENSE.txt → lib-router.651a118d.js.LICENSE.txt} +14 -12
  69. package/dist/static/js/mount.510535ae.js +2 -0
  70. package/dist/static/js/{mount.b89b187f.js.LICENSE.txt → mount.510535ae.js.LICENSE.txt} +48 -40
  71. package/package.json +14 -13
  72. package/dist/static/css/971.c51346c6.css +0 -1
  73. package/dist/static/css/async/199.3d9e4afb.css +0 -1
  74. package/dist/static/css/async/client_context/builder/page.3d9e4afb.css +0 -1
  75. package/dist/static/css/async/client_context/framework/page.3d9e4afb.css +0 -1
  76. package/dist/static/css/async/client_headers/editor/page.1b30ff56.css +0 -1
  77. package/dist/static/css/async/client_overview/page.d48aa01a.css +0 -1
  78. package/dist/static/css/async/client_pages/page.0e57d947.css +0 -1
  79. package/dist/static/css/client.30616823.css +0 -1
  80. package/dist/static/css/mount.6e2e9a58.css +0 -1
  81. package/dist/static/js/535.6ec7133e.js +0 -2
  82. package/dist/static/js/535.6ec7133e.js.LICENSE.txt +0 -168
  83. package/dist/static/js/544.a062c5bf.js +0 -6
  84. package/dist/static/js/821.746e4296.js +0 -12
  85. package/dist/static/js/971.dfaf371b.js +0 -2
  86. package/dist/static/js/async/199.632ea604.js +0 -2
  87. package/dist/static/js/async/851.f1680ec1.js +0 -107
  88. package/dist/static/js/async/client_config/page.af0017fb.js +0 -1
  89. package/dist/static/js/async/client_context/builder/page.4a147316.js +0 -2
  90. package/dist/static/js/async/client_context/framework/page.0e7a358d.js +0 -2
  91. package/dist/static/js/async/client_context/page.227fc159.js +0 -1
  92. package/dist/static/js/async/client_headers/editor/page.8a90ebab.js +0 -2
  93. package/dist/static/js/async/client_headers/layout.a02ba20e.js +0 -2
  94. package/dist/static/js/async/client_headers/page.83f30498.js +0 -2
  95. package/dist/static/js/async/client_headers/page.83f30498.js.LICENSE.txt +0 -11
  96. package/dist/static/js/async/client_headers/welcome/page.bb592578.js +0 -2
  97. package/dist/static/js/async/client_overview/page.e2907cdb.js +0 -2
  98. package/dist/static/js/async/client_page.f1d2eb8e.js +0 -1
  99. package/dist/static/js/async/client_pages/layout.02f7cf3a.js +0 -2
  100. package/dist/static/js/async/client_pages/page.cbbcc027.js +0 -2
  101. package/dist/static/js/async/client_react/(tab)/layout.3becf66e.js +0 -2
  102. package/dist/static/js/async/client_react/(tab)/page.3990630b.js +0 -2
  103. package/dist/static/js/async/client_react/offscreen/page.0074d754.js +0 -2
  104. package/dist/static/js/async/client_react/offscreen/page.0074d754.js.LICENSE.txt +0 -5
  105. package/dist/static/js/async/client_react/page.be45dcc6.js +0 -1
  106. package/dist/static/js/builder-runtime.985eaf68.js +0 -1
  107. package/dist/static/js/client.83082cde.js +0 -2
  108. package/dist/static/js/lib-lodash.423c7620.js +0 -1
  109. package/dist/static/js/lib-polyfill.65ea0a24.js +0 -2
  110. package/dist/static/js/lib-react.5131ac93.js +0 -2
  111. package/dist/static/js/lib-router.ad2f384b.js +0 -2
  112. package/dist/static/js/mount.b89b187f.js +0 -2
  113. package/exports/.eslintrc.js +0 -13
  114. package/exports/mount.mjs +0 -40
  115. /package/dist/static/css/{544.b0b76183.css → 28.1aa2771e.css} +0 -0
  116. /package/dist/static/css/async/client_headers/{layout.26c871c9.css → layout.6a59fdd7.css} +0 -0
  117. /package/dist/static/css/async/client_pages/{layout.7beb3bbd.css → layout.20ccbdd7.css} +0 -0
  118. /package/dist/static/js/async/client_config/{layout.166501ba.js.LICENSE.txt → layout.74621de5.js.LICENSE.txt} +0 -0
  119. /package/dist/static/js/async/client_context/{layout.7142f660.js.LICENSE.txt → layout.5323e5cd.js.LICENSE.txt} +0 -0
  120. /package/dist/static/js/async/{client_pages/layout.02f7cf3a.js.LICENSE.txt → client_headers/layout.1c0290a9.js.LICENSE.txt} +0 -0
  121. /package/dist/static/js/async/client_headers/welcome/{page.bb592578.js.LICENSE.txt → page.8e092837.js.LICENSE.txt} +0 -0
  122. /package/dist/static/js/async/client_react/(tab)/{layout.3becf66e.js.LICENSE.txt → layout.b9d4424b.js.LICENSE.txt} +0 -0
@@ -1,3 +1,11 @@
1
+ /*! promise-polyfill 2.0.1 */
2
+
3
+ /*! ./cjs/react-is.production.min.js */
4
+
5
+ /*! react-dom */
6
+
7
+ /*! react */
8
+
1
9
  /**
2
10
  * @license React
3
11
  * react-is.production.min.js
@@ -8,14 +16,6 @@
8
16
  * LICENSE file in the root directory of this source tree.
9
17
  */
10
18
 
11
- /*! react-dom */
12
-
13
- /*! react */
14
-
15
- /*! ./dist/frontend */
16
-
17
19
  /*! react-is */
18
20
 
19
- /*! ./cjs/react-is.production.min.js */
20
-
21
- /*! promise-polyfill 2.0.1 */
21
+ /*! ./dist/frontend */
@@ -1,2 +1,2 @@
1
- /*! For license information please see layout.166501ba.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["518"],{69149: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.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,{})})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["943"],{85894:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.4fb84cc6.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["958"],{91796: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("71458");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))})},98738:function(e,s,a){"use strict";a.r(s);var b=a("86834");a("5872");var t=a("42700"),r=a("41769"),c=a("91796");s.default=()=>{let{context:e}=(0,t.useSnapshot)(r.$builder);return(0,b.jsx)(c.ObjectInspector,{data:e,sortObjectKeys:!0})}}}]);
@@ -1,9 +1,9 @@
1
1
  /*! @swc/helpers/_/_object_spread */
2
2
 
3
- /*! react-json-tree */
4
-
5
3
  /*! valtio */
6
4
 
5
+ /*! react-json-tree */
6
+
7
7
  /*! ../../state */
8
8
 
9
9
  /*! ./ObjectInspector.module.scss */
@@ -12,8 +12,8 @@
12
12
 
13
13
  /*! react */
14
14
 
15
- /*! @radix-ui/themes */
15
+ /*! react/jsx-runtime */
16
16
 
17
17
  /*! @/components/ObjectInspector */
18
18
 
19
- /*! react/jsx-runtime */
19
+ /*! @radix-ui/themes */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.8193408b.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["818"],{91796: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("71458");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))})},45727:function(e,s,a){"use strict";a.r(s);var b=a("86834");a("5872");var t=a("42700"),r=a("41769"),c=a("91796");s.default=()=>{let{context:e}=(0,t.useSnapshot)(r.$framework);return(0,b.jsx)(c.ObjectInspector,{data:e,sortObjectKeys:!0})}}}]);
@@ -1,9 +1,9 @@
1
1
  /*! @swc/helpers/_/_object_spread */
2
2
 
3
- /*! react-json-tree */
4
-
5
3
  /*! valtio */
6
4
 
5
+ /*! react-json-tree */
6
+
7
7
  /*! ../../state */
8
8
 
9
9
  /*! ./ObjectInspector.module.scss */
@@ -12,8 +12,8 @@
12
12
 
13
13
  /*! react */
14
14
 
15
- /*! @radix-ui/themes */
15
+ /*! react/jsx-runtime */
16
16
 
17
17
  /*! @/components/ObjectInspector */
18
18
 
19
- /*! react/jsx-runtime */
19
+ /*! @radix-ui/themes */
@@ -1,2 +1,2 @@
1
- /*! For license information please see layout.7142f660.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["504"],{42737: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.5323e5cd.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["504"],{47565: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"],{69502:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.9757e8c5.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"},94250: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("53216");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})},33084:function(e,r,t){"use strict";t.r(r);var n=t("94250");t.es(n,r)},89375: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("41769"),m=t("32579"),p=t("71425"),j=t("23374"),g=t("33084");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=(f=(x=(l=(t=(r=(e=_["@web-doctor/webpack-plugin(builder)"])!==null&&void 0!==e?e:_["@web-doctor/rspack-plugin(builder)"])!==null&&void 0!==r?r:_["@web-doctor/webpack-plugin"])!==null&&void 0!==t?t:_["@web-doctor/rspack-plugin"])!==null&&void 0!==l?l:_["@rsdoctor/rspack-plugin"])!==null&&void 0!==x?x:_["@rsdoctor/webpack-plugin"])!==null&&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)})]})})]})})}},71425:function(e,r,t){"use strict";t.r(r),t.d(r,{$doctor:function(){return c}});var n=t("42700");let s=t("41769").$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)})},23374: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"}}}]);
@@ -0,0 +1,47 @@
1
+ /*! @swc/helpers/_/_object_spread_props */
2
+
3
+ /*! ../state */
4
+
5
+ /*! lodash */
6
+
7
+ /*! @swc/helpers/_/_object_spread_props */
8
+
9
+ /*! valtio */
10
+
11
+ /*! react/jsx-runtime */
12
+
13
+ /*! ./state */
14
+
15
+ /*! @/components/Card */
16
+
17
+ /*! @radix-ui/themes */
18
+
19
+ /*! clsx */
20
+
21
+ /*! @swc/helpers/_/_object_without_properties */
22
+
23
+ /*! ./page.module.scss */
24
+
25
+ /*! valtio */
26
+
27
+ /*! ./Indicate */
28
+
29
+ /*! ./Indicate.module.scss */
30
+
31
+ /*! @radix-ui/themes */
32
+
33
+ /*! ./rsdoctor-large.png */
34
+
35
+ /*! @swc/helpers/_/_object_spread */
36
+
37
+ /*! ufo */
38
+
39
+ /*! clsx */
40
+
41
+ /*! react-icons/hi2 */
42
+
43
+ /*! react/jsx-runtime */
44
+
45
+ /*! @swc/helpers/_/_object_spread */
46
+
47
+ /*! ../state */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.f6e89a4f.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["730"],{15615: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("60370"),h=s("15679");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))}))}},15679: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("12466");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)}},51615: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("6170"),u=s("28496"),h=s("15615");r.default=()=>{let e=(0,c.useSnapshot)(d.$state),r=!!e.service.href,s=(0,l.useMemo)(()=>{var r;return(0,c.proxy)((r=n().cloneDeep(e.service.rules))!==null&&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"})})]})}},28496:function(e){"use strict";e.exports={signal:"signal-_8af82"}}}]);
@@ -1,53 +1,49 @@
1
1
  /*! react/jsx-runtime */
2
2
 
3
- /*! valtio */
4
-
5
- /*! ./Pair.module.scss */
6
-
7
- /*! @swc/helpers/_/_object_without_properties */
3
+ /*! lodash */
8
4
 
9
- /*! react/jsx-runtime */
5
+ /*! @/components/PairsEditor/Editor */
10
6
 
11
7
  /*! react/jsx-runtime */
12
8
 
13
- /*! @radix-ui/themes */
9
+ /*! valtio */
14
10
 
15
- /*! ../state */
11
+ /*! @swc/helpers/_/_object_without_properties */
16
12
 
17
- /*! ./page.module.scss */
13
+ /*! ufo */
18
14
 
19
- /*! @/components/PairsEditor/Editor */
15
+ /*! react */
20
16
 
21
- /*! lodash */
17
+ /*! react */
22
18
 
23
19
  /*! ./Editor.module.scss */
24
20
 
25
- /*! valtio */
26
-
27
21
  /*! @radix-ui/themes */
28
22
 
29
- /*! valtio */
30
-
31
23
  /*! ./Pair */
32
24
 
33
- /*! react */
25
+ /*! @radix-ui/themes */
26
+
27
+ /*! react-icons/hi2 */
34
28
 
35
29
  /*! @swc/helpers/_/_object_spread */
36
30
 
37
31
  /*! react */
38
32
 
39
- /*! @radix-ui/themes */
33
+ /*! react/jsx-runtime */
34
+
35
+ /*! ./page.module.scss */
40
36
 
41
37
  /*! nanoid */
42
38
 
43
- /*! react-icons/hi2 */
39
+ /*! @radix-ui/themes */
44
40
 
45
- /*! ufo */
41
+ /*! ../state */
46
42
 
47
- /*! lodash */
43
+ /*! valtio */
48
44
 
49
45
  /*! valtio */
50
46
 
51
- /*! react */
47
+ /*! ./Pair.module.scss */
52
48
 
53
49
  /*! @swc/helpers/_/_object_spread_props */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.1c0290a9.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["925"],{64083: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("44437");function c(){return(0,o.jsx)(r.Box,{px:"4",mx:"auto",pb:"4",className:u.container,children:(0,o.jsx)(s.Outlet,{})})}},44437:function(e){"use strict";e.exports={container:"container-_15ef2"}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["963"],{10307:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +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"})]})}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.b36b0893.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}},94250: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("53216");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})},33084:function(e,r,a){"use strict";a.r(r);var i=a("94250");a.es(i,r)},83166: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("41769");a("53216");var o=a("10943"),d=a("33084");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"})]})]})}},10943: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,29 +1,35 @@
1
- /*! clsx */
1
+ /*! react/jsx-runtime */
2
+
3
+ /*! @radix-ui/themes */
2
4
 
3
5
  /*! @swc/helpers/_/_object_without_properties */
4
6
 
5
- /*! react-icons/hi2 */
7
+ /*! valtio */
6
8
 
7
- /*! ../state */
9
+ /*! @/components/Card/Indicate.module.scss */
8
10
 
9
- /*! ufo */
11
+ /*! ./page.module.scss */
10
12
 
11
- /*! @radix-ui/themes */
13
+ /*! ./Indicate */
12
14
 
13
- /*! valtio */
15
+ /*! ./Indicate.module.scss */
16
+
17
+ /*! react */
18
+
19
+ /*! clsx */
14
20
 
15
21
  /*! @swc/helpers/_/_object_spread */
16
22
 
17
- /*! ./heading.svg */
23
+ /*! @radix-ui/themes */
18
24
 
19
- /*! @swc/helpers/_/_object_spread_props */
25
+ /*! react-icons/hi2 */
20
26
 
21
- /*! react/jsx-runtime */
27
+ /*! ../state */
22
28
 
23
- /*! react */
29
+ /*! @swc/helpers/_/_object_spread_props */
24
30
 
25
31
  /*! react/jsx-runtime */
26
32
 
27
- /*! react */
33
+ /*! ufo */
28
34
 
29
- /*! ./page.module.scss */
35
+ /*! @/components/Card */
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["127"],{40885:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.c9ca92dd.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["631"],{88647: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("37175");function u(){return(0,o.jsx)(r.Box,{px:"4",mx:"auto",pb:"4",className:c.container,children:(0,o.jsx)(s.Outlet,{})})}},37175:function(e){"use strict";e.exports={container:"container-a0c6fe"}}}]);
@@ -1,7 +1,7 @@
1
+ /*! react/jsx-runtime */
2
+
1
3
  /*! @modern-js/runtime/router */
2
4
 
3
5
  /*! @radix-ui/themes */
4
6
 
5
- /*! ./layout.module.scss */
6
-
7
- /*! react/jsx-runtime */
7
+ /*! ./layout.module.scss */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see page.7fbc044c.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{62271: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("60041"),u=n("85289");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})]})})}},85289:function(e,t,n){"use strict";n.r(t),n.d(t,{MatchUrlContext:function(){return r}});let r=(0,n("5872").createContext)({url:""})},46503: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."})},64094:function(e,t,n){"use strict";n.r(t),n.d(t,{MatchRemixRouteContext:function(){return r}});let r=(0,n("5872").createContext)([])},36931: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("64094"),d=n("11856");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=(n=p.index)!==null&&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:(t=p.children)===null||void 0===t?void 0:t.map(e=>(0,r.jsx)(x,{route:h.concat(e)},e.id))})]})}},38178: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("85289"),u=n("64094"),c=n("36931");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=(e=(0,o.matchRoutes)(t,(0,s.cleanDoubleSlashes)(x.replace(n.urlPath,"/"))))!==null&&void 0!==e?e:[];return!!r.length&&r}},[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}},82868: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("46503"),u=n("38178"),c=n("41769"),d=n("8288");(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])},23975:function(e,t,n){"use strict";n.r(t);var r=n("82868");n.es(r,t)},98624: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("62271"),s=n("98473"),l=n("23975");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"})},98473: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("43678"),u=n("41769");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})]})]})}},30936:function(e,t,n){"use strict";n.r(t);var r=n("98624");n.es(r,t)},55276: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("30936"),s=n("85050");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})}},85050: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("62271");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"})},57202: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("41769"),c=n("24680"),d=n("85289"),x=n("55276");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"})]})})})]})})}},24680: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,171 +1,159 @@
1
- /*! react */
1
+ /*! ./Base */
2
2
 
3
- /*! react */
3
+ /*! lodash */
4
4
 
5
- /*! ufo */
5
+ /*! @radix-ui/primitive */
6
6
 
7
- /*! react/jsx-runtime */
7
+ /*! @radix-ui/themes */
8
+
9
+ /*! @/components/ServerRoute/Context */
8
10
 
9
11
  /*! @radix-ui/react-icons */
10
12
 
11
- /*! react/jsx-runtime */
13
+ /*! react */
12
14
 
13
- /*! ./ClientRoute */
15
+ /*! @/entries/client/routes/state */
14
16
 
15
- /*! ../../../Context */
17
+ /*! lodash */
16
18
 
17
- /*! ./Context */
19
+ /*! lodash */
18
20
 
19
- /*! ./page.module.scss */
21
+ /*! react */
20
22
 
21
- /*! valtio */
23
+ /*! react/jsx-runtime */
22
24
 
23
- /*! @modern-js/runtime/router */
25
+ /*! valtio */
24
26
 
25
27
  /*! react */
26
28
 
27
- /*! react/jsx-runtime */
29
+ /*! @babel/runtime/helpers/esm/extends */
28
30
 
29
31
  /*! react */
30
32
 
31
33
  /*! react/jsx-runtime */
32
34
 
33
- /*! @radix-ui/react-primitive */
35
+ /*! react-icons/hi2 */
34
36
 
35
- /*! react */
37
+ /*! @/components/ServerRoute/Route */
36
38
 
37
- /*! react */
39
+ /*! @radix-ui/react-compose-refs */
38
40
 
39
- /*! react/jsx-runtime */
41
+ /*! ./Base.module.scss */
40
42
 
41
- /*! ./Stats */
43
+ /*! ./Context */
42
44
 
43
- /*! react/jsx-runtime */
45
+ /*! ./Route */
44
46
 
45
- /*! @radix-ui/react-use-layout-effect */
47
+ /*! react */
46
48
 
47
- /*! @radix-ui/react-presence */
49
+ /*! @radix-ui/themes */
48
50
 
49
- /*! react */
51
+ /*! @radix-ui/themes */
50
52
 
51
- /*! ./context */
53
+ /*! ../state */
54
+
55
+ /*! ./Stats.module.scss */
56
+
57
+ /*! react */
52
58
 
53
59
  /*! react/jsx-runtime */
54
60
 
55
61
  /*! react/jsx-runtime */
56
62
 
57
- /*! ./Base.module.scss */
63
+ /*! ./Stats */
58
64
 
59
- /*! @radix-ui/primitive */
65
+ /*! ufo */
60
66
 
61
- /*! ./Context */
67
+ /*! ufo */
62
68
 
63
- /*! lodash */
69
+ /*! @/utils */
64
70
 
65
- /*! @radix-ui/themes */
71
+ /*! @radix-ui/react-context */
66
72
 
67
- /*! @radix-ui/themes */
73
+ /*! @radix-ui/react-id */
68
74
 
69
- /*! @/entries/client/routes/state */
75
+ /*! ../../../Context */
76
+
77
+ /*! ./Context */
70
78
 
71
79
  /*! ufo */
72
80
 
81
+ /*! ./EntryRoute */
82
+
83
+ /*! ./Unknown */
84
+
73
85
  /*! @radix-ui/themes */
74
86
 
75
- /*! lodash */
87
+ /*! @modern-js/runtime/router */
76
88
 
77
- /*! react/jsx-runtime */
89
+ /*! @radix-ui/themes */
78
90
 
79
91
  /*! react */
80
92
 
81
93
  /*! react */
82
94
 
83
- /*! @/utils */
95
+ /*! ../Base */
84
96
 
85
- /*! react */
97
+ /*! @/entries/client/routes/state */
86
98
 
87
99
  /*! react */
88
100
 
89
- /*! valtio */
90
-
91
101
  /*! react/jsx-runtime */
92
102
 
93
- /*! @radix-ui/themes */
103
+ /*! ./Stats */
94
104
 
95
- /*! @/components/ServerRoute/Context */
105
+ /*! ./page.module.scss */
96
106
 
97
- /*! @babel/runtime/helpers/esm/extends */
107
+ /*! valtio */
98
108
 
99
109
  /*! ./Route.module.scss */
100
110
 
101
- /*! react */
102
-
103
- /*! react/jsx-runtime */
104
-
105
- /*! ./RemixRoute/Stats */
106
-
107
- /*! ./Route */
108
-
109
- /*! ./hooks */
111
+ /*! @radix-ui/react-use-controllable-state */
110
112
 
111
- /*! @radix-ui/react-compose-refs */
113
+ /*! @radix-ui/react-collapsible */
112
114
 
113
115
  /*! ./LegacyRoute/Stats */
114
116
 
115
- /*! ./Base */
117
+ /*! react */
116
118
 
117
- /*! @/entries/client/routes/state */
119
+ /*! react/jsx-runtime */
118
120
 
119
- /*! react */
121
+ /*! @radix-ui/themes */
120
122
 
121
123
  /*! @radix-ui/themes */
122
124
 
123
- /*! @radix-ui/react-collapsible */
125
+ /*! ./ClientRoute */
124
126
 
125
127
  /*! react-use */
126
128
 
127
129
  /*! ./Context */
128
130
 
129
- /*! ./Stats.module.scss */
130
-
131
- /*! react-icons/hi2 */
132
-
133
- /*! ./Stats */
131
+ /*! react */
134
132
 
135
- /*! @/components/ServerRoute/Route */
133
+ /*! react/jsx-runtime */
136
134
 
137
135
  /*! valtio */
138
136
 
139
- /*! @radix-ui/themes */
140
-
141
- /*! @radix-ui/react-context */
142
-
143
- /*! @radix-ui/react-id */
144
-
145
- /*! ./EntryRoute */
146
-
147
- /*! ./Unknown */
148
-
149
137
  /*! react */
150
138
 
151
- /*! @radix-ui/themes */
139
+ /*! @radix-ui/react-primitive */
152
140
 
153
- /*! ../state */
141
+ /*! react/jsx-runtime */
154
142
 
155
143
  /*! @radix-ui/themes */
156
144
 
157
- /*! lodash */
145
+ /*! react */
158
146
 
159
- /*! lodash */
147
+ /*! react/jsx-runtime */
160
148
 
161
- /*! react */
149
+ /*! @radix-ui/react-use-layout-effect */
162
150
 
163
- /*! ../Base */
151
+ /*! @radix-ui/react-presence */
164
152
 
165
- /*! ufo */
153
+ /*! ./RemixRoute/Stats */
166
154
 
167
155
  /*! ./Route */
168
156
 
169
- /*! @radix-ui/react-use-controllable-state */
157
+ /*! react/jsx-runtime */
170
158
 
171
159
  /*! lodash */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see layout.b9d4424b.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["299"],{35941: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.e4b4ca14.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["483"],{63441: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("41769"),c=n("71803"),u=n("8288");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})})}},71803:function(e,t,n){"use strict";n.r(t),n.d(t,{wallAgent:function(){return s}});var o=n("41769");let s=new(n("59047")).WallAgent;o.$mountPoint.then(e=>{s.bindRemote(e.remote,"sendReactDevtoolsData")})},59047:function(e,t,n){"use strict";n.r(t),n.d(t,{WallAgent:function(){return r}});var o=n("18360"),s=n("65872");class r extends s.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(),(0,o._)(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")})}}}}]);