@modern-js/devtools-client 2.47.0 → 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.
- package/dist/html/client/index.html +3 -3
- package/dist/html/mount/index.html +3 -3
- package/dist/modern.config.json +3 -3
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +78 -78
- package/dist/static/js/{820.d47d2d6a.js → 28.ff9cf79c.js} +3 -3
- package/dist/static/js/{820.d47d2d6a.js.LICENSE.txt → 28.ff9cf79c.js.LICENSE.txt} +382 -382
- package/dist/static/js/405.a362a59e.js +2 -0
- package/dist/static/js/{101.25761306.js.LICENSE.txt → 405.a362a59e.js.LICENSE.txt} +74 -76
- package/dist/static/js/{637.e491a64f.js → 669.4c467935.js} +2 -2
- package/dist/static/js/{637.e491a64f.js.LICENSE.txt → 669.4c467935.js.LICENSE.txt} +228 -228
- package/dist/static/js/async/574.5ecbe81d.js +2 -0
- package/dist/static/js/async/{447.fbf96e90.js.LICENSE.txt → 574.5ecbe81d.js.LICENSE.txt} +8 -8
- package/dist/static/js/async/client_config/{layout.ba4d2992.js → layout.74621de5.js} +2 -2
- package/dist/static/js/async/client_config/page.aab3b105.js +1 -0
- package/dist/static/js/async/client_context/builder/{page.ec2d5c56.js → page.4fb84cc6.js} +2 -2
- package/dist/static/js/async/client_context/framework/{page.3dd49436.js → page.8193408b.js} +2 -2
- package/dist/static/js/async/client_context/{layout.d57d4a8b.js → layout.5323e5cd.js} +2 -2
- package/dist/static/js/async/client_context/page.e011c45f.js +1 -0
- package/dist/static/js/async/client_doctor/page.9757e8c5.js +2 -0
- package/dist/static/js/async/client_doctor/{page.4f782f6e.js.LICENSE.txt → page.9757e8c5.js.LICENSE.txt} +7 -7
- package/dist/static/js/async/client_headers/editor/page.f6e89a4f.js +2 -0
- package/dist/static/js/async/client_headers/editor/{page.b0193352.js.LICENSE.txt → page.f6e89a4f.js.LICENSE.txt} +4 -4
- package/dist/static/js/async/client_headers/layout.1c0290a9.js +2 -0
- package/dist/static/js/async/client_headers/page.d98208e7.js +1 -0
- package/dist/static/js/async/client_headers/welcome/page.8e092837.js +2 -0
- package/dist/static/js/async/client_headers/welcome/page.8e092837.js.LICENSE.txt +7 -0
- package/dist/static/js/async/client_overview/{page.9bc222f5.js → page.b36b0893.js} +2 -2
- package/dist/static/js/async/client_page.50bf0cdc.js +1 -0
- package/dist/static/js/async/client_pages/layout.c9ca92dd.js +2 -0
- package/dist/static/js/async/{client_headers/welcome/page.1af1ede1.js.LICENSE.txt → client_pages/layout.c9ca92dd.js.LICENSE.txt} +1 -1
- package/dist/static/js/async/client_pages/page.7fbc044c.js +2 -0
- package/dist/static/js/async/client_pages/{page.513222d6.js.LICENSE.txt → page.7fbc044c.js.LICENSE.txt} +55 -55
- package/dist/static/js/async/client_react/(tab)/layout.b9d4424b.js +2 -0
- package/dist/static/js/async/client_react/(tab)/page.e4b4ca14.js +2 -0
- package/dist/static/js/async/client_react/(tab)/{page.aede693e.js.LICENSE.txt → page.e4b4ca14.js.LICENSE.txt} +7 -7
- package/dist/static/js/async/client_react/offscreen/page.fe448b0c.js +2 -0
- package/dist/static/js/async/client_react/offscreen/page.fe448b0c.js.LICENSE.txt +5 -0
- package/dist/static/js/async/client_react/page.b813d5a5.js +1 -0
- package/dist/static/js/{builder-runtime.fb6b7b59.js → builder-runtime.292aab36.js} +1 -1
- package/dist/static/js/{client.c8108468.js → client.f70bf229.js} +2 -2
- package/dist/static/js/{client.c8108468.js.LICENSE.txt → client.f70bf229.js.LICENSE.txt} +120 -120
- package/dist/static/js/components.449e2c3f.js +1 -0
- package/dist/static/js/{lib-router.e45bd42a.js → lib-router.651a118d.js} +2 -2
- package/dist/static/js/{lib-router.e45bd42a.js.LICENSE.txt → lib-router.651a118d.js.LICENSE.txt} +9 -9
- package/dist/static/js/{mount.f9efe099.js → mount.510535ae.js} +2 -2
- package/dist/static/js/{mount.f9efe099.js.LICENSE.txt → mount.510535ae.js.LICENSE.txt} +27 -27
- package/package.json +12 -12
- package/dist/static/js/101.25761306.js +0 -2
- package/dist/static/js/async/447.fbf96e90.js +0 -2
- package/dist/static/js/async/client_config/page.a63f5a35.js +0 -1
- package/dist/static/js/async/client_context/page.635cc0cb.js +0 -1
- package/dist/static/js/async/client_doctor/page.4f782f6e.js +0 -2
- package/dist/static/js/async/client_headers/editor/page.b0193352.js +0 -2
- package/dist/static/js/async/client_headers/layout.0f8eb6f9.js +0 -2
- package/dist/static/js/async/client_headers/layout.0f8eb6f9.js.LICENSE.txt +0 -7
- package/dist/static/js/async/client_headers/page.d2a0f47d.js +0 -1
- package/dist/static/js/async/client_headers/welcome/page.1af1ede1.js +0 -2
- package/dist/static/js/async/client_page.5e12b570.js +0 -1
- package/dist/static/js/async/client_pages/layout.3498bfe7.js +0 -2
- package/dist/static/js/async/client_pages/page.513222d6.js +0 -2
- package/dist/static/js/async/client_react/(tab)/layout.b25a0a9b.js +0 -2
- package/dist/static/js/async/client_react/(tab)/page.aede693e.js +0 -2
- package/dist/static/js/async/client_react/offscreen/page.44e6922b.js +0 -2
- package/dist/static/js/async/client_react/offscreen/page.44e6922b.js.LICENSE.txt +0 -5
- package/dist/static/js/async/client_react/page.5660dc8e.js +0 -1
- package/dist/static/js/components.c5a5e74d.js +0 -1
- /package/dist/static/css/{820.e0b6557d.css → 28.1aa2771e.css} +0 -0
- /package/dist/static/css/async/client_doctor/{page.8de5f7c8.css → page.4b5b3f70.css} +0 -0
- /package/dist/static/css/async/client_headers/editor/{page.39d6ad02.css → page.1e269ab4.css} +0 -0
- /package/dist/static/css/async/client_headers/{layout.15850da7.css → layout.6a59fdd7.css} +0 -0
- /package/dist/static/css/async/client_overview/{page.25bd77f5.css → page.a21fd53b.css} +0 -0
- /package/dist/static/css/async/client_pages/{layout.d0dfd54d.css → layout.20ccbdd7.css} +0 -0
- /package/dist/static/css/async/client_pages/{page.ad73bc47.css → page.f6b1fb86.css} +0 -0
- /package/dist/static/css/{client.79f9b2ff.css → client.8fa82b25.css} +0 -0
- /package/dist/static/css/{components.374798fa.css → components.f0d2e418.css} +0 -0
- /package/dist/static/css/{mount.4d5756e9.css → mount.85d07e8a.css} +0 -0
- /package/dist/static/js/async/client_config/{layout.ba4d2992.js.LICENSE.txt → layout.74621de5.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_context/builder/{page.ec2d5c56.js.LICENSE.txt → page.4fb84cc6.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_context/framework/{page.3dd49436.js.LICENSE.txt → page.8193408b.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_context/{layout.d57d4a8b.js.LICENSE.txt → layout.5323e5cd.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{client_pages/layout.3498bfe7.js.LICENSE.txt → client_headers/layout.1c0290a9.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_overview/{page.9bc222f5.js.LICENSE.txt → page.b36b0893.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_react/(tab)/{layout.b25a0a9b.js.LICENSE.txt → layout.b9d4424b.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see page.
|
|
2
|
-
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["818"],{
|
|
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,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see layout.
|
|
2
|
-
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["504"],{
|
|
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"}}}]);
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
/*! @swc/helpers/_/_object_spread_props */
|
|
2
2
|
|
|
3
|
-
/*!
|
|
3
|
+
/*! ../state */
|
|
4
4
|
|
|
5
|
-
/*!
|
|
5
|
+
/*! lodash */
|
|
6
6
|
|
|
7
7
|
/*! @swc/helpers/_/_object_spread_props */
|
|
8
8
|
|
|
9
9
|
/*! valtio */
|
|
10
10
|
|
|
11
|
-
/*! valtio */
|
|
12
|
-
|
|
13
11
|
/*! react/jsx-runtime */
|
|
14
12
|
|
|
15
13
|
/*! ./state */
|
|
16
14
|
|
|
17
|
-
/*!
|
|
15
|
+
/*! @/components/Card */
|
|
18
16
|
|
|
19
17
|
/*! @radix-ui/themes */
|
|
20
18
|
|
|
@@ -22,6 +20,10 @@
|
|
|
22
20
|
|
|
23
21
|
/*! @swc/helpers/_/_object_without_properties */
|
|
24
22
|
|
|
23
|
+
/*! ./page.module.scss */
|
|
24
|
+
|
|
25
|
+
/*! valtio */
|
|
26
|
+
|
|
25
27
|
/*! ./Indicate */
|
|
26
28
|
|
|
27
29
|
/*! ./Indicate.module.scss */
|
|
@@ -42,6 +44,4 @@
|
|
|
42
44
|
|
|
43
45
|
/*! @swc/helpers/_/_object_spread */
|
|
44
46
|
|
|
45
|
-
/*! ../state */
|
|
46
|
-
|
|
47
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"}}}]);
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
/*! lodash */
|
|
4
4
|
|
|
5
|
+
/*! @/components/PairsEditor/Editor */
|
|
6
|
+
|
|
5
7
|
/*! react/jsx-runtime */
|
|
6
8
|
|
|
7
9
|
/*! valtio */
|
|
8
10
|
|
|
9
|
-
/*! @/components/PairsEditor/Editor */
|
|
10
|
-
|
|
11
11
|
/*! @swc/helpers/_/_object_without_properties */
|
|
12
12
|
|
|
13
13
|
/*! ufo */
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
|
|
33
33
|
/*! react/jsx-runtime */
|
|
34
34
|
|
|
35
|
+
/*! ./page.module.scss */
|
|
36
|
+
|
|
35
37
|
/*! nanoid */
|
|
36
38
|
|
|
37
39
|
/*! @radix-ui/themes */
|
|
38
40
|
|
|
39
41
|
/*! ../state */
|
|
40
42
|
|
|
41
|
-
/*! ./page.module.scss */
|
|
42
|
-
|
|
43
43
|
/*! valtio */
|
|
44
44
|
|
|
45
45
|
/*! valtio */
|
|
@@ -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"})]})}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see page.
|
|
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}},
|
|
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"}}}]);
|
|
@@ -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"}}}]);
|
|
@@ -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,159 +1,159 @@
|
|
|
1
|
-
/*!
|
|
1
|
+
/*! ./Base */
|
|
2
2
|
|
|
3
|
-
/*!
|
|
3
|
+
/*! lodash */
|
|
4
4
|
|
|
5
|
-
/*! @radix-ui/
|
|
5
|
+
/*! @radix-ui/primitive */
|
|
6
6
|
|
|
7
|
-
/*!
|
|
7
|
+
/*! @radix-ui/themes */
|
|
8
8
|
|
|
9
|
-
/*!
|
|
9
|
+
/*! @/components/ServerRoute/Context */
|
|
10
10
|
|
|
11
|
-
/*!
|
|
11
|
+
/*! @radix-ui/react-icons */
|
|
12
12
|
|
|
13
|
-
/*! react
|
|
13
|
+
/*! react */
|
|
14
14
|
|
|
15
|
-
/*!
|
|
15
|
+
/*! @/entries/client/routes/state */
|
|
16
16
|
|
|
17
|
-
/*!
|
|
17
|
+
/*! lodash */
|
|
18
18
|
|
|
19
|
-
/*!
|
|
19
|
+
/*! lodash */
|
|
20
20
|
|
|
21
21
|
/*! react */
|
|
22
22
|
|
|
23
23
|
/*! react/jsx-runtime */
|
|
24
24
|
|
|
25
|
-
/*!
|
|
25
|
+
/*! valtio */
|
|
26
26
|
|
|
27
27
|
/*! react */
|
|
28
28
|
|
|
29
|
-
/*!
|
|
29
|
+
/*! @babel/runtime/helpers/esm/extends */
|
|
30
30
|
|
|
31
31
|
/*! react */
|
|
32
32
|
|
|
33
33
|
/*! react/jsx-runtime */
|
|
34
34
|
|
|
35
|
-
/*! react */
|
|
35
|
+
/*! react-icons/hi2 */
|
|
36
36
|
|
|
37
|
-
/*!
|
|
37
|
+
/*! @/components/ServerRoute/Route */
|
|
38
38
|
|
|
39
|
-
/*! @radix-ui/
|
|
39
|
+
/*! @radix-ui/react-compose-refs */
|
|
40
40
|
|
|
41
41
|
/*! ./Base.module.scss */
|
|
42
42
|
|
|
43
43
|
/*! ./Context */
|
|
44
44
|
|
|
45
|
+
/*! ./Route */
|
|
46
|
+
|
|
45
47
|
/*! react */
|
|
46
48
|
|
|
47
49
|
/*! @radix-ui/themes */
|
|
48
50
|
|
|
49
|
-
/*! @babel/runtime/helpers/esm/extends */
|
|
50
|
-
|
|
51
|
-
/*! ./Route */
|
|
52
|
-
|
|
53
51
|
/*! @radix-ui/themes */
|
|
54
52
|
|
|
55
|
-
/*!
|
|
56
|
-
|
|
57
|
-
/*! ./Route */
|
|
53
|
+
/*! ../state */
|
|
58
54
|
|
|
59
|
-
/*!
|
|
55
|
+
/*! ./Stats.module.scss */
|
|
60
56
|
|
|
61
57
|
/*! react */
|
|
62
58
|
|
|
63
59
|
/*! react/jsx-runtime */
|
|
64
60
|
|
|
65
|
-
/*! @radix-ui/react-compose-refs */
|
|
66
|
-
|
|
67
61
|
/*! react/jsx-runtime */
|
|
68
62
|
|
|
69
|
-
/*!
|
|
63
|
+
/*! ./Stats */
|
|
70
64
|
|
|
71
|
-
/*!
|
|
65
|
+
/*! ufo */
|
|
72
66
|
|
|
73
67
|
/*! ufo */
|
|
74
68
|
|
|
75
69
|
/*! @/utils */
|
|
76
70
|
|
|
77
|
-
/*! react */
|
|
71
|
+
/*! @radix-ui/react-context */
|
|
72
|
+
|
|
73
|
+
/*! @radix-ui/react-id */
|
|
78
74
|
|
|
79
75
|
/*! ../../../Context */
|
|
80
76
|
|
|
81
77
|
/*! ./Context */
|
|
82
78
|
|
|
83
|
-
/*! @radix-ui/themes */
|
|
84
|
-
|
|
85
79
|
/*! ufo */
|
|
86
80
|
|
|
87
|
-
/*!
|
|
81
|
+
/*! ./EntryRoute */
|
|
82
|
+
|
|
83
|
+
/*! ./Unknown */
|
|
88
84
|
|
|
89
85
|
/*! @radix-ui/themes */
|
|
90
86
|
|
|
91
87
|
/*! @modern-js/runtime/router */
|
|
92
88
|
|
|
93
|
-
/*!
|
|
89
|
+
/*! @radix-ui/themes */
|
|
94
90
|
|
|
95
91
|
/*! react */
|
|
96
92
|
|
|
97
93
|
/*! react */
|
|
98
94
|
|
|
99
|
-
/*!
|
|
95
|
+
/*! ../Base */
|
|
100
96
|
|
|
101
|
-
/*!
|
|
97
|
+
/*! @/entries/client/routes/state */
|
|
102
98
|
|
|
103
|
-
/*!
|
|
99
|
+
/*! react */
|
|
104
100
|
|
|
105
|
-
/*!
|
|
101
|
+
/*! react/jsx-runtime */
|
|
106
102
|
|
|
107
|
-
/*! ./
|
|
103
|
+
/*! ./Stats */
|
|
104
|
+
|
|
105
|
+
/*! ./page.module.scss */
|
|
106
|
+
|
|
107
|
+
/*! valtio */
|
|
108
108
|
|
|
109
109
|
/*! ./Route.module.scss */
|
|
110
110
|
|
|
111
|
+
/*! @radix-ui/react-use-controllable-state */
|
|
112
|
+
|
|
111
113
|
/*! @radix-ui/react-collapsible */
|
|
112
114
|
|
|
113
115
|
/*! ./LegacyRoute/Stats */
|
|
114
116
|
|
|
115
|
-
/*! ./Stats */
|
|
116
|
-
|
|
117
|
-
/*! lodash */
|
|
118
|
-
|
|
119
117
|
/*! react */
|
|
120
118
|
|
|
121
|
-
/*! @radix-ui/themes */
|
|
122
|
-
|
|
123
119
|
/*! react/jsx-runtime */
|
|
124
120
|
|
|
125
|
-
/*!
|
|
121
|
+
/*! @radix-ui/themes */
|
|
126
122
|
|
|
127
|
-
/*!
|
|
123
|
+
/*! @radix-ui/themes */
|
|
128
124
|
|
|
129
125
|
/*! ./ClientRoute */
|
|
130
126
|
|
|
131
|
-
/*! valtio */
|
|
132
|
-
|
|
133
|
-
/*! @radix-ui/react-use-controllable-state */
|
|
134
|
-
|
|
135
127
|
/*! react-use */
|
|
136
128
|
|
|
137
129
|
/*! ./Context */
|
|
138
130
|
|
|
139
|
-
/*!
|
|
131
|
+
/*! react */
|
|
140
132
|
|
|
141
|
-
/*!
|
|
133
|
+
/*! react/jsx-runtime */
|
|
142
134
|
|
|
143
|
-
/*!
|
|
135
|
+
/*! valtio */
|
|
144
136
|
|
|
145
137
|
/*! react */
|
|
146
138
|
|
|
147
|
-
/*!
|
|
139
|
+
/*! @radix-ui/react-primitive */
|
|
148
140
|
|
|
149
141
|
/*! react/jsx-runtime */
|
|
150
142
|
|
|
151
143
|
/*! @radix-ui/themes */
|
|
152
144
|
|
|
153
|
-
/*!
|
|
145
|
+
/*! react */
|
|
154
146
|
|
|
155
|
-
/*!
|
|
147
|
+
/*! react/jsx-runtime */
|
|
148
|
+
|
|
149
|
+
/*! @radix-ui/react-use-layout-effect */
|
|
150
|
+
|
|
151
|
+
/*! @radix-ui/react-presence */
|
|
156
152
|
|
|
157
153
|
/*! ./RemixRoute/Stats */
|
|
158
154
|
|
|
155
|
+
/*! ./Route */
|
|
156
|
+
|
|
157
|
+
/*! react/jsx-runtime */
|
|
158
|
+
|
|
159
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")})}}}}]);
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
/*! @radix-ui/themes */
|
|
8
8
|
|
|
9
|
-
/*!
|
|
9
|
+
/*! hookable */
|
|
10
10
|
|
|
11
|
-
/*!
|
|
11
|
+
/*! ../state */
|
|
12
12
|
|
|
13
|
-
/*!
|
|
13
|
+
/*! @swc/helpers/_/_define_property */
|
|
14
14
|
|
|
15
|
-
/*!
|
|
15
|
+
/*! @/utils */
|
|
16
16
|
|
|
17
|
-
/*!
|
|
17
|
+
/*! ../../state */
|
|
18
18
|
|
|
19
19
|
/*! ../state */
|
|
20
20
|
|
|
21
|
-
/*!
|
|
21
|
+
/*! react */
|
|
22
22
|
|
|
23
|
-
/*! react */
|
|
23
|
+
/*! @/utils/react-devtools */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see page.fe448b0c.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["752"],{7341:function(e,s,o){"use strict";o.r(s);var l=o("86834"),n=o("83982");o("5872");s.default=()=>(0,l.jsx)(n.Box,{children:(0,l.jsx)(n.Text,{children:"React DevTools is unavailable for offscreen."})})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["945"],{61341:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){var e,t,n,r,o,a,i,c,u,l,d,
|
|
1
|
+
(function(){var e,t,n,r,o,a,i,c,u,l,f,d,s,p,b={},g={};function h(e){var t=g[e];if(void 0!==t)return t.exports;var n=g[e]={id:e,loaded:!1,exports:{}};return b[e].call(n.exports,n,n.exports,h),n.loaded=!0,n.exports}h.m=b,h.es=function(e,t){return Object.keys(e).forEach(function(n){"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,n){return h.f[n](e,t),t},[]))},h.p="/__devtools/",e=[],h.O=function(t,n,r,o){if(n){o=o||0;for(var a=e.length;a>0&&e[a-1][2]>o;a--)e[a]=e[a-1];e[a]=[n,r,o];return}for(var i=1/0,a=0;a<e.length;a++){for(var n=e[a][0],r=e[a][1],o=e[a][2],c=!0,u=0;u<n.length;u++)i>=o&&Object.keys(h.O).every(function(e){return h.O[e](n[u])})?n.splice(u--,1):(c=!1,o<i&&(i=o));if(c){e.splice(a--,1);var l=r();void 0!==l&&(t=l)}}return t},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},h.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);h.r(o);var a={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){a[t]=function(){return e[t]}});return a.default=function(){return e},h.d(o,a),o},h.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},h.nc=void 0,h.u=function(e){return"static/js/async/"+(({127:"client_page",161:"client_overview/page",299:"client_react/(tab)/layout",361:"client_context/page",483:"client_react/(tab)/page",488:"client_doctor/page",504:"client_context/layout",518:"client_config/layout",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",752:"client_react/offscreen/page",818:"client_context/framework/page",860:"client_headers/welcome/page",925:"client_headers/layout",943:"client_config/page",945:"client_react/page",958:"client_context/builder/page",963:"client_headers/page"})[e]||e)+"."+({127:"50bf0cdc",161:"b36b0893",299:"b9d4424b",361:"e011c45f",483:"e4b4ca14",488:"9757e8c5",504:"5323e5cd",518:"74621de5",574:"5ecbe81d",631:"c9ca92dd",718:"7fbc044c",730:"f6e89a4f",752:"fe448b0c",769:"e476d373",818:"8193408b",851:"10db2ec6",860:"8e092837",925:"1c0290a9",943:"aab3b105",945:"b813d5a5",958:"4fb84cc6",963:"d98208e7"})[e]+".js"},h.k=function(e){return"static/css/async/"+({161:"client_overview/page",488:"client_doctor/page",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",925:"client_headers/layout"})[e]+"."+({161:"a21fd53b",488:"4b5b3f70",631:"20ccbdd7",718:"f6b1fb86",730:"1e269ab4",925:"6a59fdd7"})[e]+".css"},r={},o="modernjsDevtools:",h.l=function(e,t,n,a){if(r[e]){r[e].push(t);return}if(void 0!==n){for(var i,c,u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==o+n){i=f;break}}}!i&&(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,h.nc&&i.setAttribute("nonce",h.nc),i.setAttribute("data-webpack",o+n),i.src=e),r[e]=[t];var d=function(t,n){i.onerror=i.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),t)return t(n)},s=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a={242:0},h.f.j=function(e,t){var n=h.o(a,e)?a[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if("242"!=e){var r=new Promise(function(t,r){n=a[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.u(e),i=Error();h.l(o,function(t){if(h.o(a,e)&&(0!==(n=a[e])&&(a[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}else a[e]=0}},h.O.j=function(e){return 0===a[e]},i=function(e,t){var n=t[0],r=t[1],o=t[2],i,c,u=0;if(n.some(function(e){return 0!==a[e]})){for(i in r)h.o(r,i)&&(h.m[i]=r[i]);if(o)var l=o(h)}for(e&&e(t);u<n.length;u++)c=n[u],h.o(a,c)&&a[c]&&a[c][0](),a[c]=0;return h.O(l)},(c=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).forEach(i.bind(null,0)),c.push=i.bind(null,c.push.bind(c)),u={118:0,126:0,242:0,405:0,58:0,669:0,707:0,768:0},l="webpack",f="data-webpack-loading",d=function(e,t,n,r){var o,a,i="chunk-"+e;if(!r){for(var c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var d=c[u],s=d.getAttribute("href")||d.href;if(s&&!s.startsWith(h.p)&&(s=h.p+(s.startsWith("/")?s.slice(1):s)),"stylesheet"==d.rel&&(s&&s.startsWith(t)||d.getAttribute("data-webpack")==l+":"+i)){o=d;break}}if(!n)return o}!o&&(a=!0,(o=document.createElement("link")).setAttribute("data-webpack",l+":"+i),o.setAttribute(f,1),o.rel="stylesheet",o.href=t);var p=function(e,t){if(o.onerror=o.onload=null,o.removeAttribute(f),clearTimeout(b),t&&"load"!=t.type&&o.parentNode.removeChild(o),n(t),e)return e(t)};if(o.getAttribute(f)){var b=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload)}else p(void 0,{type:"load",target:o});return r?r.parentNode.insertBefore(o,r):a&&document.head.appendChild(o),o},h.f.css=function(e,t){var n=h.o(u,e)?u[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(161|28|400|462|488|567|631|718|730|925)$/.test(e)){var r=new Promise(function(t,r){n=u[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.k(e),a=Error();d(e,o,function(t){if(h.o(u,e)&&(0!==(n=u[e])&&(u[e]=void 0),n)){if("load"!==t.type){var r=t&&t.type,o=t&&t.target&&t.target.src;a.message="Loading css chunk "+e+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,n[1](a)}else n[0]()}})}else u[e]=0}},s=function(e,t){var n=t[0];e&&e(t);for(var r=0;r<n.length;r++)void 0===u[n[r]]&&(u[n[r]]=0)},(p=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).forEach(s.bind(null,0)),p.push=s.bind(null,p.push.bind(p))})();
|