@modern-js/devtools-client 2.65.4 → 2.65.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modern.config.json +1 -1
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +41 -41
- package/dist/static/html/client/index.html +3 -3
- package/dist/static/html/mount/index.html +3 -3
- package/dist/static/js/{130.564d1376.js → 130.ed850765.js} +1 -1
- package/dist/static/js/{109.6e71606f.js → 26.d315978f.js} +2 -2
- package/dist/static/js/{261.90af046b.js → 473.761808bf.js} +2 -2
- package/dist/static/js/async/client_config/(toolkit).(type)/page.88e88ec3.js +1 -0
- package/dist/static/js/async/client_context/builder/page.3fbbf69e.js +1 -0
- package/dist/static/js/async/client_context/framework/page.d462e5a6.js +1 -0
- package/dist/static/js/async/client_doctor/{page.cf53b459.js → page.ded93989.js} +1 -1
- package/dist/static/js/async/client_headers/editor/{page.3654f7dd.js → page.a4c48313.js} +1 -1
- package/dist/static/js/async/client_overview/{page.4fb3caba.js → page.49caaa18.js} +1 -1
- package/dist/static/js/async/client_pages/{page.de34cfd0.js → page.b0e4e4b9.js} +1 -1
- package/dist/static/js/async/client_storage/preset/(id)/{page.5a56dfa3.js → page.f68379a6.js} +1 -1
- package/dist/static/js/async/client_storage/preset/{layout.cd6103e3.js → layout.4d56849a.js} +1 -1
- package/dist/static/js/async/client_storage/preset/{page.38fa476d.js → page.95c2ca05.js} +1 -1
- package/dist/static/js/builder-runtime.711a9ebd.js +1 -0
- package/dist/static/js/{client.8712472d.js → client.da0e8a62.js} +1 -1
- package/dist/static/js/components.360f698d.js +1 -0
- package/dist/static/js/{mount.77b8707b.js → mount.332d7bbf.js} +1 -1
- package/package.json +10 -10
- package/dist/static/js/async/client_config/(toolkit).(type)/page.15665de8.js +0 -1
- package/dist/static/js/async/client_context/builder/page.3a4f5ae7.js +0 -1
- package/dist/static/js/async/client_context/framework/page.74cbba14.js +0 -1
- package/dist/static/js/builder-runtime.ec69f517.js +0 -1
- package/dist/static/js/components.593696f3.js +0 -1
- /package/dist/static/css/{109.f5c7162b.css → 26.f5c7162b.css} +0 -0
- /package/dist/static/css/{261.649dd1fe.css → 473.649dd1fe.css} +0 -0
- /package/dist/static/js/{109.6e71606f.js.LICENSE.txt → 26.d315978f.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{261.90af046b.js.LICENSE.txt → 473.761808bf.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["462"],{95942:function(e,n,t){t.d(n,{sY:()=>w});var r=t(12402),o=t(84706),i=t(49987),a=t(65),l=t(50102),u=t(99613),s=t(75192),c=t(62641),d=t(24644),f=t(13063),p=t(5872);function h(e,n){return p.createElement(d.JO.Provider,{value:n},e)}var v=t(86834),m=t(48249),g=t(24348),y=function(e){var n=e.callback,t=e.children,r=(0,p.useRef)(!1);return(0,p.useLayoutEffect)(function(){!r.current&&(r.current=!0,n())},[n]),t},x=function(){return!0};function w(e,n){return _.apply(this,arguments)}function _(){return(_=(0,r._)(function(e,n){var t,p,w,_,j,E,k,A,S,C,N;function T(){return(T=(0,r._)(function(e){return(0,u.Jh)(this,function(n){return[2,function(e,n){return b.apply(this,arguments)}(e,N)]})})).apply(this,arguments)}function M(){return(M=(0,r._)(function(e,n){return(0,u.Jh)(this,function(t){return[2,function(e,n){return R.apply(this,arguments)}(e,N,n)]})})).apply(this,arguments)}return(0,u.Jh)(this,function(b){var R,P,D,O,L,H,B,U,I,J,z,F,q,Z,V,W,X;switch(b.label){case 0:if(t=(0,d.zv)(),R=(0,r._)(function(e){var n,t;return(0,u.Jh)(this,function(r){switch(r.label){case 0:return(n=(0,c.Uk)()).pluginAPI.updateRuntimeContext(e),[4,n.hooks.onBeforeRender.call(e)];case 1:return r.sent(),[2,null==(t=(0,c.Hb)())?void 0:t(e)]}})}),p=function(e){return R.apply(this,arguments)},!(void 0===n||"string"==typeof n||"undefined"!=typeof HTMLElement&&(0,o._)(n,HTMLElement)))return[3,2];return w=function(e){return T.apply(this,arguments)},_=function(e,n){return M.apply(this,arguments)},H=null==(L=window._SSR_DATA)?void 0:null===(P=L.context)||void 0===P?void 0:P.request,S=Object.keys(A=(null===(j=(k=(0,a._)((0,i._)({},L||{renderLevel:0,mode:"string"}),{context:(0,a._)((0,i._)({},(null==L?void 0:L.context)||{}),{request:(0,a._)((0,i._)({},(null==L?void 0:null===(D=L.context)||void 0===D?void 0:D.request)||{}),{params:(null==H?void 0:H.params)||{},host:(null==H?void 0:H.host)||location.host,pathname:(null==H?void 0:H.pathname)||location.pathname,headers:(null==H?void 0:H.headers)||{},cookieMap:s.parse(document.cookie||"")||{},cookie:document.cookie||"",userAgent:(null==H?void 0:null===(O=H.headers)||void 0===O?void 0:O["user-agent"])||navigator.userAgent,referer:document.referrer,query:(0,i._)({},window.location.search.substring(1).split("&").reduce(function(e,n){var t=(0,l._)(n.split("="),2),r=t[0],o=t[1];return r&&(e[r]=o),e},{}),(null==H?void 0:H.query)||{}),url:location.href})})})).data)||void 0===j?void 0:j.loadersData)||{}).reduce(function(e,n){var t=A[n];return(null==t?void 0:t.loading)!==!1||(e[n]=t),e},{}),Object.assign(t,{loaderManager:(0,f.K)(S,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),t.initialData=null===(E=k.data)||void 0===E?void 0:E.initialData,[4,p(t)];case 1:if((C=b.sent())&&(t.initialData=C),N=n&&"string"!=typeof n?n:document.getElementById(n||"root"),window._SSR_DATA)return[2,(B=t,U=w,I=_,Z=(0,a._)((0,i._)({},B),{get routes(){return B.routes},_hydration:!0}),V=function(){delete Z._hydration},W=(null===(z=window)||void 0===z?void 0:null===(J=z._SSR_DATA)||void 0===J?void 0:J.renderLevel)||g.Nm.CLIENT_RENDER,X=(null===(q=window)||void 0===q?void 0:null===(F=q._SSR_DATA)||void 0===F?void 0:F.mode)||"string",x()&&"stream"===X?W===g.Nm.SERVER_RENDER?I(h((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:V,children:e})},{}),Z)):U(h(e,B)):W===g.Nm.CLIENT_RENDER||W===g.Nm.SERVER_PREFETCH?U(h(e,B)):W===g.Nm.SERVER_RENDER?new Promise(function(n){x()?(0,m.TA)(function(){I(h((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:V,children:e})},{}),Z)).then(function(e){n(e)})}):(0,m.TA)(function(){I(h(e,Z),V).then(function(e){n(e)})})}):(console.warn("unknow render level: ".concat(W,", execute render()")),U(h(e,B))))];return[2,w(h(e,t))];case 2:throw Error("`render` function needs id in browser environment, it needs to be string or element")}})})).apply(this,arguments)}function b(){return(b=(0,r._)(function(e,n){var r;return(0,u.Jh)(this,function(o){switch(o.label){case 0:return[4,t.e("58").then(t.t.bind(t,41035,19))];case 1:return(r=o.sent().createRoot(n)).render(e),[2,r]}})})).apply(this,arguments)}function j(){return(j=(0,r._)(function(e,n){return(0,u.Jh)(this,function(r){switch(r.label){case 0:return[4,Promise.resolve().then(t.t.bind(t,54e3,19))];case 1:return r.sent().render(e,n),[2,n]}})})).apply(this,arguments)}function R(){return(R=(0,r._)(function(e,n){return(0,u.Jh)(this,function(r){switch(r.label){case 0:return[4,t.e("58").then(t.t.bind(t,41035,19))];case 1:return[2,r.sent().hydrateRoot(n,e)]}})})).apply(this,arguments)}function E(){return(E=(0,r._)(function(e,n,r){return(0,u.Jh)(this,function(o){switch(o.label){case 0:return[4,Promise.resolve().then(t.t.bind(t,54e3,19))];case 1:return[2,o.sent().hydrate(e,n,r)]}})})).apply(this,arguments)}},24348:function(e,n,t){t.d(n,{Ni:()=>a,Nm:()=>o,pc:()=>i}),(r=o||(o={}))[r.CLIENT_RENDER=0]="CLIENT_RENDER",r[r.SERVER_PREFETCH=1]="SERVER_PREFETCH",r[r.SERVER_RENDER=2]="SERVER_RENDER";var r,o,i="__MODERN_SSR_DATA__",a="__MODERN_ROUTER_DATA__"},62641:function(e,n,t){t.d(n,{CH:()=>d,FM:()=>l,Hb:()=>s,Uk:()=>a,cE:()=>o,hb:()=>i,jn:()=>u,nB:()=>c});var r={};function o(e){r.entryName=e.entryName,r.App=e.App,r.routes=e.routes,r.appInit=e.appInit,r.appConfig="function"==typeof e.appConfig?e.appConfig():e.appConfig,r.layoutApp=e.layoutApp,r.RSCRoot=e.RSCRoot}function i(e){r.internalRuntimeContext=e}function a(){return r.internalRuntimeContext}function l(){return r.App}function u(){return r.routes}function s(){var e,n;return r.appInit||(null===(e=l())||void 0===e?void 0:e.init)||(null===(n=d())||void 0===n?void 0:n.init)}function c(){var e,n;return r.appConfig||(null===(e=l())||void 0===e?void 0:e.config)||(null===(n=d())||void 0===n?void 0:n.config)}function d(){return r.layoutApp}},24644:function(e,n,t){t.d(n,{JO:()=>a,zv:()=>l});var r=t(63415),o=t(5872),i=t(13063),a=(0,o.createContext)({});(0,o.createContext)({});var l=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=arguments.length>1?arguments[1]:void 0;return{loaderManager:(0,i.K)({}),isBrowser:e,routeManifest:n||"undefined"!=typeof window&&window[r.p9]}}},13063:function(e,n,t){t.d(n,{K:()=>h});var r,o,i=t(12402),a=t(84706),l=t(50102),u=t(77360),s=t(99613),c=t(24546),d=t.n(c),f=function(){var e=new Map;return function(n){var t=e.get(n);if(t)return t;var r=JSON.stringify(n);return d()(r,"params should be not null value"),e.set(n,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 p=function(e){var n,t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return Promise.resolve()},l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,d=r.data,f=r.error,p=!1,h=new Set,v=(n=(0,i._)(function(){return(0,s.Jh)(this,function(e){return l||1===c?[2,t]:(c=1,g(),[2,t=o().then(function(e){d=e,f=null,c=2}).catch(function(e){f=e,d=null,c=3}).finally(function(){t=null,p=!0,g()})])})}),function(){return n.apply(this,arguments)}),m=function(){return{loading:!p&&1===c,reloading:p&&1===c,data:d,error:(0,a._)(f,Error)?"".concat(f.message):f,_error:f}},g=function(){(0,u._)(h).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return t},onChange:function(e){return h.add(e),function(){h.delete(e)}},load:v}},h=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipStatic,o=void 0!==r&&r,u=t.skipNonStatic,c=void 0!==u&&u,d=new Map,h=f();return{hasPendingLoaders:function(){var e=!0,n=!1,t=void 0;try{for(var r,o=d.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value.promise;if((0,a._)(i,Promise))return!0}}catch(e){n=!0,t=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw t}}return!1},awaitPendingLoaders:(n=(0,i._)(function(){var e,n,t,r,o,i,u,c,f,p;return(0,s.Jh)(this,function(s){switch(s.label){case 0:e=[],n=!0,t=!1,r=void 0;try{for(o=d[Symbol.iterator]();!(n=(i=o.next()).done);n=!0)c=(u=(0,l._)(i.value,2))[0],p=(f=u[1]).promise,(0,a._)(p,Promise)&&e.push([c,f])}catch(e){t=!0,r=e}finally{try{n||null==o.return||o.return()}finally{if(t)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,n){var t=(0,l._)(n,2),r=t[0],o=t[1];return e[r]=o.result,e},{})]}})}),function(){return n.apply(this,arguments)}),add:function(n,t){var r=h(t.params),i=d.get(r),a=t._cache;if(!i||!1===a){var l=c&&!t.static,u=o&&t.static;i=p(r,void 0!==e[r]?e[r]:{data:t.initialData},n,l||u),d.set(r,i)}return r},get:function(e){return d.get(e)}}}},30169:function(e,n,t){t.d(n,{v:()=>j,f:()=>R});var r,o,i,a,l,u,s,c=t(77360),d=t(27293),f=t(545),p=t(49987),h=t(17936),v=t(65),m=t(22589),g=(o=function(e){s.clear(),r=e;var n=e.plugins,t=e.handleSetupResult;s.addPlugins(n);var o=s.getPlugins(),i=(g=(f={runtimeContext:{},config:r.config,plugins:o}).runtimeContext,y=f.config,x=f.plugins,w={},x.forEach(function(e){var n=e.registryHooks,t=void 0===n?{}:n;Object.keys(t).forEach(function(e){w[e]=t[e]})}),(0,v._)((0,p._)({},g),{hooks:(0,p._)({},{onBeforeRender:(0,m.Ol)(),wrapRoot:(0,m.y2)(),pickContext:(0,m.y2)(),config:(0,m.rG)()},w),extendsHooks:w,config:y})),a=function(e){var n=e.context,t=e.plugins,r=n.hooks,o=n.extendsHooks;function i(){if(n){n.hooks,n.extendsHooks,n.config,n.pluginAPI;var e=(0,h._)(n,["hooks","extendsHooks","config","pluginAPI"]);return e._internalContext=n,e}throw Error("Cannot access context")}function a(e){n=(0,d.T)(n,e)}var l={};return t.forEach(function(e){var n=e._registryApi;if(n){var t=n(i,a);Object.keys(t).forEach(function(e){l[e]=t[e]})}}),o&&Object.keys(o).forEach(function(e){l[e]=o[e].tap}),new Proxy((0,p._)({updateRuntimeContext:a,getHooks:function(){return(0,p._)({},r,o)},getRuntimeConfig:function(){if(n.config)return n.config;throw Error("Cannot access config")},config:r.config.tap,onBeforeRender:r.onBeforeRender.tap,wrapRoot:r.wrapRoot.tap,pickContext:r.pickContext.tap},l),{get:function(e,n){return"then"===n?void 0:n in e?e[n]:function(){console.warn("api.".concat(n.toString()," not exist"))}}})}({context:i,pluginManager:s,plugins:o});i.pluginAPI=a;var l=!0,u=!1,c=void 0;try{for(var f,g,y,x,w,_,b=o[Symbol.iterator]();!(l=(_=b.next()).done);l=!0){var j,R=_.value,E=null===(j=R.setup)||void 0===j?void 0:j.call(R,a);t&&t(E,a)}}catch(e){u=!0,c=e}finally{try{l||null==b.return||b.return()}finally{if(u)throw c}}return{runtimeContext:i}},i=new Map,a=new Map,l=function(e,n,t){a.has(n)||a.set(n,{pre:new Map,post:new Map}),"pre"===t?a.get(e).pre.set(n,{name:n,isUse:!1}):"post"===t?a.get(e).post.set(n,{name:n}):"use"!==t||a.get(e).post.has(n)||a.get(n).pre.has(e)||a.get(e).pre.set(n,{name:n,isUse:!0})},u=function(e){if(e){!function(e){var n=void 0===e?"undefined":(0,f._)(e);if("object"!==n||null===e)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(n,"."));if(e.setup){if("function"==typeof e.setup)return;throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(n,"."))}}(e);var n=e.name,t=e.usePlugins,r=e.pre,o=e.post;if(i.has(n)){console.warn("Plugin ".concat(n," already exists."));return}i.set(n,e),a.set(n,{pre:new Map,post:new Map}),(void 0===r?[]:r).forEach(function(e){l(n,e,"pre")}),(void 0===o?[]:o).forEach(function(e){l(n,e,"post")}),(void 0===t?[]:t).forEach(function(e){i.has(e.name)||u(e),l(n,e.name,"use")})}},s={getPlugins:function(){var e=new Set,n=new Set,t=[],r=function(o){if(n.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&i.get(o)){n.add(o);var l=i.get(o).required;(void 0===l?[]:l).forEach(function(e){if(!i.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var u=a.get(o).pre;Array.from(u.values()).filter(function(e){return!e.isUse}).forEach(function(e){return r(e.name)}),Array.from(u.values()).filter(function(e){return e.isUse}).forEach(function(e){return r(e.name)}),n.delete(o),e.add(o),t.push(i.get(o))}};return i.forEach(function(e,n){a.get(n).post.forEach(function(e){a.get(e.name).pre.has(n)||a.get(e.name).pre.set(n,{name:n,isUse:!1})})}),i.forEach(function(e,n){r(n)}),t=t.filter(function(e){return e})},addPlugins:function(e){var n=!0,t=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=o.value;u(a)}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}},clear:function(){i.clear(),a.clear()},isPluginExists:function(e){return i.has(e)}},{run:function(e){var n=o(e).runtimeContext,t=n.hooks.config.call().filter(function(e){return!!e});return n.config=d.T.apply(void 0,[{}].concat((0,c._)(t),[n.config||{}])),{runtimeContext:n}}}),y=t(12402),x=t(99613);function w(e,n){e&&Object.keys(e).forEach(function(t){var r=e[t];if("function"==typeof r){var o,i="beforeRender"===(o=t)?"onBeforeRender":o;n[i]&&("beforeRender"===t?n[i]((0,y._)(function(){var e,n,t,o=arguments;return(0,x.Jh)(this,function(i){switch(i.label){case 0:for(n=Array(e=o.length),t=0;t<e;t++)n[t]=o[t];return[4,r.apply(void 0,(0,c._)(n))];case 1:return i.sent(),[2]}})})):n[i](function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return r.apply(void 0,(0,c._)(n))}))}})}var _=function(e){var n=e.ssrContext;return n?{isBrowser:e.isBrowser,request:n.request||{},response:n.response||{},logger:n.logger||{}}:{}},b=t(62641);function j(e,n){var t=(n||{}).plugins,r=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var n,t;return n=e()._internalContext.hooks,{beforeRender:(t=(0,y._)(function(e){return(0,x.Jh)(this,function(t){return[2,n.onBeforeRender.call(e)]})}),function(e){return t.apply(this,arguments)}),wrapRoot:function(e){return n.wrapRoot.call(e)},pickContext:function(e){return n.pickContext.call(e)},config:function(){return n.config.call()}}}}}},{name:"@modern-js/runtime-plugin-request-context",setup:function(e){e.onBeforeRender(function(e){var n=_(e);e.context=n})}}].concat((0,c._)(e),(0,c._)(void 0===t?[]:t)),config:n||{},handleSetupResult:w}).runtimeContext;return(0,b.hb)(r),r}function R(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return d.T.apply(void 0,[{},e].concat((0,c._)(t)))}},62192:function(e,n,t){t.d(n,{s:()=>a});var r=function(e){var n=document.querySelectorAll("#".concat(e));if(0!==n.length){var t=n[n.length-1];if(t)try{return JSON.parse((null==t?void 0:t.textContent)||"")}catch(n){console.error("parse ".concat(e," error"),n)}}},o=t(24348),i=t(62641);function a(e){var n=e||(0,i.FM)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||r(o.pc),window._ROUTER_DATA=window._ROUTER_DATA||r(o.Ni)),(0,i.Uk)().hooks.wrapRoot.call(n)}},30624:function(e,n,t){t.d(n,{NA:()=>M});var r=t(49987),o=t(65),i=t(77360),a=t(86834),l=t(27293),u=t(43866),s=t(81784);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var d=t(5872),f=t(24644),p=t(62641),h=t(22589),v=(0,h.y2)(),m=(0,h.y2)(),g=t(17936),y=t(50102),x=t(12402),w=t(545),_=t(99613);function b(e){var n=.001*new Date().getTime(),t=Math.floor(n),r=Math.floor(n%1*1e9);return e&&(t-=e[0],(r-=e[1])<0&&(t--,r+=1e9)),[t,r]}t(63415);var j=function(e){var n=(0,y._)(b(e),2);return 1e3*n[0]+n[1]/1e6},R=function(){var e=b();return function(){return j(e)}},E=function(e){var n,t,i,l,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,f=e.index,p=e.id,h=e.component,v=e.isRoot,m=e.lazyImport,g=e.config,y=e.handle,b=s.parent,j=s.props,A={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:(i=(n=e).loader)?(t=(0,x._)(function(e){var t,r,o;return(0,_.Jh)(this,function(o){switch(o.label){case 0:return"function"==typeof n.lazyImport&&n.lazyImport(),t=R(),[4,i(e)];case 1:return r=o.sent(),t(),"undefined"==typeof document&&console.error("You should not get async storage in browser"),[2,r]}})}),function(e){return t.apply(this,arguments)}):function(){return"function"==typeof n.lazyImport&&n.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,r._)({},y,(void 0===g?"undefined":(0,w._)(g))==="object"?null==g?void 0:g.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error){var S=(0,a.jsx)(e.error,{});A.errorElement=S}if(h){if((null==b?void 0:b.loading)&&m){var C=b.loading;l=k(h)?(0,a.jsx)(h,{fallback:(0,a.jsx)(C,{})}):(0,a.jsx)(d.Suspense,{fallback:(0,a.jsx)(C,{}),children:(0,a.jsx)(h,{})})}else l=k(h)&&m?(0,a.jsx)(h,{}):v?(0,a.jsx)(h,(0,r._)({},void 0===j?{}:j)):m?(0,a.jsx)(d.Suspense,{fallback:null,children:(0,a.jsx)(h,{})}):(0,a.jsx)(h,{})}else e.loading=null==b?void 0:b.loading,A.element=(0,a.jsx)(u.j3,{});l&&(A.element=l);var N=null==c?void 0:c.map(function(n){return E(n,{parent:e})});return f?(0,a.jsx)(u.AW,(0,o._)((0,r._)({},A),{index:!0}),p):(0,a.jsx)(u.AW,(0,o._)((0,r._)({},A),{index:!1,children:N}),p)};function k(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}var A=t(38933),S=function(){return(0,a.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})};function C(){return null}var N=function(){for(var e,n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];var o=RegExp("".concat("/","{1,}"),"g");return(e=t.join("/").replace(o,"/"))&&"string"==typeof e&&(e.startsWith(".")&&(e=e.slice(1)),e.startsWith("/")||(e="/".concat(e)),e.endsWith("/")&&"/"!==e&&(e=e.slice(0,e.length-1))),e},T={routes:[]},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"@modern-js/plugin-router",registryHooks:{modifyRoutes:v,onBeforeCreateRoutes:m},setup:function(n){var t=[];n.onBeforeRender(function(n){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var r,o=n.ssrContext,i=c(window.location.pathname),a=(null==o?void 0:null===(r=o.request)||void 0===r?void 0:r.pathname)&&c(o.request.pathname);a&&a!==i&&(console.error("The initial URL ".concat(a," and the URL ").concat(i," to be hydrated do not match, reload.")),window.location.reload())}n.router={useMatches:u.SN,useLocation:u.TH,useHref:u.oQ},Object.defineProperty(n,"routes",{get:function(){return t}})}),n.wrapRoot(function(c){var h,v,m=n.getRuntimeConfig(),x=(0,l.T)(m.router||{},e),w=x.serverBase,_=void 0===w?[]:w,b=x.supportHtml5History,j=void 0===b||b,R=x.basename,k=void 0===R?"":R,M=x.routesConfig,P=x.createRoutes,D=x.future;return(T=(0,r._)({routes:(0,p.jn)(),globalApp:(0,p.CH)()},M)).routes||P?(h=function(e){var l,c=(0,d.useContext)(f.JO),p=(l=location.pathname,_.find(function(e){return 0===l.search(e)})||"/").replace(/^\/*/,"/"),h="/"===p?N(p,c._internalRouterBaseName||k):p,v=window._ROUTER_DATA,m=c.unstable_getBlockNavState;return(0,d.useMemo)(function(){(null==v?void 0:v.errors)&&(v=(0,o._)((0,r._)({},v),{errors:function(e){if(!e)return null;var n=Object.entries(e),t={},r=!0,o=!1,i=void 0;try{for(var a,l=n[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=(0,y._)(a.value,2),s=u[0],c=u[1];if(c&&"RouteErrorResponse"===c.__type)t[s]=new A.OF(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var d=Error(c.message);d.stack=c.stack,t[s]=d}else t[s]=c}}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return t}(v.errors)})),t=P?P():(0,u.i7)(function(e){var n=e.routesConfig,t=e.props,o=e.ssrMode;if(!n)return null;var i=n.routes,l=n.globalApp;return i?function(e,n){var t=n.globalApp,o=n.ssrMode,i=n.props,l=function(e){var n=e.Component,o=(0,g._)(e,["Component"]);return t?(0,a.jsx)(t,(0,r._)({Component:n},o)):(0,a.jsx)(n,(0,r._)({},o))},s=[],c=!0,d=!1,f=void 0;try{for(var p,h=e[Symbol.iterator]();!(c=(p=h.next()).done);c=!0){var v=p.value;if("nested"===v.type){var m=E(v,{DeferredDataComponent:"stream"===o?C:void 0,props:i});s.push(m)}else{var y=(0,a.jsx)(u.AW,{path:v.path,element:(0,a.jsx)(l,{Component:v.component})},v.path);s.push(y)}}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}return s.push((0,a.jsx)(u.AW,{path:"*",element:(0,a.jsx)(S,{})},"*")),s}(i,{globalApp:l,ssrMode:o,props:t}):null}({routesConfig:T,props:e})),t=n.getHooks().modifyRoutes.call(t);var l=j?(0,s.aj)(t,{basename:h,hydrationData:v}):(0,s.cP)(t,{basename:h,hydrationData:v}),c=l.subscribe;return l.subscribe=function(e){return c(function(){for(var n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];if(!(m&&m()))return e.apply(void 0,(0,i._)(t))})},l},[T,e,h,v,m])},v=function(){return null},function(e){var n=h(e),t=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.pG,{router:n,future:D}),(0,a.jsx)(v,{}),(0,a.jsx)(v,{})]});return c?(0,a.jsx)(c,{children:t}):t}):c})}}}},83366:function(e,n,t){t.d(n,{RC:()=>o,UC:()=>a,u3:()=>i});var r=t(63415),o=function(e){return function(n){var t,o,i=null===(o=window)||void 0===o?void 0:null===(t=o[r.u$])||void 0===t?void 0:t[e];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(n):n.defaultShouldRevalidate}},i=function(e,n){return"undefined"!=typeof document&&(window[r.u$][n]=e),e},a=function(e){return console.error(e),null}},22589:function(e,n,t){t.d(n,{Ol:()=>a,rG:()=>u,y2:()=>l});var r=t(12402),o=t(77360),i=t(99613);function a(){var e,n=[];return{tap:function(e){n.push(e)},call:(e=(0,r._)(function(){var e,t,r,a,l,u,s,c,d,f,p,h,v,m,g=arguments;return(0,i.Jh)(this,function(i){switch(i.label){case 0:for(t=Array(e=g.length),r=0;r<e;r++)t[r]=g[r];a=!1,u=function(e){a=!0,l=e},s=!0,c=!1,d=void 0,i.label=1;case 1:i.trys.push([1,6,7,8]),f=n[Symbol.iterator](),i.label=2;case 2:if((s=(p=f.next()).done)||(h=p.value,a))return[3,5];return[4,h.apply(void 0,(0,o._)(t).concat([u]))];case 3:void 0!==(v=i.sent())&&(t[0]=v),i.label=4;case 4:return s=!0,[3,2];case 5:return[3,8];case 6:return m=i.sent(),c=!0,d=m,[3,8];case 7:try{s||null==f.return||f.return()}finally{if(c)throw d}return[7];case 8:return[2,a?l:t[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function l(){var e=[];return{tap:function(n){e.push(n)},call:function(){for(var n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];var i=!0,a=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value.apply(void 0,(0,o._)(t));void 0!==c&&(t[0]=c)}}catch(e){a=!0,l=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw l}}return t[0]}}}function u(){var e=[];return{tap:function(n){e.push(n)},call:function(){for(var n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];var o=[],i=!0,a=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=(0,u.value)(t);void 0!==c&&o.push(c)}}catch(e){a=!0,l=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw l}}return o}}}},27293:function(e,n,t){t.d(n,{T:()=>function e(n){for(var t=arguments.length,i=Array(t>1?t-1:0),l=1;l<t;l++)i[l-1]=arguments[l];if(!i.length)return n;var u=i.shift();if(a(n)&&a(u))for(var s in u)a(u[s])?(n[s]||Object.assign(n,(0,r._)({},s,{})),e(n[s],u[s])):Object.assign(n,(0,r._)({},s,u[s]));return e.apply(void 0,[n].concat((0,o._)(i)))}});var r=t(81855),o=t(77360),i=t(545);function a(e){return e&&(void 0===e?"undefined":(0,i._)(e))==="object"&&!Array.isArray(e)}},63415:function(e,n,t){t.d(n,{m5:()=>i,p9:()=>r,u$:()=>o});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},26678:function(e,n,t){t.d(n,{M:()=>d});var r=t(86834),o=t(43866),i=t(55670),a=t(8047),l=t(52701),u=t(59825),s=t(5872);let c=e=>{let{error:n}=e,t=n instanceof Error?"".concat(n.name,": ").concat(n.message):"Unknown Error",o=n instanceof Error?n.stack:Object.prototype.toString.call(n);return(0,r.jsxs)(i.x,{p:"4",children:[(0,r.jsx)(a.X,{as:"h4",mb:"4",children:(0,r.jsx)(l.x,{as:"span",children:t})}),(0,r.jsx)(u.K,{disabled:!0,style:{height:"50vh"},value:o})]})},d=()=>{let e=(0,o.lk)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,r.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},41294:function(e,n,t){t.d(n,{l:()=>l});var r=t(86834),o=t(43866),i=t(38933),a=t(55501);let l=e=>{let{items:n}=e,t=(0,o.s0)(),l=(0,o.TH)(),u=n.find(e=>(0,i.LX)(e.to,l.pathname));return(0,r.jsxs)(a.fC,{size:"1",value:null==u?void 0:u.to,onValueChange:t,children:[(0,r.jsx)(a.xz,{}),(0,r.jsx)(a.VY,{position:"popper",children:n.map(e=>{let{title:n,to:t}=e;return(0,r.jsx)(a.ck,{value:t,children:n},t)})})]})}},95197:function(e,n,t){t.d(n,{T:()=>k,k:()=>A});var r=t(49987),o=t(65),i=t(86834),a=t(29134),l=t(10487),u=t(65872);class s extends u.gl{static use(){return l.RUNTIME_GLOBALS in window||(window[l.RUNTIME_GLOBALS]=new s),window[l.RUNTIME_GLOBALS]}}async function c(e){s.use();let n=e.map(e=>new Promise((n,t)=>{let r=document.createElement("script");r.onload=()=>n(),r.onerror=e=>t(e),r.src=e,document.head.appendChild(r)}));await Promise.all(n)}var d=t(64542),f=t(7459),p=t(52493),h=t.n(p),v=t(3570),m=t(13190),g=t(4390),y=t(55058),x=t(41839);let w=async()=>{let e=await l.MessagePortChannel.link(window.parent,"channel:connect:client"),n=(0,u.Hu)();return{remote:(0,f.Fu)({async pullUp(e){await n.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:8e3})),hooks:n}};class _ extends Error{constructor(e){super(),this.name="InitializeManifestError",this.cause=e,this.message="Failed to initialize manifest of DevTools"}}let b=async e=>{let n=await fetch(e);try{let e=await n.text();return JSON.parse(e,(0,l.reviver)())}catch(e){throw new _(e)}},j=async(e,n)=>{let t=new URL(e,location.href),i=new window.WebSocket(t),a=await l.WebSocketChannel.link(i),s=(0,u.Hu)();return{remote:(0,f.Fu)({async refresh(){location.reload()},async applyStateOperations(e){for(let t of e)(0,l.applyOperation)(n,t)}},(0,o._)((0,r._)({},a.handlers),{timeout:5e3})),hooks:s,url:t}},R=async()=>{let e=s.use(),n=(0,x.sj)([{name:"overview",title:"Overview",icon:(0,i.jsx)(m.VRM,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,i.jsx)(m.pZq,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,i.jsx)(m.OiH,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,i.jsx)(g.Ueg,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,i.jsx)(m.sin,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,i.jsx)(m.KBe,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,i.jsx)(g.BwS,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,i.jsx)(m.RMk,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let t of(await e.callHook("tab:list",n),n))"object"==typeof t.icon&&(t.icon=(0,x.iH)(t.icon)),"external"===t.view.type&&(t.view.component=(0,x.iH)(t.view.component));return n},E=async e=>{let n=new d.S,t=n.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let r=(0,v.createBridge)(window.parent,n);r.shutdown=()=>null;let o=(0,v.createStore)(r),i=(0,v.initialize)(window.parent,{bridge:r,store:o});return{store:o,bridge:r,wallAgent:n,unreg:t,Renderer:i}},k=(async e=>{var n;let t=(0,y.mB)((0,y.Lk)(e).search),i=null!==(n=h().castArray(t.src)[0])&&void 0!==n?n:(0,y.As)(e,"manifest"),a=w(),l=b(i),u=l.then(e=>e.websocket?j(e.websocket,(0,x.sj)(e)):null),s=l.then(e=>c(e.context.def.plugins)).then(R),d=a.then(E),[f,p,v,m,g]=await Promise.all([a,l,u,s,d]);return(0,x.sj)((0,o._)((0,r._)({},p),{version:"2.65.4",tabs:m,server:v?(0,x.iH)(v):null,mountPoint:(0,x.iH)(f),react:{devtools:{store:(0,x.iH)(g.store),bridge:(0,x.iH)(g.bridge),wallAgent:(0,x.iH)(g.wallAgent),unreg:(0,x.iH)(g.unreg),Renderer:(0,x.iH)(g.Renderer)}}}))})(location.href),A=()=>(0,a.D$)(k)},65507:function(e,n,t){t.d(n,{Z:()=>o});var r=t(38933);let o=e=>{let{params:n}=e;return n.toolkit&&n.type&&["framework","builder","bundler"].includes(n.toolkit)?["resolved","transformed"].includes(n.type)?null:(0,r.uX)("/404"):(0,r.uX)("/404")}},6032:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},16127:function(e,n,t){t.r(n),t.d(n,{handle:()=>h});var r=t(86834),o=t(43866),i=t(52701),a=t(67251),l=t(55501),u=t(55670),s=t(52493),c=t.n(s);let d=e=>{let{name:n,describe:t}=e,o=t.map(e=>(0,r.jsx)(i.x,{style:{display:"block"},children:e},e));return(0,r.jsx)(a.u,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,r.jsx)(l.ck,{value:n,children:(0,r.jsx)(u.x,{children:c().startCase(n)})})},n)},f=[{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."]}],p=[{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."]}],h={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let e=(0,o.TH)(),n=(0,o.s0)(),[t,i]=e.pathname.split("/").slice(2);return(0,r.jsxs)(l.fC,{size:"1",value:t,onValueChange:e=>{n("/config/".concat(e,"/").concat(i))},children:[(0,r.jsx)(l.xz,{children:t}),(0,r.jsx)(l.VY,{children:f.map(e=>{let{name:n,describe:t}=e;return(0,r.jsx)(d,{name:n,describe:t},n)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,o.TH)(),n=(0,o.s0)(),[t,i]=e.pathname.split("/").slice(2);return(0,r.jsxs)(l.fC,{size:"1",value:i,onValueChange:e=>{n("/config/".concat(t,"/").concat(e))},children:[(0,r.jsx)(l.xz,{children:i}),(0,r.jsx)(l.VY,{children:p.map(e=>{let{name:n,describe:t}=e;return(0,r.jsx)(d,{name:n,describe:t},n)})})]})},{})}]}},41434:function(e,n,t){t.d(n,{Z:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./builder/transformed");return(0,r.uX)(t)}},85512:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},12323:function(e,n,t){t.r(n),t.d(n,{handle:()=>i});var r=t(86834),o=t(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(e,n,t){t.d(n,{Z:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./builder");return(0,r.uX)(t)}},57595:function(e,n,t){t.d(n,{Z:()=>m});var r=t(86834),o=t(26678),i=t(49497),a=t(55670),l=t(8047),u=t(13190),s=t(91671);let c=e=>{let{title:n,children:t}=e;return(0,r.jsxs)(i.k,{className:s.Z.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(i.k,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(u.fd$,{size:"36"})}),(0,r.jsxs)(a.x,{children:[(0,r.jsx)(i.k,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(l.X,{children:n})}),(0,r.jsx)(a.x,{className:s.Z.children,children:t})]})]})};var d=t(95197),f=t(43866),p=t(37970),h=t(55058),v=t(20610);let m=()=>{let e=(0,f.lk)(),n=(0,d.k)(),{def:t}=(0,v.R)(n).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(o.M,{});{let e=(0,h.Lk)(t.doctor.quickStart).host,n=(0,r.jsxs)(p.r,{href:t.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(a.x,{width:"100%",children:(0,r.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",n," to learn more."]})})}}},58326:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Doctor"}}},56089:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},65825:function(e,n,t){t.r(n),t.d(n,{handle:()=>l});var r=t(95197),o=t(29134),i=t(52493),a=t.n(i);let l={breadcrumb(e){var n;let t;let{pathname:i}=e.location,l=null===(n=i.match(/^\/external\/(\w+)/))||void 0===n?void 0:n[1],{tabs:u}=(0,o.D$)(r.T),s=a().find(u,{name:l});return s?{title:t}=s:t=l?a().startCase(l):"External",{title:t,pathname:i}}}},82557:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},65451:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Header Modifier"}}},47716:function(e,n,t){t.d(n,{_:()=>i});var r=t(38933),o=t(96575);let i=async()=>{let e=await o.ok.service;return(0,r.uX)(e.rules?"./editor":"./welcome")}},96575:function(e,n,t){t.d(n,{gM:()=>a,m:()=>l,ok:()=>s});var r=t(52493),o=t.n(r),i=t(41839);let a=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=encodeURIComponent(JSON.stringify(e)),t="".concat("/sw-proxy.js","?rules=").concat(n),r=await navigator.serviceWorker.register(t);return await navigator.serviceWorker.ready,s.service=await u(),r},l=async()=>{let e=await navigator.serviceWorker.getRegistrations(),n=!0;for(let t of e)n=n&&await t.unregister();return s.service=Promise.resolve({}),n},u=async()=>{for(let e of o().times(3))try{let e=AbortSignal.timeout(300),n=await fetch("/__devtools/service/status",{signal:e});return await n.json()}catch(e){}return{}},s=(0,i.sj)({service:u()})},1920:function(e,n,t){t.r(n),t.d(n,{handle:()=>i});var r=t(86834),o=t(13190);let i={breadcrumb:{title:(0,r.jsx)(o.Zn9,{}),pathname:"/overview"}}},57142:function(e,n,t){t.r(n),t.d(n,{default:()=>Y});var r=t(86834),o=t(49987),i=t(65),a=t(43866),l=t(66671),u=t(49497),s=t(52493),c=t.n(s),d=t(38921),f=t(17936),p=t(12402),h=t(50102),v=t(99613),m=t(38933),g=t(81784),y=t(5872),x=t(24644);function w(e,n){return function(t){null==e||e(t),t.defaultPrevented||n(t)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function b(){return(b=(0,p._)(function(e,n){var r,o;return(0,v.Jh)(this,function(i){switch(i.label){case 0:if(!(r=e.id)||!n[r]||!(o=n[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===t.e||void 0===t.e?void 0:t.e(e)}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var j=function(e,n){var t=window.location,r=t.protocol,o=t.host,i=new URL(e,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",n),i.searchParams.append("__ssrDirect","true"),i},R=function(e,n,t){var o,i=e.id;return o=j("/"===t?n:"".concat(t).concat(n),i).toString(),(0,r.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},E=function(e){var n=e.path,t=n.pathname,o=(0,y.useContext)(x.JO),i=o.routeManifest,a=o.routes,l=(i||{}).routeAssets,u=Array.isArray(a)?(0,m.fp)(a,t):[];return(Array.isArray(u)&&l&&(null==u||u.forEach(function(e){return function(e,n){return b.apply(this,arguments)}(e.route,l)})),window._SSR_DATA)?(0,r.jsx)(k,{matches:u,path:n,routeManifest:i}):null},k=function(e){var n=e.matches,t=e.path,o=e.routeManifest,i=t.pathname,l=t.search,u=t.hash,s=(0,a.SN)(),c=(0,a.oQ)("/"),d=(0,y.useMemo)(function(){return null==n?void 0:n.filter(function(e,n){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var t,r=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(i+l+u,window.origin),a=e.route.shouldRevalidate({currentUrl:r,currentParams:(null===(t=s[0])||void 0===t?void 0:t.params)||{},nextUrl:o,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof a)return a}var c=s[n];return!!(!c||c.id!==e.route.id||c.pathname!==e.pathname||c.pathname.endsWith("*")&&c.params["*"]!==e.params["*"])}).map(function(e){return R(e.route,i,c)})},[n,i,o]);return(0,r.jsx)(r.Fragment,{children:d})},A=function(e){return y.forwardRef(function(n,i){var l,u,s,c,d,p,v,m,g,x,b,j,R,k,A=n.to,S=n.prefetch,C=(0,f._)(n,["to","prefetch"]),N="string"==typeof A&&_.test(A),T=(0,h._)((l=void 0===S?"none":S,s=(u=(0,h._)(y.useState(!1),2))[0],c=u[1],p=(d=(0,h._)(y.useState(!1),2))[0],v=d[1],m=C.onFocus,g=C.onBlur,x=C.onMouseEnter,b=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===l&&v(!0)},[l]),R=function(){"intent"===l&&c(!0)},k=function(){"intent"===l&&(c(!1),v(!1))},y.useEffect(function(){if(s){var e=setTimeout(function(){v(!0)},100);return function(){clearTimeout(e)}}},[s]),[p,{onFocus:w(m,R),onBlur:w(g,k),onMouseEnter:w(x,R),onMouseLeave:w(b,k),onTouchStart:w(j,R)}]),2),M=T[0],P=T[1],D=(0,a.WU)(A);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,(0,o._)({ref:i,to:A},C,P)),M&&t.e&&!N?(0,r.jsx)(E,{path:D}):null]})})},S=A(g.rU);S.displayName="Link";var C=A(g.OL);C.displayName="NavLink";var N=t(37970);let T=e=>{var{to:n,children:t}=e,a=(0,f._)(e,["to","children"]);return(0,r.jsx)(N.r,(0,i._)((0,o._)({},a),{asChild:!0,children:(0,r.jsx)(S,{to:n,children:t})}))},M=e=>{let{location:n,handle:t}=e;if(!c().isObject(t)&&c().isNil(t))return[];let{breadcrumb:r}=t,o=[];c().isFunction(r)?o.push(...c().castArray(r({location:n}))):o.push(...c().castArray(r));let i=[];for(let n of o){if(!c().isObject(n)||c().isNull(n)||!("title"in n))continue;let t={id:e.id,title:n.title,pathname:e.pathname};"pathname"in n&&c().isString(n.pathname)&&(t.pathname=n.pathname),i.push(t)}return i},P=e=>{let n=[],t=(0,a.SN)(),s=(0,a.TH)(),c=[];for(let e of t)c.push(...M((0,i._)((0,o._)({},e),{location:s})));for(let[e,t]of(s.state&&"breadcrumb"in s.state&&c.push(...M({handle:s.state.breadcrumb,pathname:s.pathname,id:"external/".concat(s.pathname),location:s})),Object.entries(c))){let o=[t.id,t.pathname,e];n.push((0,r.jsx)(T,{color:"gray",size:"2",to:t.pathname,children:t.title},o.join("_"))),t!==c.at(-1)&&(o.push("#connector"),n.push((0,r.jsx)(l.XCv,{className:d.Z.connector},o.join("_"))))}return(0,r.jsx)(u.k,(0,i._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:n}))};var D=t(95197);let O="";D.T.then(e=>{let{mountPoint:n}=e;n.hooks.hookOnce("pullUp",async e=>{O=e})});let L=()=>{let e=(0,a.s0)(),{mountPoint:n}=(0,D.k)();return(0,y.useEffect)(()=>{O&&e(O),n.hooks.hook("pullUp",async n=>{e(n)})},[]),null};var H=t(97137),B=t(87420);let U=e=>{var{children:n}=e,t=(0,f._)(e,["children"]);let[a]=(0,H.U)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(a)},[a]),(0,r.jsx)(B.Q2,(0,i._)((0,o._)({},t),{appearance:a,children:n}))};var I=t(85311),J=t(67251),z=t(55670),F=t(13190),q=t(20610);let Z="tab-button-MtqLNp",V="tab-button-inner-KmlACp",W=e=>{let{tab:n}=e,t="";if("builtin"===n.view.type)t=n.view.src;else if("iframe"===n.view.type)t="/iframe/".concat(n.view.src);else if("external"===n.view.type)t="/external/".concat(n.name);else throw Error('Invalid tab view of "'.concat(n.name,'".'));return(0,y.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(J.u,{content:n.title,side:"right",children:(0,r.jsx)(C,{to:t,className:Z,children:(0,r.jsx)(u.k,{justify:"center",align:"center",p:"1",className:V,children:(0,r.jsx)(z.x,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:n.icon})})})})},X=()=>{let{server:e}=(0,q.R)((0,D.k)());return(0,r.jsx)(J.u,{content:e?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(z.x,{className:Z,children:(0,r.jsxs)(z.x,{p:"1",position:"relative",className:V,children:[(0,r.jsx)(z.x,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(F.Qa9,{})}),(0,r.jsx)(z.x,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},G=()=>{let[e,n]=(0,H.U)();return(0,r.jsx)(J.u,{content:"Appearance",side:"right",children:(0,r.jsx)(z.x,{className:Z,onClick:()=>{n("light"===e?"dark":"light")},children:(0,r.jsx)(u.k,{justify:"center",align:"center",p:"1",className:V,children:(0,r.jsx)(z.x,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,r.jsx)(F.Fxr,{}):(0,r.jsx)(F.YGJ,{})})})})})},$=()=>{let{tabs:e}=(0,q.R)((0,D.k)());return(0,r.jsxs)(u.k,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,r.jsx)(W,{tab:e},e.name)),(0,r.jsx)(z.x,{flexGrow:"1"}),(0,r.jsx)(X,{}),(0,r.jsx)(G,{})]})},Y=()=>(0,r.jsx)(U,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(I.zt,{swipeDirection:"up",children:[(0,r.jsx)($,{}),(0,r.jsxs)(z.x,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(z.x,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(a.j3,{})}),(0,r.jsx)(P,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(L,{})]})})},64931:function(e,n,t){t.d(n,{Z:()=>l});var r=t(86834),o=t(9768),i=t(95197),a=t(12564);let l=()=>{let{mountPoint:e}=(0,i.k)();return(0,a.Z)(async()=>{e.remote.onFinishRender()}),(0,r.jsx)(o.g,{className:"loading-gmTvLE"})}},79273:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},34025:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Overview"}}},83881:function(e,n,t){t.d(n,{_:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./overview");return(0,r.uX)(t)}},90545:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},42509:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Pages"}}},47152:function(e,n,t){t.r(n),t.d(n,{handle:()=>i});var r=t(86834),o=t(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(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},21690:function(e,n,t){t.d(n,{Z:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./components");return(0,r.uX)(t)}},86318:function(e,n,t){t.d(n,{_:()=>l});var r=t(95197),o=t(38933),i=t(52493),a=t.n(i);let l=async e=>{let{params:n}=e,{id:t}=n;if(!t)throw TypeError("storage preset id is required");let{context:i}=await r.T,{storagePresets:l}=await Promise.resolve(i),u=a().find(l,{id:t});return u||(0,o.uX)("/storage/preset")}},26823:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},62739:function(e,n,t){t.d(n,{_:()=>o,a:()=>i});var r=t(33049);let o=async e=>await (0,r.l5)(),i=()=>null},34772:function(e,n,t){t.d(n,{_:()=>o});var r=t(33049);let o=async e=>await (0,r.l5)()},33049:function(e,n,t){t.d(n,{SR:()=>u,dR:()=>a,f:()=>s,l5:()=>c,xq:()=>l});var r=t(95197),o=t(52493),i=t.n(o);let a=["cookie","localStorage","sessionStorage"],l={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},u=(e,n)=>i().map(e[n],(t,r)=>{let o=[e.id,n,r].join("//");return{key:r,value:t,type:n,id:o}}),s=e=>{let n=[];for(let t of a)n.push(...u(e,t));return n},c=async e=>{let{mountPoint:n}=await r.T,[t,o,i]=await Promise.all([n.remote.cookies(null==e?void 0:e.cookie),n.remote.localStorage(null==e?void 0:e.localStorage),n.remote.sessionStorage(null==e?void 0:e.sessionStorage)]);return{cookie:t,localStorage:o,sessionStorage:i}}},29134:function(e,n,t){t.d(n,{D$:()=>o}),t(86834),t(5872),t(52493);let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let n=r.get(e);if(n instanceof Error)throw n;if(!(n instanceof Promise))return n;throw n}throw r.set(e,e),e.then(n=>r.set(e,n)).catch(n=>r.set(e,n)),e}}},function(e){var n=function(n){return e(e.s=n)};e.O(0,["109","118","126","130","261","567","58"],function(){return n("5256"),n("16065"),n("53327"),n("28651"),n("58971")}),e.O()}]);
|
|
1
|
+
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["462"],{95942:function(e,n,t){t.d(n,{sY:()=>w});var r=t(12402),o=t(84706),i=t(49987),a=t(65),l=t(50102),u=t(99613),s=t(75192),c=t(62641),d=t(24644),f=t(13063),p=t(5872);function h(e,n){return p.createElement(d.JO.Provider,{value:n},e)}var v=t(86834),m=t(48249),g=t(24348),y=function(e){var n=e.callback,t=e.children,r=(0,p.useRef)(!1);return(0,p.useLayoutEffect)(function(){!r.current&&(r.current=!0,n())},[n]),t},x=function(){return!0};function w(e,n){return _.apply(this,arguments)}function _(){return(_=(0,r._)(function(e,n){var t,p,w,_,j,E,k,A,S,C,N;function T(){return(T=(0,r._)(function(e){return(0,u.Jh)(this,function(n){return[2,function(e,n){return b.apply(this,arguments)}(e,N)]})})).apply(this,arguments)}function M(){return(M=(0,r._)(function(e,n){return(0,u.Jh)(this,function(t){return[2,function(e,n){return R.apply(this,arguments)}(e,N,n)]})})).apply(this,arguments)}return(0,u.Jh)(this,function(b){var R,P,D,O,L,H,B,U,I,J,z,F,q,Z,V,W,X;switch(b.label){case 0:if(t=(0,d.zv)(),R=(0,r._)(function(e){var n,t;return(0,u.Jh)(this,function(r){switch(r.label){case 0:return(n=(0,c.Uk)()).pluginAPI.updateRuntimeContext(e),[4,n.hooks.onBeforeRender.call(e)];case 1:return r.sent(),[2,null==(t=(0,c.Hb)())?void 0:t(e)]}})}),p=function(e){return R.apply(this,arguments)},!(void 0===n||"string"==typeof n||"undefined"!=typeof HTMLElement&&(0,o._)(n,HTMLElement)))return[3,2];return w=function(e){return T.apply(this,arguments)},_=function(e,n){return M.apply(this,arguments)},H=null==(L=window._SSR_DATA)?void 0:null===(P=L.context)||void 0===P?void 0:P.request,S=Object.keys(A=(null===(j=(k=(0,a._)((0,i._)({},L||{renderLevel:0,mode:"string"}),{context:(0,a._)((0,i._)({},(null==L?void 0:L.context)||{}),{request:(0,a._)((0,i._)({},(null==L?void 0:null===(D=L.context)||void 0===D?void 0:D.request)||{}),{params:(null==H?void 0:H.params)||{},host:(null==H?void 0:H.host)||location.host,pathname:(null==H?void 0:H.pathname)||location.pathname,headers:(null==H?void 0:H.headers)||{},cookieMap:s.parse(document.cookie||"")||{},cookie:document.cookie||"",userAgent:(null==H?void 0:null===(O=H.headers)||void 0===O?void 0:O["user-agent"])||navigator.userAgent,referer:document.referrer,query:(0,i._)({},window.location.search.substring(1).split("&").reduce(function(e,n){var t=(0,l._)(n.split("="),2),r=t[0],o=t[1];return r&&(e[r]=o),e},{}),(null==H?void 0:H.query)||{}),url:location.href})})})).data)||void 0===j?void 0:j.loadersData)||{}).reduce(function(e,n){var t=A[n];return(null==t?void 0:t.loading)!==!1||(e[n]=t),e},{}),Object.assign(t,{loaderManager:(0,f.K)(S,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),t.initialData=null===(E=k.data)||void 0===E?void 0:E.initialData,[4,p(t)];case 1:if((C=b.sent())&&(t.initialData=C),N=n&&"string"!=typeof n?n:document.getElementById(n||"root"),window._SSR_DATA)return[2,(B=t,U=w,I=_,Z=(0,a._)((0,i._)({},B),{get routes(){return B.routes},_hydration:!0}),V=function(){delete Z._hydration},W=(null===(z=window)||void 0===z?void 0:null===(J=z._SSR_DATA)||void 0===J?void 0:J.renderLevel)||g.Nm.CLIENT_RENDER,X=(null===(q=window)||void 0===q?void 0:null===(F=q._SSR_DATA)||void 0===F?void 0:F.mode)||"string",x()&&"stream"===X?W===g.Nm.SERVER_RENDER?I(h((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:V,children:e})},{}),Z)):U(h(e,B)):W===g.Nm.CLIENT_RENDER||W===g.Nm.SERVER_PREFETCH?U(h(e,B)):W===g.Nm.SERVER_RENDER?new Promise(function(n){x()?(0,m.TA)(function(){I(h((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:V,children:e})},{}),Z)).then(function(e){n(e)})}):(0,m.TA)(function(){I(h(e,Z),V).then(function(e){n(e)})})}):(console.warn("unknow render level: ".concat(W,", execute render()")),U(h(e,B))))];return[2,w(h(e,t))];case 2:throw Error("`render` function needs id in browser environment, it needs to be string or element")}})})).apply(this,arguments)}function b(){return(b=(0,r._)(function(e,n){var r;return(0,u.Jh)(this,function(o){switch(o.label){case 0:return[4,t.e("58").then(t.t.bind(t,41035,19))];case 1:return(r=o.sent().createRoot(n)).render(e),[2,r]}})})).apply(this,arguments)}function j(){return(j=(0,r._)(function(e,n){return(0,u.Jh)(this,function(r){switch(r.label){case 0:return[4,Promise.resolve().then(t.t.bind(t,54e3,19))];case 1:return r.sent().render(e,n),[2,n]}})})).apply(this,arguments)}function R(){return(R=(0,r._)(function(e,n){return(0,u.Jh)(this,function(r){switch(r.label){case 0:return[4,t.e("58").then(t.t.bind(t,41035,19))];case 1:return[2,r.sent().hydrateRoot(n,e)]}})})).apply(this,arguments)}function E(){return(E=(0,r._)(function(e,n,r){return(0,u.Jh)(this,function(o){switch(o.label){case 0:return[4,Promise.resolve().then(t.t.bind(t,54e3,19))];case 1:return[2,o.sent().hydrate(e,n,r)]}})})).apply(this,arguments)}},24348:function(e,n,t){t.d(n,{Ni:()=>a,Nm:()=>o,pc:()=>i}),(r=o||(o={}))[r.CLIENT_RENDER=0]="CLIENT_RENDER",r[r.SERVER_PREFETCH=1]="SERVER_PREFETCH",r[r.SERVER_RENDER=2]="SERVER_RENDER";var r,o,i="__MODERN_SSR_DATA__",a="__MODERN_ROUTER_DATA__"},62641:function(e,n,t){t.d(n,{CH:()=>d,FM:()=>l,Hb:()=>s,Uk:()=>a,cE:()=>o,hb:()=>i,jn:()=>u,nB:()=>c});var r={};function o(e){r.entryName=e.entryName,r.App=e.App,r.routes=e.routes,r.appInit=e.appInit,r.appConfig="function"==typeof e.appConfig?e.appConfig():e.appConfig,r.layoutApp=e.layoutApp,r.RSCRoot=e.RSCRoot}function i(e){r.internalRuntimeContext=e}function a(){return r.internalRuntimeContext}function l(){return r.App}function u(){return r.routes}function s(){var e,n;return r.appInit||(null===(e=l())||void 0===e?void 0:e.init)||(null===(n=d())||void 0===n?void 0:n.init)}function c(){var e,n;return r.appConfig||(null===(e=l())||void 0===e?void 0:e.config)||(null===(n=d())||void 0===n?void 0:n.config)}function d(){return r.layoutApp}},24644:function(e,n,t){t.d(n,{JO:()=>a,zv:()=>l});var r=t(63415),o=t(5872),i=t(13063),a=(0,o.createContext)({});(0,o.createContext)({});var l=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=arguments.length>1?arguments[1]:void 0;return{loaderManager:(0,i.K)({}),isBrowser:e,routeManifest:n||"undefined"!=typeof window&&window[r.p9]}}},13063:function(e,n,t){t.d(n,{K:()=>h});var r,o,i=t(12402),a=t(84706),l=t(50102),u=t(77360),s=t(99613),c=t(24546),d=t.n(c),f=function(){var e=new Map;return function(n){var t=e.get(n);if(t)return t;var r=JSON.stringify(n);return d()(r,"params should be not null value"),e.set(n,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 p=function(e){var n,t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return Promise.resolve()},l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,d=r.data,f=r.error,p=!1,h=new Set,v=(n=(0,i._)(function(){return(0,s.Jh)(this,function(e){return l||1===c?[2,t]:(c=1,g(),[2,t=o().then(function(e){d=e,f=null,c=2}).catch(function(e){f=e,d=null,c=3}).finally(function(){t=null,p=!0,g()})])})}),function(){return n.apply(this,arguments)}),m=function(){return{loading:!p&&1===c,reloading:p&&1===c,data:d,error:(0,a._)(f,Error)?"".concat(f.message):f,_error:f}},g=function(){(0,u._)(h).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return t},onChange:function(e){return h.add(e),function(){h.delete(e)}},load:v}},h=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipStatic,o=void 0!==r&&r,u=t.skipNonStatic,c=void 0!==u&&u,d=new Map,h=f();return{hasPendingLoaders:function(){var e=!0,n=!1,t=void 0;try{for(var r,o=d.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value.promise;if((0,a._)(i,Promise))return!0}}catch(e){n=!0,t=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw t}}return!1},awaitPendingLoaders:(n=(0,i._)(function(){var e,n,t,r,o,i,u,c,f,p;return(0,s.Jh)(this,function(s){switch(s.label){case 0:e=[],n=!0,t=!1,r=void 0;try{for(o=d[Symbol.iterator]();!(n=(i=o.next()).done);n=!0)c=(u=(0,l._)(i.value,2))[0],p=(f=u[1]).promise,(0,a._)(p,Promise)&&e.push([c,f])}catch(e){t=!0,r=e}finally{try{n||null==o.return||o.return()}finally{if(t)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,n){var t=(0,l._)(n,2),r=t[0],o=t[1];return e[r]=o.result,e},{})]}})}),function(){return n.apply(this,arguments)}),add:function(n,t){var r=h(t.params),i=d.get(r),a=t._cache;if(!i||!1===a){var l=c&&!t.static,u=o&&t.static;i=p(r,void 0!==e[r]?e[r]:{data:t.initialData},n,l||u),d.set(r,i)}return r},get:function(e){return d.get(e)}}}},30169:function(e,n,t){t.d(n,{v:()=>j,f:()=>R});var r,o,i,a,l,u,s,c=t(77360),d=t(27293),f=t(545),p=t(49987),h=t(17936),v=t(65),m=t(22589),g=(o=function(e){s.clear(),r=e;var n=e.plugins,t=e.handleSetupResult;s.addPlugins(n);var o=s.getPlugins(),i=(g=(f={runtimeContext:{},config:r.config,plugins:o}).runtimeContext,y=f.config,x=f.plugins,w={},x.forEach(function(e){var n=e.registryHooks,t=void 0===n?{}:n;Object.keys(t).forEach(function(e){w[e]=t[e]})}),(0,v._)((0,p._)({},g),{hooks:(0,p._)({},{onBeforeRender:(0,m.Ol)(),wrapRoot:(0,m.y2)(),pickContext:(0,m.y2)(),config:(0,m.rG)()},w),extendsHooks:w,config:y})),a=function(e){var n=e.context,t=e.plugins,r=n.hooks,o=n.extendsHooks;function i(){if(n){n.hooks,n.extendsHooks,n.config,n.pluginAPI;var e=(0,h._)(n,["hooks","extendsHooks","config","pluginAPI"]);return e._internalContext=n,e}throw Error("Cannot access context")}function a(e){n=(0,d.T)(n,e)}var l={};return t.forEach(function(e){var n=e._registryApi;if(n){var t=n(i,a);Object.keys(t).forEach(function(e){l[e]=t[e]})}}),o&&Object.keys(o).forEach(function(e){l[e]=o[e].tap}),new Proxy((0,p._)({updateRuntimeContext:a,getHooks:function(){return(0,p._)({},r,o)},getRuntimeConfig:function(){if(n.config)return n.config;throw Error("Cannot access config")},config:r.config.tap,onBeforeRender:r.onBeforeRender.tap,wrapRoot:r.wrapRoot.tap,pickContext:r.pickContext.tap},l),{get:function(e,n){return"then"===n?void 0:n in e?e[n]:function(){console.warn("api.".concat(n.toString()," not exist"))}}})}({context:i,pluginManager:s,plugins:o});i.pluginAPI=a;var l=!0,u=!1,c=void 0;try{for(var f,g,y,x,w,_,b=o[Symbol.iterator]();!(l=(_=b.next()).done);l=!0){var j,R=_.value,E=null===(j=R.setup)||void 0===j?void 0:j.call(R,a);t&&t(E,a)}}catch(e){u=!0,c=e}finally{try{l||null==b.return||b.return()}finally{if(u)throw c}}return{runtimeContext:i}},i=new Map,a=new Map,l=function(e,n,t){a.has(n)||a.set(n,{pre:new Map,post:new Map}),"pre"===t?a.get(e).pre.set(n,{name:n,isUse:!1}):"post"===t?a.get(e).post.set(n,{name:n}):"use"!==t||a.get(e).post.has(n)||a.get(n).pre.has(e)||a.get(e).pre.set(n,{name:n,isUse:!0})},u=function(e){if(e){!function(e){var n=void 0===e?"undefined":(0,f._)(e);if("object"!==n||null===e)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(n,"."));if(e.setup){if("function"==typeof e.setup)return;throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(n,"."))}}(e);var n=e.name,t=e.usePlugins,r=e.pre,o=e.post;if(i.has(n)){console.warn("Plugin ".concat(n," already exists."));return}i.set(n,e),a.set(n,{pre:new Map,post:new Map}),(void 0===r?[]:r).forEach(function(e){l(n,e,"pre")}),(void 0===o?[]:o).forEach(function(e){l(n,e,"post")}),(void 0===t?[]:t).forEach(function(e){i.has(e.name)||u(e),l(n,e.name,"use")})}},s={getPlugins:function(){var e=new Set,n=new Set,t=[],r=function(o){if(n.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&i.get(o)){n.add(o);var l=i.get(o).required;(void 0===l?[]:l).forEach(function(e){if(!i.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var u=a.get(o).pre;Array.from(u.values()).filter(function(e){return!e.isUse}).forEach(function(e){return r(e.name)}),Array.from(u.values()).filter(function(e){return e.isUse}).forEach(function(e){return r(e.name)}),n.delete(o),e.add(o),t.push(i.get(o))}};return i.forEach(function(e,n){a.get(n).post.forEach(function(e){a.get(e.name).pre.has(n)||a.get(e.name).pre.set(n,{name:n,isUse:!1})})}),i.forEach(function(e,n){r(n)}),t=t.filter(function(e){return e})},addPlugins:function(e){var n=!0,t=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var a=o.value;u(a)}}catch(e){t=!0,r=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw r}}},clear:function(){i.clear(),a.clear()},isPluginExists:function(e){return i.has(e)}},{run:function(e){var n=o(e).runtimeContext,t=n.hooks.config.call().filter(function(e){return!!e});return n.config=d.T.apply(void 0,[{}].concat((0,c._)(t),[n.config||{}])),{runtimeContext:n}}}),y=t(12402),x=t(99613);function w(e,n){e&&Object.keys(e).forEach(function(t){var r=e[t];if("function"==typeof r){var o,i="beforeRender"===(o=t)?"onBeforeRender":o;n[i]&&("beforeRender"===t?n[i]((0,y._)(function(){var e,n,t,o=arguments;return(0,x.Jh)(this,function(i){switch(i.label){case 0:for(n=Array(e=o.length),t=0;t<e;t++)n[t]=o[t];return[4,r.apply(void 0,(0,c._)(n))];case 1:return i.sent(),[2]}})})):n[i](function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return r.apply(void 0,(0,c._)(n))}))}})}var _=function(e){var n=e.ssrContext;return n?{isBrowser:e.isBrowser,request:n.request||{},response:n.response||{},logger:n.logger||{}}:{}},b=t(62641);function j(e,n){var t=(n||{}).plugins,r=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var n,t;return n=e()._internalContext.hooks,{beforeRender:(t=(0,y._)(function(e){return(0,x.Jh)(this,function(t){return[2,n.onBeforeRender.call(e)]})}),function(e){return t.apply(this,arguments)}),wrapRoot:function(e){return n.wrapRoot.call(e)},pickContext:function(e){return n.pickContext.call(e)},config:function(){return n.config.call()}}}}}},{name:"@modern-js/runtime-plugin-request-context",setup:function(e){e.onBeforeRender(function(e){var n=_(e);e.context=n})}}].concat((0,c._)(e),(0,c._)(void 0===t?[]:t)),config:n||{},handleSetupResult:w}).runtimeContext;return(0,b.hb)(r),r}function R(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return d.T.apply(void 0,[{},e].concat((0,c._)(t)))}},62192:function(e,n,t){t.d(n,{s:()=>a});var r=function(e){var n=document.querySelectorAll("#".concat(e));if(0!==n.length){var t=n[n.length-1];if(t)try{return JSON.parse((null==t?void 0:t.textContent)||"")}catch(n){console.error("parse ".concat(e," error"),n)}}},o=t(24348),i=t(62641);function a(e){var n=e||(0,i.FM)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||r(o.pc),window._ROUTER_DATA=window._ROUTER_DATA||r(o.Ni)),(0,i.Uk)().hooks.wrapRoot.call(n)}},30624:function(e,n,t){t.d(n,{NA:()=>M});var r=t(49987),o=t(65),i=t(77360),a=t(86834),l=t(27293),u=t(43866),s=t(81784);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var d=t(5872),f=t(24644),p=t(62641),h=t(22589),v=(0,h.y2)(),m=(0,h.y2)(),g=t(17936),y=t(50102),x=t(12402),w=t(545),_=t(99613);function b(e){var n=.001*new Date().getTime(),t=Math.floor(n),r=Math.floor(n%1*1e9);return e&&(t-=e[0],(r-=e[1])<0&&(t--,r+=1e9)),[t,r]}t(63415);var j=function(e){var n=(0,y._)(b(e),2);return 1e3*n[0]+n[1]/1e6},R=function(){var e=b();return function(){return j(e)}},E=function(e){var n,t,i,l,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,f=e.index,p=e.id,h=e.component,v=e.isRoot,m=e.lazyImport,g=e.config,y=e.handle,b=s.parent,j=s.props,A={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:(i=(n=e).loader)?(t=(0,x._)(function(e){var t,r,o;return(0,_.Jh)(this,function(o){switch(o.label){case 0:return"function"==typeof n.lazyImport&&n.lazyImport(),t=R(),[4,i(e)];case 1:return r=o.sent(),t(),"undefined"==typeof document&&console.error("You should not get async storage in browser"),[2,r]}})}),function(e){return t.apply(this,arguments)}):function(){return"function"==typeof n.lazyImport&&n.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,r._)({},y,(void 0===g?"undefined":(0,w._)(g))==="object"?null==g?void 0:g.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error){var S=(0,a.jsx)(e.error,{});A.errorElement=S}if(h){if((null==b?void 0:b.loading)&&m){var C=b.loading;l=k(h)?(0,a.jsx)(h,{fallback:(0,a.jsx)(C,{})}):(0,a.jsx)(d.Suspense,{fallback:(0,a.jsx)(C,{}),children:(0,a.jsx)(h,{})})}else l=k(h)&&m?(0,a.jsx)(h,{}):v?(0,a.jsx)(h,(0,r._)({},void 0===j?{}:j)):m?(0,a.jsx)(d.Suspense,{fallback:null,children:(0,a.jsx)(h,{})}):(0,a.jsx)(h,{})}else e.loading=null==b?void 0:b.loading,A.element=(0,a.jsx)(u.j3,{});l&&(A.element=l);var N=null==c?void 0:c.map(function(n){return E(n,{parent:e})});return f?(0,a.jsx)(u.AW,(0,o._)((0,r._)({},A),{index:!0}),p):(0,a.jsx)(u.AW,(0,o._)((0,r._)({},A),{index:!1,children:N}),p)};function k(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}var A=t(38933),S=function(){return(0,a.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})};function C(){return null}var N=function(){for(var e,n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];var o=RegExp("".concat("/","{1,}"),"g");return(e=t.join("/").replace(o,"/"))&&"string"==typeof e&&(e.startsWith(".")&&(e=e.slice(1)),e.startsWith("/")||(e="/".concat(e)),e.endsWith("/")&&"/"!==e&&(e=e.slice(0,e.length-1))),e},T={routes:[]},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"@modern-js/plugin-router",registryHooks:{modifyRoutes:v,onBeforeCreateRoutes:m},setup:function(n){var t=[];n.onBeforeRender(function(n){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var r,o=n.ssrContext,i=c(window.location.pathname),a=(null==o?void 0:null===(r=o.request)||void 0===r?void 0:r.pathname)&&c(o.request.pathname);a&&a!==i&&(console.error("The initial URL ".concat(a," and the URL ").concat(i," to be hydrated do not match, reload.")),window.location.reload())}n.router={useMatches:u.SN,useLocation:u.TH,useHref:u.oQ},Object.defineProperty(n,"routes",{get:function(){return t}})}),n.wrapRoot(function(c){var h,v,m=n.getRuntimeConfig(),x=(0,l.T)(m.router||{},e),w=x.serverBase,_=void 0===w?[]:w,b=x.supportHtml5History,j=void 0===b||b,R=x.basename,k=void 0===R?"":R,M=x.routesConfig,P=x.createRoutes,D=x.future;return(T=(0,r._)({routes:(0,p.jn)(),globalApp:(0,p.CH)()},M)).routes||P?(h=function(e){var l,c=(0,d.useContext)(f.JO),p=(l=location.pathname,_.find(function(e){return 0===l.search(e)})||"/").replace(/^\/*/,"/"),h="/"===p?N(p,c._internalRouterBaseName||k):p,v=window._ROUTER_DATA,m=c.unstable_getBlockNavState;return(0,d.useMemo)(function(){(null==v?void 0:v.errors)&&(v=(0,o._)((0,r._)({},v),{errors:function(e){if(!e)return null;var n=Object.entries(e),t={},r=!0,o=!1,i=void 0;try{for(var a,l=n[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=(0,y._)(a.value,2),s=u[0],c=u[1];if(c&&"RouteErrorResponse"===c.__type)t[s]=new A.OF(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var d=Error(c.message);d.stack=c.stack,t[s]=d}else t[s]=c}}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return t}(v.errors)})),t=P?P():(0,u.i7)(function(e){var n=e.routesConfig,t=e.props,o=e.ssrMode;if(!n)return null;var i=n.routes,l=n.globalApp;return i?function(e,n){var t=n.globalApp,o=n.ssrMode,i=n.props,l=function(e){var n=e.Component,o=(0,g._)(e,["Component"]);return t?(0,a.jsx)(t,(0,r._)({Component:n},o)):(0,a.jsx)(n,(0,r._)({},o))},s=[],c=!0,d=!1,f=void 0;try{for(var p,h=e[Symbol.iterator]();!(c=(p=h.next()).done);c=!0){var v=p.value;if("nested"===v.type){var m=E(v,{DeferredDataComponent:"stream"===o?C:void 0,props:i});s.push(m)}else{var y=(0,a.jsx)(u.AW,{path:v.path,element:(0,a.jsx)(l,{Component:v.component})},v.path);s.push(y)}}}catch(e){d=!0,f=e}finally{try{c||null==h.return||h.return()}finally{if(d)throw f}}return s.push((0,a.jsx)(u.AW,{path:"*",element:(0,a.jsx)(S,{})},"*")),s}(i,{globalApp:l,ssrMode:o,props:t}):null}({routesConfig:T,props:e})),t=n.getHooks().modifyRoutes.call(t);var l=j?(0,s.aj)(t,{basename:h,hydrationData:v}):(0,s.cP)(t,{basename:h,hydrationData:v}),c=l.subscribe;return l.subscribe=function(e){return c(function(){for(var n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];if(!(m&&m()))return e.apply(void 0,(0,i._)(t))})},l},[T,e,h,v,m])},v=function(){return null},function(e){var n=h(e),t=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.pG,{router:n,future:D}),(0,a.jsx)(v,{}),(0,a.jsx)(v,{})]});return c?(0,a.jsx)(c,{children:t}):t}):c})}}}},83366:function(e,n,t){t.d(n,{RC:()=>o,UC:()=>a,u3:()=>i});var r=t(63415),o=function(e){return function(n){var t,o,i=null===(o=window)||void 0===o?void 0:null===(t=o[r.u$])||void 0===t?void 0:t[e];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(n):n.defaultShouldRevalidate}},i=function(e,n){return"undefined"!=typeof document&&(window[r.u$][n]=e),e},a=function(e){return console.error(e),null}},22589:function(e,n,t){t.d(n,{Ol:()=>a,rG:()=>u,y2:()=>l});var r=t(12402),o=t(77360),i=t(99613);function a(){var e,n=[];return{tap:function(e){n.push(e)},call:(e=(0,r._)(function(){var e,t,r,a,l,u,s,c,d,f,p,h,v,m,g=arguments;return(0,i.Jh)(this,function(i){switch(i.label){case 0:for(t=Array(e=g.length),r=0;r<e;r++)t[r]=g[r];a=!1,u=function(e){a=!0,l=e},s=!0,c=!1,d=void 0,i.label=1;case 1:i.trys.push([1,6,7,8]),f=n[Symbol.iterator](),i.label=2;case 2:if((s=(p=f.next()).done)||(h=p.value,a))return[3,5];return[4,h.apply(void 0,(0,o._)(t).concat([u]))];case 3:void 0!==(v=i.sent())&&(t[0]=v),i.label=4;case 4:return s=!0,[3,2];case 5:return[3,8];case 6:return m=i.sent(),c=!0,d=m,[3,8];case 7:try{s||null==f.return||f.return()}finally{if(c)throw d}return[7];case 8:return[2,a?l:t[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function l(){var e=[];return{tap:function(n){e.push(n)},call:function(){for(var n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];var i=!0,a=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value.apply(void 0,(0,o._)(t));void 0!==c&&(t[0]=c)}}catch(e){a=!0,l=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw l}}return t[0]}}}function u(){var e=[];return{tap:function(n){e.push(n)},call:function(){for(var n=arguments.length,t=Array(n),r=0;r<n;r++)t[r]=arguments[r];var o=[],i=!0,a=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=(0,u.value)(t);void 0!==c&&o.push(c)}}catch(e){a=!0,l=e}finally{try{i||null==s.return||s.return()}finally{if(a)throw l}}return o}}}},27293:function(e,n,t){t.d(n,{T:()=>function e(n){for(var t=arguments.length,i=Array(t>1?t-1:0),l=1;l<t;l++)i[l-1]=arguments[l];if(!i.length)return n;var u=i.shift();if(a(n)&&a(u))for(var s in u)a(u[s])?(n[s]||Object.assign(n,(0,r._)({},s,{})),e(n[s],u[s])):Object.assign(n,(0,r._)({},s,u[s]));return e.apply(void 0,[n].concat((0,o._)(i)))}});var r=t(81855),o=t(77360),i=t(545);function a(e){return e&&(void 0===e?"undefined":(0,i._)(e))==="object"&&!Array.isArray(e)}},63415:function(e,n,t){t.d(n,{m5:()=>i,p9:()=>r,u$:()=>o});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},26678:function(e,n,t){t.d(n,{M:()=>d});var r=t(86834),o=t(43866),i=t(55670),a=t(8047),l=t(52701),u=t(59825),s=t(5872);let c=e=>{let{error:n}=e,t=n instanceof Error?"".concat(n.name,": ").concat(n.message):"Unknown Error",o=n instanceof Error?n.stack:Object.prototype.toString.call(n);return(0,r.jsxs)(i.x,{p:"4",children:[(0,r.jsx)(a.X,{as:"h4",mb:"4",children:(0,r.jsx)(l.x,{as:"span",children:t})}),(0,r.jsx)(u.K,{disabled:!0,style:{height:"50vh"},value:o})]})},d=()=>{let e=(0,o.lk)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,r.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},41294:function(e,n,t){t.d(n,{l:()=>l});var r=t(86834),o=t(43866),i=t(38933),a=t(55501);let l=e=>{let{items:n}=e,t=(0,o.s0)(),l=(0,o.TH)(),u=n.find(e=>(0,i.LX)(e.to,l.pathname));return(0,r.jsxs)(a.fC,{size:"1",value:null==u?void 0:u.to,onValueChange:t,children:[(0,r.jsx)(a.xz,{}),(0,r.jsx)(a.VY,{position:"popper",children:n.map(e=>{let{title:n,to:t}=e;return(0,r.jsx)(a.ck,{value:t,children:n},t)})})]})}},95197:function(e,n,t){t.d(n,{T:()=>k,k:()=>A});var r=t(49987),o=t(65),i=t(86834),a=t(29134),l=t(10487),u=t(65872);class s extends u.gl{static use(){return l.RUNTIME_GLOBALS in window||(window[l.RUNTIME_GLOBALS]=new s),window[l.RUNTIME_GLOBALS]}}async function c(e){s.use();let n=e.map(e=>new Promise((n,t)=>{let r=document.createElement("script");r.onload=()=>n(),r.onerror=e=>t(e),r.src=e,document.head.appendChild(r)}));await Promise.all(n)}var d=t(64542),f=t(7459),p=t(52493),h=t.n(p),v=t(3570),m=t(13190),g=t(4390),y=t(55058),x=t(41839);let w=async()=>{let e=await l.MessagePortChannel.link(window.parent,"channel:connect:client"),n=(0,u.Hu)();return{remote:(0,f.Fu)({async pullUp(e){await n.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:8e3})),hooks:n}};class _ extends Error{constructor(e){super(),this.name="InitializeManifestError",this.cause=e,this.message="Failed to initialize manifest of DevTools"}}let b=async e=>{let n=await fetch(e);try{let e=await n.text();return JSON.parse(e,(0,l.reviver)())}catch(e){throw new _(e)}},j=async(e,n)=>{let t=new URL(e,location.href),i=new window.WebSocket(t),a=await l.WebSocketChannel.link(i),s=(0,u.Hu)();return{remote:(0,f.Fu)({async refresh(){location.reload()},async applyStateOperations(e){for(let t of e)(0,l.applyOperation)(n,t)}},(0,o._)((0,r._)({},a.handlers),{timeout:5e3})),hooks:s,url:t}},R=async()=>{let e=s.use(),n=(0,x.sj)([{name:"overview",title:"Overview",icon:(0,i.jsx)(m.VRM,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,i.jsx)(m.pZq,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,i.jsx)(m.OiH,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,i.jsx)(g.Ueg,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,i.jsx)(m.sin,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,i.jsx)(m.KBe,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,i.jsx)(g.BwS,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,i.jsx)(m.RMk,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let t of(await e.callHook("tab:list",n),n))"object"==typeof t.icon&&(t.icon=(0,x.iH)(t.icon)),"external"===t.view.type&&(t.view.component=(0,x.iH)(t.view.component));return n},E=async e=>{let n=new d.S,t=n.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let r=(0,v.createBridge)(window.parent,n);r.shutdown=()=>null;let o=(0,v.createStore)(r),i=(0,v.initialize)(window.parent,{bridge:r,store:o});return{store:o,bridge:r,wallAgent:n,unreg:t,Renderer:i}},k=(async e=>{var n;let t=(0,y.mB)((0,y.Lk)(e).search),i=null!==(n=h().castArray(t.src)[0])&&void 0!==n?n:(0,y.As)(e,"manifest"),a=w(),l=b(i),u=l.then(e=>e.websocket?j(e.websocket,(0,x.sj)(e)):null),s=l.then(e=>c(e.context.def.plugins)).then(R),d=a.then(E),[f,p,v,m,g]=await Promise.all([a,l,u,s,d]);return(0,x.sj)((0,o._)((0,r._)({},p),{version:"2.65.5",tabs:m,server:v?(0,x.iH)(v):null,mountPoint:(0,x.iH)(f),react:{devtools:{store:(0,x.iH)(g.store),bridge:(0,x.iH)(g.bridge),wallAgent:(0,x.iH)(g.wallAgent),unreg:(0,x.iH)(g.unreg),Renderer:(0,x.iH)(g.Renderer)}}}))})(location.href),A=()=>(0,a.D$)(k)},65507:function(e,n,t){t.d(n,{Z:()=>o});var r=t(38933);let o=e=>{let{params:n}=e;return n.toolkit&&n.type&&["framework","builder","bundler"].includes(n.toolkit)?["resolved","transformed"].includes(n.type)?null:(0,r.uX)("/404"):(0,r.uX)("/404")}},6032:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},16127:function(e,n,t){t.r(n),t.d(n,{handle:()=>h});var r=t(86834),o=t(43866),i=t(52701),a=t(67251),l=t(55501),u=t(55670),s=t(52493),c=t.n(s);let d=e=>{let{name:n,describe:t}=e,o=t.map(e=>(0,r.jsx)(i.x,{style:{display:"block"},children:e},e));return(0,r.jsx)(a.u,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,r.jsx)(l.ck,{value:n,children:(0,r.jsx)(u.x,{children:c().startCase(n)})})},n)},f=[{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."]}],p=[{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."]}],h={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let e=(0,o.TH)(),n=(0,o.s0)(),[t,i]=e.pathname.split("/").slice(2);return(0,r.jsxs)(l.fC,{size:"1",value:t,onValueChange:e=>{n("/config/".concat(e,"/").concat(i))},children:[(0,r.jsx)(l.xz,{children:t}),(0,r.jsx)(l.VY,{children:f.map(e=>{let{name:n,describe:t}=e;return(0,r.jsx)(d,{name:n,describe:t},n)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,o.TH)(),n=(0,o.s0)(),[t,i]=e.pathname.split("/").slice(2);return(0,r.jsxs)(l.fC,{size:"1",value:i,onValueChange:e=>{n("/config/".concat(t,"/").concat(e))},children:[(0,r.jsx)(l.xz,{children:i}),(0,r.jsx)(l.VY,{children:p.map(e=>{let{name:n,describe:t}=e;return(0,r.jsx)(d,{name:n,describe:t},n)})})]})},{})}]}},41434:function(e,n,t){t.d(n,{Z:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./builder/transformed");return(0,r.uX)(t)}},85512:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},12323:function(e,n,t){t.r(n),t.d(n,{handle:()=>i});var r=t(86834),o=t(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(e,n,t){t.d(n,{Z:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./builder");return(0,r.uX)(t)}},57595:function(e,n,t){t.d(n,{Z:()=>m});var r=t(86834),o=t(26678),i=t(49497),a=t(55670),l=t(8047),u=t(13190),s=t(57193);let c=e=>{let{title:n,children:t}=e;return(0,r.jsxs)(i.k,{className:s.Z.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(i.k,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(u.fd$,{size:"36"})}),(0,r.jsxs)(a.x,{children:[(0,r.jsx)(i.k,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(l.X,{children:n})}),(0,r.jsx)(a.x,{className:s.Z.children,children:t})]})]})};var d=t(95197),f=t(43866),p=t(37970),h=t(55058),v=t(20610);let m=()=>{let e=(0,f.lk)(),n=(0,d.k)(),{def:t}=(0,v.R)(n).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(o.M,{});{let e=(0,h.Lk)(t.doctor.quickStart).host,n=(0,r.jsxs)(p.r,{href:t.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(a.x,{width:"100%",children:(0,r.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",n," to learn more."]})})}}},58326:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Doctor"}}},56089:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},65825:function(e,n,t){t.r(n),t.d(n,{handle:()=>l});var r=t(95197),o=t(29134),i=t(52493),a=t.n(i);let l={breadcrumb(e){var n;let t;let{pathname:i}=e.location,l=null===(n=i.match(/^\/external\/(\w+)/))||void 0===n?void 0:n[1],{tabs:u}=(0,o.D$)(r.T),s=a().find(u,{name:l});return s?{title:t}=s:t=l?a().startCase(l):"External",{title:t,pathname:i}}}},82557:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},65451:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Header Modifier"}}},47716:function(e,n,t){t.d(n,{_:()=>i});var r=t(38933),o=t(96575);let i=async()=>{let e=await o.ok.service;return(0,r.uX)(e.rules?"./editor":"./welcome")}},96575:function(e,n,t){t.d(n,{gM:()=>a,m:()=>l,ok:()=>s});var r=t(52493),o=t.n(r),i=t(41839);let a=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=encodeURIComponent(JSON.stringify(e)),t="".concat("/sw-proxy.js","?rules=").concat(n),r=await navigator.serviceWorker.register(t);return await navigator.serviceWorker.ready,s.service=await u(),r},l=async()=>{let e=await navigator.serviceWorker.getRegistrations(),n=!0;for(let t of e)n=n&&await t.unregister();return s.service=Promise.resolve({}),n},u=async()=>{for(let e of o().times(3))try{let e=AbortSignal.timeout(300),n=await fetch("/__devtools/service/status",{signal:e});return await n.json()}catch(e){}return{}},s=(0,i.sj)({service:u()})},1920:function(e,n,t){t.r(n),t.d(n,{handle:()=>i});var r=t(86834),o=t(13190);let i={breadcrumb:{title:(0,r.jsx)(o.Zn9,{}),pathname:"/overview"}}},57142:function(e,n,t){t.r(n),t.d(n,{default:()=>Y});var r=t(86834),o=t(49987),i=t(65),a=t(43866),l=t(66671),u=t(49497),s=t(52493),c=t.n(s),d=t(90179),f=t(17936),p=t(12402),h=t(50102),v=t(99613),m=t(38933),g=t(81784),y=t(5872),x=t(24644);function w(e,n){return function(t){null==e||e(t),t.defaultPrevented||n(t)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function b(){return(b=(0,p._)(function(e,n){var r,o;return(0,v.Jh)(this,function(i){switch(i.label){case 0:if(!(r=e.id)||!n[r]||!(o=n[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===t.e||void 0===t.e?void 0:t.e(e)}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var j=function(e,n){var t=window.location,r=t.protocol,o=t.host,i=new URL(e,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",n),i.searchParams.append("__ssrDirect","true"),i},R=function(e,n,t){var o,i=e.id;return o=j("/"===t?n:"".concat(t).concat(n),i).toString(),(0,r.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},E=function(e){var n=e.path,t=n.pathname,o=(0,y.useContext)(x.JO),i=o.routeManifest,a=o.routes,l=(i||{}).routeAssets,u=Array.isArray(a)?(0,m.fp)(a,t):[];return(Array.isArray(u)&&l&&(null==u||u.forEach(function(e){return function(e,n){return b.apply(this,arguments)}(e.route,l)})),window._SSR_DATA)?(0,r.jsx)(k,{matches:u,path:n,routeManifest:i}):null},k=function(e){var n=e.matches,t=e.path,o=e.routeManifest,i=t.pathname,l=t.search,u=t.hash,s=(0,a.SN)(),c=(0,a.oQ)("/"),d=(0,y.useMemo)(function(){return null==n?void 0:n.filter(function(e,n){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var t,r=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(i+l+u,window.origin),a=e.route.shouldRevalidate({currentUrl:r,currentParams:(null===(t=s[0])||void 0===t?void 0:t.params)||{},nextUrl:o,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof a)return a}var c=s[n];return!!(!c||c.id!==e.route.id||c.pathname!==e.pathname||c.pathname.endsWith("*")&&c.params["*"]!==e.params["*"])}).map(function(e){return R(e.route,i,c)})},[n,i,o]);return(0,r.jsx)(r.Fragment,{children:d})},A=function(e){return y.forwardRef(function(n,i){var l,u,s,c,d,p,v,m,g,x,b,j,R,k,A=n.to,S=n.prefetch,C=(0,f._)(n,["to","prefetch"]),N="string"==typeof A&&_.test(A),T=(0,h._)((l=void 0===S?"none":S,s=(u=(0,h._)(y.useState(!1),2))[0],c=u[1],p=(d=(0,h._)(y.useState(!1),2))[0],v=d[1],m=C.onFocus,g=C.onBlur,x=C.onMouseEnter,b=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===l&&v(!0)},[l]),R=function(){"intent"===l&&c(!0)},k=function(){"intent"===l&&(c(!1),v(!1))},y.useEffect(function(){if(s){var e=setTimeout(function(){v(!0)},100);return function(){clearTimeout(e)}}},[s]),[p,{onFocus:w(m,R),onBlur:w(g,k),onMouseEnter:w(x,R),onMouseLeave:w(b,k),onTouchStart:w(j,R)}]),2),M=T[0],P=T[1],D=(0,a.WU)(A);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,(0,o._)({ref:i,to:A},C,P)),M&&t.e&&!N?(0,r.jsx)(E,{path:D}):null]})})},S=A(g.rU);S.displayName="Link";var C=A(g.OL);C.displayName="NavLink";var N=t(37970);let T=e=>{var{to:n,children:t}=e,a=(0,f._)(e,["to","children"]);return(0,r.jsx)(N.r,(0,i._)((0,o._)({},a),{asChild:!0,children:(0,r.jsx)(S,{to:n,children:t})}))},M=e=>{let{location:n,handle:t}=e;if(!c().isObject(t)&&c().isNil(t))return[];let{breadcrumb:r}=t,o=[];c().isFunction(r)?o.push(...c().castArray(r({location:n}))):o.push(...c().castArray(r));let i=[];for(let n of o){if(!c().isObject(n)||c().isNull(n)||!("title"in n))continue;let t={id:e.id,title:n.title,pathname:e.pathname};"pathname"in n&&c().isString(n.pathname)&&(t.pathname=n.pathname),i.push(t)}return i},P=e=>{let n=[],t=(0,a.SN)(),s=(0,a.TH)(),c=[];for(let e of t)c.push(...M((0,i._)((0,o._)({},e),{location:s})));for(let[e,t]of(s.state&&"breadcrumb"in s.state&&c.push(...M({handle:s.state.breadcrumb,pathname:s.pathname,id:"external/".concat(s.pathname),location:s})),Object.entries(c))){let o=[t.id,t.pathname,e];n.push((0,r.jsx)(T,{color:"gray",size:"2",to:t.pathname,children:t.title},o.join("_"))),t!==c.at(-1)&&(o.push("#connector"),n.push((0,r.jsx)(l.XCv,{className:d.Z.connector},o.join("_"))))}return(0,r.jsx)(u.k,(0,i._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:n}))};var D=t(95197);let O="";D.T.then(e=>{let{mountPoint:n}=e;n.hooks.hookOnce("pullUp",async e=>{O=e})});let L=()=>{let e=(0,a.s0)(),{mountPoint:n}=(0,D.k)();return(0,y.useEffect)(()=>{O&&e(O),n.hooks.hook("pullUp",async n=>{e(n)})},[]),null};var H=t(97137),B=t(87420);let U=e=>{var{children:n}=e,t=(0,f._)(e,["children"]);let[a]=(0,H.U)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(a)},[a]),(0,r.jsx)(B.Q2,(0,i._)((0,o._)({},t),{appearance:a,children:n}))};var I=t(85311),J=t(67251),z=t(55670),F=t(13190),q=t(20610);let Z="tab-button-MtqLNp",V="tab-button-inner-KmlACp",W=e=>{let{tab:n}=e,t="";if("builtin"===n.view.type)t=n.view.src;else if("iframe"===n.view.type)t="/iframe/".concat(n.view.src);else if("external"===n.view.type)t="/external/".concat(n.name);else throw Error('Invalid tab view of "'.concat(n.name,'".'));return(0,y.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(J.u,{content:n.title,side:"right",children:(0,r.jsx)(C,{to:t,className:Z,children:(0,r.jsx)(u.k,{justify:"center",align:"center",p:"1",className:V,children:(0,r.jsx)(z.x,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:n.icon})})})})},X=()=>{let{server:e}=(0,q.R)((0,D.k)());return(0,r.jsx)(J.u,{content:e?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(z.x,{className:Z,children:(0,r.jsxs)(z.x,{p:"1",position:"relative",className:V,children:[(0,r.jsx)(z.x,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(F.Qa9,{})}),(0,r.jsx)(z.x,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},G=()=>{let[e,n]=(0,H.U)();return(0,r.jsx)(J.u,{content:"Appearance",side:"right",children:(0,r.jsx)(z.x,{className:Z,onClick:()=>{n("light"===e?"dark":"light")},children:(0,r.jsx)(u.k,{justify:"center",align:"center",p:"1",className:V,children:(0,r.jsx)(z.x,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,r.jsx)(F.Fxr,{}):(0,r.jsx)(F.YGJ,{})})})})})},$=()=>{let{tabs:e}=(0,q.R)((0,D.k)());return(0,r.jsxs)(u.k,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,r.jsx)(W,{tab:e},e.name)),(0,r.jsx)(z.x,{flexGrow:"1"}),(0,r.jsx)(X,{}),(0,r.jsx)(G,{})]})},Y=()=>(0,r.jsx)(U,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(I.zt,{swipeDirection:"up",children:[(0,r.jsx)($,{}),(0,r.jsxs)(z.x,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(z.x,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(a.j3,{})}),(0,r.jsx)(P,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(L,{})]})})},64931:function(e,n,t){t.d(n,{Z:()=>l});var r=t(86834),o=t(9768),i=t(95197),a=t(12564);let l=()=>{let{mountPoint:e}=(0,i.k)();return(0,a.Z)(async()=>{e.remote.onFinishRender()}),(0,r.jsx)(o.g,{className:"loading-gmTvLE"})}},79273:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},34025:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Overview"}}},83881:function(e,n,t){t.d(n,{_:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./overview");return(0,r.uX)(t)}},90545:function(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},42509:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:{title:"Pages"}}},47152:function(e,n,t){t.r(n),t.d(n,{handle:()=>i});var r=t(86834),o=t(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(e,n,t){t.d(n,{Z:()=>r});let r=t(26678).M},21690:function(e,n,t){t.d(n,{Z:()=>i});var r=t(38933),o=t(55058);let i=e=>{let{request:n}=e,t=(0,o.As)(n.url,"./components");return(0,r.uX)(t)}},86318:function(e,n,t){t.d(n,{_:()=>l});var r=t(95197),o=t(38933),i=t(52493),a=t.n(i);let l=async e=>{let{params:n}=e,{id:t}=n;if(!t)throw TypeError("storage preset id is required");let{context:i}=await r.T,{storagePresets:l}=await Promise.resolve(i),u=a().find(l,{id:t});return u||(0,o.uX)("/storage/preset")}},26823:function(e,n,t){t.r(n),t.d(n,{handle:()=>r});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},62739:function(e,n,t){t.d(n,{_:()=>o,a:()=>i});var r=t(33049);let o=async e=>await (0,r.l5)(),i=()=>null},34772:function(e,n,t){t.d(n,{_:()=>o});var r=t(33049);let o=async e=>await (0,r.l5)()},33049:function(e,n,t){t.d(n,{SR:()=>u,dR:()=>a,f:()=>s,l5:()=>c,xq:()=>l});var r=t(95197),o=t(52493),i=t.n(o);let a=["cookie","localStorage","sessionStorage"],l={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},u=(e,n)=>i().map(e[n],(t,r)=>{let o=[e.id,n,r].join("//");return{key:r,value:t,type:n,id:o}}),s=e=>{let n=[];for(let t of a)n.push(...u(e,t));return n},c=async e=>{let{mountPoint:n}=await r.T,[t,o,i]=await Promise.all([n.remote.cookies(null==e?void 0:e.cookie),n.remote.localStorage(null==e?void 0:e.localStorage),n.remote.sessionStorage(null==e?void 0:e.sessionStorage)]);return{cookie:t,localStorage:o,sessionStorage:i}}},29134:function(e,n,t){t.d(n,{D$:()=>o}),t(86834),t(5872),t(52493);let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let n=r.get(e);if(n instanceof Error)throw n;if(!(n instanceof Promise))return n;throw n}throw r.set(e,e),e.then(n=>r.set(e,n)).catch(n=>r.set(e,n)),e}}},function(e){var n=function(n){return e(e.s=n)};e.O(0,["118","126","130","26","473","567","58"],function(){return n("5256"),n("38854"),n("64802"),n("28651"),n("58971")}),e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{90179:function(n,t,e){e.d(t,{Z:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},76792:function(n,t,e){e.d(t,{Z:()=>o});let o={card:"card-If0911"}},78034:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-WHe0d3"}},64171:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},95402:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},57193:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},8603:function(n,t,e){e.d(t,{Z:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},81021:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-COzu4H"}},6174:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-SkRv4t"}},10123:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-e3dQes"}},89488:function(n,t,e){e.d(t,{Z:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},19999:function(n,t,e){e.d(t,{Z:()=>o});let o={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"}},56693:function(n,t,e){e.d(t,{Z:()=>o});let o={"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"}},97724:function(n,t,e){e.d(t,{Z:()=>o});let o={stats:"stats-cb58Fz"}},79923:function(n,t,e){e.d(t,{Z:()=>o});let o={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"],{96747:function(e,t,o){var n=o(86834),l=o(49987),r=o(65),i=o(64542),s=o(10487),a=o(7459),c=o(65872),d=o(52493),u=o.n(d),m=o(9880),v=o.n(m),h=o(57662),p=o(41839);let y=s.MessagePortChannel.wait(window,"channel:connect:client"),f=new i.S,g=(0,h.createBridge)(window,f),w=y.then(e=>{let t=(0,c.Hu)();return{remote:(0,a.Fu)({async activateReactDevtools(){(0,h.activate)(window,{bridge:g})},async onFinishRender(){await t.callHook("onFinishRender")},async cookies(e){let t=await fetch("/__devtools/api/cookies",{method:"POST",body:JSON.stringify({setCookies:e})}),{cookies:n}=await t.json();if(!n||"object"!=typeof n)throw TypeError("No cookies returned from server");let{parse:l}=await o.e("883").then(o.bind(o,10851)),r=l(document.cookie),i=u().omit(n,Object.keys(r));return{client:r,server:i}},localStorage:async e=>(u().each(e,(e,t)=>{window.localStorage.setItem(t,e)}),(0,l._)({},window.localStorage)),sessionStorage:async e=>(u().each(e,(e,t)=>{window.sessionStorage.setItem(t,e)}),(0,l._)({},window.sessionStorage))},(0,r._)((0,l._)({},e.handlers),{timeout:500})),hooks:t}}),k=(0,p.sj)({loaded:!1}),b=v()();w.then(e=>{let{remote:t,hooks:o}=e;f.bindRemote(t,"sendReactDevtoolsData"),o.hook("onFinishRender",async()=>{k.loaded=!0,b.resolve()})});var _=o(41035),j=o(5872),x=o(28962);let C=(e,t)=>{var o,n;return null!==(n=null===(o=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===o?void 0:o.includes(t))&&void 0!==n&&n},E=e=>{let[t,...o]=[{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),n=o.findIndex(e=>{let{key:o}=e;return C(t.key,o)}),[l]=o.splice(n,1);return[t,l,o[0],o[1]]},Z=e=>{let{top:t,left:o,height:n,width:l}=e.getBoundingClientRect();return{top:t,left:o,bottom:window.innerHeight-t-n,right:window.innerWidth-o-l}},N=e=>{var t;let o=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",n="number"==typeof o?"".concat(o,"px"):o,[l,r]=(0,j.useState)(),i=()=>{if(!l)return;l.moveable=!1;let{el:e}=l,[t]=E(Z(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{r(void 0),e.style[t.key]=n}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},s=t=>{let o="touches"in t?t.touches[0]:t;if(!(null==l?void 0:l.moveable))return;let{startX:r,startY:i}=l;(r-o.clientX)**2+(i-o.clientY)**2>9&&(l.clickable=!1);let{width:s,height:a}=l.el.getBoundingClientRect(),c=o.clientY-l.offsetY,d=o.clientX-l.offsetX,u=E({top:c,left:d,bottom:window.innerHeight-c-a,right:window.innerWidth-d-s}).map(e=>{let{key:t,value:o}=e;return{key:t,value:"".concat(o,"px")}});if(null==e?void 0:e.clamp)for(let e of u){let t=["top","bottom"].includes(e.key)?window.innerHeight-a:window.innerWidth-s;e.value="clamp(".concat(n,", ").concat(e.value,", ").concat(t,"px)")}let[m,v,...h]=u,{style:p}=l.el;p.transition="",p[m.key]=m.value,p[v.key]=v.value,p[h[0].key]="auto",p[h[1].key]="auto"};(0,x.Z)("blur",i),(0,x.Z)("mouseup",i),(0,x.Z)("touchend",i),(0,x.Z)("mousemove",s),(0,x.Z)("touchmove",s);let a=e=>{let t="touches"in e?e.touches[0]:e,o=e.currentTarget,n=o.getBoundingClientRect();r({el:o,clickable:!0,moveable:!0,offsetX:t.clientX-n.left,offsetY:t.clientY-n.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!l,props:{onMouseDown:a,onTouchStart:a,onClickCapture:e=>{(null==l?void 0:l.clickable)||e.stopPropagation()}}}},R=(e,t)=>new Promise((o,n)=>{let l=!0,r=setTimeout(()=>{l=!1,n(Error("Promise Timeout"))},t);e.then(e=>{l&&o(e),clearTimeout(r)}),e.catch(n)});var S=o(97137),D=o(87420),P=o(49497),T=o(13190),H=o(86209),Y=o(42226);let B=e=>{var t;let o=null===(t=e.keepAlive)||void 0===t||t,{when:l}=e,r=(0,j.useRef)(!1);return l&&(r.current=!0),e.load||(o?r.current:l)?(0,n.jsx)("div",{style:{display:!o||l?"unset":"none"},children:e.children}):null};var I=o(38651),L=o(
|
|
1
|
+
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{96747:function(e,t,o){var n=o(86834),l=o(49987),r=o(65),i=o(64542),s=o(10487),a=o(7459),c=o(65872),d=o(52493),u=o.n(d),m=o(9880),v=o.n(m),h=o(57662),p=o(41839);let y=s.MessagePortChannel.wait(window,"channel:connect:client"),f=new i.S,g=(0,h.createBridge)(window,f),w=y.then(e=>{let t=(0,c.Hu)();return{remote:(0,a.Fu)({async activateReactDevtools(){(0,h.activate)(window,{bridge:g})},async onFinishRender(){await t.callHook("onFinishRender")},async cookies(e){let t=await fetch("/__devtools/api/cookies",{method:"POST",body:JSON.stringify({setCookies:e})}),{cookies:n}=await t.json();if(!n||"object"!=typeof n)throw TypeError("No cookies returned from server");let{parse:l}=await o.e("883").then(o.bind(o,10851)),r=l(document.cookie),i=u().omit(n,Object.keys(r));return{client:r,server:i}},localStorage:async e=>(u().each(e,(e,t)=>{window.localStorage.setItem(t,e)}),(0,l._)({},window.localStorage)),sessionStorage:async e=>(u().each(e,(e,t)=>{window.sessionStorage.setItem(t,e)}),(0,l._)({},window.sessionStorage))},(0,r._)((0,l._)({},e.handlers),{timeout:500})),hooks:t}}),k=(0,p.sj)({loaded:!1}),b=v()();w.then(e=>{let{remote:t,hooks:o}=e;f.bindRemote(t,"sendReactDevtoolsData"),o.hook("onFinishRender",async()=>{k.loaded=!0,b.resolve()})});var _=o(41035),j=o(5872),x=o(28962);let C=(e,t)=>{var o,n;return null!==(n=null===(o=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===o?void 0:o.includes(t))&&void 0!==n&&n},E=e=>{let[t,...o]=[{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),n=o.findIndex(e=>{let{key:o}=e;return C(t.key,o)}),[l]=o.splice(n,1);return[t,l,o[0],o[1]]},Z=e=>{let{top:t,left:o,height:n,width:l}=e.getBoundingClientRect();return{top:t,left:o,bottom:window.innerHeight-t-n,right:window.innerWidth-o-l}},N=e=>{var t;let o=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",n="number"==typeof o?"".concat(o,"px"):o,[l,r]=(0,j.useState)(),i=()=>{if(!l)return;l.moveable=!1;let{el:e}=l,[t]=E(Z(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{r(void 0),e.style[t.key]=n}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},s=t=>{let o="touches"in t?t.touches[0]:t;if(!(null==l?void 0:l.moveable))return;let{startX:r,startY:i}=l;(r-o.clientX)**2+(i-o.clientY)**2>9&&(l.clickable=!1);let{width:s,height:a}=l.el.getBoundingClientRect(),c=o.clientY-l.offsetY,d=o.clientX-l.offsetX,u=E({top:c,left:d,bottom:window.innerHeight-c-a,right:window.innerWidth-d-s}).map(e=>{let{key:t,value:o}=e;return{key:t,value:"".concat(o,"px")}});if(null==e?void 0:e.clamp)for(let e of u){let t=["top","bottom"].includes(e.key)?window.innerHeight-a:window.innerWidth-s;e.value="clamp(".concat(n,", ").concat(e.value,", ").concat(t,"px)")}let[m,v,...h]=u,{style:p}=l.el;p.transition="",p[m.key]=m.value,p[v.key]=v.value,p[h[0].key]="auto",p[h[1].key]="auto"};(0,x.Z)("blur",i),(0,x.Z)("mouseup",i),(0,x.Z)("touchend",i),(0,x.Z)("mousemove",s),(0,x.Z)("touchmove",s);let a=e=>{let t="touches"in e?e.touches[0]:e,o=e.currentTarget,n=o.getBoundingClientRect();r({el:o,clickable:!0,moveable:!0,offsetX:t.clientX-n.left,offsetY:t.clientY-n.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!l,props:{onMouseDown:a,onTouchStart:a,onClickCapture:e=>{(null==l?void 0:l.clickable)||e.stopPropagation()}}}},R=(e,t)=>new Promise((o,n)=>{let l=!0,r=setTimeout(()=>{l=!1,n(Error("Promise Timeout"))},t);e.then(e=>{l&&o(e),clearTimeout(r)}),e.catch(n)});var S=o(97137),D=o(87420),P=o(49497),T=o(13190),H=o(86209),Y=o(42226);let B=e=>{var t;let o=null===(t=e.keepAlive)||void 0===t||t,{when:l}=e,r=(0,j.useRef)(!1);return l&&(r.current=!0),e.load||(o?r.current:l)?(0,n.jsx)("div",{style:{display:!o||l?"unset":"none"},children:e.children}):null};var I=o(38651),L=o(78034);let X=e=>{var t;let[o,l]=(0,I.Z)(()=>Promise.resolve(e.onClick()),[]);return(0,n.jsx)("button",{className:L.Z.container,onClick:l,"data-type":null!==(t=e.type)&&void 0!==t?t:"default",disabled:o.loading,children:e.children})};var O=o(64171),U=o(17936),F=o(55670),W=o(20610),K=o(9768),M=o(95402);let A=e=>{var{src:t,onClose:o}=e,i=(0,U._)(e,["src","onClose"]);let{loaded:s}=(0,W.R)(k);return(0,n.jsxs)(F.x,(0,r._)((0,l._)({className:M.Z.container},i),{children:[(0,n.jsx)("iframe",{className:M.Z.frame,src:t}),(0,n.jsx)(T.cu3,{className:M.Z.closeButton,onClick:o}),(0,n.jsx)("div",{className:M.Z.backdrop,style:{display:s?"none":void 0},children:(0,n.jsx)(K.g,{})})]}))},q=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:o}=t,n=null===(e=o.match(/^#\/__devtools(.*)/))||void 0===e?void 0:e[1];return"string"!=typeof n?null:""===n?"/":n},J=e=>{let t=q(),[o,i]=(0,H.Z)(!!t),[s,a]=(0,j.useState)(!1),c=N({clamp:!0}),[d]=(0,S.U)();(0,x.Z)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&i()}),(0,j.useEffect)(()=>{f.hook("receive",e=>{"startInspectingNative"===e.event&&(i(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(i(!0),document.documentElement.style.removeProperty("cursor"))};return f.hook("send",e),()=>{f.removeHook("send",e)}},[]);let u=async()=>{document.documentElement.style.setProperty("cursor","wait"),i(!1),a(!0);try{(await R(w,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,Y.Z)(async()=>{t&&(await R(w,1e4)).remote.pullUp(t)},[]),(0,n.jsxs)(D.Q2,{appearance:d,className:d,hasBackground:!1,style:{height:0,width:0,minHeight:0,minWidth:0},children:[(0,n.jsx)(B,{when:o,keepAlive:!0,load:s,children:(0,n.jsx)("div",{className:O.Z.container,children:(0,n.jsx)(A,{src:e.src,onClose:()=>i(!1),style:{pointerEvents:c.isDragging?"none":"auto"}})})}),(0,n.jsxs)(P.k,(0,r._)((0,l._)({className:O.Z.fab},c.props),{align:"center",children:[(0,n.jsx)(X,{type:"primary",onClick:i,children:(0,n.jsx)("img",{className:O.Z.logo,src:e.logo})}),(0,n.jsx)(X,{onClick:u,children:(0,n.jsx)(T.aur,{})})]}))]})},Q=()=>{let e=window.__modern_js_devtools_manifest;if(!e)throw TypeError("Devtools manifest is not found");let t=e.client;if(!t)throw TypeError("Devtools client source is not found");let o=e.source,l=new URL(t,location.href);if(o){let e=new URL(o,location.href);l.searchParams.set("src",e.href)}return(0,n.jsx)(J,{logo:e.context.def.assets.logo,src:l.href})},V=()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),o=document.getElementById("_modern_js_devtools_styles");if(!(o instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(o.content);let l=document.createElement("div");l.classList.add("_modern_js_devtools_mountpoint","theme-register","container-bYVevn"),t.appendChild(l),(0,_.createRoot)(l).render((0,n.jsx)(Q,{}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",V):V()}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","130","473","567","58","94"],function(){return t("5256"),t("38854"),t("64802"),t("28651"),t("96747")}),e.O()}]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/devtools-client",
|
|
3
|
-
"version": "2.65.
|
|
3
|
+
"version": "2.65.5",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.0.0"
|
|
6
6
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
24
24
|
"@radix-ui/react-toast": "^1.1.5",
|
|
25
25
|
"@radix-ui/themes": "^3.0.5",
|
|
26
|
-
"@rsbuild/core": "1.2.
|
|
26
|
+
"@rsbuild/core": "1.2.19",
|
|
27
27
|
"@types/jest": "^29",
|
|
28
28
|
"@types/lodash": "^4.14.202",
|
|
29
29
|
"@types/node": "~16.11.7",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"typescript": "~5.0.4",
|
|
58
58
|
"ufo": "^1.3.0",
|
|
59
59
|
"valtio": "^1.11.1",
|
|
60
|
-
"@modern-js/app-tools": "2.65.
|
|
61
|
-
"@modern-js/
|
|
62
|
-
"@modern-js/
|
|
63
|
-
"@modern-js/
|
|
64
|
-
"@modern-js/
|
|
65
|
-
"@modern-js/
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
60
|
+
"@modern-js/app-tools": "2.65.5",
|
|
61
|
+
"@modern-js/runtime": "2.65.5",
|
|
62
|
+
"@modern-js/types": "2.65.5",
|
|
63
|
+
"@modern-js/utils": "2.65.5",
|
|
64
|
+
"@modern-js/plugin-proxy": "2.65.5",
|
|
65
|
+
"@modern-js/devtools-kit": "2.65.5",
|
|
66
|
+
"@scripts/jest-config": "2.65.5",
|
|
67
|
+
"@modern-js/tsconfig": "2.65.5"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"cookie-es": "^1.0.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["288"],{3009:function(e,s,a){a.d(s,{v:()=>f});var b=a(49987),r=a(86834),c=a(55670),o=a(5049),t=a(34550);let n={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"transparent",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},f=e=>(0,r.jsx)(c.x,{className:t.Z.container,children:(0,r.jsx)(o.L,(0,b._)({theme:n},e))})},60460:function(e,s,a){a.r(s),a.d(s,{default:()=>n});var b=a(86834),r=a(3009),c=a(95197),o=a(43866),t=a(20610);let n=()=>{let e=(0,c.k)(),s={framework:(0,t.R)(e.framework.config),builder:(0,t.R)(e.builder.config),bundler:(0,t.R)(e.bundler.configs)},{toolkit:a,type:n}=(0,o.UO)(),f=s[a][n];return(0,b.jsx)(r.v,{data:f,sortObjectKeys:!0})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["958"],{3009:function(e,s,a){a.d(s,{v:()=>f});var b=a(49987),t=a(86834),r=a(55670),c=a(5049),o=a(34550);let n={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"transparent",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},f=e=>(0,t.jsx)(r.x,{className:o.Z.container,children:(0,t.jsx)(c.L,(0,b._)({theme:n},e))})},13724:function(e,s,a){a.r(s),a.d(s,{default:()=>o});var b=a(86834),t=a(3009),r=a(95197),c=a(20610);let o=()=>{let e=(0,r.k)(),{context:s}=(0,c.R)(e.framework);return(0,b.jsx)(t.v,{data:s,sortObjectKeys:!0})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["818"],{3009:function(e,s,a){a.d(s,{v:()=>f});var b=a(49987),t=a(86834),r=a(55670),c=a(5049),o=a(34550);let n={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"transparent",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},f=e=>(0,t.jsx)(r.x,{className:o.Z.container,children:(0,t.jsx)(c.L,(0,b._)({theme:n},e))})},80563:function(e,s,a){a.r(s),a.d(s,{default:()=>o});var b=a(86834),t=a(3009),r=a(95197),c=a(20610);let o=()=>{let e=(0,r.k)(),{context:s}=(0,c.R)(e.framework);return(0,b.jsx)(t.v,{data:s,sortObjectKeys:!0})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var e={},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(n,a){if(1&a&&(n=this(n)),8&a||"object"==typeof n&&n&&(4&a&&n.__esModule||16&a&&"function"==typeof n.then))return n;var o=Object.create(null);r.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&a&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>{i[e]=()=>n[e]});return i.default=()=>n,r.d(o,i),o}})(),r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>"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:"a2223950",146:"38fa476d",158:"38c99ee1",161:"4fb3caba",244:"5a56dfa3",288:"15665de8",299:"b6e74b7b",361:"29e3a931",470:"cd6103e3",483:"ca6aa099",488:"cf53b459",504:"7962ea3b",518:"0a8f7f71",631:"805ca70a",718:"de34cfd0",730:"3654f7dd",744:"045f31f2",752:"bc1c39e4",808:"f25c3973",818:"74cbba14",860:"084f04c3",883:"79b86c45",925:"859db1f3",943:"993f402f",945:"c8fa7b76",958:"3a4f5ae7",963:"81568ee7",988:"0af50d18"})[e]+".js",r.miniCssF=e=>"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:"c4cdd54f",161:"c0cb887a",244:"059d889d",470:"c4cdd54f",488:"c491d527",718:"d3851c0f",730:"84a7c425"})[e]+".css",r.h=()=>"001db0b8faea63e4",(()=>{r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})()})(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="modernjsDevtools:";r.l=function(n,a,o,i){if(e[n]){e[n].push(a);return}if(void 0!==o)for(var c,l,d=document.getElementsByTagName("script"),s=0;s<d.length;s++){var u=d[s];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+o){c=u;break}}c||(l=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",t+o),c.src=n),e[n]=[a];var f=function(t,r){c.onerror=c.onload=null,clearTimeout(p);var a=e[n];if(delete e[n],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach(function(e){return e(r)}),t)return t(r)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),l&&document.head.appendChild(c)}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.nc=void 0,(()=>{var e=[];r.O=(t,n,a,o)=>{if(n){o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[n,a,o];return}for(var c=1/0,i=0;i<e.length;i++){for(var[n,a,o]=e[i],l=!0,d=0;d<n.length;d++)(!1&o||c>=o)&&Object.keys(r.O).every(e=>r.O[e](n[d]))?n.splice(d--,1):(l=!1,o<c&&(c=o));if(l){e.splice(i--,1);var s=a();void 0!==s&&(t=s)}}return t}})(),r.p="/",r.rv=()=>"1.2.8",(()=>{if("undefined"!=typeof document){var e=function(e,t,n,a,o){var i=document.createElement("link");return i.rel="stylesheet",i.type="text/css",r.nc&&(i.nonce=r.nc),i.onerror=i.onload=function(r){if(i.onerror=i.onload=null,"load"===r.type)a();else{var n=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+c+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=n,l.request=c,i.parentNode&&i.parentNode.removeChild(i),o(l)}},i.href=t,n?n.parentNode.insertBefore(i,n.nextSibling):document.head.appendChild(i),i},t=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var a=r[n],o=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}for(var i=document.getElementsByTagName("style"),n=0;n<i.length;n++){var a=i[n],o=a.getAttribute("data-href");if(o===e||o===t)return a}},n={242:0};r.f.miniCss=function(a,o){if(n[a])o.push(n[a]);else if(0!==n[a]&&({470:1,161:1,488:1,718:1,146:1,244:1,730:1})[a])o.push(n[a]=new Promise(function(n,o){var i=r.miniCssF(a),c=r.p+i;if(t(i,c))return n();e(a,c,null,n,o)}).then(function(){n[a]=0},function(e){throw delete n[a],e}))}}})(),(()=>{var e={242:0};r.f.j=function(t,n){var a=r.o(e,t)?e[t]:void 0;if(0!==a){if(a)n.push(a[2]);else if(242!=t){var o=new Promise((r,n)=>a=e[t]=[r,n]);n.push(a[2]=o);var i=r.p+r.u(t),c=Error();r.l(i,function(n){if(r.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",c.name="ChunkLoadError",c.type=o,c.request=i,a[1](c)}},"chunk-"+t,t)}else e[t]=0}},r.O.j=t=>0===e[t];var t=(t,n)=>{var a,o,[i,c,l]=n,d=0;if(i.some(t=>0!==e[t])){for(a in c)r.o(c,a)&&(r.m[a]=c[a]);if(l)var s=l(r)}for(t&&t(n);d<i.length;d++)o=i[d],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(s)},n=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.ruid="bundler=rspack@1.2.8"})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{38921:function(n,t,e){e.d(t,{Z:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},59499:function(n,t,e){e.d(t,{Z:()=>o});let o={card:"card-If0911"}},88292:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-WHe0d3"}},53331:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},56511:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},91671:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},5904:function(n,t,e){e.d(t,{Z:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},37428:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-COzu4H"}},34550:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-SkRv4t"}},17033:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-e3dQes"}},78854:function(n,t,e){e.d(t,{Z:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},98828:function(n,t,e){e.d(t,{Z:()=>o});let o={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"}},52305:function(n,t,e){e.d(t,{Z:()=>o});let o={"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"}},59262:function(n,t,e){e.d(t,{Z:()=>o});let o={stats:"stats-cb58Fz"}},96081:function(n,t,e){e.d(t,{Z:()=>o});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|