@modern-js/devtools-client 2.54.2 → 2.54.4

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 (37) 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 +4 -4
  4. package/dist/nestedRoutes.json +1 -1
  5. package/dist/public/sw-proxy.js +1 -1
  6. package/dist/routes-manifest.json +43 -43
  7. package/dist/static/js/{277.f98a8ebc.js → 277.1ce8ace1.js} +1 -1
  8. package/dist/static/js/{403.119e6514.js → 518.3a4d37e3.js} +2 -2
  9. package/dist/static/js/{768.d8c648da.js → 599.553c521a.js} +2 -2
  10. package/dist/static/js/{991.e5996442.js → 991.17fd54ac.js} +2 -2
  11. package/dist/static/js/async/client_config/(toolkit).(type)/{page.3d5baedb.js → page.afc8e58e.js} +1 -1
  12. package/dist/static/js/async/client_config/{layout.d6c132de.js → layout.940bdfa0.js} +1 -1
  13. package/dist/static/js/async/client_context/builder/{page.639e2f59.js → page.0dc5a1e9.js} +1 -1
  14. package/dist/static/js/async/client_context/framework/{page.c369fd05.js → page.b4f8bc08.js} +1 -1
  15. package/dist/static/js/async/client_doctor/{page.328cec39.js → page.375c9c91.js} +1 -1
  16. package/dist/static/js/async/client_headers/editor/page.e44e7804.js +1 -0
  17. package/dist/static/js/async/client_overview/page.8cdd6473.js +1 -0
  18. package/dist/static/js/async/client_pages/page.07783134.js +1 -0
  19. package/dist/static/js/async/client_storage/preset/(id)/page.61899ba8.js +1 -0
  20. package/dist/static/js/async/client_storage/preset/{layout.29b58b12.js → layout.cbc09989.js} +1 -1
  21. package/dist/static/js/async/client_storage/preset/{page.e1c4db6f.js → page.fa223b1a.js} +1 -1
  22. package/dist/static/js/{builder-runtime.d700f8c6.js → builder-runtime.07fd7798.js} +1 -1
  23. package/dist/static/js/client.8f7a2728.js +1 -0
  24. package/dist/static/js/components.1e877f2c.js +1 -0
  25. package/dist/static/js/{mount.c2880dc2.js → mount.91f07cc0.js} +1 -1
  26. package/package.json +12 -12
  27. package/dist/static/js/async/client_headers/editor/page.ddbf0a83.js +0 -1
  28. package/dist/static/js/async/client_overview/page.e7acf8dc.js +0 -1
  29. package/dist/static/js/async/client_pages/page.86d7cc30.js +0 -1
  30. package/dist/static/js/async/client_storage/preset/(id)/page.154962d4.js +0 -1
  31. package/dist/static/js/client.cab90c16.js +0 -1
  32. package/dist/static/js/components.92888001.js +0 -1
  33. /package/dist/static/css/{403.861d0891.css → 518.861d0891.css} +0 -0
  34. /package/dist/static/css/{768.e744b37c.css → 599.e744b37c.css} +0 -0
  35. /package/dist/static/js/{403.119e6514.js.LICENSE.txt → 518.3a4d37e3.js.LICENSE.txt} +0 -0
  36. /package/dist/static/js/{768.d8c648da.js.LICENSE.txt → 599.553c521a.js.LICENSE.txt} +0 -0
  37. /package/dist/static/js/{991.e5996442.js.LICENSE.txt → 991.17fd54ac.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["288"],{3009:function(e,s,a){a.d(s,{v:function(){return f}});var b=a(90247),r=a(86834),n=a(99231),c=a(28291),o=a(28542);let t={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,r.jsx)(n.xu,{className:o.Z.container,children:(0,r.jsx)(c.L,(0,b._)({theme:t},e))})},60460:function(e,s,a){a.r(s);var b=a(86834);a(5872);var r=a(58654),n=a(79197),c=a(15112),o=a(3009);s.default=()=>{let e=(0,c.k)(),s={framework:(0,n.R)(e.framework.config),builder:(0,n.R)(e.builder.config),bundler:(0,n.R)(e.bundler.configs)},{toolkit:a,type:t}=(0,r.UO)(),f=s[a][t];return(0,b.jsx)(o.v,{data:f,sortObjectKeys:!0})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["288"],{3009:function(e,s,a){a.d(s,{v:function(){return f}});var b=a(90247),r=a(86834),n=a(99231),c=a(28291),o=a(22137);let t={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,r.jsx)(n.xu,{className:o.Z.container,children:(0,r.jsx)(c.L,(0,b._)({theme:t},e))})},60460:function(e,s,a){a.r(s);var b=a(86834);a(5872);var r=a(58654),n=a(79197),c=a(15112),o=a(3009);s.default=()=>{let e=(0,c.k)(),s={framework:(0,n.R)(e.framework.config),builder:(0,n.R)(e.builder.config),bundler:(0,n.R)(e.bundler.configs)},{toolkit:a,type:t}=(0,r.UO)(),f=s[a][t];return(0,b.jsx)(o.v,{data:f,sortObjectKeys:!0})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["518"],{50284:function(e,n,s){s.r(n),s.d(n,{default:function(){return u}});var t=s(86834),o=s(58654),r=s(99231);function u(){return(0,t.jsx)(r.xu,{width:"100%",height:"100%",p:"4",style:{overflowY:"scroll"},children:(0,t.jsx)(o.j3,{})})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["587"],{50284:function(e,n,s){s.r(n),s.d(n,{default:function(){return u}});var t=s(86834),o=s(58654),r=s(99231);function u(){return(0,t.jsx)(r.xu,{width:"100%",height:"100%",p:"4",style:{overflowY:"scroll"},children:(0,t.jsx)(o.j3,{})})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["958"],{3009:function(e,s,a){a.d(s,{v:function(){return f}});var b=a(90247),r=a(86834),t=a(99231),c=a(28291),n=a(28542);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,r.jsx)(t.xu,{className:n.Z.container,children:(0,r.jsx)(c.L,(0,b._)({theme:o},e))})},13724:function(e,s,a){a.r(s);var b=a(86834);a(5872);var r=a(79197),t=a(15112),c=a(3009);s.default=()=>{let e=(0,t.k)(),{context:s}=(0,r.R)(e.framework);return(0,b.jsx)(c.v,{data:s,sortObjectKeys:!0})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["958"],{3009:function(e,s,a){a.d(s,{v:function(){return f}});var b=a(90247),r=a(86834),t=a(99231),c=a(28291),n=a(22137);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,r.jsx)(t.xu,{className:n.Z.container,children:(0,r.jsx)(c.L,(0,b._)({theme:o},e))})},13724:function(e,s,a){a.r(s);var b=a(86834);a(5872);var r=a(79197),t=a(15112),c=a(3009);s.default=()=>{let e=(0,t.k)(),{context:s}=(0,r.R)(e.framework);return(0,b.jsx)(c.v,{data:s,sortObjectKeys:!0})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["818"],{3009:function(e,s,a){a.d(s,{v:function(){return f}});var b=a(90247),r=a(86834),t=a(99231),c=a(28291),n=a(28542);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,r.jsx)(t.xu,{className:n.Z.container,children:(0,r.jsx)(c.L,(0,b._)({theme:o},e))})},80563:function(e,s,a){a.r(s);var b=a(86834);a(5872);var r=a(79197),t=a(15112),c=a(3009);s.default=()=>{let e=(0,t.k)(),{context:s}=(0,r.R)(e.framework);return(0,b.jsx)(c.v,{data:s,sortObjectKeys:!0})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["818"],{3009:function(e,s,a){a.d(s,{v:function(){return f}});var b=a(90247),r=a(86834),t=a(99231),c=a(28291),n=a(22137);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,r.jsx)(t.xu,{className:n.Z.container,children:(0,r.jsx)(c.L,(0,b._)({theme:o},e))})},80563:function(e,s,a){a.r(s);var b=a(86834);a(5872);var r=a(79197),t=a(15112),c=a(3009);s.default=()=>{let e=(0,t.k)(),{context:s}=(0,r.R)(e.framework);return(0,b.jsx)(c.v,{data:s,sortObjectKeys:!0})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["488"],{51826:function(e,r){r.Z={container:"container-tngPYT","primary-card":"primary-card-wrJYru",primaryCard:"primary-card-wrJYru","info-card":"info-card-vFI4Ue",infoCard:"info-card-vFI4Ue","count-card":"count-card-nPDp4G",countCard:"count-card-nPDp4G","compile-cost-card":"compile-cost-card-HAKRNe",compileCostCard:"compile-cost-card-HAKRNe",logo:"logo-L2qUVd","count-text":"count-text-SERJmy",countText:"count-text-SERJmy","error-item":"error-item-seXl02",errorItem:"error-item-seXl02","text-truncation":"text-truncation-AwJ4FU",textTruncation:"text-truncation-AwJ4FU","cost-box":"cost-box-rUPGBo",costBox:"cost-box-rUPGBo","cost-bar":"cost-bar-g3W7tq",costBar:"cost-bar-g3W7tq","cost-label":"cost-label-lYCgOV",costLabel:"cost-label-lYCgOV",heading:"heading-_UWATX"}},88640:function(e,r){r.Z=function(){for(var e,r,t=0,s="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){var t,s,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r){if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(s=e(r[t]))&&(n&&(n+=" "),n+=s);else for(t in r)r[t]&&(n&&(n+=" "),n+=t)}return n}(e))&&(s&&(s+=" "),s+=r);return s}},32579:function(e,r,t){e.exports=t.p+"static/image/rsdoctor-large.5549d958.png"},9344:function(e,r,t){t.d(r,{Z:function(){return d},x:function(){return x}});var s=t(90247),n=t(55709),c=t(16170),o=t(86834),a=t(88640),i=t(99231),l=t(45428);let d=e=>{let{children:r,className:t,variant:d,clickable:x=!1,selected:u=!1,inset:h=!1}=e,m=(0,c._)(e,["children","className","variant","clickable","selected","inset"]);return(0,o.jsx)(i.xu,(0,n._)((0,s._)({},m),{"data-variant":null!=d?d:"","data-clickable":x,"data-selected":u,"data-inset":h,className:(0,a.Z)(l.Z.card,t),children:r}))},x=e=>(0,o.jsx)(i.kC,(0,s._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,r,t){t.d(r,{Z:function(){return s.Z},x:function(){return s.x}});var s=t(9344)},24368:function(e,r,t){t.r(r);var s=t(90247),n=t(55709),c=t(86834),o=t(99231),a=t(29214),i=t(52493),l=t.n(i),d=t(55058),x=t(88640),u=t(79197),h=t(32579),m=t(51826),p=t(91310),j=t(15112);let g=e=>{let{cost:r}=e,[t,s]=r.name.split("->"),[n,a]=[t,s].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)(o.zs.fC,{children:[(0,c.jsx)(o.zs.xz,{children:(0,c.jsxs)(o.xu,{className:m.Z.costBox,style:{flex:r.costs},children:[(0,c.jsxs)(o.xv,{size:"1",color:"gray",className:(0,x.Z)(m.Z.textTruncation,m.Z.costLabel),children:[l().startCase(r.title),"(",i,")"]}),(0,c.jsx)(o.xu,{className:m.Z.costBar})]})}),(0,c.jsx)(o.zs.VY,{size:"1",children:(0,c.jsxs)(o.xv,{size:"1",color:"gray",children:[(0,c.jsx)(o.rU,{target:"_blank",href:n,children:t}),(0,c.jsxs)(o.xv,{children:[" \xb7\xb7\xb7",i,"\xb7\xb7\xb7 "]}),(0,c.jsx)(o.rU,{target:"_blank",href:a,children:s})]})})]})};r.default=()=>{var e,r,t,i,x,f;let b=(0,j.k)(),{doctor:v,dependencies:k,context:{def:C}}=(0,u.R)(b);if(!v)throw TypeError("Doctor is not available");let y=Object.keys(k).find(e=>e.startsWith("@web-doctor/"))?"Web Doctor":"Rsdoctor",Z=null!==(f=null!==(x=null!==(i=null!==(t=null!==(r=null!==(e=k["@web-doctor/webpack-plugin(builder)"])&&void 0!==e?e:k["@web-doctor/rspack-plugin(builder)"])&&void 0!==r?r:k["@web-doctor/webpack-plugin"])&&void 0!==t?t:k["@web-doctor/rspack-plugin"])&&void 0!==i?i:k["@rsdoctor/rspack-plugin"])&&void 0!==x?x:k["@rsdoctor/webpack-plugin"])&&void 0!==f?f:k["@rsdoctor/core"],w=l()(v.summary.costs).sortBy(["startAt","name","costs"]).sortedUniqBy("name").cloneDeep().map(e=>{if("bootstrap->beforeCompile"===e.name)return(0,n._)((0,s._)({},e),{title:"prepare"});if("beforeCompile->afterCompile"===e.name)return(0,n._)((0,s._)({},e),{title:"compile"});if("afterCompile->done"===e.name)return(0,n._)((0,s._)({},e),{title:"optimize"});return(0,n._)((0,s._)({},e),{title:"unknown"})}),N=l().groupBy(v.errors,"description");return(0,c.jsx)(o.kC,{direction:"column",align:"center",p:"4",children:(0,c.jsxs)(o.kC,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:m.Z.container,children:[(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.primaryCard,children:(0,c.jsx)(o.Q2,{appearance:"light",hasBackground:!1,asChild:!0,children:(0,c.jsxs)(p.x,{children:[(0,c.jsx)(o.X6,{as:"h1",color:"gray",className:m.Z.heading,children:y}),(0,c.jsx)(o.kC,{gap:"2",children:(0,c.jsx)("button",{type:"button",children:Z?"v".concat(Z):"Unknown"})}),(0,c.jsxs)(o.rU,{href:C.doctor.quickStart,color:"gray",size:"1",underline:"always",target:"_blank",rel:"noopener noreferrer",children:["Launch ",y," with complete features."]})]})})}),(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.infoCard,children:(0,c.jsxs)(o.kC,{justify:"between",gap:"2",align:"center",height:"100%",children:[(0,c.jsxs)(o.xu,{children:[(0,c.jsx)(o.xv,{color:"gray",children:"Visit our website"}),(0,c.jsx)(o.kC,{align:"center",asChild:!0,children:(0,c.jsxs)(o.rU,{href:C.doctor.home,target:"_blank",rel:"noopener noreferrer",children:[(0,c.jsx)(a.WRS,{}),(0,c.jsx)(o.xv,{children:(0,d.Lk)(C.doctor.home).host})]})})]}),(0,c.jsx)("img",{className:m.Z.logo,src:h})]})}),(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.countCard,children:(0,c.jsxs)(p.x,{children:[(0,c.jsxs)(o.xv,{className:m.Z.countText,size:"1",children:[(0,c.jsx)(a.bMg,{})," ",v.numModules," modules"]}),(0,c.jsxs)(o.xv,{className:m.Z.countText,size:"1",children:[(0,c.jsx)(a.hsV,{})," ",v.numPackages," packages"]}),(0,c.jsxs)(o.xv,{className:m.Z.countText,size:"1",children:[(0,c.jsx)(a.DlH,{})," ",v.numChunks," chunks"]})]})}),(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.compileCostCard,children:(0,c.jsxs)(p.x,{children:[(0,c.jsx)(o.kC,{asChild:!0,align:"center",gap:"1",children:(0,c.jsxs)(o.X6,{as:"h3",size:"2",color:"gray",children:[(0,c.jsx)(a.h4y,{}),"Compile Overall"]})}),(0,c.jsx)(o.kC,{width:"100%",gap:"1",children:w.map(e=>(0,c.jsx)(g,{cost:e},e.name))})]})}),(0,c.jsx)(p.Z,{variant:"indicate",width:"100%",children:(0,c.jsxs)(p.x,{children:[(0,c.jsxs)(o.xv,{weight:"bold",size:"1",color:"gray",children:["Found ",l().size(N)," ",l().size(N)>1?"errors":"error"]}),Object.entries(N).map(e=>{let[r,t]=e;return(0,c.jsxs)(o.xu,{className:m.Z.errorItem,children:[(0,c.jsx)(a.Sbn,{className:m.Z.errorIcon})," ",(0,c.jsx)(o.xv,{size:"1",className:m.Z.textTruncation,children:r}),t.length>1&&(0,c.jsxs)(o.xv,{size:"1",className:m.Z.errorCount,children:["(x",t.length,")"]})]},r)})]})})]})})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["488"],{91398:function(e,r){r.Z={container:"container-tngPYT","primary-card":"primary-card-wrJYru",primaryCard:"primary-card-wrJYru","info-card":"info-card-vFI4Ue",infoCard:"info-card-vFI4Ue","count-card":"count-card-nPDp4G",countCard:"count-card-nPDp4G","compile-cost-card":"compile-cost-card-HAKRNe",compileCostCard:"compile-cost-card-HAKRNe",logo:"logo-L2qUVd","count-text":"count-text-SERJmy",countText:"count-text-SERJmy","error-item":"error-item-seXl02",errorItem:"error-item-seXl02","text-truncation":"text-truncation-AwJ4FU",textTruncation:"text-truncation-AwJ4FU","cost-box":"cost-box-rUPGBo",costBox:"cost-box-rUPGBo","cost-bar":"cost-bar-g3W7tq",costBar:"cost-bar-g3W7tq","cost-label":"cost-label-lYCgOV",costLabel:"cost-label-lYCgOV",heading:"heading-_UWATX"}},88640:function(e,r){r.Z=function(){for(var e,r,t=0,s="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){var t,s,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r){if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(s=e(r[t]))&&(n&&(n+=" "),n+=s);else for(t in r)r[t]&&(n&&(n+=" "),n+=t)}return n}(e))&&(s&&(s+=" "),s+=r);return s}},32579:function(e,r,t){e.exports=t.p+"static/image/rsdoctor-large.5549d958.png"},9344:function(e,r,t){t.d(r,{Z:function(){return d},x:function(){return x}});var s=t(90247),n=t(55709),c=t(16170),o=t(86834),a=t(88640),i=t(99231),l=t(61832);let d=e=>{let{children:r,className:t,variant:d,clickable:x=!1,selected:u=!1,inset:h=!1}=e,m=(0,c._)(e,["children","className","variant","clickable","selected","inset"]);return(0,o.jsx)(i.xu,(0,n._)((0,s._)({},m),{"data-variant":null!=d?d:"","data-clickable":x,"data-selected":u,"data-inset":h,className:(0,a.Z)(l.Z.card,t),children:r}))},x=e=>(0,o.jsx)(i.kC,(0,s._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,r,t){t.d(r,{Z:function(){return s.Z},x:function(){return s.x}});var s=t(9344)},24368:function(e,r,t){t.r(r);var s=t(90247),n=t(55709),c=t(86834),o=t(99231),a=t(29214),i=t(52493),l=t.n(i),d=t(55058),x=t(88640),u=t(79197),h=t(32579),m=t(91398),p=t(91310),j=t(15112);let g=e=>{let{cost:r}=e,[t,s]=r.name.split("->"),[n,a]=[t,s].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)(o.zs.fC,{children:[(0,c.jsx)(o.zs.xz,{children:(0,c.jsxs)(o.xu,{className:m.Z.costBox,style:{flex:r.costs},children:[(0,c.jsxs)(o.xv,{size:"1",color:"gray",className:(0,x.Z)(m.Z.textTruncation,m.Z.costLabel),children:[l().startCase(r.title),"(",i,")"]}),(0,c.jsx)(o.xu,{className:m.Z.costBar})]})}),(0,c.jsx)(o.zs.VY,{size:"1",children:(0,c.jsxs)(o.xv,{size:"1",color:"gray",children:[(0,c.jsx)(o.rU,{target:"_blank",href:n,children:t}),(0,c.jsxs)(o.xv,{children:[" \xb7\xb7\xb7",i,"\xb7\xb7\xb7 "]}),(0,c.jsx)(o.rU,{target:"_blank",href:a,children:s})]})})]})};r.default=()=>{var e,r,t,i,x,f;let b=(0,j.k)(),{doctor:v,dependencies:k,context:{def:C}}=(0,u.R)(b);if(!v)throw TypeError("Doctor is not available");let y=Object.keys(k).find(e=>e.startsWith("@web-doctor/"))?"Web Doctor":"Rsdoctor",Z=null!==(f=null!==(x=null!==(i=null!==(t=null!==(r=null!==(e=k["@web-doctor/webpack-plugin(builder)"])&&void 0!==e?e:k["@web-doctor/rspack-plugin(builder)"])&&void 0!==r?r:k["@web-doctor/webpack-plugin"])&&void 0!==t?t:k["@web-doctor/rspack-plugin"])&&void 0!==i?i:k["@rsdoctor/rspack-plugin"])&&void 0!==x?x:k["@rsdoctor/webpack-plugin"])&&void 0!==f?f:k["@rsdoctor/core"],w=l()(v.summary.costs).sortBy(["startAt","name","costs"]).sortedUniqBy("name").cloneDeep().map(e=>{if("bootstrap->beforeCompile"===e.name)return(0,n._)((0,s._)({},e),{title:"prepare"});if("beforeCompile->afterCompile"===e.name)return(0,n._)((0,s._)({},e),{title:"compile"});if("afterCompile->done"===e.name)return(0,n._)((0,s._)({},e),{title:"optimize"});return(0,n._)((0,s._)({},e),{title:"unknown"})}),N=l().groupBy(v.errors,"description");return(0,c.jsx)(o.kC,{direction:"column",align:"center",p:"4",children:(0,c.jsxs)(o.kC,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:m.Z.container,children:[(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.primaryCard,children:(0,c.jsx)(o.Q2,{appearance:"light",hasBackground:!1,asChild:!0,children:(0,c.jsxs)(p.x,{children:[(0,c.jsx)(o.X6,{as:"h1",color:"gray",className:m.Z.heading,children:y}),(0,c.jsx)(o.kC,{gap:"2",children:(0,c.jsx)("button",{type:"button",children:Z?"v".concat(Z):"Unknown"})}),(0,c.jsxs)(o.rU,{href:C.doctor.quickStart,color:"gray",size:"1",underline:"always",target:"_blank",rel:"noopener noreferrer",children:["Launch ",y," with complete features."]})]})})}),(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.infoCard,children:(0,c.jsxs)(o.kC,{justify:"between",gap:"2",align:"center",height:"100%",children:[(0,c.jsxs)(o.xu,{children:[(0,c.jsx)(o.xv,{color:"gray",children:"Visit our website"}),(0,c.jsx)(o.kC,{align:"center",asChild:!0,children:(0,c.jsxs)(o.rU,{href:C.doctor.home,target:"_blank",rel:"noopener noreferrer",children:[(0,c.jsx)(a.WRS,{}),(0,c.jsx)(o.xv,{children:(0,d.Lk)(C.doctor.home).host})]})})]}),(0,c.jsx)("img",{className:m.Z.logo,src:h})]})}),(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.countCard,children:(0,c.jsxs)(p.x,{children:[(0,c.jsxs)(o.xv,{className:m.Z.countText,size:"1",children:[(0,c.jsx)(a.bMg,{})," ",v.numModules," modules"]}),(0,c.jsxs)(o.xv,{className:m.Z.countText,size:"1",children:[(0,c.jsx)(a.hsV,{})," ",v.numPackages," packages"]}),(0,c.jsxs)(o.xv,{className:m.Z.countText,size:"1",children:[(0,c.jsx)(a.DlH,{})," ",v.numChunks," chunks"]})]})}),(0,c.jsx)(p.Z,{variant:"indicate",className:m.Z.compileCostCard,children:(0,c.jsxs)(p.x,{children:[(0,c.jsx)(o.kC,{asChild:!0,align:"center",gap:"1",children:(0,c.jsxs)(o.X6,{as:"h3",size:"2",color:"gray",children:[(0,c.jsx)(a.h4y,{}),"Compile Overall"]})}),(0,c.jsx)(o.kC,{width:"100%",gap:"1",children:w.map(e=>(0,c.jsx)(g,{cost:e},e.name))})]})}),(0,c.jsx)(p.Z,{variant:"indicate",width:"100%",children:(0,c.jsxs)(p.x,{children:[(0,c.jsxs)(o.xv,{weight:"bold",size:"1",color:"gray",children:["Found ",l().size(N)," ",l().size(N)>1?"errors":"error"]}),Object.entries(N).map(e=>{let[r,t]=e;return(0,c.jsxs)(o.xu,{className:m.Z.errorItem,children:[(0,c.jsx)(a.Sbn,{className:m.Z.errorIcon})," ",(0,c.jsx)(o.xv,{size:"1",className:m.Z.textTruncation,children:r}),t.length>1&&(0,c.jsxs)(o.xv,{size:"1",className:m.Z.errorCount,children:["(x",t.length,")"]})]},r)})]})})]})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["730"],{73601:function(e,a){a.Z={signal:"signal-L2JPtX"}},58909:function(e,a,r){r.d(a,{P:function(){return v}});var s=r(90247),l=r(55709),n=r(16170),i=r(86834),c=r(99231),t=r(89677),d=r(5872),o=r(81733),u=r(79197),h=r(77518),x=r(46805);let v=e=>{var{$data:a=(0,o.sj)([]),disabled:r,placeholders:v}=e,j=(0,n._)(e,["$data","disabled","placeholders"]);let f=(0,u.R)(a);return(0,d.useEffect)(()=>{f.length<=0&&a.push({id:(0,t.nanoid)(),key:"",value:""})},[f.length]),(0,i.jsx)(c.xu,(0,l._)((0,s._)({className:h.Z.container},j),{children:f.map((e,s)=>(0,i.jsx)(x.s,{$data:a[s],disabled:r,placeholders:v,onDelete:()=>a.splice(s,1),onInsert:()=>a.splice(s+1,0,{id:(0,t.nanoid)(),key:"",value:""})},e.id))}))}},46805:function(e,a,r){r.d(a,{s:function(){return t}});var s=r(86834),l=r(99231);r(5872);var n=r(29214),i=r(79197),c=r(18913);let t=e=>{let{$data:a,onDelete:r,onInsert:t,disabled:d,placeholders:o=["Key...","Value..."]}=e,u=(0,i.R)(a);return(0,s.jsxs)(l.xu,{className:c.Z.inputPair,"aria-disabled":d,children:[(0,s.jsx)(l.nv.f,{value:u.key,disabled:d,placeholder:o[0],onChange:e=>a.key=e.currentTarget.value}),(0,s.jsx)(l.xu,{asChild:!0,flexGrow:"1",children:(0,s.jsx)(l.nv.f,{value:u.value,disabled:d,placeholder:o[1],onChange:e=>a.value=e.currentTarget.value})}),(0,s.jsxs)(l.xu,{className:c.Z.actions,children:[(0,s.jsx)(l.hU,{variant:"ghost",color:"gray",onClick:r,children:(0,s.jsx)(n.O$V,{})}),(0,s.jsx)(l.hU,{variant:"ghost",color:"gray",onClick:t,children:(0,s.jsx)(n.PW$,{})})]})]},u.id)}},96629:function(e,a,r){r.r(a);var s=r(86834),l=r(52493),n=r.n(l),i=r(5872),c=r(99231),t=r(79197),d=r(81733),o=r(55058),u=r(96575),h=r(73601),x=r(58909);a.default=()=>{let e=(0,t.R)(u.ok),a=!!e.service.href,r=(0,i.useMemo)(()=>{var a;return(0,d.sj)(null!==(a=n().cloneDeep(e.service.rules))&&void 0!==a?a:[])},[]),l=(0,t.R)(r),v=a?"Active":"Offline",j=async()=>{await (0,u.gM)(l.filter(e=>e.key))},f=async()=>{await (0,u.m)()};return(0,s.jsxs)(c.xu,{className:h.Z.container,children:[(0,s.jsx)(c.X6,{mt:"4",children:"Header Modifier"}),(0,s.jsxs)(c.kC,{align:"center",gap:"1",children:[(0,s.jsx)(c.xu,{className:h.Z.signal,"data-active":a}),(0,s.jsx)(c.xv,{color:"gray",size:"1",children:v}),e.service.href&&(0,s.jsx)(c.rU,{size:"1",href:e.service.href,target:"_blank",children:(0,o.Lk)(e.service.href).pathname})]}),(0,s.jsx)(x.P,{$data:r,disabled:a,my:"3",placeholders:["Match header field...","Replace by..."]}),(0,s.jsx)(c.kC,{justify:"end",gap:"2",children:a?(0,s.jsx)(c.zx,{color:"red",onClick:f,children:"Unregister"}):(0,s.jsx)(c.zx,{onClick:j,children:"Register"})})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["161"],{1991:function(e,r){r.Z={container:"container-p5QVGS","bottom-tip":"bottom-tip-K062Gu",bottomTip:"bottom-tip-K062Gu","primary-card":"primary-card-plqY_q",primaryCard:"primary-card-plqY_q","compile-time-card":"compile-time-card-_p7KQL",compileTimeCard:"compile-time-card-_p7KQL","plugin-card":"plugin-card-RzXrFC",pluginCard:"plugin-card-RzXrFC","info-card":"info-card-rAI3LL",infoCard:"info-card-rAI3LL","indicate-bar":"indicate-bar-UVw3vq",indicateBar:"indicate-bar-UVw3vq",heading:"heading-hVMxZh"}},88640:function(e,r){r.Z=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}},9344:function(e,r,a){a.d(r,{Z:function(){return d},x:function(){return p}});var i=a(90247),n=a(55709),t=a(16170),c=a(86834),s=a(88640),l=a(99231),o=a(61832);let d=e=>{let{children:r,className:a,variant:d,clickable:p=!1,selected:h=!1,inset:x=!1}=e,u=(0,t._)(e,["children","className","variant","clickable","selected","inset"]);return(0,c.jsx)(l.xu,(0,n._)((0,i._)({},u),{"data-variant":null!=d?d:"","data-clickable":p,"data-selected":h,"data-inset":x,className:(0,s.Z)(o.Z.card,a),children:r}))},p=e=>(0,c.jsx)(l.kC,(0,i._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,r,a){a.d(r,{Z:function(){return i.Z},x:function(){return i.x}});var i=a(9344)},91204:function(e,r,a){a.r(r);var i=a(86834),n=a(99231);a(5872);var t=a(29214),c=a(55058),s=a(79197);a(61832);var l=a(1991),o=a(15112),d=a(91310);let p={webpack:"webpack",rspack:"@rspack/core"};r.default=()=>{let e=(0,o.k)(),{version:r}=(0,s.R)(e),a=(0,s.R)(e.framework).context,{def:h}=(0,s.R)(e).context,x=(0,s.R)(e.dependencies),u=(0,s.R)(e.builder).context,{compileDuration:g}=(0,s.R)(e).performance,j=window.navigator.userAgent.includes("Mac OS"),{toolsType:m}=a;if("app-tools"!==m)throw Error();let f=h.packages.appTools,v=x[f],{bundlerType:b}=u,k=p[b],y=x[k];return(0,i.jsxs)(n.kC,{direction:"column",align:"center",children:[(0,i.jsxs)(n.kC,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:l.Z.container,children:[(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.primaryCard,children:(0,i.jsx)(n.Q2,{appearance:"dark",hasBackground:!1,asChild:!0,children:(0,i.jsxs)(d.x,{children:[(0,i.jsx)(n.X6,{as:"h1",className:l.Z.heading,children:"DevTools"}),(0,i.jsx)(n.kC,{gap:"2",children:(0,i.jsxs)("button",{type:"button",children:["v",r]})}),(0,i.jsxs)(n.xv,{as:"p",size:"1",children:["Powered by ",f,"@",v]})]})})}),(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.infoCard,children:(0,i.jsxs)(n.kC,{justify:"between",gap:"3",align:"center",height:"100%",children:[(0,i.jsxs)(n.xu,{children:[(0,i.jsx)(n.xv,{color:"gray",children:"Visit our website"}),(0,i.jsx)(n.kC,{align:"center",asChild:!0,children:(0,i.jsxs)(n.rU,{href:h.announcement.fallback,target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)(t.WRS,{}),(0,i.jsx)(n.xv,{children:(0,c.Lk)(h.announcement.fallback).host})]})})]}),(0,i.jsx)(t.vrJ,{size:"50",color:"var(--gray-6)"})]})}),(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.pluginCard,children:(0,i.jsxs)(n.kC,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.xu,{children:[(0,i.jsx)(n.xv,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},mb:"2",children:a.plugins.length}),(0,i.jsx)(n.xv,{as:"p",size:"1",color:"gray",children:"Framework Plugins"})]}),(0,i.jsx)(t.hjZ,{size:"50",color:"var(--gray-6)"})]})}),(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.compileTimeCard,children:(0,i.jsxs)(n.kC,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.xu,{children:[(0,i.jsxs)(n.xv,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},children:[(g/1e3).toFixed(2),"s"]}),(0,i.jsxs)(n.xv,{as:"p",size:"1",color:"gray",children:["Compiled in ",k,"@",y]})]}),(0,i.jsx)(t.XoX,{size:"50",color:"var(--gray-6)"})]})})]}),(0,i.jsxs)(n.kC,{align:"center",className:l.Z.bottomTip,children:[(0,i.jsx)(n.xv,{color:"gray",size:"2",children:"Use"}),(0,i.jsxs)(n.Tz,{mx:"2",children:["Shift + ",j?"Opt":"Alt"," + D"]}),(0,i.jsx)(n.xv,{color:"gray",size:"2",children:"to open DevTools"})]})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{51171:function(e,n){n.Z={input:"input-ZLygVL",list:"list-xLGYni"}},16189:function(e,n,t){function r(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.addEventListener&&e.addEventListener.apply(e,n)}function i(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.removeEventListener&&e.removeEventListener.apply(e,n)}t.d(n,{S1:function(){return i},jU:function(){return o},on:function(){return r}});var o="undefined"!=typeof window},70398:function(e,n,t){var r=t(5872),i=t(16189);n.Z=function(e,n){void 0===n&&(n=!0);var t=(0,r.useState)(!1),o=t[0],a=t[1];return(0,r.useEffect)(function(){var t=function(){return a(!0)},r=function(){return a(!1)};n&&e&&e.current&&((0,i.on)(e.current,"mouseover",t),(0,i.on)(e.current,"mouseout",r));var o=e.current;return function(){n&&o&&((0,i.S1)(o,"mouseover",t),(0,i.S1)(o,"mouseout",r))}},[n,e]),o}},61260:function(e,n,t){t.d(n,{N:function(){return c}});var r=t(86834),i=t(5872),o=t(1607),a=t(99231),l=t(60441),s=t(21101),u=t(13337);let c=e=>{let{badge:n,route:t,title:c,children:d,open:f,onOpenChange:p}=e,{matched:x}=(0,i.useContext)(u.K),[h,m]=(0,i.useState)(!1),j=x===t,v=j||(null!=f?f:h);return(0,r.jsx)(a.xu,{p:"3",className:s.Z.container,children:(0,r.jsxs)(o.fC,{open:v,onOpenChange:null!=p?p:m,children:[(0,r.jsxs)(o.xz,{className:s.Z.trigger,children:[n,(0,r.jsx)(a.xv,{className:s.Z.urlText,style:{opacity:x&&!j?.5:1},children:c}),(0,r.jsx)(a.xu,{flexGrow:"1"}),(0,r.jsx)(a.xu,{className:s.Z.mark,"data-open":v,children:(0,r.jsx)(l.jnn,{})})]}),(0,r.jsx)(o.VY,{className:s.Z.content,children:d})]})})}},13337:function(e,n,t){t.d(n,{K:function(){return r}});let r=(0,t(5872).createContext)({url:""})},20670:function(e,n,t){t.d(n,{j:function(){return o}});var r=t(86834);t(5872);var i=t(99231);let o=()=>(0,r.jsx)(i.xv,{children:"Unimplemented."})},51525:function(e,n,t){t.d(n,{u:function(){return r}});let r=(0,t(5872).createContext)([])},53323:function(e,n,t){t.d(n,{e:function(){return f}});var r=t(86834),i=t(5872),o=t(99231),a=t(52493),l=t.n(a),s=t(55058),u=t(70398),c=t(51525),d=t(51795);let f=e=>{var n,t;let{route:a}=e,p=l().castArray(a),x=l().last(p),h="_component"in x&&l().isString(x._component)?x._component:null,m=(0,s.As)("/",...p.map(e=>e.path).filter(l().isString))||"/",j=null!==(t=x.index)&&void 0!==t&&t,v="/"===m,y=(0,i.useContext)(c.u),g=!1===y||y.length>0,C=!!y&&!!l().find(y,{route:{id:x.id}}),b=(0,i.useRef)(null),N=(0,u.Z)(b);return(0,r.jsxs)(o.xu,{ref:b,children:[(0,r.jsxs)(o.kC,{gap:"2",align:"center",mb:x.children&&"1",children:[(0,r.jsxs)(o.xu,{className:d.Z.endpointContainer,"data-matched":!g||C,children:[j&&v||(0,r.jsx)(o.EK,{className:d.Z.endpointTag,"data-compose":j&&"head",children:m}),j&&(0,r.jsx)(o.EK,{className:d.Z.endpointTag,color:"purple","data-compose":!v&&"tail",children:"/(index)"})]}),h&&(0,r.jsx)(o.rU,{className:d.Z.shyLink,style:{visibility:N?"visible":"hidden"},children:h})]}),(0,r.jsx)(o.kC,{direction:"column",gap:"1",children:null===(n=x.children)||void 0===n?void 0:n.map(e=>(0,r.jsx)(f,{route:p.concat(e)},e.id))})]})}},7644:function(e,n,t){t.d(n,{Z:function(){return d}});var r=t(86834),i=t(85852),o=t(99231),a=t(5872),l=t(55058),s=t(13337),u=t(51525),c=t(53323);let d=e=>{let{remixRoutes:n,route:t}=e,{matched:d,url:f}=(0,a.useContext)(s.K),p=(0,a.useMemo)(()=>{if(d!==t)return!d&&[];{var e;if(!n)return[];let r=(0,l.v$)(f.replace(t.urlPath,"/")),o=null!==(e=(0,i.fp)(n,r))&&void 0!==e?e:[];return!!o.length&&o}},[n,d,f]);return(null==n?void 0:n.length)?(0,r.jsx)(u.u.Provider,{value:p,children:(0,r.jsx)(o.kC,{gap:"2",direction:"column",children:n.map(e=>(0,r.jsx)(c.e,{route:e},e.id))})}):null}},97259:function(e,n,t){t.d(n,{U:function(){return f}});var r=t(86834),i=t(52493),o=t.n(i),a=t(5872),l=t(81733),s=t(79197),u=t(20670),c=t(7644),d=t(15112);(0,l.sj)({});let f=e=>{let{route:n}=e,{entryName:t}=n;if(!t)throw TypeError("");let i=(0,d.k)(),{entrypoints:l}=(0,s.R)(i.framework).context,f=o().find(l,{entryName:t});if(!f)throw TypeError("Can't found the entrypoint named ".concat(JSON.stringify(n.entryName)));let x=(0,s.R)(i.fileSystemRoutes)[f.entryName];if(!f)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(n.entryName)));return(0,r.jsx)(a.Suspense,{children:(0,r.jsx)(()=>p(x)?(0,r.jsx)(u.j,{}):(0,r.jsx)(c.Z,{remixRoutes:x,route:n}),{})})},p=e=>(null==e?void 0:e[0])&&!("type"in e[0])},62761:function(e,n,t){t.d(n,{U:function(){return r.U}});var r=t(97259)},1019:function(e,n,t){t.d(n,{e:function(){return u}});var r=t(86834),i=t(5872),o=t(99231),a=t(61260),l=t(36131),s=t(62761);let u=e=>{let{route:n}=e;return(0,r.jsx)(a.N,{badge:c,route:n,title:n.urlPath,children:(0,r.jsxs)(o.kC,{direction:"column",gap:"2",children:[(0,r.jsx)(o.xr,{scrollbars:"horizontal",children:(0,r.jsx)(l.b,{route:n})}),(0,r.jsx)(o.xr,{scrollbars:"horizontal",children:(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(s.U,{route:n})})})]})})},c=(0,r.jsx)(o.Ct,{color:"cyan",children:"Entry"})},36131:function(e,n,t){t.d(n,{b:function(){return c}});var r=t(86834);t(5872);var i=t(52493),o=t.n(i),a=t(99231),l=t(79197),s=t(18156),u=t(15112);let c=e=>{let{route:n}=e,t=(0,u.k)(),{entrypoints:i}=(0,l.R)(t.framework).context,c=n.entryName&&o().find(i,{entryName:n.entryName});if(!c)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(n.entryName)));return(0,r.jsxs)(a.xu,{className:s.Z.stats,children:[(0,r.jsxs)(a.kC,{gap:"1",children:[(0,r.jsx)(a.cK,{children:"Directory: "}),(0,r.jsx)(a.xv,{children:c.absoluteEntryDir})]}),(0,r.jsxs)(a.kC,{gap:"1",children:[(0,r.jsx)(a.cK,{children:"Entry:"}),(0,r.jsx)(a.xv,{children:c.entry})]})]})}},29350:function(e,n,t){t.d(n,{e:function(){return r.e}});var r=t(1019)},16995:function(e,n,t){t.d(n,{j:function(){return s}});var r=t(86834);t(5872);var i=t(52493),o=t.n(i),a=t(29350),l=t(96468);let s=e=>{let{route:n}=e;return o().isString(n.entryName)?(0,r.jsx)(a.e,{route:n}):(0,r.jsx)(l.R,{route:n})}},96468:function(e,n,t){t.d(n,{R:function(){return a}});var r=t(86834);t(5872);var i=t(99231),o=t(61260);let a=e=>{let{route:n}=e;return(0,r.jsx)(o.N,{badge:l,route:n,title:n.urlPath,children:(0,r.jsx)(i.Zb,{children:"Unknown route type."})})},l=(0,r.jsx)(i.Ct,{color:"gray",children:"Unknown"})},25473:function(e,n,t){t.r(n);var r=t(86834),i=t(99231),o=t(5872),a=t(55058),l=t(29214),s=t(79197),u=t(51171),c=t(15112),d=t(13337),f=t(16995);n.default=()=>{let e=(0,c.k)(),{serverRoutes:n}=(0,s.R)(e.framework).context,[t,p]=(0,o.useState)({url:""}),x=e=>{let{pathname:t}=(0,a.Lk)(e);p({url:e,matched:n.find(e=>t===e.urlPath||t.startsWith((0,a.jE)(e.urlPath)))})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.kC,{className:u.Z.list,direction:"column",gap:"2",align:"stretch",justify:"between",mx:"auto",children:(0,r.jsx)(d.K.Provider,{value:t,children:n.map(e=>(0,r.jsx)(f.j,{route:e},e.entryPath))})}),(0,r.jsx)(i.xu,{className:u.Z.input,children:(0,r.jsx)(i.xu,{mx:"auto",style:{maxWidth:"40rem"},children:(0,r.jsx)(i.nv.f,{placeholder:"/foo?bar#baz",onChange:e=>x(e.target.value),type:"url",autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",children:(0,r.jsx)(i.nv.g,{children:(0,r.jsx)(l.IIh,{})})})})})]})}},1607:function(e,n,t){t.d(n,{VY:function(){return E},fC:function(){return k},xz:function(){return Z}});var r=t(83197),i=t(5872),o=t(67844),a=t(82602),l=t(88654),s=t(59504),u=t(88340),c=t(63422),d=t(78910),f=t(63018);let p="Collapsible",[x,h]=(0,a.b)(p),[m,j]=x(p),v=(0,i.forwardRef)((e,n)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:s,onOpenChange:u,...d}=e,[p=!1,x]=(0,l.T)({prop:o,defaultProp:a,onChange:u});return(0,i.createElement)(m,{scope:t,disabled:s,contentId:(0,f.M)(),open:p,onOpenToggle:(0,i.useCallback)(()=>x(e=>!e),[x])},(0,i.createElement)(c.WV.div,(0,r.Z)({"data-state":N(p),"data-disabled":s?"":void 0},d,{ref:n})))}),y=(0,i.forwardRef)((e,n)=>{let{__scopeCollapsible:t,...a}=e,l=j("CollapsibleTrigger",t);return(0,i.createElement)(c.WV.button,(0,r.Z)({type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":N(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled},a,{ref:n,onClick:(0,o.M)(e.onClick,l.onOpenToggle)}))}),g="CollapsibleContent",C=(0,i.forwardRef)((e,n)=>{let{forceMount:t,...o}=e,a=j(g,e.__scopeCollapsible);return(0,i.createElement)(d.z,{present:t||a.open},({present:e})=>(0,i.createElement)(b,(0,r.Z)({},o,{ref:n,present:e})))}),b=(0,i.forwardRef)((e,n)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,d=j(g,t),[f,p]=(0,i.useState)(o),x=(0,i.useRef)(null),h=(0,u.e)(n,x),m=(0,i.useRef)(0),v=m.current,y=(0,i.useRef)(0),C=y.current,b=d.open||f,k=(0,i.useRef)(b),Z=(0,i.useRef)();return(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=x.current;if(e){Z.current=Z.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let n=e.getBoundingClientRect();m.current=n.height,y.current=n.width,!k.current&&(e.style.transitionDuration=Z.current.transitionDuration,e.style.animationName=Z.current.animationName),p(o)}},[d.open,o]),(0,i.createElement)(c.WV.div,(0,r.Z)({"data-state":N(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!b},l,{ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style}}),b&&a)});function N(e){return e?"open":"closed"}let k=v,Z=y,E=C}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["244"],{24959:function(e,t){t.Z={"text-ellipsis":"text-ellipsis-sg296B",textEllipsis:"text-ellipsis-sg296B"}},88640:function(e,t){t.Z=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,l="";if("string"==typeof t||"number"==typeof t)l+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(l&&(l+=" "),l+=r);else for(n in t)t[n]&&(l&&(l+=" "),l+=n)}return l}(e))&&(r&&(r+=" "),r+=t);return r}},9344:function(e,t,n){n.d(t,{Z:function(){return d},x:function(){return u}});var r=n(90247),l=n(55709),o=n(16170),i=n(86834),s=n(88640),a=n(99231),c=n(61832);let d=e=>{let{children:t,className:n,variant:d,clickable:u=!1,selected:x=!1,inset:p=!1}=e,h=(0,o._)(e,["children","className","variant","clickable","selected","inset"]);return(0,i.jsx)(a.xu,(0,l._)((0,r._)({},h),{"data-variant":null!=d?d:"","data-clickable":u,"data-selected":x,"data-inset":p,className:(0,s.Z)(c.Z.card,n),children:t}))},u=e=>(0,i.jsx)(a.kC,(0,r._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,t,n){n.d(t,{Z:function(){return r.Z},x:function(){return r.x}});var r=n(9344)},66630:function(e,t,n){n.d(t,{p:function(){return p}});var r=n(90247),l=n(55709),o=n(16170),i=n(86834),s=n(4537),a=n(5872),c=n(29214),d=n(99231),u=n(56883);let x=e=>{let{title:t,content:n,children:a}=e,x=(0,o._)(e,["title","content","children"]);return(0,i.jsxs)(s.fC,(0,l._)((0,r._)({},x),{className:u.Z.container,children:[t&&(0,i.jsx)(s.Dx,{children:t}),(0,i.jsx)(s.dk,{children:n}),a&&(0,i.jsx)(s.aU,{altText:"",asChild:!0,children:a}),(0,i.jsx)(d.xu,{flexGrow:"1"}),(0,i.jsx)(s.x8,{className:u.Z.close,"aria-label":"Close",children:(0,i.jsx)(c.cu3,{})})]}))},p=e=>{let{duration:t=5e3}=e,n=(0,o._)(e,["duration"]),[c,d]=(0,a.useState)(!1),p=(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(x,(0,l._)((0,r._)({},n),{open:c,onOpenChange:d})),(0,i.jsx)(s.l_,{className:u.Z.viewport})]}),h=(0,a.useRef)(null);return{element:p,open:()=>{d(!0),h.current&&clearTimeout(h.current),h.current=null,t&&(h.current=window.setTimeout(()=>d(!1),t))}}}},1046:function(e,t,n){n.r(t);var r=n(90247),l=n(55709),o=n(16170),i=n(86834),s=n(5872),a=n(29214),c=n(58654),d=n(99231),u=n(81733),x=n(33049),p=n(24959),h=n(15112),g=n(66630),j=n(91310);let f=e=>{let{onCopyAction:t,onOpenAction:n,onApplyAction:s,onPasteAction:c}=e,u=(0,o._)(e,["onCopyAction","onOpenAction","onApplyAction","onPasteAction"]);return(0,i.jsxs)(d.kC,(0,l._)((0,r._)({position:"relative",gap:"3",height:"var(--space-5)",align:"center"},u),{children:[(0,i.jsx)(d.u,{content:"Copy as Data URL",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:t,variant:"ghost",color:"gray",children:(0,i.jsx)(a.oiB,{})})}),(0,i.jsx)(d.u,{content:"Paste from Data URL",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:c,variant:"ghost",color:"gray",children:(0,i.jsx)(a.MK7,{})})}),(0,i.jsx)(d.u,{content:"Open File",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:n,variant:"ghost",color:"gray",children:(0,i.jsx)(a.g1w,{})})}),(0,i.jsx)(d.u,{content:"Apply Preset",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:s,variant:"ghost",color:"gray",children:(0,i.jsx)(a.VyF,{})})})]}))},y=async e=>{let t={cookie:{},localStorage:{},sessionStorage:{}};for(let n of x.dR){let r=e[n];r&&Object.assign(t[n],r)}return await (0,x.l5)(t)},v=e=>{let{title:t,records:n,color:s}=e,a=(0,o._)(e,["title","records","color"]);return(0,i.jsx)(j.Z,(0,l._)((0,r._)({asChild:!0},a),{children:(0,i.jsxs)(d.kC,{direction:"column",gap:"2",children:[(0,i.jsx)(d.xv,{size:"1",weight:"bold",children:t}),(0,i.jsxs)(d.kC,{width:"100%",wrap:"wrap",align:"start",gap:"2",children:[0===n.length&&(0,i.jsx)(d.Ct,{color:"gray",children:"Empty"}),n.map(e=>(0,i.jsxs)(d.Ct,{color:s,children:[e.key,": ",e.value]},e.id))]})]})}))};t.default=()=>{let{revalidate:e}=(0,c.xW)(),t=(0,h.k)(),{server:n}=t;(0,s.useEffect)(()=>(0,u.Ld)(t,e),[]);let r=(0,c.f_)(),l=[...(0,x.SR)(r,"cookie"),...(0,x.SR)(r,"localStorage"),...(0,x.SR)(r,"sessionStorage")],o=(0,g.p)({content:"\uD83D\uDD25 Fired"}),a=(0,g.p)({content:"\uD83D\uDCCB Copied"}),j=(0,g.p)({content:"\uD83D\uDCCB Pasted"}),m=async()=>{await y(r),o.open(),e()},w=async()=>{let e=new Blob([JSON.stringify(r)],{type:"application/json"}),t=new FileReader;t.readAsDataURL(e);let n=await new Promise(e=>{t.onload=t=>{var n,r,l;return e(null!==(l=null===(r=t.target)||void 0===r?void 0:null===(n=r.result)||void 0===n?void 0:n.toString())&&void 0!==l?l:null)}});n?(navigator.clipboard.writeText(n),a.open()):console.error("Failed to copy preset as data URL")},k=async()=>{n&&(await n.remote.pasteStoragePreset(r),j.open())};return(0,i.jsxs)(d.kC,{direction:"column",gap:"2",children:[(0,i.jsxs)(d.kC,{flexGrow:"0",px:"2",gap:"2",justify:"between",align:"center",width:"100%",children:[(0,i.jsx)(d.xu,{flexShrink:"0",className:p.Z.textEllipsis,children:(0,i.jsx)(d.xv,{size:"1",weight:"bold",color:"gray",children:r.name})}),(0,i.jsx)(f,{flexShrink:"0",flexGrow:"0",px:"2",justify:"end",onCopyAction:w,onPasteAction:k,onOpenAction:()=>null==n?void 0:n.remote.open(r.filename),onApplyAction:m})]}),(0,i.jsx)(d.xu,{flexGrow:"1",pb:"2",pr:"2",style:{overflowY:"scroll"},children:(0,i.jsxs)(d.kC,{direction:"column",gap:"2",children:[(0,i.jsx)(v,{title:"Cookie",records:l.filter(e=>"cookie"===e.type),color:"yellow"}),(0,i.jsx)(v,{title:"Local Storage",records:l.filter(e=>"localStorage"===e.type),color:"green"}),(0,i.jsx)(v,{title:"Session Storage",records:l.filter(e=>"sessionStorage"===e.type),color:"blue"})]})}),o.element,a.element,j.element]})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["470"],{53640:function(e,t){t.Z={container:"container-ewltyx","side-panel":"side-panel-bdvL2J",sidePanel:"side-panel-bdvL2J","overflow-badge":"overflow-badge-jy83Ta",overflowBadge:"overflow-badge-jy83Ta","preview-badge-list":"preview-badge-list-gW0J6X",previewBadgeList:"preview-badge-list-gW0J6X","btn-create-preset":"btn-create-preset-hoeILU",btnCreatePreset:"btn-create-preset-hoeILU",divider:"divider-lbRk1F","text-ellipsis":"text-ellipsis-F0lpeD",textEllipsis:"text-ellipsis-F0lpeD",badge:"badge-V1CqD5",scrollable:"scrollable-HHlcgf"}},88640:function(e,t){t.Z=function(){for(var e,t,l=0,r="";l<arguments.length;)(e=arguments[l++])&&(t=function e(t){var l,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(l=0;l<t.length;l++)t[l]&&(r=e(t[l]))&&(a&&(a+=" "),a+=r);else for(l in t)t[l]&&(a&&(a+=" "),a+=l)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},9344:function(e,t,l){l.d(t,{Z:function(){return d},x:function(){return u}});var r=l(90247),a=l(55709),s=l(16170),n=l(86834),i=l(88640),o=l(99231),c=l(45428);let d=e=>{let{children:t,className:l,variant:d,clickable:u=!1,selected:h=!1,inset:f=!1}=e,g=(0,s._)(e,["children","className","variant","clickable","selected","inset"]);return(0,n.jsx)(o.xu,(0,a._)((0,r._)({},g),{"data-variant":null!=d?d:"","data-clickable":u,"data-selected":h,"data-inset":f,className:(0,i.Z)(c.Z.card,l),children:t}))},u=e=>(0,n.jsx)(o.kC,(0,r._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,t,l){l.d(t,{Z:function(){return r.Z},x:function(){return r.x}});var r=l(9344)},31942:function(e,t,l){l.r(t);var r=l(90247),a=l(55709),s=l(16170),n=l(86834),i=l(58654),o=l(99231),c=l(52493),d=l.n(c),u=l(29214),h=l(79197),f=l(81733),g=l(46132),p=l(53640),x=l(33049),v=l(15112),j=l(91310);let m=e=>{let{selected:t,to:l}=e,a=(0,s._)(e,["selected","to"]),c=(0,i.s0)(),d=(0,i.bS)(null!=l?l:"");return(0,n.jsx)(j.Z,{variant:"small",selected:null!=t?t:!!d,clickable:!0,asChild:!0,onClick:()=>l&&c(l),children:(0,n.jsx)(o.kC,(0,r._)({},a))})},b=e=>{let{preset:t,highlight:l}=e,i=(0,s._)(e,["preset","highlight"]),c=!t.filename.match(/[/\\]node_modules[/\\]/),d=null;return l&&(d=(0,n.jsx)(o.xv,{size:"1",color:"red",asChild:!0,children:(0,n.jsx)(u.XC2,{})})),(0,n.jsxs)(m,(0,a._)((0,r._)({direction:"column"},i),{children:[(0,n.jsxs)(o.xv,{size:"1",weight:"bold",as:"p",mb:"2",children:[t.name," ",c||(0,n.jsx)(o.xv,{size:"1",color:"gray",children:"*"}),d]}),(0,n.jsx)(o.kC,{align:"center",children:(0,n.jsxs)(o.kC,{className:p.Z.previewBadgeList,children:[0===t.items.length&&(0,n.jsx)(o.Ct,{color:"gray",children:"Empty"}),t.items.map(e=>(0,n.jsxs)(o.Ct,{color:x.xq[e.type],children:[e.key,": ",e.value]},e.id))]})})]}))};t.default=()=>{let e=(0,v.k)(),{server:t}=e,{storagePresets:l}=(0,h.R)(e).context,s=(0,i.f_)(),c={cookie:(0,r._)({},s.cookie.client,s.cookie.server),localStorage:s.localStorage,sessionStorage:s.sessionStorage},j=(0,i.s0)(),k={cookie:d()(l).flatMap(e=>d().keys(e.cookie)).countBy().value(),localStorage:d()(l).flatMap(e=>d().keys(e.localStorage)).countBy().value(),sessionStorage:d()(l).flatMap(e=>d().keys(e.sessionStorage)).countBy().value()},y=l.map(e=>(0,a._)((0,r._)({},e),{items:d()((0,x.f)(e)).sortBy(e=>{var t;return null!==(t=k[e.type][e.key])&&void 0!==t?t:0}).reverse().value()})),C=async()=>{if(!t)return;let{id:l}=await t.remote.createTemporaryStoragePreset(),r=(0,g.YP)(t=>{let{storagePresets:a}=(0,f.CO)(t(e)).context;d().find(a,{id:l})&&(r(),j("/storage/preset/".concat(l)))})};return(0,n.jsxs)(o.kC,{width:"100%",pt:"4",className:p.Z.container,children:[(0,n.jsxs)(o.kC,{direction:"column",className:p.Z.sidePanel,children:[(0,n.jsxs)(m,{to:"/storage/preset",m:"2",align:"center",gap:"1",children:[(0,n.jsx)(o.xv,{size:"1",weight:"bold",children:"Current Storage"}),(0,n.jsx)(o.xv,{size:"1",color:"red",asChild:!0,children:(0,n.jsx)(u.XC2,{})})]}),(0,n.jsx)(o.xu,{mx:"2",className:p.Z.divider}),(0,n.jsxs)(o.kC,{p:"2",direction:"column",gap:"2",className:p.Z.scrollable,children:[y.map(e=>(0,n.jsx)(b,{to:"/storage/preset/".concat(e.id),preset:e,highlight:e.items.length>0&&d().isMatch(c,d().pick(e,["cookie","localStorage","sessionStorage"]))},e.id)),(0,n.jsx)(m,{justify:"center",align:"center",onClick:C,className:p.Z.btnCreatePreset,children:(0,n.jsx)(u.b9W,{})})]})]}),(0,n.jsx)(o.xu,{width:"0",flexGrow:"1",height:"100%",flexShrink:"1",pt:"2",children:(0,n.jsx)(i.j3,{})})]})}},46132:function(e,t,l){let r,a;l.d(t,{YP:function(){return n}});var s=l(81733);function n(e,t){let l=!0,a=new Set,n=new Map,i=()=>{l&&(l=!1,a.forEach(e=>e()),a.clear(),n.forEach(e=>e()),n.clear())},o=()=>{if(!l)return;a.forEach(e=>e()),a.clear();let i=new Set,c=r;r=a;try{let t=e(e=>(i.add(e),e));t&&a.add(t)}finally{r=c}n.forEach((e,t)=>{i.has(t)?i.delete(t):(n.delete(t),e())}),i.forEach(e=>{let l=(0,s.Ld)(e,o,null==t?void 0:t.sync);n.set(e,l)})};return r&&r.add(i),o(),i}Symbol();let i=new WeakMap,o=e=>"object"==typeof e&&null!==e}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["470"],{43097:function(e,t){t.Z={container:"container-ewltyx","side-panel":"side-panel-bdvL2J",sidePanel:"side-panel-bdvL2J","overflow-badge":"overflow-badge-jy83Ta",overflowBadge:"overflow-badge-jy83Ta","preview-badge-list":"preview-badge-list-gW0J6X",previewBadgeList:"preview-badge-list-gW0J6X","btn-create-preset":"btn-create-preset-hoeILU",btnCreatePreset:"btn-create-preset-hoeILU",divider:"divider-lbRk1F","text-ellipsis":"text-ellipsis-F0lpeD",textEllipsis:"text-ellipsis-F0lpeD",badge:"badge-V1CqD5",scrollable:"scrollable-HHlcgf"}},88640:function(e,t){t.Z=function(){for(var e,t,l=0,r="";l<arguments.length;)(e=arguments[l++])&&(t=function e(t){var l,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(l=0;l<t.length;l++)t[l]&&(r=e(t[l]))&&(a&&(a+=" "),a+=r);else for(l in t)t[l]&&(a&&(a+=" "),a+=l)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},9344:function(e,t,l){l.d(t,{Z:function(){return d},x:function(){return u}});var r=l(90247),a=l(55709),s=l(16170),n=l(86834),i=l(88640),o=l(99231),c=l(61832);let d=e=>{let{children:t,className:l,variant:d,clickable:u=!1,selected:h=!1,inset:f=!1}=e,g=(0,s._)(e,["children","className","variant","clickable","selected","inset"]);return(0,n.jsx)(o.xu,(0,a._)((0,r._)({},g),{"data-variant":null!=d?d:"","data-clickable":u,"data-selected":h,"data-inset":f,className:(0,i.Z)(c.Z.card,l),children:t}))},u=e=>(0,n.jsx)(o.kC,(0,r._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,t,l){l.d(t,{Z:function(){return r.Z},x:function(){return r.x}});var r=l(9344)},31942:function(e,t,l){l.r(t);var r=l(90247),a=l(55709),s=l(16170),n=l(86834),i=l(58654),o=l(99231),c=l(52493),d=l.n(c),u=l(29214),h=l(79197),f=l(81733),g=l(46132),p=l(43097),x=l(33049),v=l(15112),j=l(91310);let m=e=>{let{selected:t,to:l}=e,a=(0,s._)(e,["selected","to"]),c=(0,i.s0)(),d=(0,i.bS)(null!=l?l:"");return(0,n.jsx)(j.Z,{variant:"small",selected:null!=t?t:!!d,clickable:!0,asChild:!0,onClick:()=>l&&c(l),children:(0,n.jsx)(o.kC,(0,r._)({},a))})},b=e=>{let{preset:t,highlight:l}=e,i=(0,s._)(e,["preset","highlight"]),c=!t.filename.match(/[/\\]node_modules[/\\]/),d=null;return l&&(d=(0,n.jsx)(o.xv,{size:"1",color:"red",asChild:!0,children:(0,n.jsx)(u.XC2,{})})),(0,n.jsxs)(m,(0,a._)((0,r._)({direction:"column"},i),{children:[(0,n.jsxs)(o.xv,{size:"1",weight:"bold",as:"p",mb:"2",children:[t.name," ",c||(0,n.jsx)(o.xv,{size:"1",color:"gray",children:"*"}),d]}),(0,n.jsx)(o.kC,{align:"center",children:(0,n.jsxs)(o.kC,{className:p.Z.previewBadgeList,children:[0===t.items.length&&(0,n.jsx)(o.Ct,{color:"gray",children:"Empty"}),t.items.map(e=>(0,n.jsxs)(o.Ct,{color:x.xq[e.type],children:[e.key,": ",e.value]},e.id))]})})]}))};t.default=()=>{let e=(0,v.k)(),{server:t}=e,{storagePresets:l}=(0,h.R)(e).context,s=(0,i.f_)(),c={cookie:(0,r._)({},s.cookie.client,s.cookie.server),localStorage:s.localStorage,sessionStorage:s.sessionStorage},j=(0,i.s0)(),k={cookie:d()(l).flatMap(e=>d().keys(e.cookie)).countBy().value(),localStorage:d()(l).flatMap(e=>d().keys(e.localStorage)).countBy().value(),sessionStorage:d()(l).flatMap(e=>d().keys(e.sessionStorage)).countBy().value()},y=l.map(e=>(0,a._)((0,r._)({},e),{items:d()((0,x.f)(e)).sortBy(e=>{var t;return null!==(t=k[e.type][e.key])&&void 0!==t?t:0}).reverse().value()})),C=async()=>{if(!t)return;let{id:l}=await t.remote.createTemporaryStoragePreset(),r=(0,g.YP)(t=>{let{storagePresets:a}=(0,f.CO)(t(e)).context;d().find(a,{id:l})&&(r(),j("/storage/preset/".concat(l)))})};return(0,n.jsxs)(o.kC,{width:"100%",pt:"4",className:p.Z.container,children:[(0,n.jsxs)(o.kC,{direction:"column",className:p.Z.sidePanel,children:[(0,n.jsxs)(m,{to:"/storage/preset",m:"2",align:"center",gap:"1",children:[(0,n.jsx)(o.xv,{size:"1",weight:"bold",children:"Current Storage"}),(0,n.jsx)(o.xv,{size:"1",color:"red",asChild:!0,children:(0,n.jsx)(u.XC2,{})})]}),(0,n.jsx)(o.xu,{mx:"2",className:p.Z.divider}),(0,n.jsxs)(o.kC,{p:"2",direction:"column",gap:"2",className:p.Z.scrollable,children:[y.map(e=>(0,n.jsx)(b,{to:"/storage/preset/".concat(e.id),preset:e,highlight:e.items.length>0&&d().isMatch(c,d().pick(e,["cookie","localStorage","sessionStorage"]))},e.id)),(0,n.jsx)(m,{justify:"center",align:"center",onClick:C,className:p.Z.btnCreatePreset,children:(0,n.jsx)(u.b9W,{})})]})]}),(0,n.jsx)(o.xu,{width:"0",flexGrow:"1",height:"100%",flexShrink:"1",pt:"2",children:(0,n.jsx)(i.j3,{})})]})}},46132:function(e,t,l){let r,a;l.d(t,{YP:function(){return n}});var s=l(81733);function n(e,t){let l=!0,a=new Set,n=new Map,i=()=>{l&&(l=!1,a.forEach(e=>e()),a.clear(),n.forEach(e=>e()),n.clear())},o=()=>{if(!l)return;a.forEach(e=>e()),a.clear();let i=new Set,c=r;r=a;try{let t=e(e=>(i.add(e),e));t&&a.add(t)}finally{r=c}n.forEach((e,t)=>{i.has(t)?i.delete(t):(n.delete(t),e())}),i.forEach(e=>{let l=(0,s.Ld)(e,o,null==t?void 0:t.sync);n.set(e,l)})};return r&&r.add(i),o(),i}Symbol();let i=new WeakMap,o=e=>"object"==typeof e&&null!==e}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["146"],{53640:function(e,r){r.Z={container:"container-ewltyx","side-panel":"side-panel-bdvL2J",sidePanel:"side-panel-bdvL2J","overflow-badge":"overflow-badge-jy83Ta",overflowBadge:"overflow-badge-jy83Ta","preview-badge-list":"preview-badge-list-gW0J6X",previewBadgeList:"preview-badge-list-gW0J6X","btn-create-preset":"btn-create-preset-hoeILU",btnCreatePreset:"btn-create-preset-hoeILU",divider:"divider-lbRk1F","text-ellipsis":"text-ellipsis-F0lpeD",textEllipsis:"text-ellipsis-F0lpeD",badge:"badge-V1CqD5",scrollable:"scrollable-HHlcgf"}},88640:function(e,r){r.Z=function(){for(var e,r,t=0,l="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){var t,l,i="";if("string"==typeof r||"number"==typeof r)i+=r;else if("object"==typeof r){if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(l=e(r[t]))&&(i&&(i+=" "),i+=l);else for(t in r)r[t]&&(i&&(i+=" "),i+=t)}return i}(e))&&(l&&(l+=" "),l+=r);return l}},9344:function(e,r,t){t.d(r,{Z:function(){return d},x:function(){return p}});var l=t(90247),i=t(55709),n=t(16170),s=t(86834),o=t(88640),a=t(99231),c=t(45428);let d=e=>{let{children:r,className:t,variant:d,clickable:p=!1,selected:g=!1,inset:u=!1}=e,x=(0,n._)(e,["children","className","variant","clickable","selected","inset"]);return(0,s.jsx)(a.xu,(0,i._)((0,l._)({},x),{"data-variant":null!=d?d:"","data-clickable":p,"data-selected":g,"data-inset":u,className:(0,o.Z)(c.Z.card,t),children:r}))},p=e=>(0,s.jsx)(a.kC,(0,l._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,r,t){t.d(r,{Z:function(){return l.Z},x:function(){return l.x}});var l=t(9344)},65459:function(e,r,t){t.r(r);var l=t(90247),i=t(55709),n=t(16170),s=t(86834),o=t(99231),a=t(52493),c=t.n(a),d=t(58654),p=t(53640),g=t(91310);let u=e=>{let{title:r,records:t,color:a}=e,c=(0,n._)(e,["title","records","color"]);return(0,s.jsx)(g.Z,(0,i._)((0,l._)({asChild:!0},c),{children:(0,s.jsxs)(o.kC,{direction:"column",gap:"2",children:[(0,s.jsx)(o.xv,{size:"1",weight:"bold",children:r}),(0,s.jsxs)(o.kC,{width:"100%",wrap:"wrap",align:"start",gap:"2",children:[0===t.length&&(0,s.jsx)(o.Ct,{color:"gray",children:"Empty"}),t.map(e=>(0,s.jsxs)(o.Ct,{color:a,className:p.Z.badge,children:[e.key,": ",e.value]},e.id))]})]})}))};r.default=()=>{let e=(0,d.f_)(),r=c().map(e.cookie.client,(e,r)=>({key:r,value:e,id:r})),t=c().map(e.cookie.server,(e,r)=>({key:r,value:e,id:r})),l=c().map(e.localStorage,(e,r)=>({key:r,value:e,id:r})),i=c().map(e.sessionStorage,(e,r)=>({key:r,value:e,id:r}));return(0,s.jsxs)(o.kC,{direction:"column",gap:"2",height:"100%",flexShrink:"1",children:[(0,s.jsx)(o.kC,{flexGrow:"0",px:"2",gap:"2",justify:"between",align:"center",width:"100%",children:(0,s.jsx)(o.xu,{flexShrink:"0",className:p.Z.textEllipsis,children:(0,s.jsx)(o.xv,{size:"1",weight:"bold",color:"gray",children:"Current Storage"})})}),(0,s.jsx)(o.xu,{flexGrow:"1",pb:"2",pr:"2",className:p.Z.scrollable,children:(0,s.jsxs)(o.kC,{direction:"column",gap:"2",children:[(0,s.jsx)(u,{title:"Cookie",records:r,color:"yellow"}),(0,s.jsx)(u,{title:"Cookie (HTTP Only)",records:t,color:"yellow"}),(0,s.jsx)(u,{title:"Local Storage",records:l,color:"green"}),(0,s.jsx)(u,{title:"Session Storage",records:i,color:"blue"})]})})]})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["146"],{43097:function(e,r){r.Z={container:"container-ewltyx","side-panel":"side-panel-bdvL2J",sidePanel:"side-panel-bdvL2J","overflow-badge":"overflow-badge-jy83Ta",overflowBadge:"overflow-badge-jy83Ta","preview-badge-list":"preview-badge-list-gW0J6X",previewBadgeList:"preview-badge-list-gW0J6X","btn-create-preset":"btn-create-preset-hoeILU",btnCreatePreset:"btn-create-preset-hoeILU",divider:"divider-lbRk1F","text-ellipsis":"text-ellipsis-F0lpeD",textEllipsis:"text-ellipsis-F0lpeD",badge:"badge-V1CqD5",scrollable:"scrollable-HHlcgf"}},88640:function(e,r){r.Z=function(){for(var e,r,t=0,l="";t<arguments.length;)(e=arguments[t++])&&(r=function e(r){var t,l,i="";if("string"==typeof r||"number"==typeof r)i+=r;else if("object"==typeof r){if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(l=e(r[t]))&&(i&&(i+=" "),i+=l);else for(t in r)r[t]&&(i&&(i+=" "),i+=t)}return i}(e))&&(l&&(l+=" "),l+=r);return l}},9344:function(e,r,t){t.d(r,{Z:function(){return d},x:function(){return p}});var l=t(90247),i=t(55709),n=t(16170),s=t(86834),o=t(88640),a=t(99231),c=t(61832);let d=e=>{let{children:r,className:t,variant:d,clickable:p=!1,selected:g=!1,inset:u=!1}=e,x=(0,n._)(e,["children","className","variant","clickable","selected","inset"]);return(0,s.jsx)(a.xu,(0,i._)((0,l._)({},x),{"data-variant":null!=d?d:"","data-clickable":p,"data-selected":g,"data-inset":u,className:(0,o.Z)(c.Z.card,t),children:r}))},p=e=>(0,s.jsx)(a.kC,(0,l._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,r,t){t.d(r,{Z:function(){return l.Z},x:function(){return l.x}});var l=t(9344)},65459:function(e,r,t){t.r(r);var l=t(90247),i=t(55709),n=t(16170),s=t(86834),o=t(99231),a=t(52493),c=t.n(a),d=t(58654),p=t(43097),g=t(91310);let u=e=>{let{title:r,records:t,color:a}=e,c=(0,n._)(e,["title","records","color"]);return(0,s.jsx)(g.Z,(0,i._)((0,l._)({asChild:!0},c),{children:(0,s.jsxs)(o.kC,{direction:"column",gap:"2",children:[(0,s.jsx)(o.xv,{size:"1",weight:"bold",children:r}),(0,s.jsxs)(o.kC,{width:"100%",wrap:"wrap",align:"start",gap:"2",children:[0===t.length&&(0,s.jsx)(o.Ct,{color:"gray",children:"Empty"}),t.map(e=>(0,s.jsxs)(o.Ct,{color:a,className:p.Z.badge,children:[e.key,": ",e.value]},e.id))]})]})}))};r.default=()=>{let e=(0,d.f_)(),r=c().map(e.cookie.client,(e,r)=>({key:r,value:e,id:r})),t=c().map(e.cookie.server,(e,r)=>({key:r,value:e,id:r})),l=c().map(e.localStorage,(e,r)=>({key:r,value:e,id:r})),i=c().map(e.sessionStorage,(e,r)=>({key:r,value:e,id:r}));return(0,s.jsxs)(o.kC,{direction:"column",gap:"2",height:"100%",flexShrink:"1",children:[(0,s.jsx)(o.kC,{flexGrow:"0",px:"2",gap:"2",justify:"between",align:"center",width:"100%",children:(0,s.jsx)(o.xu,{flexShrink:"0",className:p.Z.textEllipsis,children:(0,s.jsx)(o.xv,{size:"1",weight:"bold",color:"gray",children:"Current Storage"})})}),(0,s.jsx)(o.xu,{flexGrow:"1",pb:"2",pr:"2",className:p.Z.scrollable,children:(0,s.jsxs)(o.kC,{direction:"column",gap:"2",children:[(0,s.jsx)(u,{title:"Cookie",records:r,color:"yellow"}),(0,s.jsx)(u,{title:"Cookie (HTTP Only)",records:t,color:"yellow"}),(0,s.jsx)(u,{title:"Local Storage",records:l,color:"green"}),(0,s.jsx)(u,{title:"Session Storage",records:i,color:"blue"})]})})]})}}}]);
@@ -1 +1 @@
1
- (()=>{"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o||"object"==typeof r&&r&&(4&o&&r.__esModule||16&o&&"function"==typeof r.then))return r;var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(function(e){i[e]=function(){return r[e]}});return i.default=function(){return r},n.d(a,i),a}})(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,r){return n.f[r](e,t),t},[]))},n.u=function(e){return"static/js/async/"+(({127:"client_page",146:"client_storage/preset/page",158:"client_external/$",161:"client_overview/page",244:"client_storage/preset/(id)/page",288:"client_config/(toolkit).(type)/page",299:"client_react/(tab)/layout",361:"client_context/page",470:"client_storage/preset/layout",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",744:"client_external/layout",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",988:"client_overview/layout"})[e]||e)+"."+({127:"2565084c",146:"e1c4db6f",158:"df5499f5",161:"e7acf8dc",244:"154962d4",288:"3d5baedb",299:"bda655a6",361:"be7bb5ff",470:"29b58b12",483:"62695646",488:"328cec39",504:"dc4011c7",518:"d6c132de",631:"6a85b0e0",718:"86d7cc30",730:"ddbf0a83",744:"9d8d3bbe",752:"71d8db51",769:"9da82d5e",818:"c369fd05",851:"32405bb9",860:"72018b7e",883:"3a7782d0",925:"4a4dde71",943:"9d42d42a",945:"798c11ca",958:"639e2f59",963:"f0f8550b",988:"1dd8a005"})[e]+".js"},n.miniCssF=function(e){return"static/css/async/"+({146:"client_storage/preset/page",161:"client_overview/page",244:"client_storage/preset/(id)/page",470:"client_storage/preset/layout",488:"client_doctor/page",718:"client_pages/page",730:"client_headers/editor/page"})[e]+"."+({146:"d4eb2799",161:"a2667b2a",244:"79a266f3",470:"d4eb2799",488:"f1527f16",718:"1e9bbc9d",730:"47215f0e"})[e]+".css"},n.h=function(){return"8f67b97de8c782e2"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e={},t="modernjsDevtools:";n.l=function(r,o,a,i){if(e[r]){e[r].push(o);return}if(void 0!==a){for(var c,u,l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var d=l[f];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){c=d;break}}}!c&&(u=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+a),c.src=r),e[r]=[o];var s=function(t,n){c.onerror=c.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),u&&document.head.appendChild(c)}})(),n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},n.nc=void 0,(()=>{var e=[];n.O=function(t,r,o,a){if(r){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[r,o,a];return}for(var c=1/0,i=0;i<e.length;i++){for(var r=e[i][0],o=e[i][1],a=e[i][2],u=!0,l=0;l<r.length;l++)(!1&a||c>=a)&&Object.keys(n.O).every(function(e){return n.O[e](r[l])})?r.splice(l--,1):(u=!1,a<c&&(c=a));if(u){e.splice(i--,1);var f=o();void 0!==f&&(t=f)}}return t}})(),n.p="/__devtools/",(()=>{if("undefined"!=typeof document){var e=function(e,t,n,r,o){var a=document.createElement("link");return a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(n){if(a.onerror=a.onload=null,"load"===n.type)r();else{var i=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.href||t,u=Error("Loading CSS chunk "+e+" failed.\\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=i,u.request=c,a.parentNode&&a.parentNode.removeChild(a),o(u)}},a.href=t,n?n.parentNode.insertBefore(a,n.nextSibling):document.head.appendChild(a),a},t=function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=n[r],a=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(a===e||a===t))return o}for(var i=document.getElementsByTagName("style"),r=0;r<i.length;r++){var o=i[r],a=o.getAttribute("data-href");if(a===e||a===t)return o}},r={242:0};n.f.miniCss=function(o,a){if(r[o])a.push(r[o]);else if(0!==r[o]&&({730:1,488:1,244:1,718:1,161:1,470:1,146:1})[o]){var i;a.push(r[o]=(i=o,new Promise(function(r,o){var a=n.miniCssF(i),c=n.p+a;if(t(a,c))return r();e(i,c,null,r,o)})).then(function(){r[o]=0},function(e){throw delete r[o],e}))}}}})(),(()=>{var e={242:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o){if(o)r.push(o[2]);else if(242!=t){var a=new Promise(function(n,r){o=e[t]=[n,r]});r.push(o[2]=a);var i=n.p+n.u(t),c=Error();n.l(i,function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",c.name="ChunkLoadError",c.type=a,c.request=i,o[1](c)}},"chunk-"+t,t)}else e[t]=0}},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o=r[0],a=r[1],i=r[2],c,u,l=0;if(o.some(function(t){return 0!==e[t]})){for(c in a)n.o(a,c)&&(n.m[c]=a[c]);if(i)var f=i(n)}for(t&&t(r);l<o.length;l++)u=o[l],n.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return n.O(f)},r=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
1
+ (()=>{"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o||"object"==typeof r&&r&&(4&o&&r.__esModule||16&o&&"function"==typeof r.then))return r;var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(function(e){i[e]=function(){return r[e]}});return i.default=function(){return r},n.d(a,i),a}})(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,r){return n.f[r](e,t),t},[]))},n.u=function(e){return"static/js/async/"+(({127:"client_page",146:"client_storage/preset/page",158:"client_external/$",161:"client_overview/page",244:"client_storage/preset/(id)/page",288:"client_config/(toolkit).(type)/page",299:"client_react/(tab)/layout",361:"client_context/page",470:"client_storage/preset/layout",483:"client_react/(tab)/page",488:"client_doctor/page",504:"client_context/layout",587:"client_config/layout",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",744:"client_external/layout",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",988:"client_overview/layout"})[e]||e)+"."+({127:"2565084c",146:"fa223b1a",158:"df5499f5",161:"8cdd6473",244:"61899ba8",288:"afc8e58e",299:"bda655a6",361:"be7bb5ff",470:"cbc09989",483:"62695646",488:"375c9c91",504:"dc4011c7",587:"940bdfa0",631:"6a85b0e0",718:"07783134",730:"e44e7804",744:"9d8d3bbe",752:"71d8db51",769:"9da82d5e",818:"b4f8bc08",851:"32405bb9",860:"72018b7e",883:"3a7782d0",925:"4a4dde71",943:"9d42d42a",945:"798c11ca",958:"0dc5a1e9",963:"f0f8550b",988:"1dd8a005"})[e]+".js"},n.miniCssF=function(e){return"static/css/async/"+({146:"client_storage/preset/page",161:"client_overview/page",244:"client_storage/preset/(id)/page",470:"client_storage/preset/layout",488:"client_doctor/page",718:"client_pages/page",730:"client_headers/editor/page"})[e]+"."+({146:"d4eb2799",161:"a2667b2a",244:"79a266f3",470:"d4eb2799",488:"f1527f16",718:"1e9bbc9d",730:"47215f0e"})[e]+".css"},n.h=function(){return"0aebb67c8b054c9e"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e={},t="modernjsDevtools:";n.l=function(r,o,a,i){if(e[r]){e[r].push(o);return}if(void 0!==a){for(var c,u,l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var d=l[f];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){c=d;break}}}!c&&(u=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+a),c.src=r),e[r]=[o];var s=function(t,n){c.onerror=c.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),u&&document.head.appendChild(c)}})(),n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},n.nc=void 0,(()=>{var e=[];n.O=function(t,r,o,a){if(r){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[r,o,a];return}for(var c=1/0,i=0;i<e.length;i++){for(var r=e[i][0],o=e[i][1],a=e[i][2],u=!0,l=0;l<r.length;l++)(!1&a||c>=a)&&Object.keys(n.O).every(function(e){return n.O[e](r[l])})?r.splice(l--,1):(u=!1,a<c&&(c=a));if(u){e.splice(i--,1);var f=o();void 0!==f&&(t=f)}}return t}})(),n.p="/__devtools/",(()=>{if("undefined"!=typeof document){var e=function(e,t,n,r,o){var a=document.createElement("link");return a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(n){if(a.onerror=a.onload=null,"load"===n.type)r();else{var i=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.href||t,u=Error("Loading CSS chunk "+e+" failed.\\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=i,u.request=c,a.parentNode&&a.parentNode.removeChild(a),o(u)}},a.href=t,n?n.parentNode.insertBefore(a,n.nextSibling):document.head.appendChild(a),a},t=function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=n[r],a=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(a===e||a===t))return o}for(var i=document.getElementsByTagName("style"),r=0;r<i.length;r++){var o=i[r],a=o.getAttribute("data-href");if(a===e||a===t)return o}},r={242:0};n.f.miniCss=function(o,a){if(r[o])a.push(r[o]);else if(0!==r[o]&&({244:1,161:1,730:1,718:1,146:1,470:1,488:1})[o]){var i;a.push(r[o]=(i=o,new Promise(function(r,o){var a=n.miniCssF(i),c=n.p+a;if(t(a,c))return r();e(i,c,null,r,o)})).then(function(){r[o]=0},function(e){throw delete r[o],e}))}}}})(),(()=>{var e={242:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o){if(o)r.push(o[2]);else if(242!=t){var a=new Promise(function(n,r){o=e[t]=[n,r]});r.push(o[2]=a);var i=n.p+n.u(t),c=Error();n.l(i,function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",c.name="ChunkLoadError",c.type=a,c.request=i,o[1](c)}},"chunk-"+t,t)}else e[t]=0}},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o=r[0],a=r[1],i=r[2],c,u,l=0;if(o.some(function(t){return 0!==e[t]})){for(c in a)n.o(a,c)&&(n.m[c]=a[c]);if(i)var f=i(n)}for(t&&t(r);l<o.length;l++)u=o[l],n.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return n.O(f)},r=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["462"],{5241:function(n,t){t.Z={tooltip:"tooltip-i9AhnB"}},96179:function(n,t){t.Z={wrapper:"wrapper-YAIt0k",container:"container-bg0bRO",navigator:"navigator-O_AEE3",breadcrumbs:"breadcrumbs-LVvAXj","tab-button":"tab-button-MtqLNp",tabButton:"tab-button-MtqLNp","tab-button-inner":"tab-button-inner-KmlACp",tabButtonInner:"tab-button-inner-KmlACp","fading-mask":"fading-mask-fITbAW",fadingMask:"fading-mask-fITbAW","online-indicator":"online-indicator-E9Pryr",onlineIndicator:"online-indicator-E9Pryr"}},54309:function(n,t){t.Z={loading:"loading-gmTvLE"}},75819:function(){},58266:function(n,t,e){e.d(t,{Ux:function(){return w},ri:function(){return y}});var r,o=e(73839),i=e(64534),u=e(90247),a=e(16170),c=e(87317),l=e(86834),s=e(5872),f=e(13266),d=e.n(f),v=e(63415),p=e(24644),h=e(71641),m=e(13063),g=e(12017),x=function(n){return{loaderManager:(0,m.K)({}),runner:n,isBrowser:!0,routeManifest:"undefined"!=typeof window&&window[v.p9]}},y=function(n){var t=n.plugins,e=n.runtime,r=n.props,o=(0,h.fo)(t,{plugins:[]},e);return function(n){var t=function(t){return s.createElement(n||s.Fragment,n?(0,u._)({},t):null,n?t.children:s.Children.map(t.children,function(n){return s.isValidElement(n)?s.cloneElement(n,(0,u._)({},n.props,t)):n}))};return n&&d()(t,n),o.hoc({App:t,config:r||{}},{onLast:function(n){var t=n.App;return d()(function(n){var e=n.context,i=(0,a._)(n,["context"]),c=e;!(null==c?void 0:c.runner)&&(c=x(o),o.init({context:c},{onLast:function(n){var e,r=n.context;return null==t?void 0:null===(e=t.init)||void 0===e?void 0:e.call(t,r)}}));var s=(0,u._)({},i,r);return(0,l.jsx)(p.JO.Provider,{value:c,children:(0,l.jsx)(t,(0,u._)({},s))})},t)}})}};var w=(r=(0,o._)(function(n,t,e,r){var o,a,l,f,d,v,p,h,y,w,b,_,j,k,E,A,R,S,C;return(0,c.Jh)(this,function(c){switch(c.label){case 0:var O;if(o=n,l=x(a=(0,g.T)()),f=function(n){return a.init({context:n},{onLast:function(n){var t,e=n.context;return null==o?void 0:null===(t=o.init)||void 0===t?void 0:t.call(o,e)}})},!t)return[2,s.createElement(o,{context:l})];if(!("undefined"!=typeof window&&"nodejs"!==window.name))return[3,4];if(!("string"==typeof(O=t)||"undefined"!=typeof HTMLElement&&(0,i._)(O,HTMLElement)))return[3,2];return y=Object.keys(h=(null==(p=window._SSR_DATA)?void 0:null===(d=p.data)||void 0===d?void 0:d.loadersData)||{}).reduce(function(n,t){var e=h[t];return!1!==e.loading?n:(n[t]=e,n)},{}),Object.assign(l,(0,u._)({loaderManager:(0,m.K)(y,{skipStatic:!0})},p?{ssrContext:null==p?void 0:p.context}:{})),l.initialData=null==p?void 0:null===(v=p.data)||void 0===v?void 0:v.initialData,[4,f(l)];case 1:if((w=c.sent())&&(l.initialData=w),b="string"!=typeof t?t:document.getElementById(t||"root"),!r)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return _=function(n){if(e)e.render(n);else if(r.createRoot)r.createRoot(b).render(n);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method")},j=function(n,t){if(!r.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");r.hydrateRoot(b,n)},[2,a.client({App:o,context:l,ModernRender:_,ModernHydrate:j},{onLast:function(n){var t=n.App;_(s.createElement(t,{context:l}))}})];case 2:throw Error("`bootstrap` needs id in browser environment, it needs to be string or element");case 3:return[3,6];case 4:return Object.assign(l,{ssrContext:t,isBrowser:!1,loaderManager:(0,m.K)({},{skipNonStatic:t.staticGenerate,skipStatic:!t.staticGenerate})}),k=function(n){if("undefined"!=typeof Response&&(0,i._)(n,Response)&&n.status>=300&&n.status<=399){var t,e=n.status,r=n.headers.get("Location")||"/",o=l.ssrContext;return o&&(o.res&&(o.res.statusCode=e),null===(t=o.res)||void 0===t||t.setHeader("Location",r),o.redirection=o.redirection||{},o.redirection.status=e,o.redirection.url=r),!0}return!1},[4,f(l)];case 5:if(E=c.sent(),!k(E))return l.initialData=E,(null===(A=l.routerContext)||void 0===A?void 0:A.statusCode)&&(null===(R=l.routerContext)||void 0===R?void 0:R.statusCode)!==200&&(null===(C=l.ssrContext)||void 0===C||C.response.status(null===(S=l.routerContext)||void 0===S?void 0:S.statusCode)),[2,a.server({App:o,context:l})];c.label=6;case 6:return[2]}})}),function(n,t,e,o){return r.apply(this,arguments)})},24644:function(n,t,e){e.d(t,{JO:function(){return o}});var r=e(5872),o=(0,r.createContext)({});(0,r.createContext)({})},13063:function(n,t,e){e.d(t,{K:function(){return p}});var r,o,i=e(73839),u=e(64534),a=e(70749),c=e(44518),l=e(87317),s=e(24546),f=e.n(s),d=function(){var n=new Map;return function(t){var e=n.get(t);if(e)return e;var r=JSON.stringify(t);return f()(r,"params should be not null value"),n.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var v=function(n){var t,e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=0,f=r.data,d=r.error,v=!1,p=new Set;var h=(t=(0,i._)(function(){return(0,l.Jh)(this,function(n){return a||1===s?[2,e]:(s=1,g(),[2,e=o().then(function(n){f=n,d=null,s=2}).catch(function(n){d=n,f=null,s=3}).finally(function(){e=null,v=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!v&&1===s,reloading:v&&1===s,data:f,error:(0,u._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,c._)(p).forEach(function(n){n(s,m())})};return{get result(){return m()},get promise(){return e},onChange:function(n){return p.add(n),function(){p.delete(n)}},load:h}},p=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.skipStatic,o=void 0!==r&&r,c=e.skipNonStatic,s=void 0!==c&&c,f=new Map,p=d();return{hasPendingLoaders:function(){var n=!0,t=!1,e=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var i=r.value.promise;if((0,u._)(i,Promise))return!0}}catch(n){t=!0,e=n}finally{try{!n&&null!=o.return&&o.return()}finally{if(t)throw e}}return!1},awaitPendingLoaders:(t=(0,i._)(function(){var n,t,e,r,o,i,c,s,d,v;return(0,l.Jh)(this,function(l){switch(l.label){case 0:n=[],t=!0,e=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)s=(c=(0,a._)(i.value,2))[0],v=(d=c[1]).promise,(0,u._)(v,Promise)&&n.push([s,d])}catch(n){e=!0,r=n}finally{try{!t&&null!=o.return&&o.return()}finally{if(e)throw r}}return[4,Promise.all(n.map(function(n){return n[1].promise}))];case 1:return l.sent(),[2,n.reduce(function(n,t){var e=(0,a._)(t,2),r=e[0],o=e[1];return n[r]=o.result,n},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,e){var r=p(e.params),i=f.get(r),u=e._cache;if(!i||!1===u){var a=s&&!e.static,c=o&&e.static;i=v(r,void 0!==n[r]?n[r]:{data:e.initialData},t,a||c),f.set(r,i)}return r},get:function(n){return f.get(n)}}}},15271:function(n,t,e){e.d(t,{G:function(){return l}});var r=e(15413),o=(0,r.DJ)(),i=(0,r.DJ)(),u=(0,r.Jy)(),a=(0,r.DJ)(),c={hoc:u,init:a,client:o,server:i,pickContext:(0,r.Jy)()},l=(0,r.m_)(c)},71641:function(n,t,e){e.d(t,{fo:function(){return u}});var r=e(44518),o=e(15271),i=e(12017);function u(n,t,e){var u,a=(t||{}).plugins;(u=e||o.G).usePlugin.apply(u,(0,r._)(n).concat((0,r._)(void 0===a?[]:a)));var c=(e||o.G).init();return(0,i.q)(c),c}},12017:function(n,t,e){e.d(t,{T:function(){return u},q:function(){return i}});var r,o=e(15271);function i(n){r=n}function u(){if(r)return r;var n=o.G.init();return r=n,n}},47534:function(n,t,e){e.d(t,{M:function(){return o}});var r=e(86834),o=function(){return(0,r.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},21446:function(n,t,e){e.d(t,{Z:function(){return r}});function r(){return null}},85371:function(n,t,e){e.d(t,{OL:function(){return j},rU:function(){return _}});var r=e(73839),o=e(90247),i=e(16170),u=e(70749),a=e(87317),c=e(86834),l=e(5872),s=e(85852),f=e(58654),d=e(70934),v=e(24644);function p(n,t){return function(e){null==n||n(e),!e.defaultPrevented&&t(e)}}var h=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function m(){return(m=(0,r._)(function(n,t){var r,o;return(0,a.Jh)(this,function(i){switch(i.label){case 0:if(!(r=n.id)||!t[r]||!(o=t[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(n){return null===e.e||void 0===e.e?void 0:e.e(String(n))}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var g=function(n,t){var e=window.location,r=e.protocol,o=e.host,i=new URL(n,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",t),i.searchParams.append("__ssrDirect","true"),i},x=function(n,t,e){var r,o=n.id;return r=g("/"===e?t:"".concat(e).concat(t),o).toString(),(0,c.jsx)("link",{rel:"prefetch",as:"fetch",href:r},r)},y=function(n){var t=n.path,e=t.pathname,r=(0,l.useContext)(v.JO),o=r.routeManifest,i=r.routes,u=(o||{}).routeAssets,a=Array.isArray(i)?(0,s.fp)(i,e):[];return(Array.isArray(a)&&u&&(null==a||a.forEach(function(n){return function(n,t){return m.apply(this,arguments)}(n.route,u)})),window._SSR_DATA)?(0,c.jsx)(w,{matches:a,path:t,routeManifest:o}):null},w=function(n){var t=n.matches,e=n.path,r=n.routeManifest,o=e.pathname,i=e.search,u=e.hash,a=(0,f.SN)(),s=(0,f.oQ)("/"),d=(0,l.useMemo)(function(){return null==t?void 0:t.filter(function(n,t){if(!n.route.loader||"function"!=typeof n.route.loader||0===n.route.loader.length)return!1;if(n.route.shouldRevalidate){var e,r=new URL(location.pathname+location.search+location.hash,window.origin),c=new URL(o+i+u,window.origin),l=n.route.shouldRevalidate({currentUrl:r,currentParams:(null===(e=a[0])||void 0===e?void 0:e.params)||{},nextUrl:c,nextParams:n.params,defaultShouldRevalidate:!0});if("boolean"==typeof l)return l}var s=a[t];return!!(!s||s.id!==n.route.id||s.pathname!==n.pathname||s.pathname.endsWith("*")&&s.params["*"]!==n.params["*"])||!1}).map(function(n){return x(n.route,o,s)})},[t,o,r]);return(0,c.jsx)(c.Fragment,{children:d})},b=function(n){return l.forwardRef(function(t,r){var a,s,d,v,m,g,x,w,b,_,j,k,E,A,R,S=t.to,C=t.prefetch,O=(0,i._)(t,["to","prefetch"]),L="string"==typeof S&&h.test(S);var M=(0,u._)((a=void 0===C?"none":C,s=O,v=(d=(0,u._)(l.useState(!1),2))[0],m=d[1],x=(g=(0,u._)(l.useState(!1),2))[0],w=g[1],b=s.onFocus,_=s.onBlur,j=s.onMouseEnter,k=s.onMouseLeave,E=s.onTouchStart,l.useEffect(function(){"render"===a&&w(!0)},[a]),A=function(){"intent"===a&&m(!0)},R=function(){"intent"===a&&(m(!1),w(!1))},l.useEffect(function(){if(v){var n=setTimeout(function(){w(!0)},100);return function(){clearTimeout(n)}}},[v]),[x,{onFocus:p(b,A),onBlur:p(_,R),onMouseEnter:p(j,A),onMouseLeave:p(k,R),onTouchStart:p(E,A)}]),2),P=M[0],N=M[1],D=(0,f.WU)(S);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n,(0,o._)({ref:r,to:S},O,N)),P&&e.e&&!L?(0,c.jsx)(y,{path:D}):null]})})},_=b(d.rU);_.displayName="Link";var j=b(d.OL);j.displayName="NavLink"},68705:function(n,t,e){e.d(t,{P:function(){return r}});var r=(0,e(15413).Zz)()},90979:function(n,t,e){e.d(t,{OL:function(){return o.OL},OL:function(){return i.OL},ZP:function(){return u},rU:function(){return o.rU},rU:function(){return i.rU}});var r=e(29552),o=e(78771),i=e(85371),u=r.NA},29552:function(n,t,e){e.d(t,{NA:function(){return x}});var r=e(90247),o=e(55709),i=e(44518),u=e(86834),a=e(5872),c=e(58654),l=e(70934),s=e(13266),f=e.n(s),d=e(89736),v=e(24644),p=e(68705),h=e(78923),m={routes:[]},g=!0,x=function(n){var t=n.serverBase,e=void 0===t?[]:t,s=n.supportHtml5History,g=void 0===s||s,x=n.basename,y=void 0===x?"":x,w=n.originalBaseUrl,b=void 0===w?"":w,_=n.routesConfig,j=n.createRoutes,k=[];return m=_,window._SERVER_DATA=(0,d.$)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:p.P},setup:function(n){return{init:function(n,t){var e=n.context;return e.router={useMatches:c.SN,useLocation:c.TH,useHref:c.oQ},Object.defineProperty(e,"routes",{get:function(){return k}}),t({context:e})},hoc:function(t,s){var d,p=t.App,x=t.config;if(!m&&!j)return s({App:p,config:x});var w=(d=function(t){var u,s,f=b||(null===(s=window._SERVER_DATA)||void 0===s?void 0:s.router.baseUrl)||(u=location.pathname,e.find(function(n){return 0===u.search(n)})||"/"),d="/"===f?(0,h.e5)(f,y):f,p=window._ROUTER_DATA,x=(0,a.useContext)(v.JO),w=x.unstable_getBlockNavState;return(0,a.useMemo)(function(){(null==p?void 0:p.errors)&&(p=(0,o._)((0,r._)({},p),{errors:(0,h.SY)(p.errors)})),k=j?j():(0,c.i7)((0,h.Ho)({routesConfig:m,props:t})),k=n.useHookRunners().modifyRoutes(k);var e=g?(0,l.aj)(k,{basename:d,hydrationData:p}):(0,l.cP)(k,{basename:d,hydrationData:p}),u=e.subscribe;return e.subscribe=function(n){return u(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!(w&&w()))return n.apply(void 0,(0,i._)(e))})},Object.defineProperty(x,"remixRouter",{get:function(){return e},configurable:!0}),e},[m,t,d,p,w])},function(n){var t=d(n);return(0,u.jsx)(p,(0,o._)((0,r._)({},n),{children:(0,u.jsx)(l.pG,{router:t})}))});return(p&&(w=f()(w,p)),null==_?void 0:_.globalApp)?s({App:f()(w,_.globalApp),config:x}):s({App:w,config:x})},pickContext:function(n,t){var e=n.context,i=n.pickedContext,u=e.remixRouter;if(!u)return t({context:e,pickedContext:i});var a={navigate:u.navigate,get location(){return u.state.location}};return t({context:e,pickedContext:(0,o._)((0,r._)({},i),{router:a})})}}}}}},83366:function(n,t,e){e.d(t,{RC:function(){return o},UC:function(){return u},u3:function(){return i}});var r=e(63415),o=function(n){return function(t){var e,o,i=null===(o=window)||void 0===o?void 0:null===(e=o[r.u$])||void 0===e?void 0:e[n];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(t):t.defaultShouldRevalidate}},i=function(n,t){return"undefined"!=typeof document&&(window[r.u$][t]=n),n},u=function(n){return console.error(n),null}},78923:function(n,t,e){e.d(t,{Ho:function(){return d},SY:function(){return p},e5:function(){return v}});var r=e(90247),o=e(16170),i=e(70749),u=e(86834),a=e(58654),c=e(85852),l=e(8921),s=e(47534),f=e(21446);function d(n){var t=n.routesConfig,e=n.props,i=n.ssrMode,c=n.reporter;if(!t)return null;var d=t.routes,v=t.globalApp;return d?function(n,t){var e=t.globalApp,i=t.ssrMode,c=t.props,d=t.reporter,v=function(n){var t=n.Component,i=(0,o._)(n,["Component"]);return e?(0,u.jsx)(e,(0,r._)({Component:t},i)):(0,u.jsx)(t,(0,r._)({},i))},p=[],h=!0,m=!1,g=void 0;try{for(var x,y=n[Symbol.iterator]();!(h=(x=y.next()).done);h=!0){var w=x.value;if("nested"===w.type){var b=(0,l.F)(w,{DeferredDataComponent:"stream"===i?f.Z:void 0,props:c,reporter:d});p.push(b)}else{var _=(0,u.jsx)(a.AW,{path:w.path,element:(0,u.jsx)(v,{Component:w.component})},w.path);p.push(_)}}}catch(n){m=!0,g=n}finally{try{!h&&null!=y.return&&y.return()}finally{if(m)throw g}}return p.push((0,u.jsx)(a.AW,{path:"*",element:(0,u.jsx)(s.M,{})},"*")),p}(d,{globalApp:v,ssrMode:i,props:e,reporter:c}):null}var v=function(){for(var n=arguments.length,t=Array(n),e=0;e<n;e++)t[e]=arguments[e];var r=RegExp("".concat("/","{1,}"),"g");return function(n){var t=n;return t&&"string"==typeof t?(t.startsWith(".")&&(t=t.slice(1)),!t.startsWith("/")&&(t="/".concat(t)),t.endsWith("/")&&"/"!==t&&(t=t.slice(0,t.length-1)),t):t}(t.join("/").replace(r,"/"))};function p(n){if(!n)return null;var t=Object.entries(n),e={},r=!0,o=!1,u=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var s=(0,i._)(a.value,2),f=s[0],d=s[1];if(d&&"RouteErrorResponse"===d.__type)e[f]=new c.OF(d.status,d.statusText,d.data,!0===d.internal);else if(d&&"Error"===d.__type){var v=Error(d.message);v.stack=d.stack,e[f]=v}else e[f]=d}}catch(n){o=!0,u=n}finally{try{!r&&null!=l.return&&l.return()}finally{if(o)throw u}}return e}},15413:function(n,t,e){e.d(t,{DJ:function(){return d},Jy:function(){return f},Zz:function(){return h},m_:function(){return N}});var r=e(18360),o=e(90247),i=e(44518),u=e(55709),a=e(76492),c=function(n){var t=function(e,r){return n(e,r,function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return t(e+1,n)})};return{start:function(n){return t(0,n)},dispatch:t}},l=Symbol.for("MODERN_PIPELINE"),s=function(n){if("function"==typeof n)return n;if(n&&"function"==typeof n.middleware)return n.middleware;throw Error("".concat(n," is not a Middleware"))},f=function(){var n,t=[],e=function(n){return c(function(e,r,o){if(e>=t.length){if(n)return n(r);throw Error("Expect returning a value, but all middlewares just calling next()")}return t[e](r,o)})},o=e(),u=function(n,t){var r;return((r=t)?e(null==r?void 0:r.onLast):o).start(n)},a=(n={},(0,r._)(n,l,!0),(0,r._)(n,"use",function(){for(var n=arguments.length,e=Array(n),r=0;r<n;r++)e[r]=arguments[r];return t.push.apply(t,(0,i._)(e.map(s))),a}),(0,r._)(n,"run",u),(0,r._)(n,"middleware",function(n,t){return u(n,{onLast:t})}),n);return a},d=function(){var n=f();return(0,o._)({},n)},v=Symbol.for("MODERN_WATERFALL"),p=function(n){if("function"==typeof n)return n;if(n&&"function"==typeof n.middleware)return n.middleware;throw Error("".concat(n," is not a Brook or { brook: Brook }"))},h=function(){var n=f(),t=(0,u._)((0,o._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return n.use.apply(n,(0,i._)(r.map(p).map(m))),t},run:function(t,e){return n.run(t,(0,u._)((0,o._)({},e),{onLast:function(n){return n}}))},middleware:function(t){return n.run(t,{onLast:function(n){return n}})}},v,!0));return t},m=function(n){return function(t,e){return e(n(t))}},g=Symbol.for("MODERN_ASYNC_WATERFALL"),x=function(n){if("function"==typeof n)return n;if(n&&"function"==typeof n.middleware)return n.middleware;throw Error("".concat(n," is not a AsyncBrook or { brook: AsyncBrook }"))},y=function(){var n=d(),t=(0,u._)((0,o._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return n.use.apply(n,(0,i._)(r.map(x).map(w))),t},run:function(t,e){return n.run(t,(0,u._)((0,o._)({},e),{onLast:function(n){return n}}))},middleware:function(t){return n.run(t,{onLast:function(n){return n}})}},g,!0));return t},w=function(n){return function(t,e){return Promise.resolve(n(t)).then(function(n){return e(n)})}},b=Symbol.for("MODERN_WORKFLOW"),_=function(){var n=f(),t=(0,u._)((0,o._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return n.use.apply(n,(0,i._)(r.map(j))),t},run:function(t){return n.run(t,{onLast:function(){return[]}}).filter(Boolean)}},b,!0));return t},j=function(n){return function(t,e){return[n(t)].concat((0,i._)(e(t)))}},k=Symbol.for("MODERN_PARALLEL_WORKFLOW"),E=function(){var n=f(),t=(0,u._)((0,o._)({},n),(0,r._)({run:function(t){return Promise.all(n.run(t,{onLast:function(){return[]}})).then(function(n){return n.filter(Boolean)})},use:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return n.use.apply(n,(0,i._)(r.map(A))),t}},k,!0));return t},A=function(n){return function(t,e){return[n(t)].concat((0,i._)(e(t)))}},R=Symbol.for("MODERN_ASYNC_WORKFLOW"),S=function(){var n=d(),t=(0,u._)((0,o._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o];return n.use.apply(n,(0,i._)(r.map(C))),t},run:function(t){var e,r=n.run(t,{onLast:function(){return[]}});return(e=r)&&"function"==typeof e.then?r.then(function(n){return n.filter(Boolean)}):r.filter(Boolean)}},R,!0));return t},C=function(n){return function(t,e){return Promise.resolve(n(t)).then(function(n){return Promise.resolve(e(t)).then(function(t){return[n].concat((0,i._)(t))})})}},O=function(n){},L=function(n){return null!==n&&"object"==typeof n},M="SYNC_PLUGIN_SYMBOL",P={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},N=function(n,t){var e,r=0,i=(0,o._)({},n),c=function(){return e},l=function(n){i=(0,o._)({},n,i)},s=function(n){var t,e;return L(n)&&(t=n,e=M,t.hasOwnProperty(e))&&n[M]===M},f=(0,u._)((0,o._)({},t),{useHookRunners:c}),d=function(n){var t=[],v=function(n){var e,r;if(e=t,r=n,!e.some(function(n){return n.name===r.name}))t.push((0,o._)({},n))},p=function(){for(var n=arguments.length,t=Array(n),e=0;e<n;e++)t[e]=arguments[e];return t.forEach(function(n){if(s(n))v(n);else if("function"==typeof n){var t=n();v(h(t.setup,t))}else L(n)&&v(h(n.setup,n))}),m},h=function(){var n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===(n=e.usePlugins)||void 0===n?void 0:n.length)&&e.usePlugins.forEach(function(n){p(h(n.setup,n))}),e.registerHook&&l(e.registerHook),(0,u._)((0,o._)((0,u._)((0,o._)({},P),{name:"No.".concat(r++," plugin")}),e),{SYNC_PLUGIN_SYMBOL:M,setup:t})},m={createPlugin:h,isPlugin:s,usePlugin:p,init:function(){var r,u=(r=t,(0,a.v)(r.slice())),c=(0,o._)({},f,n);return O(u),e=D(u.map(function(n){return n.setup(c)}),i)},clear:function(){t=[]},run:function(n){return n()},registerHook:l,useRunner:c,clone:d};return m};return d()},D=function(n,t){var e={},r=B(t);if(t){var i=function(t){n.forEach(function(n){(null==n?void 0:n[t])&&r[t].use(n[t])}),e[t]=function(n,e){return r[t].run(n,(0,o._)({},e))}};for(var u in r)i(u)}return e},T=function(n){var t,e,r,o,i,u;if(null==(t=n)?void 0:t[v])return h();if(null==(e=n)?void 0:e[g])return y();if(null==(r=n)?void 0:r[b])return _();if(null==(o=n)?void 0:o[R])return S();if(null==(i=n)?void 0:i[k])return E();if(null==(u=n)?void 0:u[l])return f();throw Error("Unknown hook: ".concat(n))},B=function(n){if(!n)return n;var t={};for(var e in n)t[e]=T(n[e]);return t}},8921:function(n,t,e){e.d(t,{F:function(){return d}});var r=e(73839),o=e(90247),i=e(55709),u=e(87317),a=e(86834),c=e(5872),l=e(58654),s=e(63415),f=e(67791),d=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=n.children,h=n.index,m=n.id,g=n.component,x=n.isRoot,y=n.lazyImport,w=n.config,b=n.handle,_=e.parent,j=e.props,k=e.reporter,E={caseSensitive:n.caseSensitive,path:n.path,id:n.id,loader:function(n,t){var e,o=n.loader;if(!o)return function(){return"function"==typeof n.lazyImport&&n.lazyImport(),null};return e=(0,r._)(function(e){var r,i,a;return(0,u.Jh)(this,function(u){switch(u.label){case 0:return"function"==typeof n.lazyImport&&n.lazyImport(),r=(0,f.X)(),[4,o(e)];case 1:return i=u.sent(),a=r(),"undefined"==typeof document&&t&&(null==t||t.reportTiming("".concat(s.m5,"-").concat(n.id),a)),[2,i]}})}),function(n){return e.apply(this,arguments)}}(n,k),action:n.action,hasErrorBoundary:n.hasErrorBoundary,shouldRevalidate:n.shouldRevalidate,handle:(0,o._)({},b,"object"==typeof w?null==w?void 0:w.handle:{}),index:n.index,element:n.element,errorElement:n.errorElement};if(n.error){var A=(0,a.jsx)(n.error,{});E.errorElement=A}if(g){if((null==_?void 0:_.loading)&&y){var R=_.loading;t=v(g)?(0,a.jsx)(g,{fallback:(0,a.jsx)(R,{})}):(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(R,{}),children:(0,a.jsx)(g,{})})}else t=v(g)&&y?(0,a.jsx)(g,{}):x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(g,(0,o._)({},void 0===j?{}:j))}):y?(0,a.jsx)(c.Suspense,{fallback:null,children:(0,a.jsx)(g,{})}):(0,a.jsx)(g,{})}else n.loading=null==_?void 0:_.loading,E.element=(0,a.jsx)(l.j3,{});t&&(E.element=t);var S=null==p?void 0:p.map(function(t){return d(t,{parent:n,reporter:k})});return h?(0,a.jsx)(l.AW,(0,i._)((0,o._)({},E),{index:!0}),m):(0,a.jsx)(l.AW,(0,i._)((0,o._)({},E),{index:!1,children:S}),m)};function v(n){return n&&"Loadable"===n.displayName&&n.preload&&"function"==typeof n.preload}},89736:function(n,t,e){e.d(t,{$:function(){return r}});var r=function(n){var t=document.querySelectorAll("#".concat(n));if(0!==t.length){var e=t[t.length-1];if(e)try{return JSON.parse((null==e?void 0:e.textContent)||"")}catch(t){console.error("parse ".concat(n," error"),t)}}}},78771:function(n,t,e){e.d(t,{OL:function(){return r.OL},rU:function(){return r.rU}});var r=e(70934)},67791:function(n,t,e){e.d(t,{X:function(){return u}});var r=e(70749);function o(n){var t=.001*new Date().getTime(),e=Math.floor(t),r=Math.floor(t%1*1e9);return n&&(e-=n[0],(r-=n[1])<0&&(e--,r+=1e9)),[e,r]}var i=function(n){var t=(0,r._)(o(n),2);return 1e3*t[0]+t[1]/1e6},u=function(){var n=o();return function(){return i(n)}}},63415:function(n,t,e){e.d(t,{m5:function(){return i},p9:function(){return r},u$:function(){return o}});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},76492:function(n,t,e){e.d(t,{v:function(){return r}});var r=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"pre",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"post",o=function(e){var r=n.find(function(n){return"string"==typeof e?n[t]===e:n[t]===e[t]});if(!r)throw Error("plugin ".concat(e," not existed"));return r},i=[];n.forEach(function(u){var a,c;null===(a=u[e])||void 0===a||a.forEach(function(e){n.find(function(n){return n.name===e})&&i.push([o(e)[t],o(u)[t]])}),null===(c=u[r])||void 0===c||c.forEach(function(e){n.find(function(n){return n.name===e})&&i.push([o(u)[t],o(e)[t]])})});for(var u=n.filter(function(n){return!i.find(function(e){return e[1]===n[t]})}),a=[];u.length;)!function(){var e=u.shift();a.push(o(e)),i=i.filter(function(n){return n[0]!==o(e)[t]}),u=n.filter(function(n){return!a.find(function(e){return e[t]===n[t]})}).filter(function(n){return!i.find(function(e){return e[1]===n[t]})})}();if(i.length){var c={};throw i.forEach(function(n){c[n[0]]=!0,c[n[1]]=!0}),Error("plugins dependencies has loop: ".concat(Object.keys(c).join(",")))}return a}},94705:function(n,t,e){e.d(t,{O:function(){return p}});var r=e(90247),o=e(55709),i=e(86834);e(5872);var u=e(52493),a=e.n(u),c=e(99231),l=e(60441),s=e(58654),f=e(99593),d=e(1390);let v=n=>{let{location:t,handle:e}=n;if(!a().isObject(e)&&a().isNil(e))return[];let{breadcrumb:r}=e,o=[];a().isFunction(r)?o.push(...a().castArray(r({location:t}))):o.push(...a().castArray(r));let i=[];for(let t of o){if(!a().isObject(t)||a().isNull(t)||!("title"in t))continue;let e={id:n.id,title:t.title,pathname:n.pathname};"pathname"in t&&a().isString(t.pathname)&&(e.pathname=t.pathname),i.push(e)}return i},p=n=>{let t=[],e=(0,s.SN)(),u=(0,s.TH)(),a=[];for(let n of e)a.push(...v((0,o._)((0,r._)({},n),{location:u})));for(let[n,e]of(u.state&&"breadcrumb"in u.state&&a.push(...v({handle:u.state.breadcrumb,pathname:u.pathname,id:"external/".concat(u.pathname),location:u})),Object.entries(a))){let r=[e.id,e.pathname,n];t.push((0,i.jsx)(d.r,{color:"gray",size:"2",to:e.pathname,children:e.title},r.join("_"))),e!==a.at(-1)&&(r.push("#connector"),t.push((0,i.jsx)(l.XCv,{className:f.Z.connector},r.join("_"))))}return(0,i.jsx)(c.kC,(0,o._)((0,r._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},n),{children:t}))}},22962:function(n,t,e){e.d(t,{f:function(){return a}});var r=e(5872),o=e(58654),i=e(15112);let u="";i.T.then(n=>{let{mountPoint:t}=n;t.hooks.hookOnce("pullUp",async n=>{u=n})});let a=()=>{let n=(0,o.s0)(),{mountPoint:t}=(0,i.k)();return(0,r.useEffect)(()=>{u&&n(u),t.hooks.hook("pullUp",async t=>{n(t)})},[]),null}},26678:function(n,t,e){e.d(t,{M:function(){return c}});var r=e(86834),o=e(5872),i=e(58654),u=e(99231);let a=n=>{let{error:t}=n,e=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(u.xu,{p:"4",children:[(0,r.jsx)(u.X6,{as:"h4",mb:"4",children:(0,r.jsx)(u.xv,{as:"span",children:e})}),(0,r.jsx)(u.Kx,{disabled:!0,style:{height:"50vh"},value:o})]})},c=()=>{let n=(0,i.lk)();return(0,o.useEffect)(()=>{console.error(n)},[n]),(0,r.jsx)(a,{resetErrorBoundary:()=>null,error:n})}},55368:function(n,t,e){e.d(t,{O:function(){return a}});var r=e(86834);e(5872);var o=e(99231),i=e(29214),u=e(22808);let a=n=>{let{title:t,children:e}=n;return(0,r.jsxs)(o.kC,{className:u.Z.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(o.kC,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(i.fd$,{size:"36"})}),(0,r.jsxs)(o.xu,{children:[(0,r.jsx)(o.kC,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(o.X6,{children:t})}),(0,r.jsx)(o.xu,{className:u.Z.children,children:e})]})]})}},1390:function(n,t,e){e.d(t,{r:function(){return l}});var r=e(90247),o=e(55709),i=e(16170),u=e(86834),a=e(90979),c=e(99231);let l=n=>{var{to:t,children:e}=n,l=(0,i._)(n,["to","children"]);return(0,u.jsx)(c.rU,(0,o._)((0,r._)({},l),{asChild:!0,children:(0,u.jsx)(a.rU,{to:t,children:e})}))}},41294:function(n,t,e){e.d(t,{l:function(){return a}});var r=e(86834);e(5872);var o=e(99231),i=e(58654),u=e(85852);let a=n=>{let{items:t}=n,e=(0,i.s0)(),a=(0,i.TH)(),c=t.find(n=>(0,u.LX)(n.to,a.pathname));return(0,r.jsxs)(o.Ph.fC,{size:"1",value:null==c?void 0:c.to,onValueChange:e,children:[(0,r.jsx)(o.Ph.xz,{}),(0,r.jsx)(o.Ph.VY,{position:"popper",children:t.map(n=>{let{title:t,to:e}=n;return(0,r.jsx)(o.Ph.ck,{value:e,children:t},e)})})]})}},54882:function(n,t,e){e.d(t,{Q:function(){return s}});var r=e(90247),o=e(55709),i=e(16170),u=e(86834),a=e(5872),c=e(99231),l=e(97137);let s=n=>{var{children:t}=n,e=(0,i._)(n,["children"]);let[s]=(0,l.U)();return(0,a.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(s)},[s]),(0,u.jsx)(c.Q2,(0,o._)((0,r._)({},e),{appearance:s,children:t}))}},15112:function(n,t,e){e.d(t,{T:function(){return b},k:function(){return _}});var r=e(90247),o=e(55709),i=e(86834),u=e(10487),a=e(88739),c=e(65872),l=e(52493),s=e.n(l),f=e(29214),d=e(54201),v=e(55058),p=e(81733),h=e(66499),m=e(77632);let g=async()=>{let n=await u.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,c.Hu)();return{remote:(0,a.Fu)({async pullUp(n){await t.callHook("pullUp",n)}},(0,o._)((0,r._)({},n.handlers),{timeout:8e3})),hooks:t}},x=async n=>{let t=await fetch(n);return JSON.parse(await t.text(),(0,u.reviver)())},y=async(n,t)=>{let e=new URL(n,location.href),i=new window.WebSocket(e),l=await u.WebSocketChannel.link(i),s=(0,c.Hu)(),f=(0,a.Fu)({async refresh(){location.reload()},async applyStateOperations(n){for(let e of n)(0,u.applyOperation)(t,e)}},(0,o._)((0,r._)({},l.handlers),{timeout:5e3}));return{remote:f,hooks:s,url:e}},w=async()=>{let n=m.eg.use(),t=(0,p.sj)([{name:"overview",title:"Overview",icon:(0,i.jsx)(f.VRM,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,i.jsx)(f.pZq,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,i.jsx)(f.OiH,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,i.jsx)(d.Ueg,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,i.jsx)(f.sin,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,i.jsx)(f.KBe,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,i.jsx)(d.BwS,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,i.jsx)(f.RMk,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let e of(await n.callHook("tab:list",t),t))"object"==typeof e.icon&&(e.icon=(0,p.iH)(e.icon)),"external"===e.view.type&&(e.view.component=(0,p.iH)(e.view.component));return t},b=(async n=>{var t;let e=(0,v.mB)(n),i=null!==(t=s().castArray(e.src)[0])&&void 0!==t?t:(0,v.As)(n,"manifest"),u=g(),a=x(i),c=a.then(n=>n.websocket?y(n.websocket,(0,p.sj)(n)):null),l=a.then(n=>{let t=n.context.def.plugins;return(0,m.rh)(t)}).then(w),[f,d,h,b]=await Promise.all([u,a,c,l]);return(0,p.sj)((0,o._)((0,r._)({},d),{version:"2.54.4",tabs:b,server:h?(0,p.iH)(h):null,mountPoint:(0,p.iH)(f)}))})(location.href),_=()=>(0,h.D$)(b)},65507:function(n,t,e){var r=e(85852);t.Z=n=>{let{params:t}=n;if(!t.toolkit||!t.type)return(0,r.uX)("/404");if(!["framework","builder","bundler"].includes(t.toolkit))return(0,r.uX)("/404");if(!["resolved","transformed"].includes(t.type))return(0,r.uX)("/404");else return null}},6032:function(n,t,e){var r=e(26678);t.Z=r.M},39631:function(n,t,e){e.r(t),e.d(t,{handle:function(){return d}});var r=e(86834);e(5872);var o=e(99231),i=e(58654),u=e(52493),a=e.n(u),c=e(5241);let l=n=>{let{name:t,describe:e}=n,i=e.map(n=>(0,r.jsx)(o.xv,{style:{display:"block"},children:n},n));return(0,r.jsx)(o.u,{className:c.Z.tooltip,side:"right",content:i,children:(0,r.jsx)(o.Ph.ck,{value:t,children:(0,r.jsx)(o.xu,{children:a().startCase(t)})})},t)},s=[{name:"framework",describe:["Framework config is a superset of Builder config, ","extending it with additional configurations that ","include server-side capabilities and so on."]},{name:"builder",describe:["Builder provides wrapped building capabilities for scheduling Bundler, ","as well as other plugins and tools."]},{name:"bundler",describe:["Bundler is typically a low-level build tool like webpack or Rspack, ","and their configuration options differ significantly from higher-level tools."]}],f=[{name:"resolved",describe:["The configuration content passed by the user or superior tools,","usually exposed to the plugin API for modification."]},{name:"transformed",describe:["The modified and frozen configuration objects,","typically exposed to the plugin API for consumption."]}],d={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let n=(0,i.TH)(),t=(0,i.s0)(),[e,u]=n.pathname.split("/").slice(2);return(0,r.jsxs)(o.Ph.fC,{size:"1",value:e,onValueChange:n=>{t("/config/".concat(n,"/").concat(u))},children:[(0,r.jsx)(o.Ph.xz,{children:e}),(0,r.jsx)(o.Ph.VY,{children:s.map(n=>{let{name:t,describe:e}=n;return(0,r.jsx)(l,{name:t,describe:e},t)})})]})},{})},{title:(0,r.jsx)(()=>{let n=(0,i.TH)(),t=(0,i.s0)(),[e,u]=n.pathname.split("/").slice(2);return(0,r.jsxs)(o.Ph.fC,{size:"1",value:u,onValueChange:n=>{t("/config/".concat(e,"/").concat(n))},children:[(0,r.jsx)(o.Ph.xz,{children:u}),(0,r.jsx)(o.Ph.VY,{children:f.map(n=>{let{name:t,describe:e}=n;return(0,r.jsx)(l,{name:t,describe:e},t)})})]})},{})}]}},41434:function(n,t,e){var r=e(85852),o=e(55058);t.Z=n=>{let{request:t}=n,e=(0,o.As)(t.url,"./builder/transformed");return(0,r.uX)(e)}},85512:function(n,t,e){var r=e(26678);t.Z=r.M},12323:function(n,t,e){e.r(t),e.d(t,{handle:function(){return i}});var r=e(86834),o=e(41294);let i={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.l,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},45614:function(n,t,e){var r=e(85852),o=e(55058);t.Z=n=>{let{request:t}=n,e=(0,o.As)(t.url,"./builder");return(0,r.uX)(e)}},10258:function(n,t,e){var r=e(86834),o=e(58654),i=e(99231),u=e(55058),a=e(79197),c=e(15112),l=e(26678),s=e(55368);t.Z=()=>{let n=(0,o.lk)(),t=(0,c.k)(),{def:e}=(0,a.R)(t).context;if(!(n&&"object"==typeof n&&0===Object.keys(n).length))return(0,r.jsx)(l.M,{});{let n=(0,u.Lk)(e.doctor.quickStart).host,t=(0,r.jsxs)(i.rU,{href:e.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",n]});return(0,r.jsx)(i.xu,{width:"100%",children:(0,r.jsxs)(s.O,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},58326:function(n,t,e){e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Doctor"}}},56089:function(n,t,e){var r=e(26678);t.Z=r.M},65825:function(n,t,e){e.r(t),e.d(t,{handle:function(){return a}});var r=e(52493),o=e.n(r),i=e(15112),u=e(66499);let a={breadcrumb(n){var t;let e;let{pathname:r}=n.location,a=null===(t=r.match(/^\/external\/(\w+)/))||void 0===t?void 0:t[1],{tabs:c}=(0,u.D$)(i.T),l=o().find(c,{name:a});return l?{title:e}=l:e=a?o().startCase(a):"External",{title:e,pathname:r}}}},82557:function(n,t,e){var r=e(26678);t.Z=r.M},65451:function(n,t,e){e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Header Modifier"}}},47716:function(n,t,e){e.d(t,{_:function(){return i}});var r=e(85852),o=e(96575);let i=async()=>{let n=await o.ok.service;return(0,r.uX)(n.rules?"./editor":"./welcome")}},96575:function(n,t,e){e.d(t,{gM:function(){return u},m:function(){return a},ok:function(){return l}});var r=e(81733),o=e(52493),i=e.n(o);let u=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(n)),e="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(e);return await navigator.serviceWorker.ready,l.service=await c(),r},a=async()=>{let n=await navigator.serviceWorker.getRegistrations(),t=!0;for(let e of n)t=t&&await e.unregister();return l.service=Promise.resolve({}),t},c=async()=>{for(let n of i().times(3))try{let n=AbortSignal.timeout(300),t=await fetch("/__devtools/service/status",{signal:n});return await t.json()}catch(n){}return{}},l=(0,r.sj)({service:c()})},1920:function(n,t,e){e.r(t),e.d(t,{handle:function(){return i}});var r=e(86834),o=e(29214);let i={breadcrumb:{title:(0,r.jsx)(o.Zn9,{}),pathname:"/overview"}}},21719:function(n,t,e){e.r(t);var r=e(86834);e(75819);var o=e(5872),i=e(4537),u=e(90979),a=e(58654),c=e(99231),l=e(29214),s=e(79197),f=e(96179),d=e(15112),v=e(54882),p=e(94705),h=e(22962),m=e(97137);let g=n=>{let{tab:t}=n,e="";if("builtin"===t.view.type)e=t.view.src;else if("iframe"===t.view.type)e="/iframe/".concat(t.view.src);else if("external"===t.view.type)e="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,o.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(c.u,{content:t.title,side:"right",children:(0,r.jsx)(u.OL,{to:e,className:f.Z.tabButton,children:(0,r.jsx)(c.kC,{justify:"center",align:"center",p:"1",className:f.Z.tabButtonInner,children:(0,r.jsx)(c.xu,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:t.icon})})})})},x=()=>{let{server:n}=(0,s.R)((0,d.k)());return(0,r.jsx)(c.u,{content:n?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(c.xu,{className:f.Z.tabButton,children:(0,r.jsxs)(c.xu,{p:"1",position:"relative",className:f.Z.tabButtonInner,children:[(0,r.jsx)(c.xu,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(l.Qa9,{})}),(0,r.jsx)(c.xu,{className:f.Z.onlineIndicator,"data-active":!!n})]})})})},y=()=>{let[n,t]=(0,m.U)();return(0,r.jsx)(c.u,{content:"Appearance",side:"right",children:(0,r.jsx)(c.xu,{className:f.Z.tabButton,onClick:()=>{t("light"===n?"dark":"light")},children:(0,r.jsx)(c.kC,{justify:"center",align:"center",p:"1",className:f.Z.tabButtonInner,children:(0,r.jsx)(c.xu,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===n?(0,r.jsx)(l.Fxr,{}):(0,r.jsx)(l.YGJ,{})})})})})},w=()=>{let{tabs:n}=(0,s.R)((0,d.k)());return(0,r.jsxs)(c.kC,{direction:"column",flexShrink:"0",className:f.Z.navigator,children:[n.map(n=>(0,r.jsx)(g,{tab:n},n.name)),(0,r.jsx)(c.xu,{flexGrow:"1"}),(0,r.jsx)(x,{}),(0,r.jsx)(y,{})]})};t.default=()=>(0,r.jsx)(v.Q,{className:f.Z.wrapper,accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(i.zt,{swipeDirection:"up",children:[(0,r.jsx)(w,{}),(0,r.jsxs)(c.xu,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(c.xu,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(a.j3,{})}),(0,r.jsx)(p.O,{className:f.Z.breadcrumbs,height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(h.f,{})]})})},60720:function(n,t,e){var r=e(86834),o=e(62809),i=e(54309),u=e(15112),a=e(80936);t.Z=()=>{let{mountPoint:n}=(0,u.k)();return(0,o.Z)(async()=>{n.remote.onFinishRender()}),(0,r.jsx)(a.g,{className:i.Z.loading})}},79273:function(n,t,e){var r=e(26678);t.Z=r.M},34025:function(n,t,e){e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Overview"}}},83881:function(n,t,e){e.d(t,{_:function(){return i}});var r=e(85852),o=e(55058);let i=n=>{let{request:t}=n,e=(0,o.As)(t.url,"./overview");return(0,r.uX)(e)}},90545:function(n,t,e){var r=e(26678);t.Z=r.M},42509:function(n,t,e){e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Pages"}}},47152:function(n,t,e){e.r(t),e.d(t,{handle:function(){return i}});var r=e(86834),o=e(41294);let i={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.l,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},87010:function(n,t,e){var r=e(26678);t.Z=r.M},21690:function(n,t,e){var r=e(85852),o=e(55058);t.Z=n=>{let{request:t}=n,e=(0,o.As)(t.url,"./components");return(0,r.uX)(e)}},86318:function(n,t,e){e.d(t,{_:function(){return a}});var r=e(85852),o=e(52493),i=e.n(o),u=e(15112);let a=async n=>{let{params:t}=n,{id:e}=t;if(!e)throw TypeError("storage preset id is required");let{context:o}=await u.T,{storagePresets:a}=await Promise.resolve(o),c=i().find(a,{id:e});return c?c:(0,r.uX)("/storage/preset")}},26823:function(n,t,e){e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},62739:function(n,t,e){e.d(t,{_:function(){return o},a:function(){return i}});var r=e(33049);let o=async n=>await (0,r.l5)(),i=()=>null},34772:function(n,t,e){e.d(t,{_:function(){return o}});var r=e(33049);let o=async n=>await (0,r.l5)()},33049:function(n,t,e){e.d(t,{SR:function(){return c},dR:function(){return u},f:function(){return l},l5:function(){return s},xq:function(){return a}});var r=e(52493),o=e.n(r),i=e(15112);let u=["cookie","localStorage","sessionStorage"],a={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},c=(n,t)=>o().map(n[t],(e,r)=>{let o=[n.id,t,r].join("//");return{key:r,value:e,type:t,id:o}}),l=n=>{let t=[];for(let e of u)t.push(...c(n,e));return t},s=async n=>{let{mountPoint:t}=await i.T,[e,r,o]=await Promise.all([t.remote.cookies(null==n?void 0:n.cookie),t.remote.localStorage(null==n?void 0:n.localStorage),t.remote.sessionStorage(null==n?void 0:n.sessionStorage)]);return{cookie:e,localStorage:r,sessionStorage:o}}},48168:function(n,t,e){e(86834),e(5872)},87757:function(n,t,e){e.d(t,{D$:function(){return o}}),e(52493),e(5872);let r=new WeakMap,o=n=>{if(!(n instanceof Promise))return n;if(r.has(n)){let t=r.get(n);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;else throw t}throw r.set(n,n),n.then(t=>r.set(n,t)).catch(t=>r.set(n,t)),n}},66499:function(n,t,e){e.d(t,{D$:function(){return r.D$}}),e(48168);var r=e(87757)},77632:function(n,t,e){e.d(t,{eg:function(){return i},rh:function(){return u}});var r=e(10487),o=e(65872);class i extends o.gl{static use(){return!(r.RUNTIME_GLOBALS in window)&&(window[r.RUNTIME_GLOBALS]=new i),window[r.RUNTIME_GLOBALS]}}async function u(n){i.use();let t=n.map(n=>new Promise((t,e)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=n=>e(n),r.src=n,document.head.appendChild(r)}));await Promise.all(t)}}},function(n){var t=function(t){return n(n.s=t)};n.O(0,["118","126","277","518","567","58","599","707"],function(){return t("44541"),t("66038"),t("9001"),t("28651"),t("46073")}),n.O()}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{99593:function(n,t){t.Z={link:"link-znMYnO",connector:"connector-BqtwBd"}},61832:function(n,t){t.Z={card:"card-If0911"}},41341:function(n,t){t.Z={container:"container-WHe0d3"}},36353:function(n,t){t.Z={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},34786:function(n,t){t.Z={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},22808:function(n,t){t.Z={container:"container-uSZ85N",children:"children-cVMy6R"}},381:function(n,t){t.Z={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},54086:function(n,t){t.Z={container:"container-COzu4H"}},22137:function(n,t){t.Z={container:"container-SkRv4t"}},77518:function(n,t){t.Z={container:"container-e3dQes"}},18913:function(n,t){t.Z={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},21101:function(n,t){t.Z={container:"container-e74VUa",trigger:"trigger-THjT7j",content:"content-Qso8ca",slideDown:"slideDown-Z9IIi_",slideUp:"slideUp-H_SR0p","url-text":"url-text-OqB5_M",urlText:"url-text-OqB5_M",mark:"mark-cUxPxy"}},51795:function(n,t){t.Z={"endpoint-tag":"endpoint-tag-y0SEjj",endpointTag:"endpoint-tag-y0SEjj","shy-link":"shy-link-Xazm8H",shyLink:"shy-link-Xazm8H","endpoint-container":"endpoint-container-XVJeZy",endpointContainer:"endpoint-container-XVJeZy"}},18156:function(n,t){t.Z={stats:"stats-cb58Fz"}},56883:function(n,t){t.Z={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{56364:function(e,t){t.Z={container:"container-bYVevn"}},51397:function(e,t,n){n.d(t,{T:function(){return l}});var o=n(86834);n(5872);var r=n(42666),i=n(28157);let l=e=>{var t;let[n,l]=(0,r.Z)(()=>Promise.resolve(e.onClick()),[]);return(0,o.jsx)("button",{className:i.Z.container,onClick:l,"data-type":null!==(t=e.type)&&void 0!==t?t:"default",disabled:n.loading,children:e.children})}},19333:function(e,t,n){n.d(t,{t:function(){return _}});var o=n(90247),r=n(55709),i=n(86834),l=n(99231),s=n(5872),c=n(56573),a=n(71161),d=n(36339),u=n(29214),m=n(38774),h=n(64843),v=n(44585),f=n(51397),p=n(68574),w=n(93108),y=n(3846),g=n(97137);let k=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:n}=t,o=null===(e=n.match(/^#\/__devtools(.*)/))||void 0===e?void 0:e[1];return"string"!=typeof o?null:""===o?"/":o},_=e=>{let t=k(),[n,_]=(0,c.Z)(!!t),[b,j]=(0,s.useState)(!1),C=(0,p.d)({clamp:!0}),[x]=(0,g.U)();(0,a.Z)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&_()}),(0,s.useEffect)(()=>{w.QB.hook("receive",e=>{"startInspectingNative"===e.event&&(_(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(_(!0),document.documentElement.style.removeProperty("cursor"))};return w.QB.hook("send",e),()=>{w.QB.removeHook("send",e)}},[]);let E=async()=>{document.documentElement.style.setProperty("cursor","wait"),_(!1),j(!0);try{(await (0,y.F)(w.mp,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,d.Z)(async()=>{if(!!t)(await (0,y.F)(w.mp,1e4)).remote.pullUp(t)},[]),(0,i.jsxs)(l.Q2,{appearance:x,className:x,hasBackground:!1,style:{height:0,width:0,minHeight:0,minWidth:0},children:[(0,i.jsx)(m.Z,{when:n,keepAlive:!0,load:b,children:(0,i.jsx)("div",{className:h.Z.container,children:(0,i.jsx)(v.s,{src:e.src,onClose:()=>_(!1),style:{pointerEvents:C.isDragging?"none":"auto"}})})}),(0,i.jsxs)(l.kC,(0,r._)((0,o._)({className:h.Z.fab},C.props),{align:"center",children:[(0,i.jsx)(f.T,{type:"primary",onClick:_,children:(0,i.jsx)("img",{className:h.Z.logo,src:e.logo})}),(0,i.jsx)(f.T,{onClick:E,children:(0,i.jsx)(u.aur,{})})]}))]})}},44585:function(e,t,n){n.d(t,{s:function(){return h}});var o=n(90247),r=n(55709),i=n(16170),l=n(86834),s=n(99231);n(5872);var c=n(29214),a=n(79197),d=n(80936),u=n(56101),m=n(93108);let h=e=>{var{src:t,onClose:n}=e,h=(0,i._)(e,["src","onClose"]);let{loaded:v}=(0,a.R)(m.Cl);return(0,l.jsxs)(s.xu,(0,r._)((0,o._)({className:u.Z.container},h),{children:[(0,l.jsx)("iframe",{className:u.Z.frame,src:t}),(0,l.jsx)(c.cu3,{className:u.Z.closeButton,onClick:n}),(0,l.jsx)("div",{className:u.Z.backdrop,style:{display:v?"none":void 0},children:(0,l.jsx)(d.g,{})})]}))}},38774:function(e,t,n){var o=n(86834),r=n(5872);t.Z=e=>{var t;let n=null===(t=e.keepAlive)||void 0===t||t,{when:i}=e,l=(0,r.useRef)(!1);i&&(l.current=!0);let s=e.load||(n?l.current:i);return s?(0,o.jsx)("div",{style:{display:!n||i?"unset":"none"},children:e.children}):null}},67247:function(e,t,n){n.d(t,{g:function(){return i}});var o=n(86834),r=n(19333);let i=()=>{let e=window.__modern_js_devtools_manifest;if(!e)throw TypeError("Devtools manifest is not found");let t=e.client,n=e.source,i=new URL(t,location.href);if(n){let e=new URL(n,location.href);i.searchParams.set("src",e.href)}return(0,o.jsx)(r.t,{logo:e.context.def.assets.logo,src:i.href})}},94199:function(e,t,n){var o=n(86834);n(24898),n(93108);var r=n(60182),i=n(56364),l=n(67247);let s=()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),n=document.getElementById("_modern_js_devtools_styles");if(!(n instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(n.content);let s=document.createElement("div");s.classList.add("_modern_js_devtools_mountpoint","theme-register",i.Z.container),t.appendChild(s),(0,r.createRoot)(s).render((0,o.jsx)(l.g,{}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",s):s()},24898:function(e,t,n){var o=n(57662);if(!window.opener)try{try{delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}(0,o.initialize)(window);let e=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub=(t,n)=>{if("devtools-backend-installed"!==t)return e(t,n)}}catch(t){let e=Error("Failed to inject React DevTools backend.");e.cause=t,console.error(e)}},93108:function(e,t,n){n.d(t,{Cl:function(){return g},QB:function(){return p},mp:function(){return y}});var o=n(90247),r=n(55709),i=n(10487),l=n(88739),s=n(65872),c=n(9880),a=n.n(c),d=n(81733),u=n(57662),m=n(52493),h=n.n(m),v=n(64542);let f=i.MessagePortChannel.wait(window,"channel:connect:client"),p=new v.S,w=(0,u.createBridge)(window,p),y=f.then(e=>{let t=(0,s.Hu)();return{remote:(0,l.Fu)({async activateReactDevtools(){(0,u.activate)(window,{bridge:w})},async onFinishRender(){await t.callHook("onFinishRender")},async cookies(e){let t=await fetch("/__devtools/api/cookies",{method:"POST",body:JSON.stringify({setCookies:e})}),{cookies:o}=await t.json();if(!o||"object"!=typeof o)throw TypeError("No cookies returned from server");let{parse:r}=await n.e("883").then(n.bind(n,10851)),i=r(document.cookie),l=h().omit(o,Object.keys(i));return{client:i,server:l}},localStorage:async e=>(h().each(e,(e,t)=>{window.localStorage.setItem(t,e)}),(0,o._)({},window.localStorage)),sessionStorage:async e=>(h().each(e,(e,t)=>{window.sessionStorage.setItem(t,e)}),(0,o._)({},window.sessionStorage))},(0,r._)((0,o._)({},e.handlers),{timeout:500})),hooks:t}}),g=(0,d.sj)({loaded:!1}),k=a()();y.then(e=>{let{remote:t,hooks:n}=e;p.bindRemote(t,"sendReactDevtoolsData"),n.hook("onFinishRender",async()=>{g.loaded=!0,k.resolve()})})},68574:function(e,t,n){n.d(t,{d:function(){return c}});var o=n(5872),r=n(71161);let i=(e,t)=>{var n,o;return null!==(o=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==o&&o},l=e=>{let[t,...n]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),o=n.findIndex(e=>{let{key:n}=e;return i(t.key,n)}),[r]=n.splice(o,1);return[t,r,n[0],n[1]]},s=e=>{let{top:t,left:n,height:o,width:r}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-o,right:window.innerWidth-n-r}},c=e=>{var t;let n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",i="number"==typeof n?"".concat(n,"px"):n,[c,a]=(0,o.useState)(),d=()=>{if(!c)return;c.moveable=!1;let{el:e}=c,[t]=l(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{a(void 0),e.style[t.key]=i}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},u=t=>{let n="touches"in t?t.touches[0]:t;if(!(null==c?void 0:c.moveable))return;let{startX:o,startY:r}=c;(o-n.clientX)**2+(r-n.clientY)**2>9&&(c.clickable=!1);let{width:s,height:a}=c.el.getBoundingClientRect(),d=n.clientY-c.offsetY,u=n.clientX-c.offsetX,m=l({top:d,left:u,bottom:window.innerHeight-d-a,right:window.innerWidth-u-s}).map(e=>{let{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(let e of m){let t=["top","bottom"].includes(e.key)?window.innerHeight-a:window.innerWidth-s;e.value="clamp(".concat(i,", ").concat(e.value,", ").concat(t,"px)")}let[h,v,...f]=m,{style:p}=c.el;p.transition="",p[h.key]=h.value,p[v.key]=v.value,p[f[0].key]="auto",p[f[1].key]="auto"};(0,r.Z)("blur",d),(0,r.Z)("mouseup",d),(0,r.Z)("touchend",d),(0,r.Z)("mousemove",u),(0,r.Z)("touchmove",u);let m=e=>{let t="touches"in e?e.touches[0]:e,n=e.currentTarget,o=n.getBoundingClientRect(),r=t.clientX-o.left;a({el:n,clickable:!0,moveable:!0,offsetX:r,offsetY:t.clientY-o.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!c,props:{onMouseDown:m,onTouchStart:m,onClickCapture:e=>{(null==c?void 0:c.clickable)||e.stopPropagation()}}}}},3846:function(e,t,n){n.d(t,{F:function(){return o}});let o=(e,t)=>new Promise((n,o)=>{let r=!0,i=setTimeout(()=>{r=!1,o(Error("Promise Timeout"))},t);e.then(e=>{r&&n(e),clearTimeout(i)}),e.catch(o)})},64542:function(e,t,n){n.d(t,{S:function(){return r}});var o=n(65872);class r extends o.gl{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),r=1;r<t;r++)o[r-1]=arguments[r];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];e[t](...o)}),this}constructor(){super(),this.status="close";let e=e=>{this.status!==e&&(this.status=e,this.callHook(e))};this.hook("send",t=>{"shutdown"===t.event&&e("close")}),this.hook("receive",t=>{"shutdown"===t.event?e("close"):"operations"===t.event?e("active"):e("open")})}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","277","403","567","58","707","991"],function(){return t("44541"),t("43197"),t("924"),t("28651"),t("94199")}),e.O()}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{44673:function(e,t){t.Z={container:"container-bYVevn"}},51397:function(e,t,n){n.d(t,{T:function(){return l}});var o=n(86834);n(5872);var r=n(42666),i=n(41341);let l=e=>{var t;let[n,l]=(0,r.Z)(()=>Promise.resolve(e.onClick()),[]);return(0,o.jsx)("button",{className:i.Z.container,onClick:l,"data-type":null!==(t=e.type)&&void 0!==t?t:"default",disabled:n.loading,children:e.children})}},19333:function(e,t,n){n.d(t,{t:function(){return _}});var o=n(90247),r=n(55709),i=n(86834),l=n(99231),s=n(5872),c=n(56573),a=n(71161),d=n(36339),u=n(29214),m=n(38774),h=n(36353),v=n(44585),f=n(51397),p=n(68574),w=n(93108),y=n(3846),g=n(97137);let k=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:n}=t,o=null===(e=n.match(/^#\/__devtools(.*)/))||void 0===e?void 0:e[1];return"string"!=typeof o?null:""===o?"/":o},_=e=>{let t=k(),[n,_]=(0,c.Z)(!!t),[b,j]=(0,s.useState)(!1),C=(0,p.d)({clamp:!0}),[x]=(0,g.U)();(0,a.Z)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&_()}),(0,s.useEffect)(()=>{w.QB.hook("receive",e=>{"startInspectingNative"===e.event&&(_(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(_(!0),document.documentElement.style.removeProperty("cursor"))};return w.QB.hook("send",e),()=>{w.QB.removeHook("send",e)}},[]);let E=async()=>{document.documentElement.style.setProperty("cursor","wait"),_(!1),j(!0);try{(await (0,y.F)(w.mp,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,d.Z)(async()=>{if(!!t)(await (0,y.F)(w.mp,1e4)).remote.pullUp(t)},[]),(0,i.jsxs)(l.Q2,{appearance:x,className:x,hasBackground:!1,style:{height:0,width:0,minHeight:0,minWidth:0},children:[(0,i.jsx)(m.Z,{when:n,keepAlive:!0,load:b,children:(0,i.jsx)("div",{className:h.Z.container,children:(0,i.jsx)(v.s,{src:e.src,onClose:()=>_(!1),style:{pointerEvents:C.isDragging?"none":"auto"}})})}),(0,i.jsxs)(l.kC,(0,r._)((0,o._)({className:h.Z.fab},C.props),{align:"center",children:[(0,i.jsx)(f.T,{type:"primary",onClick:_,children:(0,i.jsx)("img",{className:h.Z.logo,src:e.logo})}),(0,i.jsx)(f.T,{onClick:E,children:(0,i.jsx)(u.aur,{})})]}))]})}},44585:function(e,t,n){n.d(t,{s:function(){return h}});var o=n(90247),r=n(55709),i=n(16170),l=n(86834),s=n(99231);n(5872);var c=n(29214),a=n(79197),d=n(80936),u=n(34786),m=n(93108);let h=e=>{var{src:t,onClose:n}=e,h=(0,i._)(e,["src","onClose"]);let{loaded:v}=(0,a.R)(m.Cl);return(0,l.jsxs)(s.xu,(0,r._)((0,o._)({className:u.Z.container},h),{children:[(0,l.jsx)("iframe",{className:u.Z.frame,src:t}),(0,l.jsx)(c.cu3,{className:u.Z.closeButton,onClick:n}),(0,l.jsx)("div",{className:u.Z.backdrop,style:{display:v?"none":void 0},children:(0,l.jsx)(d.g,{})})]}))}},38774:function(e,t,n){var o=n(86834),r=n(5872);t.Z=e=>{var t;let n=null===(t=e.keepAlive)||void 0===t||t,{when:i}=e,l=(0,r.useRef)(!1);i&&(l.current=!0);let s=e.load||(n?l.current:i);return s?(0,o.jsx)("div",{style:{display:!n||i?"unset":"none"},children:e.children}):null}},67247:function(e,t,n){n.d(t,{g:function(){return i}});var o=n(86834),r=n(19333);let i=()=>{let e=window.__modern_js_devtools_manifest;if(!e)throw TypeError("Devtools manifest is not found");let t=e.client,n=e.source,i=new URL(t,location.href);if(n){let e=new URL(n,location.href);i.searchParams.set("src",e.href)}return(0,o.jsx)(r.t,{logo:e.context.def.assets.logo,src:i.href})}},94199:function(e,t,n){var o=n(86834);n(24898),n(93108);var r=n(60182),i=n(44673),l=n(67247);let s=()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),n=document.getElementById("_modern_js_devtools_styles");if(!(n instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(n.content);let s=document.createElement("div");s.classList.add("_modern_js_devtools_mountpoint","theme-register",i.Z.container),t.appendChild(s),(0,r.createRoot)(s).render((0,o.jsx)(l.g,{}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",s):s()},24898:function(e,t,n){var o=n(57662);if(!window.opener)try{try{delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}(0,o.initialize)(window);let e=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub=(t,n)=>{if("devtools-backend-installed"!==t)return e(t,n)}}catch(t){let e=Error("Failed to inject React DevTools backend.");e.cause=t,console.error(e)}},93108:function(e,t,n){n.d(t,{Cl:function(){return g},QB:function(){return p},mp:function(){return y}});var o=n(90247),r=n(55709),i=n(10487),l=n(88739),s=n(65872),c=n(9880),a=n.n(c),d=n(81733),u=n(57662),m=n(52493),h=n.n(m),v=n(64542);let f=i.MessagePortChannel.wait(window,"channel:connect:client"),p=new v.S,w=(0,u.createBridge)(window,p),y=f.then(e=>{let t=(0,s.Hu)();return{remote:(0,l.Fu)({async activateReactDevtools(){(0,u.activate)(window,{bridge:w})},async onFinishRender(){await t.callHook("onFinishRender")},async cookies(e){let t=await fetch("/__devtools/api/cookies",{method:"POST",body:JSON.stringify({setCookies:e})}),{cookies:o}=await t.json();if(!o||"object"!=typeof o)throw TypeError("No cookies returned from server");let{parse:r}=await n.e("883").then(n.bind(n,10851)),i=r(document.cookie),l=h().omit(o,Object.keys(i));return{client:i,server:l}},localStorage:async e=>(h().each(e,(e,t)=>{window.localStorage.setItem(t,e)}),(0,o._)({},window.localStorage)),sessionStorage:async e=>(h().each(e,(e,t)=>{window.sessionStorage.setItem(t,e)}),(0,o._)({},window.sessionStorage))},(0,r._)((0,o._)({},e.handlers),{timeout:500})),hooks:t}}),g=(0,d.sj)({loaded:!1}),k=a()();y.then(e=>{let{remote:t,hooks:n}=e;p.bindRemote(t,"sendReactDevtoolsData"),n.hook("onFinishRender",async()=>{g.loaded=!0,k.resolve()})})},68574:function(e,t,n){n.d(t,{d:function(){return c}});var o=n(5872),r=n(71161);let i=(e,t)=>{var n,o;return null!==(o=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==o&&o},l=e=>{let[t,...n]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),o=n.findIndex(e=>{let{key:n}=e;return i(t.key,n)}),[r]=n.splice(o,1);return[t,r,n[0],n[1]]},s=e=>{let{top:t,left:n,height:o,width:r}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-o,right:window.innerWidth-n-r}},c=e=>{var t;let n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",i="number"==typeof n?"".concat(n,"px"):n,[c,a]=(0,o.useState)(),d=()=>{if(!c)return;c.moveable=!1;let{el:e}=c,[t]=l(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{a(void 0),e.style[t.key]=i}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},u=t=>{let n="touches"in t?t.touches[0]:t;if(!(null==c?void 0:c.moveable))return;let{startX:o,startY:r}=c;(o-n.clientX)**2+(r-n.clientY)**2>9&&(c.clickable=!1);let{width:s,height:a}=c.el.getBoundingClientRect(),d=n.clientY-c.offsetY,u=n.clientX-c.offsetX,m=l({top:d,left:u,bottom:window.innerHeight-d-a,right:window.innerWidth-u-s}).map(e=>{let{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(let e of m){let t=["top","bottom"].includes(e.key)?window.innerHeight-a:window.innerWidth-s;e.value="clamp(".concat(i,", ").concat(e.value,", ").concat(t,"px)")}let[h,v,...f]=m,{style:p}=c.el;p.transition="",p[h.key]=h.value,p[v.key]=v.value,p[f[0].key]="auto",p[f[1].key]="auto"};(0,r.Z)("blur",d),(0,r.Z)("mouseup",d),(0,r.Z)("touchend",d),(0,r.Z)("mousemove",u),(0,r.Z)("touchmove",u);let m=e=>{let t="touches"in e?e.touches[0]:e,n=e.currentTarget,o=n.getBoundingClientRect(),r=t.clientX-o.left;a({el:n,clickable:!0,moveable:!0,offsetX:r,offsetY:t.clientY-o.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!c,props:{onMouseDown:m,onTouchStart:m,onClickCapture:e=>{(null==c?void 0:c.clickable)||e.stopPropagation()}}}}},3846:function(e,t,n){n.d(t,{F:function(){return o}});let o=(e,t)=>new Promise((n,o)=>{let r=!0,i=setTimeout(()=>{r=!1,o(Error("Promise Timeout"))},t);e.then(e=>{r&&n(e),clearTimeout(i)}),e.catch(o)})},64542:function(e,t,n){n.d(t,{S:function(){return r}});var o=n(65872);class r extends o.gl{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),r=1;r<t;r++)o[r-1]=arguments[r];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];e[t](...o)}),this}constructor(){super(),this.status="close";let e=e=>{this.status!==e&&(this.status=e,this.callHook(e))};this.hook("send",t=>{"shutdown"===t.event&&e("close")}),this.hook("receive",t=>{"shutdown"===t.event?e("close"):"operations"===t.event?e("active"):e("open")})}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","277","518","567","58","707","991"],function(){return t("44541"),t("66038"),t("9001"),t("28651"),t("94199")}),e.O()}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/devtools-client",
3
- "version": "2.54.2",
3
+ "version": "2.54.4",
4
4
  "engines": {
5
5
  "node": ">=14.0.0"
6
6
  },
@@ -22,7 +22,7 @@
22
22
  "@radix-ui/react-popover": "^1.0.7",
23
23
  "@radix-ui/react-tabs": "^1.0.4",
24
24
  "@radix-ui/themes": "^3.0.5",
25
- "@rsbuild/core": "0.7.9",
25
+ "@rsbuild/core": "0.7.10",
26
26
  "@types/jest": "^29",
27
27
  "@types/lodash": "^4.14.202",
28
28
  "@types/node": "~16.11.7",
@@ -58,16 +58,16 @@
58
58
  "@radix-ui/react-toast": "^1.1.5",
59
59
  "valtio": "^1.11.1",
60
60
  "flatted": "^3.2.9",
61
- "@modern-js-app/eslint-config": "2.54.2",
62
- "@modern-js/eslint-config": "2.54.2",
63
- "@modern-js/runtime": "2.54.2",
64
- "@modern-js/app-tools": "2.54.2",
65
- "@modern-js/types": "2.54.2",
66
- "@modern-js/tsconfig": "2.54.2",
67
- "@modern-js/utils": "2.54.2",
68
- "@scripts/jest-config": "2.54.2",
69
- "@modern-js/devtools-kit": "2.54.2",
70
- "@modern-js/plugin-proxy": "2.54.2"
61
+ "@modern-js-app/eslint-config": "2.54.4",
62
+ "@modern-js/devtools-kit": "2.54.4",
63
+ "@modern-js/app-tools": "2.54.4",
64
+ "@modern-js/eslint-config": "2.54.4",
65
+ "@modern-js/plugin-proxy": "2.54.4",
66
+ "@modern-js/runtime": "2.54.4",
67
+ "@modern-js/types": "2.54.4",
68
+ "@modern-js/utils": "2.54.4",
69
+ "@scripts/jest-config": "2.54.4",
70
+ "@modern-js/tsconfig": "2.54.4"
71
71
  },
72
72
  "dependencies": {
73
73
  "cookie-es": "^1.0.0"
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["730"],{189:function(e,a){a.Z={signal:"signal-L2JPtX"}},58909:function(e,a,r){r.d(a,{P:function(){return v}});var s=r(90247),l=r(55709),n=r(16170),i=r(86834),c=r(99231),t=r(89677),d=r(5872),o=r(81733),u=r(79197),h=r(64296),x=r(46805);let v=e=>{var{$data:a=(0,o.sj)([]),disabled:r,placeholders:v}=e,j=(0,n._)(e,["$data","disabled","placeholders"]);let f=(0,u.R)(a);return(0,d.useEffect)(()=>{f.length<=0&&a.push({id:(0,t.nanoid)(),key:"",value:""})},[f.length]),(0,i.jsx)(c.xu,(0,l._)((0,s._)({className:h.Z.container},j),{children:f.map((e,s)=>(0,i.jsx)(x.s,{$data:a[s],disabled:r,placeholders:v,onDelete:()=>a.splice(s,1),onInsert:()=>a.splice(s+1,0,{id:(0,t.nanoid)(),key:"",value:""})},e.id))}))}},46805:function(e,a,r){r.d(a,{s:function(){return t}});var s=r(86834),l=r(99231);r(5872);var n=r(29214),i=r(79197),c=r(87808);let t=e=>{let{$data:a,onDelete:r,onInsert:t,disabled:d,placeholders:o=["Key...","Value..."]}=e,u=(0,i.R)(a);return(0,s.jsxs)(l.xu,{className:c.Z.inputPair,"aria-disabled":d,children:[(0,s.jsx)(l.nv.f,{value:u.key,disabled:d,placeholder:o[0],onChange:e=>a.key=e.currentTarget.value}),(0,s.jsx)(l.xu,{asChild:!0,flexGrow:"1",children:(0,s.jsx)(l.nv.f,{value:u.value,disabled:d,placeholder:o[1],onChange:e=>a.value=e.currentTarget.value})}),(0,s.jsxs)(l.xu,{className:c.Z.actions,children:[(0,s.jsx)(l.hU,{variant:"ghost",color:"gray",onClick:r,children:(0,s.jsx)(n.O$V,{})}),(0,s.jsx)(l.hU,{variant:"ghost",color:"gray",onClick:t,children:(0,s.jsx)(n.PW$,{})})]})]},u.id)}},96629:function(e,a,r){r.r(a);var s=r(86834),l=r(52493),n=r.n(l),i=r(5872),c=r(99231),t=r(79197),d=r(81733),o=r(55058),u=r(96575),h=r(189),x=r(58909);a.default=()=>{let e=(0,t.R)(u.ok),a=!!e.service.href,r=(0,i.useMemo)(()=>{var a;return(0,d.sj)(null!==(a=n().cloneDeep(e.service.rules))&&void 0!==a?a:[])},[]),l=(0,t.R)(r),v=a?"Active":"Offline",j=async()=>{await (0,u.gM)(l.filter(e=>e.key))},f=async()=>{await (0,u.m)()};return(0,s.jsxs)(c.xu,{className:h.Z.container,children:[(0,s.jsx)(c.X6,{mt:"4",children:"Header Modifier"}),(0,s.jsxs)(c.kC,{align:"center",gap:"1",children:[(0,s.jsx)(c.xu,{className:h.Z.signal,"data-active":a}),(0,s.jsx)(c.xv,{color:"gray",size:"1",children:v}),e.service.href&&(0,s.jsx)(c.rU,{size:"1",href:e.service.href,target:"_blank",children:(0,o.Lk)(e.service.href).pathname})]}),(0,s.jsx)(x.P,{$data:r,disabled:a,my:"3",placeholders:["Match header field...","Replace by..."]}),(0,s.jsx)(c.kC,{justify:"end",gap:"2",children:a?(0,s.jsx)(c.zx,{color:"red",onClick:f,children:"Unregister"}):(0,s.jsx)(c.zx,{onClick:j,children:"Register"})})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["161"],{70551:function(e,r){r.Z={container:"container-p5QVGS","bottom-tip":"bottom-tip-K062Gu",bottomTip:"bottom-tip-K062Gu","primary-card":"primary-card-plqY_q",primaryCard:"primary-card-plqY_q","compile-time-card":"compile-time-card-_p7KQL",compileTimeCard:"compile-time-card-_p7KQL","plugin-card":"plugin-card-RzXrFC",pluginCard:"plugin-card-RzXrFC","info-card":"info-card-rAI3LL",infoCard:"info-card-rAI3LL","indicate-bar":"indicate-bar-UVw3vq",indicateBar:"indicate-bar-UVw3vq",heading:"heading-hVMxZh"}},88640:function(e,r){r.Z=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}},9344:function(e,r,a){a.d(r,{Z:function(){return d},x:function(){return p}});var i=a(90247),n=a(55709),t=a(16170),c=a(86834),s=a(88640),l=a(99231),o=a(45428);let d=e=>{let{children:r,className:a,variant:d,clickable:p=!1,selected:h=!1,inset:x=!1}=e,u=(0,t._)(e,["children","className","variant","clickable","selected","inset"]);return(0,c.jsx)(l.xu,(0,n._)((0,i._)({},u),{"data-variant":null!=d?d:"","data-clickable":p,"data-selected":h,"data-inset":x,className:(0,s.Z)(o.Z.card,a),children:r}))},p=e=>(0,c.jsx)(l.kC,(0,i._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,r,a){a.d(r,{Z:function(){return i.Z},x:function(){return i.x}});var i=a(9344)},91204:function(e,r,a){a.r(r);var i=a(86834),n=a(99231);a(5872);var t=a(29214),c=a(55058),s=a(79197);a(45428);var l=a(70551),o=a(15112),d=a(91310);let p={webpack:"webpack",rspack:"@rspack/core"};r.default=()=>{let e=(0,o.k)(),{version:r}=(0,s.R)(e),a=(0,s.R)(e.framework).context,{def:h}=(0,s.R)(e).context,x=(0,s.R)(e.dependencies),u=(0,s.R)(e.builder).context,{compileDuration:g}=(0,s.R)(e).performance,j=window.navigator.userAgent.includes("Mac OS"),{toolsType:m}=a;if("app-tools"!==m)throw Error();let f=h.packages.appTools,v=x[f],{bundlerType:b}=u,k=p[b],y=x[k];return(0,i.jsxs)(n.kC,{direction:"column",align:"center",children:[(0,i.jsxs)(n.kC,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:l.Z.container,children:[(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.primaryCard,children:(0,i.jsx)(n.Q2,{appearance:"dark",hasBackground:!1,asChild:!0,children:(0,i.jsxs)(d.x,{children:[(0,i.jsx)(n.X6,{as:"h1",className:l.Z.heading,children:"DevTools"}),(0,i.jsx)(n.kC,{gap:"2",children:(0,i.jsxs)("button",{type:"button",children:["v",r]})}),(0,i.jsxs)(n.xv,{as:"p",size:"1",children:["Powered by ",f,"@",v]})]})})}),(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.infoCard,children:(0,i.jsxs)(n.kC,{justify:"between",gap:"3",align:"center",height:"100%",children:[(0,i.jsxs)(n.xu,{children:[(0,i.jsx)(n.xv,{color:"gray",children:"Visit our website"}),(0,i.jsx)(n.kC,{align:"center",asChild:!0,children:(0,i.jsxs)(n.rU,{href:h.announcement.fallback,target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)(t.WRS,{}),(0,i.jsx)(n.xv,{children:(0,c.Lk)(h.announcement.fallback).host})]})})]}),(0,i.jsx)(t.vrJ,{size:"50",color:"var(--gray-6)"})]})}),(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.pluginCard,children:(0,i.jsxs)(n.kC,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.xu,{children:[(0,i.jsx)(n.xv,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},mb:"2",children:a.plugins.length}),(0,i.jsx)(n.xv,{as:"p",size:"1",color:"gray",children:"Framework Plugins"})]}),(0,i.jsx)(t.hjZ,{size:"50",color:"var(--gray-6)"})]})}),(0,i.jsx)(d.Z,{variant:"indicate",className:l.Z.compileTimeCard,children:(0,i.jsxs)(n.kC,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.xu,{children:[(0,i.jsxs)(n.xv,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},children:[(g/1e3).toFixed(2),"s"]}),(0,i.jsxs)(n.xv,{as:"p",size:"1",color:"gray",children:["Compiled in ",k,"@",y]})]}),(0,i.jsx)(t.XoX,{size:"50",color:"var(--gray-6)"})]})})]}),(0,i.jsxs)(n.kC,{align:"center",className:l.Z.bottomTip,children:[(0,i.jsx)(n.xv,{color:"gray",size:"2",children:"Use"}),(0,i.jsxs)(n.Tz,{mx:"2",children:["Shift + ",j?"Opt":"Alt"," + D"]}),(0,i.jsx)(n.xv,{color:"gray",size:"2",children:"to open DevTools"})]})]})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{5770:function(e,n){n.Z={input:"input-ZLygVL",list:"list-xLGYni"}},34786:function(e,n,t){function r(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.addEventListener&&e.addEventListener.apply(e,n)}function i(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.removeEventListener&&e.removeEventListener.apply(e,n)}t.d(n,{S1:function(){return i},jU:function(){return o},on:function(){return r}});var o="undefined"!=typeof window},70398:function(e,n,t){var r=t(5872),i=t(34786);n.Z=function(e,n){void 0===n&&(n=!0);var t=(0,r.useState)(!1),o=t[0],a=t[1];return(0,r.useEffect)(function(){var t=function(){return a(!0)},r=function(){return a(!1)};n&&e&&e.current&&((0,i.on)(e.current,"mouseover",t),(0,i.on)(e.current,"mouseout",r));var o=e.current;return function(){n&&o&&((0,i.S1)(o,"mouseover",t),(0,i.S1)(o,"mouseout",r))}},[n,e]),o}},61260:function(e,n,t){t.d(n,{N:function(){return c}});var r=t(86834),i=t(5872),o=t(1607),a=t(99231),l=t(60441),s=t(1819),u=t(13337);let c=e=>{let{badge:n,route:t,title:c,children:d,open:f,onOpenChange:p}=e,{matched:x}=(0,i.useContext)(u.K),[h,m]=(0,i.useState)(!1),j=x===t,v=j||(null!=f?f:h);return(0,r.jsx)(a.xu,{p:"3",className:s.Z.container,children:(0,r.jsxs)(o.fC,{open:v,onOpenChange:null!=p?p:m,children:[(0,r.jsxs)(o.xz,{className:s.Z.trigger,children:[n,(0,r.jsx)(a.xv,{className:s.Z.urlText,style:{opacity:x&&!j?.5:1},children:c}),(0,r.jsx)(a.xu,{flexGrow:"1"}),(0,r.jsx)(a.xu,{className:s.Z.mark,"data-open":v,children:(0,r.jsx)(l.jnn,{})})]}),(0,r.jsx)(o.VY,{className:s.Z.content,children:d})]})})}},13337:function(e,n,t){t.d(n,{K:function(){return r}});let r=(0,t(5872).createContext)({url:""})},20670:function(e,n,t){t.d(n,{j:function(){return o}});var r=t(86834);t(5872);var i=t(99231);let o=()=>(0,r.jsx)(i.xv,{children:"Unimplemented."})},51525:function(e,n,t){t.d(n,{u:function(){return r}});let r=(0,t(5872).createContext)([])},53323:function(e,n,t){t.d(n,{e:function(){return f}});var r=t(86834),i=t(5872),o=t(99231),a=t(52493),l=t.n(a),s=t(55058),u=t(70398),c=t(51525),d=t(5109);let f=e=>{var n,t;let{route:a}=e,p=l().castArray(a),x=l().last(p),h="_component"in x&&l().isString(x._component)?x._component:null,m=(0,s.As)("/",...p.map(e=>e.path).filter(l().isString))||"/",j=null!==(t=x.index)&&void 0!==t&&t,v="/"===m,y=(0,i.useContext)(c.u),g=!1===y||y.length>0,C=!!y&&!!l().find(y,{route:{id:x.id}}),b=(0,i.useRef)(null),N=(0,u.Z)(b);return(0,r.jsxs)(o.xu,{ref:b,children:[(0,r.jsxs)(o.kC,{gap:"2",align:"center",mb:x.children&&"1",children:[(0,r.jsxs)(o.xu,{className:d.Z.endpointContainer,"data-matched":!g||C,children:[j&&v||(0,r.jsx)(o.EK,{className:d.Z.endpointTag,"data-compose":j&&"head",children:m}),j&&(0,r.jsx)(o.EK,{className:d.Z.endpointTag,color:"purple","data-compose":!v&&"tail",children:"/(index)"})]}),h&&(0,r.jsx)(o.rU,{className:d.Z.shyLink,style:{visibility:N?"visible":"hidden"},children:h})]}),(0,r.jsx)(o.kC,{direction:"column",gap:"1",children:null===(n=x.children)||void 0===n?void 0:n.map(e=>(0,r.jsx)(f,{route:p.concat(e)},e.id))})]})}},7644:function(e,n,t){t.d(n,{Z:function(){return d}});var r=t(86834),i=t(85852),o=t(99231),a=t(5872),l=t(55058),s=t(13337),u=t(51525),c=t(53323);let d=e=>{let{remixRoutes:n,route:t}=e,{matched:d,url:f}=(0,a.useContext)(s.K),p=(0,a.useMemo)(()=>{if(d!==t)return!d&&[];{var e;if(!n)return[];let r=(0,l.v$)(f.replace(t.urlPath,"/")),o=null!==(e=(0,i.fp)(n,r))&&void 0!==e?e:[];return!!o.length&&o}},[n,d,f]);return(null==n?void 0:n.length)?(0,r.jsx)(u.u.Provider,{value:p,children:(0,r.jsx)(o.kC,{gap:"2",direction:"column",children:n.map(e=>(0,r.jsx)(c.e,{route:e},e.id))})}):null}},97259:function(e,n,t){t.d(n,{U:function(){return f}});var r=t(86834),i=t(52493),o=t.n(i),a=t(5872),l=t(81733),s=t(79197),u=t(20670),c=t(7644),d=t(15112);(0,l.sj)({});let f=e=>{let{route:n}=e,{entryName:t}=n;if(!t)throw TypeError("");let i=(0,d.k)(),{entrypoints:l}=(0,s.R)(i.framework).context,f=o().find(l,{entryName:t});if(!f)throw TypeError("Can't found the entrypoint named ".concat(JSON.stringify(n.entryName)));let x=(0,s.R)(i.fileSystemRoutes)[f.entryName];if(!f)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(n.entryName)));return(0,r.jsx)(a.Suspense,{children:(0,r.jsx)(()=>p(x)?(0,r.jsx)(u.j,{}):(0,r.jsx)(c.Z,{remixRoutes:x,route:n}),{})})},p=e=>(null==e?void 0:e[0])&&!("type"in e[0])},62761:function(e,n,t){t.d(n,{U:function(){return r.U}});var r=t(97259)},1019:function(e,n,t){t.d(n,{e:function(){return u}});var r=t(86834),i=t(5872),o=t(99231),a=t(61260),l=t(36131),s=t(62761);let u=e=>{let{route:n}=e;return(0,r.jsx)(a.N,{badge:c,route:n,title:n.urlPath,children:(0,r.jsxs)(o.kC,{direction:"column",gap:"2",children:[(0,r.jsx)(o.xr,{scrollbars:"horizontal",children:(0,r.jsx)(l.b,{route:n})}),(0,r.jsx)(o.xr,{scrollbars:"horizontal",children:(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(s.U,{route:n})})})]})})},c=(0,r.jsx)(o.Ct,{color:"cyan",children:"Entry"})},36131:function(e,n,t){t.d(n,{b:function(){return c}});var r=t(86834);t(5872);var i=t(52493),o=t.n(i),a=t(99231),l=t(79197),s=t(65254),u=t(15112);let c=e=>{let{route:n}=e,t=(0,u.k)(),{entrypoints:i}=(0,l.R)(t.framework).context,c=n.entryName&&o().find(i,{entryName:n.entryName});if(!c)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(n.entryName)));return(0,r.jsxs)(a.xu,{className:s.Z.stats,children:[(0,r.jsxs)(a.kC,{gap:"1",children:[(0,r.jsx)(a.cK,{children:"Directory: "}),(0,r.jsx)(a.xv,{children:c.absoluteEntryDir})]}),(0,r.jsxs)(a.kC,{gap:"1",children:[(0,r.jsx)(a.cK,{children:"Entry:"}),(0,r.jsx)(a.xv,{children:c.entry})]})]})}},29350:function(e,n,t){t.d(n,{e:function(){return r.e}});var r=t(1019)},16995:function(e,n,t){t.d(n,{j:function(){return s}});var r=t(86834);t(5872);var i=t(52493),o=t.n(i),a=t(29350),l=t(96468);let s=e=>{let{route:n}=e;return o().isString(n.entryName)?(0,r.jsx)(a.e,{route:n}):(0,r.jsx)(l.R,{route:n})}},96468:function(e,n,t){t.d(n,{R:function(){return a}});var r=t(86834);t(5872);var i=t(99231),o=t(61260);let a=e=>{let{route:n}=e;return(0,r.jsx)(o.N,{badge:l,route:n,title:n.urlPath,children:(0,r.jsx)(i.Zb,{children:"Unknown route type."})})},l=(0,r.jsx)(i.Ct,{color:"gray",children:"Unknown"})},25473:function(e,n,t){t.r(n);var r=t(86834),i=t(99231),o=t(5872),a=t(55058),l=t(29214),s=t(79197),u=t(5770),c=t(15112),d=t(13337),f=t(16995);n.default=()=>{let e=(0,c.k)(),{serverRoutes:n}=(0,s.R)(e.framework).context,[t,p]=(0,o.useState)({url:""}),x=e=>{let{pathname:t}=(0,a.Lk)(e);p({url:e,matched:n.find(e=>t===e.urlPath||t.startsWith((0,a.jE)(e.urlPath)))})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.kC,{className:u.Z.list,direction:"column",gap:"2",align:"stretch",justify:"between",mx:"auto",children:(0,r.jsx)(d.K.Provider,{value:t,children:n.map(e=>(0,r.jsx)(f.j,{route:e},e.entryPath))})}),(0,r.jsx)(i.xu,{className:u.Z.input,children:(0,r.jsx)(i.xu,{mx:"auto",style:{maxWidth:"40rem"},children:(0,r.jsx)(i.nv.f,{placeholder:"/foo?bar#baz",onChange:e=>x(e.target.value),type:"url",autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",children:(0,r.jsx)(i.nv.g,{children:(0,r.jsx)(l.IIh,{})})})})})]})}},1607:function(e,n,t){t.d(n,{VY:function(){return E},fC:function(){return k},xz:function(){return Z}});var r=t(83197),i=t(5872),o=t(67844),a=t(82602),l=t(88654),s=t(59504),u=t(88340),c=t(63422),d=t(78910),f=t(63018);let p="Collapsible",[x,h]=(0,a.b)(p),[m,j]=x(p),v=(0,i.forwardRef)((e,n)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:s,onOpenChange:u,...d}=e,[p=!1,x]=(0,l.T)({prop:o,defaultProp:a,onChange:u});return(0,i.createElement)(m,{scope:t,disabled:s,contentId:(0,f.M)(),open:p,onOpenToggle:(0,i.useCallback)(()=>x(e=>!e),[x])},(0,i.createElement)(c.WV.div,(0,r.Z)({"data-state":N(p),"data-disabled":s?"":void 0},d,{ref:n})))}),y=(0,i.forwardRef)((e,n)=>{let{__scopeCollapsible:t,...a}=e,l=j("CollapsibleTrigger",t);return(0,i.createElement)(c.WV.button,(0,r.Z)({type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":N(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled},a,{ref:n,onClick:(0,o.M)(e.onClick,l.onOpenToggle)}))}),g="CollapsibleContent",C=(0,i.forwardRef)((e,n)=>{let{forceMount:t,...o}=e,a=j(g,e.__scopeCollapsible);return(0,i.createElement)(d.z,{present:t||a.open},({present:e})=>(0,i.createElement)(b,(0,r.Z)({},o,{ref:n,present:e})))}),b=(0,i.forwardRef)((e,n)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,d=j(g,t),[f,p]=(0,i.useState)(o),x=(0,i.useRef)(null),h=(0,u.e)(n,x),m=(0,i.useRef)(0),v=m.current,y=(0,i.useRef)(0),C=y.current,b=d.open||f,k=(0,i.useRef)(b),Z=(0,i.useRef)();return(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=x.current;if(e){Z.current=Z.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let n=e.getBoundingClientRect();m.current=n.height,y.current=n.width,!k.current&&(e.style.transitionDuration=Z.current.transitionDuration,e.style.animationName=Z.current.animationName),p(o)}},[d.open,o]),(0,i.createElement)(c.WV.div,(0,r.Z)({"data-state":N(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!b},l,{ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style}}),b&&a)});function N(e){return e?"open":"closed"}let k=v,Z=y,E=C}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["244"],{49209:function(e,t){t.Z={"text-ellipsis":"text-ellipsis-sg296B",textEllipsis:"text-ellipsis-sg296B"}},88640:function(e,t){t.Z=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,l="";if("string"==typeof t||"number"==typeof t)l+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(l&&(l+=" "),l+=r);else for(n in t)t[n]&&(l&&(l+=" "),l+=n)}return l}(e))&&(r&&(r+=" "),r+=t);return r}},9344:function(e,t,n){n.d(t,{Z:function(){return d},x:function(){return u}});var r=n(90247),l=n(55709),o=n(16170),i=n(86834),s=n(88640),a=n(99231),c=n(45428);let d=e=>{let{children:t,className:n,variant:d,clickable:u=!1,selected:x=!1,inset:p=!1}=e,h=(0,o._)(e,["children","className","variant","clickable","selected","inset"]);return(0,i.jsx)(a.xu,(0,l._)((0,r._)({},h),{"data-variant":null!=d?d:"","data-clickable":u,"data-selected":x,"data-inset":p,className:(0,s.Z)(c.Z.card,n),children:t}))},u=e=>(0,i.jsx)(a.kC,(0,r._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},91310:function(e,t,n){n.d(t,{Z:function(){return r.Z},x:function(){return r.x}});var r=n(9344)},66630:function(e,t,n){n.d(t,{p:function(){return p}});var r=n(90247),l=n(55709),o=n(16170),i=n(86834),s=n(4537),a=n(5872),c=n(29214),d=n(99231),u=n(6785);let x=e=>{let{title:t,content:n,children:a}=e,x=(0,o._)(e,["title","content","children"]);return(0,i.jsxs)(s.fC,(0,l._)((0,r._)({},x),{className:u.Z.container,children:[t&&(0,i.jsx)(s.Dx,{children:t}),(0,i.jsx)(s.dk,{children:n}),a&&(0,i.jsx)(s.aU,{altText:"",asChild:!0,children:a}),(0,i.jsx)(d.xu,{flexGrow:"1"}),(0,i.jsx)(s.x8,{className:u.Z.close,"aria-label":"Close",children:(0,i.jsx)(c.cu3,{})})]}))},p=e=>{let{duration:t=5e3}=e,n=(0,o._)(e,["duration"]),[c,d]=(0,a.useState)(!1),p=(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(x,(0,l._)((0,r._)({},n),{open:c,onOpenChange:d})),(0,i.jsx)(s.l_,{className:u.Z.viewport})]}),h=(0,a.useRef)(null);return{element:p,open:()=>{d(!0),h.current&&clearTimeout(h.current),h.current=null,t&&(h.current=window.setTimeout(()=>d(!1),t))}}}},1046:function(e,t,n){n.r(t);var r=n(90247),l=n(55709),o=n(16170),i=n(86834),s=n(5872),a=n(29214),c=n(58654),d=n(99231),u=n(81733),x=n(33049),p=n(49209),h=n(15112),g=n(66630),j=n(91310);let f=e=>{let{onCopyAction:t,onOpenAction:n,onApplyAction:s,onPasteAction:c}=e,u=(0,o._)(e,["onCopyAction","onOpenAction","onApplyAction","onPasteAction"]);return(0,i.jsxs)(d.kC,(0,l._)((0,r._)({position:"relative",gap:"3",height:"var(--space-5)",align:"center"},u),{children:[(0,i.jsx)(d.u,{content:"Copy as Data URL",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:t,variant:"ghost",color:"gray",children:(0,i.jsx)(a.oiB,{})})}),(0,i.jsx)(d.u,{content:"Paste from Data URL",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:c,variant:"ghost",color:"gray",children:(0,i.jsx)(a.MK7,{})})}),(0,i.jsx)(d.u,{content:"Open File",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:n,variant:"ghost",color:"gray",children:(0,i.jsx)(a.g1w,{})})}),(0,i.jsx)(d.u,{content:"Apply Preset",delayDuration:200,children:(0,i.jsx)(d.hU,{onClick:s,variant:"ghost",color:"gray",children:(0,i.jsx)(a.VyF,{})})})]}))},y=async e=>{let t={cookie:{},localStorage:{},sessionStorage:{}};for(let n of x.dR){let r=e[n];r&&Object.assign(t[n],r)}return await (0,x.l5)(t)},v=e=>{let{title:t,records:n,color:s}=e,a=(0,o._)(e,["title","records","color"]);return(0,i.jsx)(j.Z,(0,l._)((0,r._)({asChild:!0},a),{children:(0,i.jsxs)(d.kC,{direction:"column",gap:"2",children:[(0,i.jsx)(d.xv,{size:"1",weight:"bold",children:t}),(0,i.jsxs)(d.kC,{width:"100%",wrap:"wrap",align:"start",gap:"2",children:[0===n.length&&(0,i.jsx)(d.Ct,{color:"gray",children:"Empty"}),n.map(e=>(0,i.jsxs)(d.Ct,{color:s,children:[e.key,": ",e.value]},e.id))]})]})}))};t.default=()=>{let{revalidate:e}=(0,c.xW)(),t=(0,h.k)(),{server:n}=t;(0,s.useEffect)(()=>(0,u.Ld)(t,e),[]);let r=(0,c.f_)(),l=[...(0,x.SR)(r,"cookie"),...(0,x.SR)(r,"localStorage"),...(0,x.SR)(r,"sessionStorage")],o=(0,g.p)({content:"\uD83D\uDD25 Fired"}),a=(0,g.p)({content:"\uD83D\uDCCB Copied"}),j=(0,g.p)({content:"\uD83D\uDCCB Pasted"}),m=async()=>{await y(r),o.open(),e()},w=async()=>{let e=new Blob([JSON.stringify(r)],{type:"application/json"}),t=new FileReader;t.readAsDataURL(e);let n=await new Promise(e=>{t.onload=t=>{var n,r,l;return e(null!==(l=null===(r=t.target)||void 0===r?void 0:null===(n=r.result)||void 0===n?void 0:n.toString())&&void 0!==l?l:null)}});n?(navigator.clipboard.writeText(n),a.open()):console.error("Failed to copy preset as data URL")},k=async()=>{n&&(await n.remote.pasteStoragePreset(r),j.open())};return(0,i.jsxs)(d.kC,{direction:"column",gap:"2",children:[(0,i.jsxs)(d.kC,{flexGrow:"0",px:"2",gap:"2",justify:"between",align:"center",width:"100%",children:[(0,i.jsx)(d.xu,{flexShrink:"0",className:p.Z.textEllipsis,children:(0,i.jsx)(d.xv,{size:"1",weight:"bold",color:"gray",children:r.name})}),(0,i.jsx)(f,{flexShrink:"0",flexGrow:"0",px:"2",justify:"end",onCopyAction:w,onPasteAction:k,onOpenAction:()=>null==n?void 0:n.remote.open(r.filename),onApplyAction:m})]}),(0,i.jsx)(d.xu,{flexGrow:"1",pb:"2",pr:"2",style:{overflowY:"scroll"},children:(0,i.jsxs)(d.kC,{direction:"column",gap:"2",children:[(0,i.jsx)(v,{title:"Cookie",records:l.filter(e=>"cookie"===e.type),color:"yellow"}),(0,i.jsx)(v,{title:"Local Storage",records:l.filter(e=>"localStorage"===e.type),color:"green"}),(0,i.jsx)(v,{title:"Session Storage",records:l.filter(e=>"sessionStorage"===e.type),color:"blue"})]})}),o.element,a.element,j.element]})}}}]);