@modern-js/devtools-client 2.68.12 → 2.68.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/modern.config.json +1 -1
  2. package/dist/public/sw-proxy.js +1 -1
  3. package/dist/routes-manifest.json +47 -47
  4. package/dist/static/html/client/index.html +3 -3
  5. package/dist/static/html/mount/index.html +3 -3
  6. package/dist/static/js/274.4a0d2552.js +107 -0
  7. package/dist/static/js/564.45967a74.js +1 -0
  8. package/dist/static/js/568.620a6e6d.js +2 -0
  9. package/dist/static/js/648.e867dae7.js +11 -0
  10. package/dist/static/js/async/366.66c8d2d3.js +1 -0
  11. package/dist/static/js/async/client_config/(toolkit).(type)/page.78f00557.js +1 -0
  12. package/dist/static/js/async/client_context/builder/page.b7f00c0c.js +1 -0
  13. package/dist/static/js/async/client_context/framework/page.d26ffa6a.js +1 -0
  14. package/dist/static/js/async/client_doctor/{page.5ba07e73.js → page.f70b3e29.js} +1 -1
  15. package/dist/static/js/async/client_headers/editor/page.7e95780a.js +4 -0
  16. package/dist/static/js/async/client_overview/{page.f3004017.js → page.bbddf322.js} +1 -1
  17. package/dist/static/js/async/client_pages/{page.45457cf3.js → page.413c34c2.js} +1 -1
  18. package/dist/static/js/async/client_storage/preset/(id)/{page.5ea28acb.js → page.0a63207e.js} +1 -1
  19. package/dist/static/js/async/client_storage/preset/layout.a828500f.js +1 -0
  20. package/dist/static/js/async/client_storage/preset/{page.8a5a5e9a.js → page.37bf1000.js} +1 -1
  21. package/dist/static/js/builder-runtime.c277b224.js +1 -0
  22. package/dist/static/js/{client.4c2d66ac.js → client.30a3a6c2.js} +2 -2
  23. package/dist/static/js/components.730239f2.js +1 -0
  24. package/dist/static/js/lib-router.904905a0.js +2 -0
  25. package/dist/static/js/mount.59259614.js +1 -0
  26. package/package.json +10 -10
  27. package/dist/static/js/350.f916bab9.js +0 -107
  28. package/dist/static/js/430.e4e2bd6b.js +0 -2
  29. package/dist/static/js/564.1baf3289.js +0 -1
  30. package/dist/static/js/648.8ce48d57.js +0 -11
  31. package/dist/static/js/async/366.d440c60d.js +0 -1
  32. package/dist/static/js/async/client_config/(toolkit).(type)/page.196eea37.js +0 -1
  33. package/dist/static/js/async/client_context/builder/page.5e00fec6.js +0 -1
  34. package/dist/static/js/async/client_context/framework/page.c4af21b5.js +0 -1
  35. package/dist/static/js/async/client_headers/editor/page.85219c82.js +0 -4
  36. package/dist/static/js/async/client_storage/preset/layout.86334c07.js +0 -1
  37. package/dist/static/js/builder-runtime.76eab922.js +0 -1
  38. package/dist/static/js/components.ca37030c.js +0 -1
  39. package/dist/static/js/lib-router.98ebc71a.js +0 -2
  40. package/dist/static/js/mount.2a8fbfa3.js +0 -1
  41. /package/dist/static/css/{350.f5c7162b.css → 274.f5c7162b.css} +0 -0
  42. /package/dist/static/css/{430.649dd1fe.css → 568.649dd1fe.css} +0 -0
  43. /package/dist/static/js/{350.f916bab9.js.LICENSE.txt → 274.4a0d2552.js.LICENSE.txt} +0 -0
  44. /package/dist/static/js/{430.e4e2bd6b.js.LICENSE.txt → 568.620a6e6d.js.LICENSE.txt} +0 -0
  45. /package/dist/static/js/{client.4c2d66ac.js.LICENSE.txt → client.30a3a6c2.js.LICENSE.txt} +0 -0
  46. /package/dist/static/js/{lib-router.98ebc71a.js.LICENSE.txt → lib-router.904905a0.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! For license information please see client.4c2d66ac.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["719"],{15141:function(e){e.exports={}},1589:function(e,t,n){"use strict";n.d(t,{k:()=>f});var r=n(30255),o=n(97621),a=n(40229),i=n(4337),u=n(37046),l=n(69439),s=n(73271);let c=e=>{let{error:t}=e,n=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(a.a,{p:"4",children:[(0,r.jsx)(i.D,{as:"h4",mb:"4",children:(0,r.jsx)(u.E,{as:"span",children:n})}),(0,r.jsx)(l.f,{disabled:!0,style:{height:"50vh"},value:o})]})},f=()=>{let e=(0,o.r5)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,r.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},59350:function(e,t,n){"use strict";n.d(t,{v:()=>u});var r=n(30255),o=n(97621),a=n(61621),i=n(37369);let u=e=>{let{items:t}=e,n=(0,o.Zp)(),u=(0,o.zy)(),l=t.find(e=>(0,a.B6)(e.to,u.pathname));return(0,r.jsxs)(i.bL,{size:"1",value:null==l?void 0:l.to,onValueChange:n,children:[(0,r.jsx)(i.l9,{}),(0,r.jsx)(i.UC,{position:"popper",children:t.map(e=>{let{title:t,to:n}=e;return(0,r.jsx)(i.q7,{value:n,children:t},n)})})]})}},56614:function(e,t,n){"use strict";n.d(t,{r:()=>E,E:()=>A});var r=n(68015),o=n(20482),a=n(30255),i=n(6455),u=n(96486),l=n(50609);class s extends l.il{static use(){return u.RUNTIME_GLOBALS in window||(window[u.RUNTIME_GLOBALS]=new s),window[u.RUNTIME_GLOBALS]}}async function c(e){s.use();let t=e.map(e=>new Promise((t,n)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=e=>n(e),r.src=e,document.head.appendChild(r)}));await Promise.all(t)}var f=n(85009),d=n(66144),h=n(19461),p=n.n(h),v=n(60824),m=n(83008),g=n(72522),y=n(2732),w=n(99699);let b=async()=>{let e=await u.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,l.FF)();return{remote:(0,d.L4)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:8e3})),hooks:t}};class _ extends Error{constructor(e){super(),this.name="InitializeManifestError",this.cause=e,this.message="Failed to initialize manifest of DevTools"}}let x=async e=>{let t=await fetch(e);try{let e=await t.text();return JSON.parse(e,(0,u.reviver)())}catch(e){throw new _(e)}},j=async(e,t)=>{let n=new URL(e,location.href),a=new window.WebSocket(n),i=await u.WebSocketChannel.link(a),s=(0,l.FF)();return{remote:(0,d.L4)({async refresh(){location.reload()},async applyStateOperations(e){for(let n of e)(0,u.applyOperation)(t,n)}},(0,o._)((0,r._)({},i.handlers),{timeout:5e3})),hooks:s,url:n}},R=async()=>{let e=s.use(),t=(0,w.BX)([{name:"overview",title:"Overview",icon:(0,a.jsx)(m.pNx,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,a.jsx)(m.AN7,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,a.jsx)(m.KUq,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,a.jsx)(g.u3M,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,a.jsx)(m.XVA,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,a.jsx)(m.lMP,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,a.jsx)(g.Gyc,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,a.jsx)(m.vU0,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let n of(await e.callHook("tab:list",t),t))"object"==typeof n.icon&&(n.icon=(0,w.KR)(n.icon)),"external"===n.view.type&&(n.view.component=(0,w.KR)(n.view.component));return t},k=async e=>{let t=new f.s,n=t.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let r=(0,v.createBridge)(window.parent,t);r.shutdown=()=>null;let o=(0,v.createStore)(r),a=(0,v.initialize)(window.parent,{bridge:r,store:o});return{store:o,bridge:r,wallAgent:t,unreg:n,Renderer:a}},E=(async e=>{var t;let n=(0,y.mA)((0,y.vx)(e).search),a=null!=(t=p().castArray(n.src)[0])?t:(0,y.Gc)(e,"manifest"),i=b(),u=x(a),l=u.then(e=>e.websocket?j(e.websocket,(0,w.BX)(e)):null),s=u.then(e=>c(e.context.def.plugins)).then(R),f=i.then(k),[d,h,v,m,g]=await Promise.all([i,u,l,s,f]);return(0,w.BX)((0,o._)((0,r._)({},h),{version:"2.68.12",tabs:m,server:v?(0,w.KR)(v):null,mountPoint:(0,w.KR)(d),react:{devtools:{store:(0,w.KR)(g.store),bridge:(0,w.KR)(g.bridge),wallAgent:(0,w.KR)(g.wallAgent),unreg:(0,w.KR)(g.unreg),Renderer:(0,w.KR)(g.Renderer)}}}))})(location.href),A=()=>(0,i.Yx)(E)},35395:function(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(61621);let o=e=>{let{params:t}=e;return t.toolkit&&t.type&&["framework","builder","bundler"].includes(t.toolkit)?["resolved","transformed"].includes(t.type)?null:(0,r.V2)("/404"):(0,r.V2)("/404")}},99426:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},27666:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>p});var r=n(30255),o=n(97621),a=n(37046),i=n(26095),u=n(37369),l=n(40229),s=n(19461),c=n.n(s);let f=e=>{let{name:t,describe:n}=e,o=n.map(e=>(0,r.jsx)(a.E,{style:{display:"block"},children:e},e));return(0,r.jsx)(i.m,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,r.jsx)(u.q7,{value:t,children:(0,r.jsx)(l.a,{children:c().startCase(t)})})},t)},d=[{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."]}],h=[{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."]}],p={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[n,a]=e.pathname.split("/").slice(2);return(0,r.jsxs)(u.bL,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(a))},children:[(0,r.jsx)(u.l9,{children:n}),(0,r.jsx)(u.UC,{children:d.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(f,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[n,a]=e.pathname.split("/").slice(2);return(0,r.jsxs)(u.bL,{size:"1",value:a,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(u.l9,{children:a}),(0,r.jsx)(u.UC,{children:h.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(f,{name:t,describe:n},t)})})]})},{})}]}},9832:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./builder/transformed");return(0,r.V2)(n)}},42253:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},82141:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(59350);let a={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.v,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},63493:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./builder");return(0,r.V2)(n)}},26590:function(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(30255),o=n(1589),a=n(7252),i=n(40229),u=n(4337),l=n(83008),s=n(35904);let c=e=>{let{title:t,children:n}=e;return(0,r.jsxs)(a.s,{className:s.A.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(l.TMu,{size:"36"})}),(0,r.jsxs)(i.a,{children:[(0,r.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(u.D,{children:t})}),(0,r.jsx)(i.a,{className:s.A.children,children:n})]})]})};var f=n(56614),d=n(97621),h=n(38053),p=n(2732),v=n(54955);let m=()=>{let e=(0,d.r5)(),t=(0,f.E)(),{def:n}=(0,v.s)(t).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(o.k,{});{let e=(0,p.vx)(n.doctor.quickStart).host,t=(0,r.jsxs)(h.N,{href:n.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(i.a,{width:"100%",children:(0,r.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},29223:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Doctor"}}},61129:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},76897:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>u});var r=n(56614),o=n(6455),a=n(19461),i=n.n(a);let u={breadcrumb(e){var t;let n,{pathname:a}=e.location,u=null==(t=a.match(/^\/external\/(\w+)/))?void 0:t[1],{tabs:l}=(0,o.Yx)(r.r),s=i().find(l,{name:u});return s?{title:n}=s:n=u?i().startCase(u):"External",{title:n,pathname:a}}}},15846:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},56422:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Header Modifier"}}},11491:function(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(61621),o=n(2925);let a=async()=>{let e=await o.AZ.service;return(0,r.V2)(e.rules?"./editor":"./welcome")}},2925:function(e,t,n){"use strict";n.d(t,{AZ:()=>s,DQ:()=>i,I:()=>u});var r=n(19461),o=n.n(r),a=n(99699);let i=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),n="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(n);return await navigator.serviceWorker.ready,s.service=await l(),r},u=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let n of e)t=t&&await n.unregister();return s.service=Promise.resolve({}),t},l=async()=>{for(let e of o().times(3))try{let e=AbortSignal.timeout(300),t=await fetch("/__devtools/service/status",{signal:e});return await t.json()}catch(e){}return{}},s=(0,a.BX)({service:l()})},18913:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(83008);let a={breadcrumb:{title:(0,r.jsx)(o.oGk,{}),pathname:"/overview"}}},51735:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>X});var r=n(30255),o=n(68015),a=n(20482),i=n(97621),u=n(73116),l=n(7252),s=n(19461),c=n.n(s),f=n(91275),d=n(79537),h=n(92604),p=n(30962),v=n(14670),m=n(61621),g=n(97271),y=n(73271),w=n(71526);function b(e,t){return function(n){null==e||e(n),n.defaultPrevented||t(n)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function x(){return(x=(0,h._)(function(e,t){var r,o;return(0,v.YH)(this,function(a){switch(a.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(e)}))];case 2:return a.sent(),[3,4];case 3:return console.error(a.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var j=function(e,t){var n=window.location,r=n.protocol,o=n.host,a=new URL(e,"".concat(r,"//").concat(o));return a.searchParams.append("__loader",t),a.searchParams.append("__ssrDirect","true"),a},R=function(e,t,n){var o,a=e.id;return o=j("/"===n?t:"".concat(n).concat(t),a).toString(),(0,r.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},k=function(e){var t=e.path,n=t.pathname,o=(0,y.useContext)(w.V_),a=o.routeManifest,i=o.routes,u=(a||{}).routeAssets,l=Array.isArray(i)?(0,m.ue)(i,n):[];return(Array.isArray(l)&&u&&(null==l||l.forEach(function(e){return function(e,t){return x.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,r.jsx)(E,{matches:l,path:t,routeManifest:a}):null},E=function(e){var t=e.matches,n=e.path,o=e.routeManifest,a=n.pathname,u=n.search,l=n.hash,s=(0,i.FE)(),c=(0,i.$P)("/"),f=(0,y.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(a+u+l,window.origin),i=e.route.shouldRevalidate({currentUrl:r,currentParams:(null==(n=s[0])?void 0:n.params)||{},nextUrl:o,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof i)return i}var c=s[t];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,a,c)})},[t,a,o]);return(0,r.jsx)(r.Fragment,{children:f})},A=function(e){return y.forwardRef(function(t,a){var u,l,s,c,f,h,v,m,g,w,x,j,R,E,A=t.to,S=t.prefetch,C=(0,d._)(t,["to","prefetch"]),N="string"==typeof A&&_.test(A),D=(0,p._)((u=void 0===S?"none":S,s=(l=(0,p._)(y.useState(!1),2))[0],c=l[1],h=(f=(0,p._)(y.useState(!1),2))[0],v=f[1],m=C.onFocus,g=C.onBlur,w=C.onMouseEnter,x=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===u&&v(!0)},[u]),R=function(){"intent"===u&&c(!0)},E=function(){"intent"===u&&(c(!1),v(!1))},y.useEffect(function(){if(s){var e=setTimeout(function(){v(!0)},100);return function(){clearTimeout(e)}}},[s]),[h,{onFocus:b(m,R),onBlur:b(g,E),onMouseEnter:b(w,R),onMouseLeave:b(x,E),onTouchStart:b(j,R)}]),2),P=D[0],L=D[1],M=(0,i.x$)(A);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,(0,o._)({ref:a,to:A},C,L)),P&&n.e&&!N?(0,r.jsx)(k,{path:M}):null]})})},S=A(g.N_);S.displayName="Link";var C=A(g.k2);C.displayName="NavLink";var N=n(38053);let D=e=>{var{to:t,children:n}=e,i=(0,d._)(e,["to","children"]);return(0,r.jsx)(N.N,(0,a._)((0,o._)({},i),{asChild:!0,children:(0,r.jsx)(S,{to:t,children:n})}))},P=e=>{let{location:t,handle:n}=e;if(!c().isObject(n)&&c().isNil(n))return[];let{breadcrumb:r}=n,o=[];c().isFunction(r)?o.push(...c().castArray(r({location:t}))):o.push(...c().castArray(r));let a=[];for(let t of o){if(!c().isObject(t)||c().isNull(t)||!("title"in t))continue;let n={id:e.id,title:t.title,pathname:e.pathname};"pathname"in t&&c().isString(t.pathname)&&(n.pathname=t.pathname),a.push(n)}return a},L=e=>{let t=[],n=(0,i.FE)(),s=(0,i.zy)(),c=[];for(let e of n)c.push(...P((0,a._)((0,o._)({},e),{location:s})));for(let[e,n]of(s.state&&"breadcrumb"in s.state&&c.push(...P({handle:s.state.breadcrumb,pathname:s.pathname,id:"external/".concat(s.pathname),location:s})),Object.entries(c))){let o=[n.id,n.pathname,e];t.push((0,r.jsx)(D,{color:"gray",size:"2",to:n.pathname,children:n.title},o.join("_"))),n!==c.at(-1)&&(o.push("#connector"),t.push((0,r.jsx)(u.vKP,{className:f.A.connector},o.join("_"))))}return(0,r.jsx)(l.s,(0,a._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:t}))};var M=n(56614);let O="";M.r.then(e=>{let{mountPoint:t}=e;t.hooks.hookOnce("pullUp",async e=>{O=e})});let T=()=>{let e=(0,i.Zp)(),{mountPoint:t}=(0,M.E)();return(0,y.useEffect)(()=>{O&&e(O),t.hooks.hook("pullUp",async t=>{e(t)})},[]),null};var B=n(59088),I=n(23205);let H=e=>{var{children:t}=e,n=(0,d._)(e,["children"]);let[i]=(0,B.B)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(i)},[i]),(0,r.jsx)(I.Sx,(0,a._)((0,o._)({},n),{appearance:i,children:t}))};var U=n(25378),q=n(26095),V=n(40229),F=n(83008),z=n(54955);let Y="tab-button-MtqLNp",$="tab-button-inner-KmlACp",J=e=>{let{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.src;else if("iframe"===t.view.type)n="/iframe/".concat(t.view.src);else if("external"===t.view.type)n="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,y.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(q.m,{content:t.title,side:"right",children:(0,r.jsx)(C,{to:n,className:Y,children:(0,r.jsx)(l.s,{justify:"center",align:"center",p:"1",className:$,children:(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:t.icon})})})})},G=()=>{let{server:e}=(0,z.s)((0,M.E)());return(0,r.jsx)(q.m,{content:e?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(V.a,{className:Y,children:(0,r.jsxs)(V.a,{p:"1",position:"relative",className:$,children:[(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(F.BSJ,{})}),(0,r.jsx)(V.a,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},K=()=>{let[e,t]=(0,B.B)();return(0,r.jsx)(q.m,{content:"Appearance",side:"right",children:(0,r.jsx)(V.a,{className:Y,onClick:()=>{t("light"===e?"dark":"light")},children:(0,r.jsx)(l.s,{justify:"center",align:"center",p:"1",className:$,children:(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,r.jsx)(F.DJT,{}):(0,r.jsx)(F._Nv,{})})})})})},W=()=>{let{tabs:e}=(0,z.s)((0,M.E)());return(0,r.jsxs)(l.s,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,r.jsx)(J,{tab:e},e.name)),(0,r.jsx)(V.a,{flexGrow:"1"}),(0,r.jsx)(G,{}),(0,r.jsx)(K,{})]})},X=()=>(0,r.jsx)(H,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(U.Kq,{swipeDirection:"up",children:[(0,r.jsx)(W,{}),(0,r.jsxs)(V.a,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(V.a,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(i.sv,{})}),(0,r.jsx)(L,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(T,{})]})})},61668:function(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(30255),o=n(23134),a=n(56614),i=n(35332);let u=()=>{let{mountPoint:e}=(0,a.E)();return(0,i.A)(async()=>{e.remote.onFinishRender()}),(0,r.jsx)(o.R,{className:"loading-gmTvLE"})}},36109:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},64253:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Overview"}}},76962:function(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./overview");return(0,r.V2)(n)}},26524:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},6100:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Pages"}}},98321:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(59350);let a={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.v,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},38305:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},19289:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./components");return(0,r.V2)(n)}},16976:function(e,t,n){"use strict";n.d(t,{w:()=>u});var r=n(56614),o=n(61621),a=n(19461),i=n.n(a);let u=async e=>{let{params:t}=e,{id:n}=t;if(!n)throw TypeError("storage preset id is required");let{context:a}=await r.r,{storagePresets:u}=await Promise.resolve(a),l=i().find(u,{id:n});return l||(0,o.V2)("/storage/preset")}},80557:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},86667:function(e,t,n){"use strict";n.d(t,{X:()=>a,w:()=>o});var r=n(80410);let o=async e=>await (0,r.Ep)(),a=()=>null},17256:function(e,t,n){"use strict";n.d(t,{w:()=>o});var r=n(80410);let o=async e=>await (0,r.Ep)()},80410:function(e,t,n){"use strict";n.d(t,{Bf:()=>u,Ep:()=>c,Gq:()=>i,Z2:()=>l,ZB:()=>s});var r=n(56614),o=n(19461),a=n.n(o);let i=["cookie","localStorage","sessionStorage"],u={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},l=(e,t)=>a().map(e[t],(n,r)=>{let o=[e.id,t,r].join("//");return{key:r,value:n,type:t,id:o}}),s=e=>{let t=[];for(let n of i)t.push(...l(e,n));return t},c=async e=>{let{mountPoint:t}=await r.r,[n,o,a]=await Promise.all([t.remote.cookies(null==e?void 0:e.cookie),t.remote.localStorage(null==e?void 0:e.localStorage),t.remote.sessionStorage(null==e?void 0:e.sessionStorage)]);return{cookie:n,localStorage:o,sessionStorage:a}}},6455:function(e,t,n){"use strict";n.d(t,{Yx:()=>o}),n(30255),n(73271),n(19461);let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let t=r.get(e);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;throw t}throw r.set(e,e),e.then(t=>r.set(e,t)).catch(t=>r.set(e,t)),e}},46026:function(e,t,n){"use strict";n.d(t,{XX:()=>b});var r=n(92604),o=n(0),a=n(68015),i=n(20482),u=n(30962),l=n(14670),s=n(50016),c=n(63458),f=n(71526),d=n(80630),h=n(73271);function p(e,t){return h.createElement(f.V_.Provider,{value:t},e)}var v=n(30255),m=n(94636),g=n(48639),y=function(e){var t=e.callback,n=e.children,r=(0,h.useRef)(!1);return(0,h.useLayoutEffect)(function(){r.current||(r.current=!0,t())},[t]),n},w=function(){return!0};function b(e,t){return _.apply(this,arguments)}function _(){return(_=(0,r._)(function(e,t){var n,h,b,_,R,k,E,A,S,C;function N(){return(N=(0,r._)(function(e){return(0,l.YH)(this,function(t){return[2,function(e,t){return x.apply(this,arguments)}(e,C)]})})).apply(this,arguments)}function D(){return(D=(0,r._)(function(e,t){return(0,l.YH)(this,function(n){return[2,function(e,t){return j.apply(this,arguments)}(e,C,t)]})})).apply(this,arguments)}return(0,l.YH)(this,function(x){var j,P,L,M,O,T,B,I,H,U,q,V,F,z,Y,$,J;switch(x.label){case 0:if(n=(0,f.Ky)(),j=(0,r._)(function(e){var t,n;return(0,l.YH)(this,function(r){switch(r.label){case 0:return(t=(0,c.gy)()).pluginAPI.updateRuntimeContext(e),[4,t.hooks.onBeforeRender.call(e)];case 1:return r.sent(),[2,null==(n=(0,c.t8)())?void 0:n(e)]}})}),!(void 0===t||"string"==typeof t||"undefined"!=typeof HTMLElement&&(0,o._)(t,HTMLElement)))return[3,2];return h=function(e){return N.apply(this,arguments)},b=function(e,t){return D.apply(this,arguments)},T=null==(O=window._SSR_DATA)||null==(P=O.context)?void 0:P.request,A=Object.keys(E=(null==(_=(k=(0,i._)((0,a._)({},O||{renderLevel:0,mode:"string"}),{context:(0,i._)((0,a._)({},(null==O?void 0:O.context)||{}),{request:(0,i._)((0,a._)({},(null==O||null==(L=O.context)?void 0:L.request)||{}),{params:(null==T?void 0:T.params)||{},host:(null==T?void 0:T.host)||location.host,pathname:(null==T?void 0:T.pathname)||location.pathname,headers:(null==T?void 0:T.headers)||{},cookieMap:s.parse(document.cookie||"")||{},cookie:document.cookie||"",userAgent:(null==T||null==(M=T.headers)?void 0:M["user-agent"])||navigator.userAgent,referer:document.referrer,query:(0,a._)({},window.location.search.substring(1).split("&").reduce(function(e,t){var n=(0,u._)(t.split("="),2),r=n[0],o=n[1];return r&&(e[r]=o),e},{}),(null==T?void 0:T.query)||{}),url:location.href})})})).data)?void 0:_.loadersData)||{}).reduce(function(e,t){var n=E[t];return(null==n?void 0:n.loading)!==!1||(e[t]=n),e},{}),Object.assign(n,{loaderManager:(0,d.x)(A,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),n.initialData=null==(R=k.data)?void 0:R.initialData,[4,function(e){return j.apply(this,arguments)}(n)];case 1:if((S=x.sent())&&(n.initialData=S),C=t&&"string"!=typeof t?t:document.getElementById(t||"root"),window._SSR_DATA)return[2,(B=n,I=h,H=b,z=(0,i._)((0,a._)({},B),{get routes(){return B.routes},_hydration:!0}),Y=function(){delete z._hydration},$=(null==(q=window)||null==(U=q._SSR_DATA)?void 0:U.renderLevel)||g.Bw.CLIENT_RENDER,J=(null==(F=window)||null==(V=F._SSR_DATA)?void 0:V.mode)||"string",w()&&"stream"===J?$===g.Bw.SERVER_RENDER?H(p((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:Y,children:e})},{}),z)):I(p(e,B)):$===g.Bw.CLIENT_RENDER||$===g.Bw.SERVER_PREFETCH?I(p(e,B)):$===g.Bw.SERVER_RENDER?new Promise(function(t){w()?(0,m.ai)(function(){H(p((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:Y,children:e})},{}),z)).then(function(e){t(e)})}):(0,m.ai)(function(){H(p(e,z),Y).then(function(e){t(e)})})}):(console.warn("unknow render level: ".concat($,", execute render()")),I(p(e,B))))];return[2,h(p(e,n))];case 2:throw Error("`render` function needs id in browser environment, it needs to be string or element")}})})).apply(this,arguments)}function x(){return(x=(0,r._)(function(e,t){var r;return(0,l.YH)(this,function(o){switch(o.label){case 0:return[4,n.e("783").then(n.t.bind(n,38987,19))];case 1:return(r=o.sent().createRoot(t)).render(e),[2,r]}})})).apply(this,arguments)}function j(){return(j=(0,r._)(function(e,t){return(0,l.YH)(this,function(r){switch(r.label){case 0:return[4,n.e("783").then(n.t.bind(n,38987,19))];case 1:return[2,r.sent().hydrateRoot(t,e)]}})})).apply(this,arguments)}},48639:function(e,t,n){"use strict";n.d(t,{Bw:()=>o,aQ:()=>i,rL:()=>a}),(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,a="__MODERN_SSR_DATA__",i="__MODERN_ROUTER_DATA__"},63458:function(e,t,n){"use strict";n.d(t,{A8:()=>s,J$:()=>o,Xj:()=>f,cG:()=>i,fn:()=>d,gy:()=>u,t8:()=>c,z_:()=>l,zm:()=>a});var r={};function o(){return r.isRscClient}function a(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,r.isRscClient=e.isRscClient,r.enableRsc=e.enableRsc}function i(e){r.internalRuntimeContext=e}function u(){return r.internalRuntimeContext}function l(){return r.App}function s(){return r.routes}function c(){var e,t;return r.appInit||(null==(e=l())?void 0:e.init)||(null==(t=d())?void 0:t.init)}function f(){var e,t;return r.appConfig||(null==(e=l())?void 0:e.config)||(null==(t=d())?void 0:t.config)}function d(){return r.layoutApp}},71526:function(e,t,n){"use strict";n.d(t,{Ky:()=>u,V_:()=>i});var r=n(18958),o=n(73271),a=n(80630),i=(0,o.createContext)({}),u=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1?arguments[1]:void 0;return{loaderManager:(0,a.x)({}),isBrowser:e,routeManifest:t||"undefined"!=typeof window&&window[r.Ae]}}},80630:function(e,t,n){"use strict";n.d(t,{x:()=>p});var r,o,a=n(92604),i=n(0),u=n(30962),l=n(84337),s=n(14670),c=n(60191),f=n.n(c),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var h=function(e){var t,n,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()},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,f=r.data,d=r.error,h=!1,p=new Set,v=(t=(0,a._)(function(){return(0,s.YH)(this,function(e){return u||1===c?[2,n]:(c=1,g(),[2,n=o().then(function(e){f=e,d=null,c=2}).catch(function(e){d=e,f=null,c=3}).finally(function(){n=null,h=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!h&&1===c,reloading:h&&1===c,data:f,error:(0,i._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,l._)(p).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return n},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:v}},p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,l=n.skipNonStatic,c=void 0!==l&&l,f=new Map,p=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value.promise;if((0,i._)(a,Promise))return!0}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,a._)(function(){var e,t,n,r,o,a,l,c,d,h;return(0,s.YH)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)c=(l=(0,u._)(a.value,2))[0],h=(d=l[1]).promise,(0,i._)(h,Promise)&&e.push([c,d])}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,u._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=p(n.params),a=f.get(r),i=n._cache;if(!a||!1===i){var u=c&&!n.static,l=o&&n.static;a=h(r,void 0!==e[r]?e[r]:{data:n.initialData},t,u||l),f.set(r,a)}return r},get:function(e){return f.get(e)}}}},90984:function(e,t,n){"use strict";n.d(t,{F:()=>j,R:()=>R});var r,o,a,i,u,l,s,c=n(84337),f=n(93642),d=n(44252),h=n(68015),p=n(79537),v=n(20482),m=n(66944),g=(o=function(e){s.clear(),r=e;var t=e.plugins,n=e.handleSetupResult;s.addPlugins(t);var o=s.getPlugins(),a=(g=(d={runtimeContext:{},config:r.config,plugins:o}).runtimeContext,y=d.config,w=d.plugins,b={},w.forEach(function(e){var t=e.registryHooks,n=void 0===t?{}:t;Object.keys(n).forEach(function(e){b[e]=n[e]})}),(0,v._)((0,h._)({},g),{hooks:(0,h._)({},{onBeforeRender:(0,m.Ve)(),wrapRoot:(0,m.Lt)(),pickContext:(0,m.Lt)(),config:(0,m.po)()},b),extendsHooks:b,config:y})),i=function(e){var t=e.context,n=e.plugins,r=t.hooks,o=t.extendsHooks;function a(){if(t){t.hooks,t.extendsHooks,t.config,t.pluginAPI;var e=(0,p._)(t,["hooks","extendsHooks","config","pluginAPI"]);return e._internalContext=t,e}throw Error("Cannot access context")}function i(e){t=(0,f.h)(t,e)}var u={};n.forEach(function(e){var t=e._registryApi;if(t){var n=t(a,i);Object.keys(n).forEach(function(e){u[e]=n[e]})}}),o&&Object.keys(o).forEach(function(e){u[e]=o[e].tap});var l=(0,h._)({updateRuntimeContext:i,getHooks:function(){return(0,h._)({},r,o)},getRuntimeConfig:function(){if(t.config)return t.config;throw Error("Cannot access config")},config:r.config.tap,onBeforeRender:r.onBeforeRender.tap,wrapRoot:r.wrapRoot.tap,pickContext:r.pickContext.tap},u);return"undefined"==typeof Proxy?l:new Proxy(l,{get:function(e,t){if("then"!==t)return t in e?e[t]:function(){console.warn("api.".concat(t.toString()," not exist"))}}})}({context:a,pluginManager:s,plugins:o});a.pluginAPI=i;var u=!0,l=!1,c=void 0;try{for(var d,g,y,w,b,_,x=o[Symbol.iterator]();!(u=(_=x.next()).done);u=!0){var j,R=_.value,k=null==(j=R.setup)?void 0:j.call(R,i);n&&n(k,i)}}catch(e){l=!0,c=e}finally{try{u||null==x.return||x.return()}finally{if(l)throw c}}return{runtimeContext:a}},a=new Map,i=new Map,u=function(e,t,n){i.has(t)||i.set(t,{pre:new Map,post:new Map}),"pre"===n?i.get(e).pre.set(t,{name:t,isUse:!1}):"post"===n?i.get(e).post.set(t,{name:t}):"use"!==n||i.get(e).post.has(t)||i.get(t).pre.has(e)||i.get(e).pre.set(t,{name:t,isUse:!0})},l=function(e){if(e){var t=e,n=void 0===t?"undefined":(0,d._)(t);if("object"!==n||null===t)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(n,"."));if(t.setup&&"function"!=typeof t.setup)throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(n,"."));var r=e.name,o=e.usePlugins,s=e.pre,c=e.post;if(a.has(r))return void console.warn("Plugin ".concat(r," already exists."));a.set(r,e),i.set(r,{pre:new Map,post:new Map}),(void 0===s?[]:s).forEach(function(e){u(r,e,"pre")}),(void 0===c?[]:c).forEach(function(e){u(r,e,"post")}),(void 0===o?[]:o).forEach(function(e){a.has(e.name)||l(e),u(r,e.name,"use")})}},s={getPlugins:function(){var e=new Set,t=new Set,n=[],r=function(o){if(t.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&a.get(o)){t.add(o);var u=a.get(o).required;(void 0===u?[]:u).forEach(function(e){if(!a.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var l=i.get(o).pre;Array.from(l.values()).filter(function(e){return!e.isUse}).forEach(function(e){return r(e.name)}),Array.from(l.values()).filter(function(e){return e.isUse}).forEach(function(e){return r(e.name)}),t.delete(o),e.add(o),n.push(a.get(o))}};return a.forEach(function(e,t){i.get(t).post.forEach(function(e){i.get(e.name).pre.has(t)||i.get(e.name).pre.set(t,{name:t,isUse:!1})})}),a.forEach(function(e,t){r(t)}),n=n.filter(function(e){return e})},addPlugins:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;l(i)}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}},clear:function(){a.clear(),i.clear()},isPluginExists:function(e){return a.has(e)}},{run:function(e){var t=o(e).runtimeContext,n=t.hooks.config.call().filter(function(e){return!!e});return t.config=f.h.apply(void 0,[{}].concat((0,c._)(n),[t.config||{}])),{runtimeContext:t}}}),y=n(92604),w=n(14670);function b(e,t){e&&Object.keys(e).forEach(function(n){var r=e[n];if("function"==typeof r){var o="beforeRender"===n?"onBeforeRender":n;t[o]&&("beforeRender"===n?t[o]((0,y._)(function(){var e,t,n,o=arguments;return(0,w.YH)(this,function(a){switch(a.label){case 0:for(t=Array(e=o.length),n=0;n<e;n++)t[n]=o[n];return[4,r.apply(void 0,(0,c._)(t))];case 1:return a.sent(),[2]}})})):t[o](function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,(0,c._)(t))}))}})}var _=function(e){var t=e.ssrContext;return t?{isBrowser:e.isBrowser,request:t.request||{},response:t.response||{},logger:t.logger||{}}:{}},x=n(63458);function j(e,t){var n=(t||{}).plugins,r=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var t,n;return t=e()._internalContext.hooks,{beforeRender:(n=(0,y._)(function(e){return(0,w.YH)(this,function(n){return[2,t.onBeforeRender.call(e)]})}),function(e){return n.apply(this,arguments)}),wrapRoot:function(e){return t.wrapRoot.call(e)},pickContext:function(e){return t.pickContext.call(e)},config:function(){return t.config.call()}}}}}},{name:"@modern-js/runtime-plugin-request-context",setup:function(e){e.onBeforeRender(function(e){var t=_(e);e.context=t})}}].concat((0,c._)(e),(0,c._)(void 0===n?[]:n)),config:t||{},handleSetupResult:b}).runtimeContext;return(0,x.cG)(r),r}function R(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return f.h.apply(void 0,[{},e].concat((0,c._)(n)))}},69088:function(e,t,n){"use strict";n.d(t,{H:()=>i});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}},o=n(48639),a=n(63458);function i(e){var t=e||(0,a.z_)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||r(o.rL),window._ROUTER_DATA=window._ROUTER_DATA||r(o.aQ)),(0,a.gy)().hooks.wrapRoot.call(t)}},23382:function(e,t,n){"use strict";n.d(t,{jY:()=>G});var r=n(68015),o=n(20482),a=n(84337),i=n(30255),u=n(93642),l=n(97621),s=n(97271);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var f=n(73271),d=n.t(f,2),h=n(71526),p=n(63458),v=n(66944),m=(0,v.Lt)(),g=(0,v.Lt)(),y=n(92604),w=n(30962),b=n(44252),_=n(14670),x=n(31488),j=n(61621);(0,y._)(function(e){var t;return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;return r=(0,y._)(function(e){return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;return[4,Promise.all(e.map((r=(0,y._)(function(e){return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;if(!("lazyImport"in e&&(r=e.component)&&(void 0===r?"undefined":(0,b._)(r))==="object"&&void 0!==r._init&&void 0!==r._payload))return[3,2];return[4,e.lazyImport()];case 1:e.component=n.sent().default,n.label=2;case 2:if(!(e.children&&Array.isArray(e.children)))return[3,4];return[4,t(e.children)];case 3:n.sent(),n.label=4;case 4:return[2]}})}),function(e){return r.apply(this,arguments)})))];case 1:return n.sent(),[2]}})}),[4,(t=function(e){return r.apply(this,arguments)})(e)];case 1:return n.sent(),[2]}})});var R=function(e,t){if(!t||!Array.isArray(t))return e;var n=new Map,o=function(e){e.forEach(function(e){e.id&&n.set(e.id,e),"children"in e&&e.children&&Array.isArray(e.children)&&o(e.children)})};o(e);var a=function(e){return e.map(function(e){if(e.id&&n.has(e.id)){var t=n.get(e.id),o=(0,r._)({loader:e.hasClientLoader?e.loader:void 0},t);return e.children&&Array.isArray(e.children)&&(o.children=a(e.children)),o}return e})};return a(t)},k=function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var u=a.value;if(u.id===t)return u;if(u.children&&Array.isArray(u.children)){var l=k(u.children,t);if(l)return l}}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return null},E=function(e,t){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=R(e.routes.reduceRight(function(e,t){return e.length>0?[(0,o._)((0,r._)({},t),{children:e})]:[t]},[]),t),u=(0,s.Ys)(i,{hydrationData:e,basename:a,dataStrategy:(n=(0,y._)(function(e){var n,r,o,a,i,l,s,c,f;return(0,_.YH)(this,function(d){switch(d.label){case 0:var h;return n=e.request,r=e.matches,o={},a=r.filter(function(e){return e.route.hasClientLoader}),i=fetch(n.url,{headers:{"x-rsc-tree":"true"}}),l=a.length>0?Promise.all(a.map((h=(0,y._)(function(e){var n,r;return(0,_.YH)(this,function(o){switch(o.label){case 0:return n=k(t,e.route.id),e.route.loader=null==n?void 0:n.loader,[4,e.resolve()];case 1:return r=o.sent(),[2,{routeId:e.route.id,result:r}]}})}),function(e){return h.apply(this,arguments)}))):Promise.resolve([]),[4,i];case 1:if(c=(s=d.sent()).headers.get("X-Modernjs-Redirect"))return r.forEach(function(e){var t=e.route.id;t&&(o[t]={type:"redirect",result:(0,j.V2)(c)})}),[2,o];return[4,Promise.all([l])];case 2:return w._.apply(void 0,[d.sent(),1])[0].forEach(function(e){var t=e.routeId,n=e.result;o[t]=n}),[4,(0,x.createFromReadableStream)(s.body)];case 3:if(void 0===(f=d.sent()).type||"render"!==f.type)throw Error("Unexpected payload type");return r.forEach(function(e){var t,n=e.route.id,r=f.routes.find(function(e){return e.id===n});r&&u.patchRoutes(r.parentId,[r],!0),(null==(t=f.loaderData)?void 0:t[n])&&(o[n]={type:"data",result:f.loaderData[n]})}),[2,o]}})}),function(e){return n.apply(this,arguments)})});return u},A=n(79537),S=n(18958);function C(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var N=function(e){var t=(0,w._)(C(e),2);return 1e3*t[0]+t[1]/1e6},D=function(){var e=C();return function(){return N(e)}},P="undefined"!=typeof window&&void 0!==window.document,L=function(){if(P)return console.error("You should not get async storage in browser"),null;try{return n(15141).getAsyncLocalStorage()}catch(e){return console.error("Failed to load server async storage",e),null}},M=n(82526),O=n(27220),T=n(94561),B=n(42969),I=n(41378),H=n(0);function U(e,t){if(!1===e||null==e)throw Error(t)}var q=function(e){function t(){return(0,O._)(this,t),(0,M._)(this,t,arguments)}return(0,I._)(t,e),t}((0,n(56382)._)(Error)),V=function(e){var t,n,a,u,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,d=e.index,h=e.id,p=e.component,v=e.isRoot,m=e.lazyImport,g=e.config,w=e.handle,x=s.parent,j=s.props,R={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:(a=(t=e).loader)?(n=(0,y._)(function(e){var n,r,o,i,u,l;return(0,_.YH)(this,function(s){switch(s.label){case 0:return"function"==typeof t.lazyImport&&t.lazyImport(),n=D(),[4,a(e)];case 1:r=s.sent();return o=n(),"undefined"==typeof document&&(null==(l=L())||null==(u=l.useContext().monitors)||u.timing("".concat(S.IV,"-").concat(null==(i=t.id)?void 0:i.replace(/\//g,"_")),o)),[2,r]}})}),function(e){return n.apply(this,arguments)}):function(){return"function"==typeof t.lazyImport&&t.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,r._)({},w,(void 0===g?"undefined":(0,b._)(g))==="object"?null==g?void 0:g.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error&&(R.errorElement=(0,i.jsx)(e.error,{})),p)if((null==x?void 0:x.loading)&&m){var k=x.loading;u=F(p)?(0,i.jsx)(p,{fallback:(0,i.jsx)(k,{})}):(0,i.jsx)(f.Suspense,{fallback:(0,i.jsx)(k,{}),children:(0,i.jsx)(p,{})})}else u=F(p)&&m?(0,i.jsx)(p,{}):v?(0,i.jsx)(p,(0,r._)({},void 0===j?{}:j)):m?(0,i.jsx)(f.Suspense,{fallback:null,children:(0,i.jsx)(p,{})}):(0,i.jsx)(p,{});else e.loading=null==x?void 0:x.loading,R.element=(0,i.jsx)(l.sv,{});u&&(R.element=u);var E=null==c?void 0:c.map(function(t){return V(t,{parent:e})});return d?(0,i.jsx)(l.qh,(0,o._)((0,r._)({},R),{index:!0}),h):(0,i.jsx)(l.qh,(0,o._)((0,r._)({},R),{index:!1,children:E}),h)};function F(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}var z=function(){return(0,i.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})};function Y(){return null}var $=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=RegExp("".concat("/","{1,}"),"g");return(e=n.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},J={routes:[]},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"@modern-js/plugin-router",registryHooks:{modifyRoutes:m,onBeforeCreateRoutes:g},setup:function(t){var n={current:[]};t.onBeforeRender(function(t){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var r,o=t.ssrContext,a=c(window.location.pathname),i=(null==o||null==(r=o.request)?void 0:r.pathname)&&c(o.request.pathname);i&&i!==a&&(console.error("The initial URL ".concat(i," and the URL ").concat(a," to be hydrated do not match, reload.")),window.location.reload())}t.router={useMatches:l.FE,useLocation:l.zy,useHref:l.$P},Object.defineProperty(t,"routes",{get:function(){return n.current},enumerable:!0})}),t.wrapRoot(function(c){var d=(0,u.h)(t.getRuntimeConfig().router||{},e),v=d.serverBase,m=void 0===v?[]:v,g=d.supportHtml5History,y=void 0===g||g,_=d.basename,x=void 0===_?"":_,R=d.routesConfig,k=d.createRoutes,S=d.future;if(!(J=(0,r._)({routes:(0,p.A8)(),globalApp:(0,p.fn)()},R)).routes&&!k)return c;var C=function(e){return m.find(function(t){return function(e,t){var n=t.length>1&&t.endsWith("/")?t.slice(0,-1):t||"/",r=e||"/";return r===n||r.startsWith("".concat(n,"/"))}(e,t)})||"/"};return function(e){var u,d,v,m,g,_,R,N,D,P,L,M,O,T=(u=(0,o._)((0,r._)({},e),{rscPayload:null==e?void 0:e.rscPayload}),v=(d={api:t,createRoutes:k,supportHtml5History:y,selectBasePath:C,basename:x,future:S}).api,m=d.createRoutes,g=d.supportHtml5History,_=d.selectBasePath,R=d.basename,N=(0,f.useContext)(h.V_),P="/"===(D=_(location.pathname).replace(/^\/*/,"/"))?$(D,N._internalRouterBaseName||R):D,L=N.unstable_getBlockNavState,M=(null==u?void 0:u.rscPayload)?W(u.rscPayload):null,O=window._ROUTER_DATA||M,(0,f.useMemo)(function(){(null==O?void 0:O.errors)&&(O=(0,o._)((0,r._)({},O),{errors:function(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,a=void 0;try{for(var i,u=t[Symbol.iterator]();!(r=(i=u.next()).done);r=!0){var l=(0,w._)(i.value,2),s=l[0],c=l[1];if(c&&"RouteErrorResponse"===c.__type)n[s]=new j.VV(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var f=Error(c.message);f.stack=c.stack,n[s]=f}else n[s]=c}}catch(e){o=!0,a=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(O.errors)}));var e=(0,p.J$)(),t=null;(t=e?m?m():function(e){var t=e.routesConfig,n=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,u=t.globalApp;return a?function e(t,n){var o=n.globalApp,a=n.ssrMode,u=n.props,l=function(e){return o?function(t){return(0,i.jsx)(o,(0,r._)({Component:e},t))}:e},s=[],c=!0,d=!1,h=void 0;try{for(var p,v=t[Symbol.iterator]();!(c=(p=v.next()).done);c=!0){var m=p.value;if("nested"===m.type){var g,y={path:m.path,id:m.id,loader:m.loader,action:m.action,hasErrorBoundary:m.hasErrorBoundary,shouldRevalidate:m.shouldRevalidate,handle:(0,r._)({},m.handle,"object"===(0,b._)(m.config)?null==(g=m.config)?void 0:g.handle:{}),index:m.index,hasClientLoader:!!m.clientData,Component:m.component?m.component:void 0,errorElement:m.error?(0,i.jsx)(m.error,{}):void 0,children:m.children?m.children.map(function(t){return e([t],{globalApp:o,ssrMode:a,props:u})[0]}):void 0};s.push(y)}else if("function"==typeof m.component||"object"===(0,b._)(m.component)){var w=l(m.component),_={path:m.path,element:f.createElement(w)};s.push(_)}}}catch(e){d=!0,h=e}finally{try{c||null==v.return||v.return()}finally{if(d)throw h}}return s.push({path:"*",element:(0,i.jsx)(z,{})}),s}(a,{globalApp:u,ssrMode:o,props:n}):null}({routesConfig:J}):m?m():(0,l.Eu)(function(e){var t=e.routesConfig,n=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,u=t.globalApp;return a?function(e,t){var n=t.globalApp,o=t.ssrMode,a=t.props,u=function(e){var t=e.Component,o=(0,A._)(e,["Component"]);return n?(0,i.jsx)(n,(0,r._)({Component:t},o)):(0,i.jsx)(t,(0,r._)({},o))},s=[],c=!0,f=!1,d=void 0;try{for(var h,p=e[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var v=h.value;if("nested"===v.type){var m=V(v,{DeferredDataComponent:"stream"===o?Y:void 0,props:a});s.push(m)}else{var g=(0,i.jsx)(l.qh,{path:v.path,element:(0,i.jsx)(u,{Component:v.component})},v.path);s.push(g)}}}catch(e){f=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(f)throw d}}return s.push((0,i.jsx)(l.qh,{path:"*",element:(0,i.jsx)(z,{})},"*")),s}(a,{globalApp:u,ssrMode:o,props:n}):null}({routesConfig:J,props:u})))||(t=[]);var n=v.getHooks();if(M)try{var c=E(M,t,P);return{router:c,routes:c.routes||[]}}catch(e){console.error("Failed to create router from RSC payload:",e)}var d=n.modifyRoutes.call(t),h=g?(0,s.Ys)(d,{basename:P,hydrationData:O}):(0,s.Ge)(d,{basename:P,hydrationData:O}),y=h.subscribe;return h.subscribe=function(e){return y(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(L&&L()))return e.apply(void 0,(0,a._)(n))})},{router:h,routes:d}},[J,u,P,O,L])),B=T.router,I=T.routes;(0,f.useEffect)(function(){n.current=I},[I]);var H=function(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.pg,{router:B,future:S}),(0,i.jsx)(K,{}),(0,i.jsx)(K,{})]})};return c?(0,i.jsx)(c,{children:(0,i.jsx)(H,{})}):(0,i.jsx)(H,{})}})}}},K=function(){return null},W=function(e){var t=d&&d.use;return"function"==typeof t?t(e):null}},38058:function(e,t,n){"use strict";n.d(t,{eM:()=>a,qF:()=>i,rl:()=>o});var r=n(18958),o=function(e){return function(t){var n,o,a=null==(o=window)||null==(n=o[r.Ql])?void 0:n[e];return a&&"function"==typeof a.shouldRevalidate?a.shouldRevalidate(t):t.defaultShouldRevalidate}},a=function(e,t){return"undefined"!=typeof document&&(window[r.Ql][t]=e),e},i=function(e){return console.error(e),null}},66944:function(e,t,n){"use strict";n.d(t,{Lt:()=>u,Ve:()=>i,po:()=>l});var r=n(92604),o=n(84337),a=n(14670);function i(){var e,t=[];return{tap:function(e){t.push(e)},call:(e=(0,r._)(function(){var e,n,r,i,u,l,s,c,f,d,h,p,v,m,g=arguments;return(0,a.YH)(this,function(a){switch(a.label){case 0:for(n=Array(e=g.length),r=0;r<e;r++)n[r]=g[r];i=!1,l=function(e){i=!0,u=e},s=!0,c=!1,f=void 0,a.label=1;case 1:a.trys.push([1,6,7,8]),d=t[Symbol.iterator](),a.label=2;case 2:if((s=(h=d.next()).done)||(p=h.value,i))return[3,5];return[4,p.apply(void 0,(0,o._)(n).concat([l]))];case 3:void 0!==(v=a.sent())&&(n[0]=v),a.label=4;case 4:return s=!0,[3,2];case 5:return[3,8];case 6:return m=a.sent(),c=!0,f=m,[3,8];case 7:try{s||null==d.return||d.return()}finally{if(c)throw f}return[7];case 8:return[2,i?u:n[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function u(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=!0,i=!1,u=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){var c=l.value.apply(void 0,(0,o._)(n));void 0!==c&&(n[0]=c)}}catch(e){i=!0,u=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw u}}return n[0]}}}function l(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=[],a=!0,i=!1,u=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){var c=(0,l.value)(n);void 0!==c&&o.push(c)}}catch(e){i=!0,u=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw u}}return o}}}},93642:function(e,t,n){"use strict";n.d(t,{h:()=>function e(t){for(var n=arguments.length,a=Array(n>1?n-1:0),u=1;u<n;u++)a[u-1]=arguments[u];if(!a.length)return t;var l=a.shift();if(i(t)&&i(l))for(var s in l)i(l[s])?(t[s]||Object.assign(t,(0,r._)({},s,{})),e(t[s],l[s])):Object.assign(t,(0,r._)({},s,l[s]));return e.apply(void 0,[t].concat((0,o._)(a)))}});var r=n(42969),o=n(84337),a=n(44252);function i(e){return e&&(void 0===e?"undefined":(0,a._)(e))==="object"&&!Array.isArray(e)}},79499:function(e,t,n){"use strict";var r=n(40626),o={stream:!0},a=new Map;function i(e){var t=n(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function u(){}function l(e){for(var t=e[1],r=[],o=0;o<t.length;){var l=t[o++],s=t[o++],f=a.get(l);void 0===f?(c.set(l,s),s=n.e(l),r.push(s),f=a.set.bind(a,l,null),s.then(f,u),a.set(l,s)):null!==f&&r.push(f)}return 4===e.length?0===r.length?i(e[0]):Promise.all(r).then(function(){return i(e[0])}):0<r.length?Promise.all(r):null}function s(e){var t=n(e[0]);if(4===e.length&&"function"==typeof t.then)if("fulfilled"===t.status)t=t.value;else throw t.reason;return"*"===e[2]?t:""===e[2]?t.__esModule?t.default:t:t[e[2]]}var c=new Map,f=n.u;n.u=function(e){var t=c.get(e);return void 0!==t?t:f(e)};var d=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h=Symbol.for("react.transitional.element"),p=Symbol.for("react.lazy"),v=Symbol.asyncIterator,m=new WeakMap;function g(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function y(e){switch(e.status){case"resolved_model":S(e);break;case"resolved_module":C(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":throw e;default:throw e.reason}}function w(e){return new g("pending",null,null,e)}function b(e,t){for(var n=0;n<e.length;n++)(0,e[n])(t)}function _(e,t,n){switch(e.status){case"fulfilled":b(t,e.value);break;case"pending":case"blocked":if(e.value)for(var r=0;r<t.length;r++)e.value.push(t[r]);else e.value=t;if(e.reason){if(n)for(t=0;t<n.length;t++)e.reason.push(n[t])}else e.reason=n;break;case"rejected":n&&b(n,e.reason)}}function x(e,t){if("pending"!==e.status&&"blocked"!==e.status)e.reason.error(t);else{var n=e.reason;e.status="rejected",e.reason=t,null!==n&&b(n,t)}}function j(e,t,n){return new g("resolved_model",(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}",null,e)}function R(e,t,n){k(e,(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}")}function k(e,t){if("pending"!==e.status)e.reason.enqueueModel(t);else{var n=e.value,r=e.reason;e.status="resolved_model",e.value=t,null!==n&&(S(e),_(e,n,r))}}function E(e,t){if("pending"===e.status||"blocked"===e.status){var n=e.value,r=e.reason;e.status="resolved_module",e.value=t,null!==n&&(C(e),_(e,n,r))}}g.prototype=Object.create(Promise.prototype),g.prototype.then=function(e,t){switch(this.status){case"resolved_model":S(this);break;case"resolved_module":C(this)}switch(this.status){case"fulfilled":e(this.value);break;case"pending":case"blocked":e&&(null===this.value&&(this.value=[]),this.value.push(e)),t&&(null===this.reason&&(this.reason=[]),this.reason.push(t));break;default:t&&t(this.reason)}};var A=null;function S(e){var t=A;A=null;var n=e.value;e.status="blocked",e.value=null,e.reason=null;try{var r=JSON.parse(n,e._response._fromJSON),o=e.value;if(null!==o&&(e.value=null,e.reason=null,b(o,r)),null!==A){if(A.errored)throw A.value;if(0<A.deps){A.value=r,A.chunk=e;return}}e.status="fulfilled",e.value=r}catch(t){e.status="rejected",e.reason=t}finally{A=t}}function C(e){try{var t=s(e.value);e.status="fulfilled",e.value=t}catch(t){e.status="rejected",e.reason=t}}function N(e,t){e._chunks.forEach(function(e){"pending"===e.status&&x(e,t)})}function D(e){return{$$typeof:p,_payload:e,_init:y}}function P(e,t){var n=e._chunks,r=n.get(t);return r||(r=w(e),n.set(t,r)),r}function L(e,t,n,r,o,a){function i(e){if(!u.errored){u.errored=!0,u.value=e;var t=u.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}if(A){var u=A;u.deps++}else u=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function e(l){for(var s=1;s<a.length;s++){for(;l.$$typeof===p;)if((l=l._payload)===u.chunk)l=u.value;else if("fulfilled"===l.status)l=l.value;else{a.splice(0,s-1),l.then(e,i);return}l=l[a[s]]}s=o(r,l,t,n),t[n]=s,""===n&&null===u.value&&(u.value=s),t[0]===h&&"object"==typeof u.value&&null!==u.value&&u.value.$$typeof===h&&(l=u.value,"3"===n)&&(l.props=s),u.deps--,0===u.deps&&null!==(s=u.chunk)&&"blocked"===s.status&&(l=s.value,s.status="fulfilled",s.value=u.value,null!==l&&b(l,u.value))},i),null}function M(e,t,n,r){if(!e._serverReferenceConfig)return function(e,t){function n(){var e=Array.prototype.slice.call(arguments);return a?"fulfilled"===a.status?t(o,a.value.concat(e)):Promise.resolve(a).then(function(n){return t(o,n.concat(e))}):t(o,e)}var r,o=e.id,a=e.bound;return r={id:o,bound:a},m.set(n,r),n}(t,e._callServer);var o=function(e,t){var n="",r=e[t];if(r)n=r.name;else{var o=t.lastIndexOf("#");if(-1!==o&&(n=t.slice(o+1),r=e[t.slice(0,o)]),!r)throw Error('Could not find the module "'+t+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return r.async?[r.id,r.chunks,n,1]:[r.id,r.chunks,n]}(e._serverReferenceConfig,t.id);if(e=l(o))t.bound&&(e=Promise.all([e,t.bound]));else{if(!t.bound)return s(o);e=Promise.resolve(t.bound)}if(A){var a=A;a.deps++}else a=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function(){var e=s(o);if(t.bound){var i=t.bound.value.slice(0);i.unshift(null),e=e.bind.apply(e,i)}n[r]=e,""===r&&null===a.value&&(a.value=e),n[0]===h&&"object"==typeof a.value&&null!==a.value&&a.value.$$typeof===h&&(i=a.value,"3"===r)&&(i.props=e),a.deps--,0===a.deps&&null!==(e=a.chunk)&&"blocked"===e.status&&(i=e.value,e.status="fulfilled",e.value=a.value,null!==i&&b(i,a.value))},function(e){if(!a.errored){a.errored=!0,a.value=e;var t=a.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}),null}function O(e,t,n,r,o){var a=parseInt((t=t.split(":"))[0],16);switch((a=P(e,a)).status){case"resolved_model":S(a);break;case"resolved_module":C(a)}switch(a.status){case"fulfilled":var i=a.value;for(a=1;a<t.length;a++){for(;i.$$typeof===p;)if("fulfilled"!==(i=i._payload).status)return L(i,n,r,e,o,t.slice(a-1));else i=i.value;i=i[t[a]]}return o(e,i,n,r);case"pending":case"blocked":return L(a,n,r,e,o,t);default:return A?(A.errored=!0,A.value=a.reason):A={parent:null,chunk:null,value:a.reason,deps:0,errored:!0},null}}function T(e,t){return new Map(t)}function B(e,t){return new Set(t)}function I(e,t){return new Blob(t.slice(1),{type:t[0]})}function H(e,t){e=new FormData;for(var n=0;n<t.length;n++)e.append(t[n][0],t[n][1]);return e}function U(e,t){return t[Symbol.iterator]()}function q(e,t){return t}function V(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function F(e,t,n,r,o,a,i){var u,l=new Map;this._bundlerConfig=e,this._serverReferenceConfig=t,this._moduleLoading=n,this._callServer=void 0!==r?r:V,this._encodeFormAction=o,this._nonce=a,this._chunks=l,this._stringDecoder=new TextDecoder,this._fromJSON=null,this._rowLength=this._rowTag=this._rowID=this._rowState=0,this._buffer=[],this._tempRefs=i,this._fromJSON=(u=this,function(e,t){if("string"==typeof t){var n=u,r=this,o=e,a=t;if("$"===a[0]){if("$"===a)return null!==A&&"0"===o&&(A={parent:A,chunk:null,value:null,deps:0,errored:!1}),h;switch(a[1]){case"$":return a.slice(1);case"L":return D(n=P(n,r=parseInt(a.slice(2),16)));case"@":if(2===a.length)return new Promise(function(){});return P(n,r=parseInt(a.slice(2),16));case"S":return Symbol.for(a.slice(2));case"F":return O(n,a=a.slice(2),r,o,M);case"T":if(r="$"+a.slice(2),null==(n=n._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return n.get(r);case"Q":return O(n,a=a.slice(2),r,o,T);case"W":return O(n,a=a.slice(2),r,o,B);case"B":return O(n,a=a.slice(2),r,o,I);case"K":return O(n,a=a.slice(2),r,o,H);case"Z":return K();case"i":return O(n,a=a.slice(2),r,o,U);case"I":return 1/0;case"-":return"$-0"===a?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(a.slice(2)));case"n":return BigInt(a.slice(2));default:return O(n,a=a.slice(1),r,o,q)}}return a}if("object"==typeof t&&null!==t){if(t[0]===h){if(e={$$typeof:h,type:t[1],key:t[2],ref:null,props:t[3]},null!==A){if(A=(t=A).parent,t.errored)e=D(e=new g("rejected",null,t.value,u));else if(0<t.deps){var i=new g("blocked",null,null,u);t.value=e,t.chunk=i,e=D(i)}}}else e=t;return e}return t})}function z(e,t,n){var r=e._chunks,o=r.get(t);o&&"pending"!==o.status?o.reason.enqueueValue(n):r.set(t,new g("fulfilled",n,null,e))}function Y(e,t,n,r){var o=e._chunks,a=o.get(t);a?"pending"===a.status&&(e=a.value,a.status="fulfilled",a.value=n,a.reason=r,null!==e&&b(e,a.value)):o.set(t,new g("fulfilled",n,r,e))}function $(e,t,n){var r=null;n=new ReadableStream({type:n,start:function(e){r=e}});var o=null;Y(e,t,n,{enqueueValue:function(e){null===o?r.enqueue(e):o.then(function(){r.enqueue(e)})},enqueueModel:function(t){if(null===o){var n=new g("resolved_model",t,null,e);S(n),"fulfilled"===n.status?r.enqueue(n.value):(n.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=n)}else{n=o;var a=w(e);a.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=a,n.then(function(){o===a&&(o=null),k(a,t)})}},close:function(){if(null===o)r.close();else{var e=o;o=null,e.then(function(){return r.close()})}},error:function(e){if(null===o)r.error(e);else{var t=o;o=null,t.then(function(){return r.error(e)})}}})}function J(){return this}function G(e,t,n){var r=[],o=!1,a=0,i={};i[v]=function(){var t,n=0;return(t={next:t=function(t){if(void 0!==t)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(n===r.length){if(o)return new g("fulfilled",{done:!0,value:void 0},null,e);r[n]=w(e)}return r[n++]}})[v]=J,t},Y(e,t,n?i[v]():i,{enqueueValue:function(t){if(a===r.length)r[a]=new g("fulfilled",{done:!1,value:t},null,e);else{var n=r[a],o=n.value,i=n.reason;n.status="fulfilled",n.value={done:!1,value:t},null!==o&&_(n,o,i)}a++},enqueueModel:function(t){a===r.length?r[a]=j(e,t,!1):R(r[a],t,!1),a++},close:function(t){for(o=!0,a===r.length?r[a]=j(e,t,!0):R(r[a],t,!0),a++;a<r.length;)R(r[a++],'"$undefined"',!0)},error:function(t){for(o=!0,a===r.length&&(r[a]=w(e));a<r.length;)x(r[a++],t)}})}function K(){var e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");return e.stack="Error: "+e.message,e}function W(e,t){for(var n=e.length,r=t.length,o=0;o<n;o++)r+=e[o].byteLength;r=new Uint8Array(r);for(var a=o=0;a<n;a++){var i=e[a];r.set(i,o),o+=i.byteLength}return r.set(t,o),r}function X(e,t,n,r,o,a){z(e,t,o=new o((n=0===n.length&&0==r.byteOffset%a?r:W(n,r)).buffer,n.byteOffset,n.byteLength/a))}t.createFromReadableStream=function(e,t){var n;return function(e,t){function n(t){N(e,t)}var r=t.getReader();r.read().then(function t(a){var i=a.value;if(a.done)N(e,Error("Connection closed."));else{var u=0,s=e._rowState;a=e._rowID;for(var c=e._rowTag,f=e._rowLength,h=e._buffer,p=i.length;u<p;){var v=-1;switch(s){case 0:58===(v=i[u++])?s=1:a=a<<4|(96<v?v-87:v-48);continue;case 1:84===(s=i[u])||65===s||79===s||111===s||85===s||83===s||115===s||76===s||108===s||71===s||103===s||77===s||109===s||86===s?(c=s,s=2,u++):64<s&&91>s||35===s||114===s||120===s?(c=s,s=3,u++):(c=0,s=3);continue;case 2:44===(v=i[u++])?s=4:f=f<<4|(96<v?v-87:v-48);continue;case 3:v=i.indexOf(10,u);break;case 4:(v=u+f)>i.length&&(v=-1)}var m=i.byteOffset+u;if(-1<v)(function(e,t,n,r,a){switch(n){case 65:z(e,t,W(r,a).buffer);return;case 79:X(e,t,r,a,Int8Array,1);return;case 111:z(e,t,0===r.length?a:W(r,a));return;case 85:X(e,t,r,a,Uint8ClampedArray,1);return;case 83:X(e,t,r,a,Int16Array,2);return;case 115:X(e,t,r,a,Uint16Array,2);return;case 76:X(e,t,r,a,Int32Array,4);return;case 108:X(e,t,r,a,Uint32Array,4);return;case 71:X(e,t,r,a,Float32Array,4);return;case 103:X(e,t,r,a,Float64Array,8);return;case 77:X(e,t,r,a,BigInt64Array,8);return;case 109:X(e,t,r,a,BigUint64Array,8);return;case 86:X(e,t,r,a,DataView,1);return}for(var i=e._stringDecoder,u="",s=0;s<r.length;s++)u+=i.decode(r[s],o);switch(r=u+=i.decode(a),n){case 73:var c=e,f=t,h=r,p=c._chunks,v=p.get(f);h=JSON.parse(h,c._fromJSON);var m=function(e,t){if(e){var n=e[t[0]];if(e=n&&n[t[2]])n=e.name;else{if(!(e=n&&n["*"]))throw Error('Could not find the module "'+t[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');n=t[2]}return 4===t.length?[e.id,e.chunks,n,1]:[e.id,e.chunks,n]}return t}(c._bundlerConfig,h);if(h=l(m)){if(v){var y=v;y.status="blocked"}else y=new g("blocked",null,null,c),p.set(f,y);h.then(function(){return E(y,m)},function(e){return x(y,e)})}else v?E(v,m):p.set(f,new g("resolved_module",m,null,c));break;case 72:switch(t=r[0],e=JSON.parse(r=r.slice(1),e._fromJSON),r=d.d,t){case"D":r.D(e);break;case"C":"string"==typeof e?r.C(e):r.C(e[0],e[1]);break;case"L":t=e[0],n=e[1],3===e.length?r.L(t,n,e[2]):r.L(t,n);break;case"m":"string"==typeof e?r.m(e):r.m(e[0],e[1]);break;case"X":"string"==typeof e?r.X(e):r.X(e[0],e[1]);break;case"S":"string"==typeof e?r.S(e):r.S(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case"M":"string"==typeof e?r.M(e):r.M(e[0],e[1])}break;case 69:n=JSON.parse(r),(r=K()).digest=n.digest,(a=(n=e._chunks).get(t))?x(a,r):n.set(t,new g("rejected",null,r,e));break;case 84:(a=(n=e._chunks).get(t))&&"pending"!==a.status?a.reason.enqueueValue(r):n.set(t,new g("fulfilled",r,null,e));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 82:$(e,t,void 0);break;case 114:$(e,t,"bytes");break;case 88:G(e,t,!1);break;case 120:G(e,t,!0);break;case 67:(e=e._chunks.get(t))&&"fulfilled"===e.status&&e.reason.close(""===r?'"$undefined"':r);break;default:(a=(n=e._chunks).get(t))?k(a,r):n.set(t,new g("resolved_model",r,null,e))}})(e,a,c,h,f=new Uint8Array(i.buffer,m,v-u)),u=v,3===s&&u++,f=a=c=s=0,h.length=0;else{i=new Uint8Array(i.buffer,m,i.byteLength-u),h.push(i),f-=i.byteLength;break}}return e._rowState=s,e._rowID=a,e._rowTag=c,e._rowLength=f,r.read().then(t).catch(n)}}).catch(n)}(t=new F(null,null,null,(n=t)&&n.callServer?n.callServer:void 0,void 0,void 0,n&&n.temporaryReferences?n.temporaryReferences:void 0),e),P(t,0)}},31488:function(e,t,n){"use strict";e.exports=n(79499)},18958:function(e,t,n){"use strict";n.d(t,{Ae:()=>r,IV:()=>a,Ql:()=>o});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",a="server-loader"}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["350","430","493","535","564","783","792"],function(){return t(98360),t(26746),t(9298),t(30099),t(18940)}),e.O()}]);
1
+ /*! For license information please see client.30a3a6c2.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["719"],{15141:function(e){e.exports={}},1589:function(e,t,n){"use strict";n.d(t,{k:()=>f});var r=n(30255),o=n(97621),a=n(40229),i=n(4337),u=n(37046),l=n(69439),s=n(73271);let c=e=>{let{error:t}=e,n=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(a.a,{p:"4",children:[(0,r.jsx)(i.D,{as:"h4",mb:"4",children:(0,r.jsx)(u.E,{as:"span",children:n})}),(0,r.jsx)(l.f,{disabled:!0,style:{height:"50vh"},value:o})]})},f=()=>{let e=(0,o.r5)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,r.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},59350:function(e,t,n){"use strict";n.d(t,{v:()=>u});var r=n(30255),o=n(97621),a=n(61621),i=n(37369);let u=e=>{let{items:t}=e,n=(0,o.Zp)(),u=(0,o.zy)(),l=t.find(e=>(0,a.B6)(e.to,u.pathname));return(0,r.jsxs)(i.bL,{size:"1",value:null==l?void 0:l.to,onValueChange:n,children:[(0,r.jsx)(i.l9,{}),(0,r.jsx)(i.UC,{position:"popper",children:t.map(e=>{let{title:t,to:n}=e;return(0,r.jsx)(i.q7,{value:n,children:t},n)})})]})}},56614:function(e,t,n){"use strict";n.d(t,{r:()=>E,E:()=>A});var r=n(68015),o=n(20482),a=n(30255),i=n(6455),u=n(96486),l=n(50609);class s extends l.il{static use(){return u.RUNTIME_GLOBALS in window||(window[u.RUNTIME_GLOBALS]=new s),window[u.RUNTIME_GLOBALS]}}async function c(e){s.use();let t=e.map(e=>new Promise((t,n)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=e=>n(e),r.src=e,document.head.appendChild(r)}));await Promise.all(t)}var f=n(85009),d=n(66144),h=n(19461),p=n.n(h),v=n(60824),m=n(83008),g=n(72522),y=n(2732),w=n(99699);let b=async()=>{let e=await u.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,l.FF)();return{remote:(0,d.L4)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:8e3})),hooks:t}};class _ extends Error{constructor(e){super(),this.name="InitializeManifestError",this.cause=e,this.message="Failed to initialize manifest of DevTools"}}let x=async e=>{let t=await fetch(e);try{let e=await t.text();return JSON.parse(e,(0,u.reviver)())}catch(e){throw new _(e)}},j=async(e,t)=>{let n=new URL(e,location.href),a=new window.WebSocket(n),i=await u.WebSocketChannel.link(a),s=(0,l.FF)();return{remote:(0,d.L4)({async refresh(){location.reload()},async applyStateOperations(e){for(let n of e)(0,u.applyOperation)(t,n)}},(0,o._)((0,r._)({},i.handlers),{timeout:5e3})),hooks:s,url:n}},R=async()=>{let e=s.use(),t=(0,w.BX)([{name:"overview",title:"Overview",icon:(0,a.jsx)(m.pNx,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,a.jsx)(m.AN7,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,a.jsx)(m.KUq,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,a.jsx)(g.u3M,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,a.jsx)(m.XVA,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,a.jsx)(m.lMP,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,a.jsx)(g.Gyc,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,a.jsx)(m.vU0,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let n of(await e.callHook("tab:list",t),t))"object"==typeof n.icon&&(n.icon=(0,w.KR)(n.icon)),"external"===n.view.type&&(n.view.component=(0,w.KR)(n.view.component));return t},k=async e=>{let t=new f.s,n=t.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let r=(0,v.createBridge)(window.parent,t);r.shutdown=()=>null;let o=(0,v.createStore)(r),a=(0,v.initialize)(window.parent,{bridge:r,store:o});return{store:o,bridge:r,wallAgent:t,unreg:n,Renderer:a}},E=(async e=>{var t;let n=(0,y.mA)((0,y.vx)(e).search),a=null!=(t=p().castArray(n.src)[0])?t:(0,y.Gc)(e,"manifest"),i=b(),u=x(a),l=u.then(e=>e.websocket?j(e.websocket,(0,w.BX)(e)):null),s=u.then(e=>c(e.context.def.plugins)).then(R),f=i.then(k),[d,h,v,m,g]=await Promise.all([i,u,l,s,f]);return(0,w.BX)((0,o._)((0,r._)({},h),{version:"2.68.13",tabs:m,server:v?(0,w.KR)(v):null,mountPoint:(0,w.KR)(d),react:{devtools:{store:(0,w.KR)(g.store),bridge:(0,w.KR)(g.bridge),wallAgent:(0,w.KR)(g.wallAgent),unreg:(0,w.KR)(g.unreg),Renderer:(0,w.KR)(g.Renderer)}}}))})(location.href),A=()=>(0,i.Yx)(E)},35395:function(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(61621);let o=e=>{let{params:t}=e;return t.toolkit&&t.type&&["framework","builder","bundler"].includes(t.toolkit)?["resolved","transformed"].includes(t.type)?null:(0,r.V2)("/404"):(0,r.V2)("/404")}},99426:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},27666:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>p});var r=n(30255),o=n(97621),a=n(37046),i=n(26095),u=n(37369),l=n(40229),s=n(19461),c=n.n(s);let f=e=>{let{name:t,describe:n}=e,o=n.map(e=>(0,r.jsx)(a.E,{style:{display:"block"},children:e},e));return(0,r.jsx)(i.m,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,r.jsx)(u.q7,{value:t,children:(0,r.jsx)(l.a,{children:c().startCase(t)})})},t)},d=[{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."]}],h=[{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."]}],p={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[n,a]=e.pathname.split("/").slice(2);return(0,r.jsxs)(u.bL,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(a))},children:[(0,r.jsx)(u.l9,{children:n}),(0,r.jsx)(u.UC,{children:d.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(f,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[n,a]=e.pathname.split("/").slice(2);return(0,r.jsxs)(u.bL,{size:"1",value:a,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(u.l9,{children:a}),(0,r.jsx)(u.UC,{children:h.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(f,{name:t,describe:n},t)})})]})},{})}]}},9832:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./builder/transformed");return(0,r.V2)(n)}},42253:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},82141:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(59350);let a={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.v,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},63493:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./builder");return(0,r.V2)(n)}},26590:function(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(30255),o=n(1589),a=n(7252),i=n(40229),u=n(4337),l=n(83008),s=n(38521);let c=e=>{let{title:t,children:n}=e;return(0,r.jsxs)(a.s,{className:s.A.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(l.TMu,{size:"36"})}),(0,r.jsxs)(i.a,{children:[(0,r.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(u.D,{children:t})}),(0,r.jsx)(i.a,{className:s.A.children,children:n})]})]})};var f=n(56614),d=n(97621),h=n(38053),p=n(2732),v=n(54955);let m=()=>{let e=(0,d.r5)(),t=(0,f.E)(),{def:n}=(0,v.s)(t).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(o.k,{});{let e=(0,p.vx)(n.doctor.quickStart).host,t=(0,r.jsxs)(h.N,{href:n.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(i.a,{width:"100%",children:(0,r.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},29223:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Doctor"}}},61129:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},76897:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>u});var r=n(56614),o=n(6455),a=n(19461),i=n.n(a);let u={breadcrumb(e){var t;let n,{pathname:a}=e.location,u=null==(t=a.match(/^\/external\/(\w+)/))?void 0:t[1],{tabs:l}=(0,o.Yx)(r.r),s=i().find(l,{name:u});return s?{title:n}=s:n=u?i().startCase(u):"External",{title:n,pathname:a}}}},15846:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},56422:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Header Modifier"}}},11491:function(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(61621),o=n(2925);let a=async()=>{let e=await o.AZ.service;return(0,r.V2)(e.rules?"./editor":"./welcome")}},2925:function(e,t,n){"use strict";n.d(t,{AZ:()=>s,DQ:()=>i,I:()=>u});var r=n(19461),o=n.n(r),a=n(99699);let i=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),n="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(n);return await navigator.serviceWorker.ready,s.service=await l(),r},u=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let n of e)t=t&&await n.unregister();return s.service=Promise.resolve({}),t},l=async()=>{for(let e of o().times(3))try{let e=AbortSignal.timeout(300),t=await fetch("/__devtools/service/status",{signal:e});return await t.json()}catch(e){}return{}},s=(0,a.BX)({service:l()})},18913:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(83008);let a={breadcrumb:{title:(0,r.jsx)(o.oGk,{}),pathname:"/overview"}}},51735:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>X});var r=n(30255),o=n(68015),a=n(20482),i=n(97621),u=n(73116),l=n(7252),s=n(19461),c=n.n(s),f=n(80774),d=n(79537),h=n(92604),p=n(30962),v=n(14670),m=n(61621),g=n(97271),y=n(73271),w=n(71526);function b(e,t){return function(n){null==e||e(n),n.defaultPrevented||t(n)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function x(){return(x=(0,h._)(function(e,t){var r,o;return(0,v.YH)(this,function(a){switch(a.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(e)}))];case 2:return a.sent(),[3,4];case 3:return console.error(a.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var j=function(e,t){var n=window.location,r=n.protocol,o=n.host,a=new URL(e,"".concat(r,"//").concat(o));return a.searchParams.append("__loader",t),a.searchParams.append("__ssrDirect","true"),a},R=function(e,t,n){var o,a=e.id;return o=j("/"===n?t:"".concat(n).concat(t),a).toString(),(0,r.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},k=function(e){var t=e.path,n=t.pathname,o=(0,y.useContext)(w.V_),a=o.routeManifest,i=o.routes,u=(a||{}).routeAssets,l=Array.isArray(i)?(0,m.ue)(i,n):[];return(Array.isArray(l)&&u&&(null==l||l.forEach(function(e){return function(e,t){return x.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,r.jsx)(E,{matches:l,path:t,routeManifest:a}):null},E=function(e){var t=e.matches,n=e.path,o=e.routeManifest,a=n.pathname,u=n.search,l=n.hash,s=(0,i.FE)(),c=(0,i.$P)("/"),f=(0,y.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(a+u+l,window.origin),i=e.route.shouldRevalidate({currentUrl:r,currentParams:(null==(n=s[0])?void 0:n.params)||{},nextUrl:o,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof i)return i}var c=s[t];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,a,c)})},[t,a,o]);return(0,r.jsx)(r.Fragment,{children:f})},A=function(e){return y.forwardRef(function(t,a){var u,l,s,c,f,h,v,m,g,w,x,j,R,E,A=t.to,S=t.prefetch,C=(0,d._)(t,["to","prefetch"]),N="string"==typeof A&&_.test(A),D=(0,p._)((u=void 0===S?"none":S,s=(l=(0,p._)(y.useState(!1),2))[0],c=l[1],h=(f=(0,p._)(y.useState(!1),2))[0],v=f[1],m=C.onFocus,g=C.onBlur,w=C.onMouseEnter,x=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===u&&v(!0)},[u]),R=function(){"intent"===u&&c(!0)},E=function(){"intent"===u&&(c(!1),v(!1))},y.useEffect(function(){if(s){var e=setTimeout(function(){v(!0)},100);return function(){clearTimeout(e)}}},[s]),[h,{onFocus:b(m,R),onBlur:b(g,E),onMouseEnter:b(w,R),onMouseLeave:b(x,E),onTouchStart:b(j,R)}]),2),P=D[0],L=D[1],M=(0,i.x$)(A);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,(0,o._)({ref:a,to:A},C,L)),P&&n.e&&!N?(0,r.jsx)(k,{path:M}):null]})})},S=A(g.N_);S.displayName="Link";var C=A(g.k2);C.displayName="NavLink";var N=n(38053);let D=e=>{var{to:t,children:n}=e,i=(0,d._)(e,["to","children"]);return(0,r.jsx)(N.N,(0,a._)((0,o._)({},i),{asChild:!0,children:(0,r.jsx)(S,{to:t,children:n})}))},P=e=>{let{location:t,handle:n}=e;if(!c().isObject(n)&&c().isNil(n))return[];let{breadcrumb:r}=n,o=[];c().isFunction(r)?o.push(...c().castArray(r({location:t}))):o.push(...c().castArray(r));let a=[];for(let t of o){if(!c().isObject(t)||c().isNull(t)||!("title"in t))continue;let n={id:e.id,title:t.title,pathname:e.pathname};"pathname"in t&&c().isString(t.pathname)&&(n.pathname=t.pathname),a.push(n)}return a},L=e=>{let t=[],n=(0,i.FE)(),s=(0,i.zy)(),c=[];for(let e of n)c.push(...P((0,a._)((0,o._)({},e),{location:s})));for(let[e,n]of(s.state&&"breadcrumb"in s.state&&c.push(...P({handle:s.state.breadcrumb,pathname:s.pathname,id:"external/".concat(s.pathname),location:s})),Object.entries(c))){let o=[n.id,n.pathname,e];t.push((0,r.jsx)(D,{color:"gray",size:"2",to:n.pathname,children:n.title},o.join("_"))),n!==c.at(-1)&&(o.push("#connector"),t.push((0,r.jsx)(u.vKP,{className:f.A.connector},o.join("_"))))}return(0,r.jsx)(l.s,(0,a._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:t}))};var M=n(56614);let O="";M.r.then(e=>{let{mountPoint:t}=e;t.hooks.hookOnce("pullUp",async e=>{O=e})});let T=()=>{let e=(0,i.Zp)(),{mountPoint:t}=(0,M.E)();return(0,y.useEffect)(()=>{O&&e(O),t.hooks.hook("pullUp",async t=>{e(t)})},[]),null};var B=n(59088),I=n(23205);let H=e=>{var{children:t}=e,n=(0,d._)(e,["children"]);let[i]=(0,B.B)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(i)},[i]),(0,r.jsx)(I.Sx,(0,a._)((0,o._)({},n),{appearance:i,children:t}))};var U=n(25378),q=n(26095),V=n(40229),F=n(83008),z=n(54955);let Y="tab-button-MtqLNp",$="tab-button-inner-KmlACp",J=e=>{let{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.src;else if("iframe"===t.view.type)n="/iframe/".concat(t.view.src);else if("external"===t.view.type)n="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,y.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(q.m,{content:t.title,side:"right",children:(0,r.jsx)(C,{to:n,className:Y,children:(0,r.jsx)(l.s,{justify:"center",align:"center",p:"1",className:$,children:(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:t.icon})})})})},G=()=>{let{server:e}=(0,z.s)((0,M.E)());return(0,r.jsx)(q.m,{content:e?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(V.a,{className:Y,children:(0,r.jsxs)(V.a,{p:"1",position:"relative",className:$,children:[(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(F.BSJ,{})}),(0,r.jsx)(V.a,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},K=()=>{let[e,t]=(0,B.B)();return(0,r.jsx)(q.m,{content:"Appearance",side:"right",children:(0,r.jsx)(V.a,{className:Y,onClick:()=>{t("light"===e?"dark":"light")},children:(0,r.jsx)(l.s,{justify:"center",align:"center",p:"1",className:$,children:(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,r.jsx)(F.DJT,{}):(0,r.jsx)(F._Nv,{})})})})})},W=()=>{let{tabs:e}=(0,z.s)((0,M.E)());return(0,r.jsxs)(l.s,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,r.jsx)(J,{tab:e},e.name)),(0,r.jsx)(V.a,{flexGrow:"1"}),(0,r.jsx)(G,{}),(0,r.jsx)(K,{})]})},X=()=>(0,r.jsx)(H,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(U.Kq,{swipeDirection:"up",children:[(0,r.jsx)(W,{}),(0,r.jsxs)(V.a,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(V.a,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(i.sv,{})}),(0,r.jsx)(L,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(T,{})]})})},61668:function(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(30255),o=n(23134),a=n(56614),i=n(35332);let u=()=>{let{mountPoint:e}=(0,a.E)();return(0,i.A)(async()=>{e.remote.onFinishRender()}),(0,r.jsx)(o.R,{className:"loading-gmTvLE"})}},36109:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},64253:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Overview"}}},76962:function(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./overview");return(0,r.V2)(n)}},26524:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},6100:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Pages"}}},98321:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(59350);let a={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.v,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},38305:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},19289:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./components");return(0,r.V2)(n)}},16976:function(e,t,n){"use strict";n.d(t,{w:()=>u});var r=n(56614),o=n(61621),a=n(19461),i=n.n(a);let u=async e=>{let{params:t}=e,{id:n}=t;if(!n)throw TypeError("storage preset id is required");let{context:a}=await r.r,{storagePresets:u}=await Promise.resolve(a),l=i().find(u,{id:n});return l||(0,o.V2)("/storage/preset")}},80557:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},86667:function(e,t,n){"use strict";n.d(t,{X:()=>a,w:()=>o});var r=n(80410);let o=async e=>await (0,r.Ep)(),a=()=>null},17256:function(e,t,n){"use strict";n.d(t,{w:()=>o});var r=n(80410);let o=async e=>await (0,r.Ep)()},80410:function(e,t,n){"use strict";n.d(t,{Bf:()=>u,Ep:()=>c,Gq:()=>i,Z2:()=>l,ZB:()=>s});var r=n(56614),o=n(19461),a=n.n(o);let i=["cookie","localStorage","sessionStorage"],u={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},l=(e,t)=>a().map(e[t],(n,r)=>{let o=[e.id,t,r].join("//");return{key:r,value:n,type:t,id:o}}),s=e=>{let t=[];for(let n of i)t.push(...l(e,n));return t},c=async e=>{let{mountPoint:t}=await r.r,[n,o,a]=await Promise.all([t.remote.cookies(null==e?void 0:e.cookie),t.remote.localStorage(null==e?void 0:e.localStorage),t.remote.sessionStorage(null==e?void 0:e.sessionStorage)]);return{cookie:n,localStorage:o,sessionStorage:a}}},6455:function(e,t,n){"use strict";n.d(t,{Yx:()=>o}),n(30255),n(73271),n(19461);let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let t=r.get(e);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;throw t}throw r.set(e,e),e.then(t=>r.set(e,t)).catch(t=>r.set(e,t)),e}},46026:function(e,t,n){"use strict";n.d(t,{XX:()=>b});var r=n(92604),o=n(0),a=n(68015),i=n(20482),u=n(30962),l=n(14670),s=n(50016),c=n(63458),f=n(71526),d=n(80630),h=n(73271);function p(e,t){return h.createElement(f.V_.Provider,{value:t},e)}var v=n(30255),m=n(94636),g=n(48639),y=function(e){var t=e.callback,n=e.children,r=(0,h.useRef)(!1);return(0,h.useLayoutEffect)(function(){r.current||(r.current=!0,t())},[t]),n},w=function(){return!0};function b(e,t){return _.apply(this,arguments)}function _(){return(_=(0,r._)(function(e,t){var n,h,b,_,R,k,E,A,S,C;function N(){return(N=(0,r._)(function(e){return(0,l.YH)(this,function(t){return[2,function(e,t){return x.apply(this,arguments)}(e,C)]})})).apply(this,arguments)}function D(){return(D=(0,r._)(function(e,t){return(0,l.YH)(this,function(n){return[2,function(e,t){return j.apply(this,arguments)}(e,C,t)]})})).apply(this,arguments)}return(0,l.YH)(this,function(x){var j,P,L,M,O,T,B,I,H,U,q,V,F,z,Y,$,J;switch(x.label){case 0:if(n=(0,f.Ky)(),j=(0,r._)(function(e){var t,n;return(0,l.YH)(this,function(r){switch(r.label){case 0:return(t=(0,c.gy)()).pluginAPI.updateRuntimeContext(e),[4,t.hooks.onBeforeRender.call(e)];case 1:return r.sent(),[2,null==(n=(0,c.t8)())?void 0:n(e)]}})}),!(void 0===t||"string"==typeof t||"undefined"!=typeof HTMLElement&&(0,o._)(t,HTMLElement)))return[3,2];return h=function(e){return N.apply(this,arguments)},b=function(e,t){return D.apply(this,arguments)},T=null==(O=window._SSR_DATA)||null==(P=O.context)?void 0:P.request,A=Object.keys(E=(null==(_=(k=(0,i._)((0,a._)({},O||{renderLevel:0,mode:"string"}),{context:(0,i._)((0,a._)({},(null==O?void 0:O.context)||{}),{request:(0,i._)((0,a._)({},(null==O||null==(L=O.context)?void 0:L.request)||{}),{params:(null==T?void 0:T.params)||{},host:(null==T?void 0:T.host)||location.host,pathname:(null==T?void 0:T.pathname)||location.pathname,headers:(null==T?void 0:T.headers)||{},cookieMap:s.parse(document.cookie||"")||{},cookie:document.cookie||"",userAgent:(null==T||null==(M=T.headers)?void 0:M["user-agent"])||navigator.userAgent,referer:document.referrer,query:(0,a._)({},window.location.search.substring(1).split("&").reduce(function(e,t){var n=(0,u._)(t.split("="),2),r=n[0],o=n[1];return r&&(e[r]=o),e},{}),(null==T?void 0:T.query)||{}),url:location.href})})})).data)?void 0:_.loadersData)||{}).reduce(function(e,t){var n=E[t];return(null==n?void 0:n.loading)!==!1||(e[t]=n),e},{}),Object.assign(n,{loaderManager:(0,d.x)(A,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),n.initialData=null==(R=k.data)?void 0:R.initialData,[4,function(e){return j.apply(this,arguments)}(n)];case 1:if((S=x.sent())&&(n.initialData=S),C=t&&"string"!=typeof t?t:document.getElementById(t||"root"),window._SSR_DATA)return[2,(B=n,I=h,H=b,z=(0,i._)((0,a._)({},B),{get routes(){return B.routes},_hydration:!0}),Y=function(){delete z._hydration},$=(null==(q=window)||null==(U=q._SSR_DATA)?void 0:U.renderLevel)||g.Bw.CLIENT_RENDER,J=(null==(F=window)||null==(V=F._SSR_DATA)?void 0:V.mode)||"string",w()&&"stream"===J?$===g.Bw.SERVER_RENDER?H(p((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:Y,children:e})},{}),z)):I(p(e,B)):$===g.Bw.CLIENT_RENDER||$===g.Bw.SERVER_PREFETCH?I(p(e,B)):$===g.Bw.SERVER_RENDER?new Promise(function(t){w()?(0,m.ai)(function(){H(p((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:Y,children:e})},{}),z)).then(function(e){t(e)})}):(0,m.ai)(function(){H(p(e,z),Y).then(function(e){t(e)})})}):(console.warn("unknow render level: ".concat($,", execute render()")),I(p(e,B))))];return[2,h(p(e,n))];case 2:throw Error("`render` function needs id in browser environment, it needs to be string or element")}})})).apply(this,arguments)}function x(){return(x=(0,r._)(function(e,t){var r;return(0,l.YH)(this,function(o){switch(o.label){case 0:return[4,n.e("783").then(n.t.bind(n,38987,19))];case 1:return(r=o.sent().createRoot(t)).render(e),[2,r]}})})).apply(this,arguments)}function j(){return(j=(0,r._)(function(e,t){return(0,l.YH)(this,function(r){switch(r.label){case 0:return[4,n.e("783").then(n.t.bind(n,38987,19))];case 1:return[2,r.sent().hydrateRoot(t,e)]}})})).apply(this,arguments)}},48639:function(e,t,n){"use strict";n.d(t,{Bw:()=>o,aQ:()=>i,rL:()=>a}),(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,a="__MODERN_SSR_DATA__",i="__MODERN_ROUTER_DATA__"},63458:function(e,t,n){"use strict";n.d(t,{A8:()=>s,J$:()=>o,Xj:()=>f,cG:()=>i,fn:()=>d,gy:()=>u,t8:()=>c,z_:()=>l,zm:()=>a});var r={};function o(){return r.isRscClient}function a(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,r.isRscClient=e.isRscClient,r.enableRsc=e.enableRsc}function i(e){r.internalRuntimeContext=e}function u(){return r.internalRuntimeContext}function l(){return r.App}function s(){return r.routes}function c(){var e,t;return r.appInit||(null==(e=l())?void 0:e.init)||(null==(t=d())?void 0:t.init)}function f(){var e,t;return r.appConfig||(null==(e=l())?void 0:e.config)||(null==(t=d())?void 0:t.config)}function d(){return r.layoutApp}},71526:function(e,t,n){"use strict";n.d(t,{Ky:()=>u,V_:()=>i});var r=n(18958),o=n(73271),a=n(80630),i=(0,o.createContext)({}),u=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1?arguments[1]:void 0;return{loaderManager:(0,a.x)({}),isBrowser:e,routeManifest:t||"undefined"!=typeof window&&window[r.Ae]}}},80630:function(e,t,n){"use strict";n.d(t,{x:()=>p});var r,o,a=n(92604),i=n(0),u=n(30962),l=n(84337),s=n(14670),c=n(60191),f=n.n(c),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var h=function(e){var t,n,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()},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,f=r.data,d=r.error,h=!1,p=new Set,v=(t=(0,a._)(function(){return(0,s.YH)(this,function(e){return u||1===c?[2,n]:(c=1,g(),[2,n=o().then(function(e){f=e,d=null,c=2}).catch(function(e){d=e,f=null,c=3}).finally(function(){n=null,h=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!h&&1===c,reloading:h&&1===c,data:f,error:(0,i._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,l._)(p).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return n},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:v}},p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,l=n.skipNonStatic,c=void 0!==l&&l,f=new Map,p=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value.promise;if((0,i._)(a,Promise))return!0}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,a._)(function(){var e,t,n,r,o,a,l,c,d,h;return(0,s.YH)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)c=(l=(0,u._)(a.value,2))[0],h=(d=l[1]).promise,(0,i._)(h,Promise)&&e.push([c,d])}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,u._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=p(n.params),a=f.get(r),i=n._cache;if(!a||!1===i){var u=c&&!n.static,l=o&&n.static;a=h(r,void 0!==e[r]?e[r]:{data:n.initialData},t,u||l),f.set(r,a)}return r},get:function(e){return f.get(e)}}}},90984:function(e,t,n){"use strict";n.d(t,{F:()=>j,R:()=>R});var r,o,a,i,u,l,s,c=n(84337),f=n(93642),d=n(44252),h=n(68015),p=n(79537),v=n(20482),m=n(66944),g=(o=function(e){s.clear(),r=e;var t=e.plugins,n=e.handleSetupResult;s.addPlugins(t);var o=s.getPlugins(),a=(g=(d={runtimeContext:{},config:r.config,plugins:o}).runtimeContext,y=d.config,w=d.plugins,b={},w.forEach(function(e){var t=e.registryHooks,n=void 0===t?{}:t;Object.keys(n).forEach(function(e){b[e]=n[e]})}),(0,v._)((0,h._)({},g),{hooks:(0,h._)({},{onBeforeRender:(0,m.Ve)(),wrapRoot:(0,m.Lt)(),pickContext:(0,m.Lt)(),config:(0,m.po)()},b),extendsHooks:b,config:y})),i=function(e){var t=e.context,n=e.plugins,r=t.hooks,o=t.extendsHooks;function a(){if(t){t.hooks,t.extendsHooks,t.config,t.pluginAPI;var e=(0,p._)(t,["hooks","extendsHooks","config","pluginAPI"]);return e._internalContext=t,e}throw Error("Cannot access context")}function i(e){t=(0,f.h)(t,e)}var u={};n.forEach(function(e){var t=e._registryApi;if(t){var n=t(a,i);Object.keys(n).forEach(function(e){u[e]=n[e]})}}),o&&Object.keys(o).forEach(function(e){u[e]=o[e].tap});var l=(0,h._)({updateRuntimeContext:i,getHooks:function(){return(0,h._)({},r,o)},getRuntimeConfig:function(){if(t.config)return t.config;throw Error("Cannot access config")},config:r.config.tap,onBeforeRender:r.onBeforeRender.tap,wrapRoot:r.wrapRoot.tap,pickContext:r.pickContext.tap},u);return"undefined"==typeof Proxy?l:new Proxy(l,{get:function(e,t){if("then"!==t)return t in e?e[t]:function(){console.warn("api.".concat(t.toString()," not exist"))}}})}({context:a,pluginManager:s,plugins:o});a.pluginAPI=i;var u=!0,l=!1,c=void 0;try{for(var d,g,y,w,b,_,x=o[Symbol.iterator]();!(u=(_=x.next()).done);u=!0){var j,R=_.value,k=null==(j=R.setup)?void 0:j.call(R,i);n&&n(k,i)}}catch(e){l=!0,c=e}finally{try{u||null==x.return||x.return()}finally{if(l)throw c}}return{runtimeContext:a}},a=new Map,i=new Map,u=function(e,t,n){i.has(t)||i.set(t,{pre:new Map,post:new Map}),"pre"===n?i.get(e).pre.set(t,{name:t,isUse:!1}):"post"===n?i.get(e).post.set(t,{name:t}):"use"!==n||i.get(e).post.has(t)||i.get(t).pre.has(e)||i.get(e).pre.set(t,{name:t,isUse:!0})},l=function(e){if(e){var t=e,n=void 0===t?"undefined":(0,d._)(t);if("object"!==n||null===t)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(n,"."));if(t.setup&&"function"!=typeof t.setup)throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(n,"."));var r=e.name,o=e.usePlugins,s=e.pre,c=e.post;if(a.has(r))return void console.warn("Plugin ".concat(r," already exists."));a.set(r,e),i.set(r,{pre:new Map,post:new Map}),(void 0===s?[]:s).forEach(function(e){u(r,e,"pre")}),(void 0===c?[]:c).forEach(function(e){u(r,e,"post")}),(void 0===o?[]:o).forEach(function(e){a.has(e.name)||l(e),u(r,e.name,"use")})}},s={getPlugins:function(){var e=new Set,t=new Set,n=[],r=function(o){if(t.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&a.get(o)){t.add(o);var u=a.get(o).required;(void 0===u?[]:u).forEach(function(e){if(!a.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var l=i.get(o).pre;Array.from(l.values()).filter(function(e){return!e.isUse}).forEach(function(e){return r(e.name)}),Array.from(l.values()).filter(function(e){return e.isUse}).forEach(function(e){return r(e.name)}),t.delete(o),e.add(o),n.push(a.get(o))}};return a.forEach(function(e,t){i.get(t).post.forEach(function(e){i.get(e.name).pre.has(t)||i.get(e.name).pre.set(t,{name:t,isUse:!1})})}),a.forEach(function(e,t){r(t)}),n=n.filter(function(e){return e})},addPlugins:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;l(i)}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}},clear:function(){a.clear(),i.clear()},isPluginExists:function(e){return a.has(e)}},{run:function(e){var t=o(e).runtimeContext,n=t.hooks.config.call().filter(function(e){return!!e});return t.config=f.h.apply(void 0,[{}].concat((0,c._)(n),[t.config||{}])),{runtimeContext:t}}}),y=n(92604),w=n(14670);function b(e,t){e&&Object.keys(e).forEach(function(n){var r=e[n];if("function"==typeof r){var o="beforeRender"===n?"onBeforeRender":n;t[o]&&("beforeRender"===n?t[o]((0,y._)(function(){var e,t,n,o=arguments;return(0,w.YH)(this,function(a){switch(a.label){case 0:for(t=Array(e=o.length),n=0;n<e;n++)t[n]=o[n];return[4,r.apply(void 0,(0,c._)(t))];case 1:return a.sent(),[2]}})})):t[o](function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,(0,c._)(t))}))}})}var _=function(e){var t=e.ssrContext;return t?{isBrowser:e.isBrowser,request:t.request||{},response:t.response||{},logger:t.logger||{}}:{}},x=n(63458);function j(e,t){var n=(t||{}).plugins,r=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var t,n;return t=e()._internalContext.hooks,{beforeRender:(n=(0,y._)(function(e){return(0,w.YH)(this,function(n){return[2,t.onBeforeRender.call(e)]})}),function(e){return n.apply(this,arguments)}),wrapRoot:function(e){return t.wrapRoot.call(e)},pickContext:function(e){return t.pickContext.call(e)},config:function(){return t.config.call()}}}}}},{name:"@modern-js/runtime-plugin-request-context",setup:function(e){e.onBeforeRender(function(e){var t=_(e);e.context=t})}}].concat((0,c._)(e),(0,c._)(void 0===n?[]:n)),config:t||{},handleSetupResult:b}).runtimeContext;return(0,x.cG)(r),r}function R(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return f.h.apply(void 0,[{},e].concat((0,c._)(n)))}},69088:function(e,t,n){"use strict";n.d(t,{H:()=>i});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}},o=n(48639),a=n(63458);function i(e){var t=e||(0,a.z_)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||r(o.rL),window._ROUTER_DATA=window._ROUTER_DATA||r(o.aQ)),(0,a.gy)().hooks.wrapRoot.call(t)}},23382:function(e,t,n){"use strict";n.d(t,{jY:()=>G});var r=n(68015),o=n(20482),a=n(84337),i=n(30255),u=n(93642),l=n(97621),s=n(97271);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var f=n(73271),d=n.t(f,2),h=n(71526),p=n(63458),v=n(66944),m=(0,v.Lt)(),g=(0,v.Lt)(),y=n(92604),w=n(30962),b=n(44252),_=n(14670),x=n(31488),j=n(61621);(0,y._)(function(e){var t;return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;return r=(0,y._)(function(e){return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;return[4,Promise.all(e.map((r=(0,y._)(function(e){return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;if(!("lazyImport"in e&&(r=e.component)&&(void 0===r?"undefined":(0,b._)(r))==="object"&&void 0!==r._init&&void 0!==r._payload))return[3,2];return[4,e.lazyImport()];case 1:e.component=n.sent().default,n.label=2;case 2:if(!(e.children&&Array.isArray(e.children)))return[3,4];return[4,t(e.children)];case 3:n.sent(),n.label=4;case 4:return[2]}})}),function(e){return r.apply(this,arguments)})))];case 1:return n.sent(),[2]}})}),[4,(t=function(e){return r.apply(this,arguments)})(e)];case 1:return n.sent(),[2]}})});var R=function(e,t){if(!t||!Array.isArray(t))return e;var n=new Map,o=function(e){e.forEach(function(e){e.id&&n.set(e.id,e),"children"in e&&e.children&&Array.isArray(e.children)&&o(e.children)})};o(e);var a=function(e){return e.map(function(e){if(e.id&&n.has(e.id)){var t=n.get(e.id),o=(0,r._)({loader:e.hasClientLoader?e.loader:void 0},t);return e.children&&Array.isArray(e.children)&&(o.children=a(e.children)),o}return e})};return a(t)},k=function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var u=a.value;if(u.id===t)return u;if(u.children&&Array.isArray(u.children)){var l=k(u.children,t);if(l)return l}}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return null},E=function(e,t){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=R(e.routes.reduceRight(function(e,t){return e.length>0?[(0,o._)((0,r._)({},t),{children:e})]:[t]},[]),t),u=(0,s.Ys)(i,{hydrationData:e,basename:a,dataStrategy:(n=(0,y._)(function(e){var n,r,o,a,i,l,s,c,f;return(0,_.YH)(this,function(d){switch(d.label){case 0:var h;return n=e.request,r=e.matches,o={},a=r.filter(function(e){return e.route.hasClientLoader}),i=fetch(n.url,{headers:{"x-rsc-tree":"true"}}),l=a.length>0?Promise.all(a.map((h=(0,y._)(function(e){var n,r;return(0,_.YH)(this,function(o){switch(o.label){case 0:return n=k(t,e.route.id),e.route.loader=null==n?void 0:n.loader,[4,e.resolve()];case 1:return r=o.sent(),[2,{routeId:e.route.id,result:r}]}})}),function(e){return h.apply(this,arguments)}))):Promise.resolve([]),[4,i];case 1:if(c=(s=d.sent()).headers.get("X-Modernjs-Redirect"))return r.forEach(function(e){var t=e.route.id;t&&(o[t]={type:"redirect",result:(0,j.V2)(c)})}),[2,o];return[4,Promise.all([l])];case 2:return w._.apply(void 0,[d.sent(),1])[0].forEach(function(e){var t=e.routeId,n=e.result;o[t]=n}),[4,(0,x.createFromReadableStream)(s.body)];case 3:if(void 0===(f=d.sent()).type||"render"!==f.type)throw Error("Unexpected payload type");return r.forEach(function(e){var t,n=e.route.id,r=f.routes.find(function(e){return e.id===n});r&&u.patchRoutes(r.parentId,[r],!0),(null==(t=f.loaderData)?void 0:t[n])&&(o[n]={type:"data",result:f.loaderData[n]})}),[2,o]}})}),function(e){return n.apply(this,arguments)})});return u},A=n(79537),S=n(18958);function C(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var N=function(e){var t=(0,w._)(C(e),2);return 1e3*t[0]+t[1]/1e6},D=function(){var e=C();return function(){return N(e)}},P="undefined"!=typeof window&&void 0!==window.document,L=function(){if(P)return console.error("You should not get async storage in browser"),null;try{return n(15141).getAsyncLocalStorage()}catch(e){return console.error("Failed to load server async storage",e),null}},M=n(82526),O=n(27220),T=n(94561),B=n(42969),I=n(41378),H=n(0);function U(e,t){if(!1===e||null==e)throw Error(t)}var q=function(e){function t(){return(0,O._)(this,t),(0,M._)(this,t,arguments)}return(0,I._)(t,e),t}((0,n(56382)._)(Error)),V=function(e){var t,n,a,u,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,d=e.index,h=e.id,p=e.component,v=e.isRoot,m=e.lazyImport,g=e.config,w=e.handle,x=s.parent,j=s.props,R={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:(a=(t=e).loader)?(n=(0,y._)(function(e){var n,r,o,i,u,l;return(0,_.YH)(this,function(s){switch(s.label){case 0:return"function"==typeof t.lazyImport&&t.lazyImport(),n=D(),[4,a(e)];case 1:r=s.sent();return o=n(),"undefined"==typeof document&&(null==(l=L())||null==(u=l.useContext().monitors)||u.timing("".concat(S.IV,"-").concat(null==(i=t.id)?void 0:i.replace(/\//g,"_")),o)),[2,r]}})}),function(e){return n.apply(this,arguments)}):function(){return"function"==typeof t.lazyImport&&t.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,r._)({},w,(void 0===g?"undefined":(0,b._)(g))==="object"?null==g?void 0:g.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error&&(R.errorElement=(0,i.jsx)(e.error,{})),p)if((null==x?void 0:x.loading)&&m){var k=x.loading;u=F(p)?(0,i.jsx)(p,{fallback:(0,i.jsx)(k,{})}):(0,i.jsx)(f.Suspense,{fallback:(0,i.jsx)(k,{}),children:(0,i.jsx)(p,{})})}else u=F(p)&&m?(0,i.jsx)(p,{}):v?(0,i.jsx)(p,(0,r._)({},void 0===j?{}:j)):m?(0,i.jsx)(f.Suspense,{fallback:null,children:(0,i.jsx)(p,{})}):(0,i.jsx)(p,{});else e.loading=null==x?void 0:x.loading,R.element=(0,i.jsx)(l.sv,{});u&&(R.element=u);var E=null==c?void 0:c.map(function(t){return V(t,{parent:e})});return d?(0,i.jsx)(l.qh,(0,o._)((0,r._)({},R),{index:!0}),h):(0,i.jsx)(l.qh,(0,o._)((0,r._)({},R),{index:!1,children:E}),h)};function F(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}var z=function(){return(0,i.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})};function Y(){return null}var $=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=RegExp("".concat("/","{1,}"),"g");return(e=n.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},J={routes:[]},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"@modern-js/plugin-router",registryHooks:{modifyRoutes:m,onBeforeCreateRoutes:g},setup:function(t){var n={current:[]};t.onBeforeRender(function(t){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var r,o=t.ssrContext,a=c(window.location.pathname),i=(null==o||null==(r=o.request)?void 0:r.pathname)&&c(o.request.pathname);i&&i!==a&&(console.error("The initial URL ".concat(i," and the URL ").concat(a," to be hydrated do not match, reload.")),window.location.reload())}t.router={useMatches:l.FE,useLocation:l.zy,useHref:l.$P},Object.defineProperty(t,"routes",{get:function(){return n.current},enumerable:!0})}),t.wrapRoot(function(c){var d=(0,u.h)(t.getRuntimeConfig().router||{},e),v=d.serverBase,m=void 0===v?[]:v,g=d.supportHtml5History,y=void 0===g||g,_=d.basename,x=void 0===_?"":_,R=d.routesConfig,k=d.createRoutes,S=d.future;if(!(J=(0,r._)({routes:(0,p.A8)(),globalApp:(0,p.fn)()},R)).routes&&!k)return c;var C=function(e){return m.find(function(t){return function(e,t){var n=t.length>1&&t.endsWith("/")?t.slice(0,-1):t||"/",r=e||"/";return r===n||r.startsWith("".concat(n,"/"))}(e,t)})||"/"};return function(e){var u,d,v,m,g,_,R,N,D,P,L,M,O,T=(u=(0,o._)((0,r._)({},e),{rscPayload:null==e?void 0:e.rscPayload}),v=(d={api:t,createRoutes:k,supportHtml5History:y,selectBasePath:C,basename:x,future:S}).api,m=d.createRoutes,g=d.supportHtml5History,_=d.selectBasePath,R=d.basename,N=(0,f.useContext)(h.V_),P="/"===(D=_(location.pathname).replace(/^\/*/,"/"))?$(D,N._internalRouterBaseName||R):D,L=N.unstable_getBlockNavState,M=(null==u?void 0:u.rscPayload)?W(u.rscPayload):null,O=window._ROUTER_DATA||M,(0,f.useMemo)(function(){(null==O?void 0:O.errors)&&(O=(0,o._)((0,r._)({},O),{errors:function(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,a=void 0;try{for(var i,u=t[Symbol.iterator]();!(r=(i=u.next()).done);r=!0){var l=(0,w._)(i.value,2),s=l[0],c=l[1];if(c&&"RouteErrorResponse"===c.__type)n[s]=new j.VV(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var f=Error(c.message);f.stack=c.stack,n[s]=f}else n[s]=c}}catch(e){o=!0,a=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(O.errors)}));var e=(0,p.J$)(),t=null;(t=e?m?m():function(e){var t=e.routesConfig,n=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,u=t.globalApp;return a?function e(t,n){var o=n.globalApp,a=n.ssrMode,u=n.props,l=function(e){return o?function(t){return(0,i.jsx)(o,(0,r._)({Component:e},t))}:e},s=[],c=!0,d=!1,h=void 0;try{for(var p,v=t[Symbol.iterator]();!(c=(p=v.next()).done);c=!0){var m=p.value;if("nested"===m.type){var g,y={path:m.path,id:m.id,loader:m.loader,action:m.action,hasErrorBoundary:m.hasErrorBoundary,shouldRevalidate:m.shouldRevalidate,handle:(0,r._)({},m.handle,"object"===(0,b._)(m.config)?null==(g=m.config)?void 0:g.handle:{}),index:m.index,hasClientLoader:!!m.clientData,Component:m.component?m.component:void 0,errorElement:m.error?(0,i.jsx)(m.error,{}):void 0,children:m.children?m.children.map(function(t){return e([t],{globalApp:o,ssrMode:a,props:u})[0]}):void 0};s.push(y)}else if("function"==typeof m.component||"object"===(0,b._)(m.component)){var w=l(m.component),_={path:m.path,element:f.createElement(w)};s.push(_)}}}catch(e){d=!0,h=e}finally{try{c||null==v.return||v.return()}finally{if(d)throw h}}return s.push({path:"*",element:(0,i.jsx)(z,{})}),s}(a,{globalApp:u,ssrMode:o,props:n}):null}({routesConfig:J}):m?m():(0,l.Eu)(function(e){var t=e.routesConfig,n=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,u=t.globalApp;return a?function(e,t){var n=t.globalApp,o=t.ssrMode,a=t.props,u=function(e){var t=e.Component,o=(0,A._)(e,["Component"]);return n?(0,i.jsx)(n,(0,r._)({Component:t},o)):(0,i.jsx)(t,(0,r._)({},o))},s=[],c=!0,f=!1,d=void 0;try{for(var h,p=e[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var v=h.value;if("nested"===v.type){var m=V(v,{DeferredDataComponent:"stream"===o?Y:void 0,props:a});s.push(m)}else{var g=(0,i.jsx)(l.qh,{path:v.path,element:(0,i.jsx)(u,{Component:v.component})},v.path);s.push(g)}}}catch(e){f=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(f)throw d}}return s.push((0,i.jsx)(l.qh,{path:"*",element:(0,i.jsx)(z,{})},"*")),s}(a,{globalApp:u,ssrMode:o,props:n}):null}({routesConfig:J,props:u})))||(t=[]);var n=v.getHooks();if(M)try{var c=E(M,t,P);return{router:c,routes:c.routes||[]}}catch(e){console.error("Failed to create router from RSC payload:",e)}var d=n.modifyRoutes.call(t),h=g?(0,s.Ys)(d,{basename:P,hydrationData:O}):(0,s.Ge)(d,{basename:P,hydrationData:O}),y=h.subscribe;return h.subscribe=function(e){return y(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(L&&L()))return e.apply(void 0,(0,a._)(n))})},{router:h,routes:d}},[J,u,P,O,L])),B=T.router,I=T.routes;(0,f.useEffect)(function(){n.current=I},[I]);var H=function(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.pg,{router:B,future:S}),(0,i.jsx)(K,{}),(0,i.jsx)(K,{})]})};return c?(0,i.jsx)(c,{children:(0,i.jsx)(H,{})}):(0,i.jsx)(H,{})}})}}},K=function(){return null},W=function(e){var t=d&&d.use;return"function"==typeof t?t(e):null}},38058:function(e,t,n){"use strict";n.d(t,{eM:()=>a,qF:()=>i,rl:()=>o});var r=n(18958),o=function(e){return function(t){var n,o,a=null==(o=window)||null==(n=o[r.Ql])?void 0:n[e];return a&&"function"==typeof a.shouldRevalidate?a.shouldRevalidate(t):t.defaultShouldRevalidate}},a=function(e,t){return"undefined"!=typeof document&&(window[r.Ql][t]=e),e},i=function(e){return console.error(e),null}},66944:function(e,t,n){"use strict";n.d(t,{Lt:()=>u,Ve:()=>i,po:()=>l});var r=n(92604),o=n(84337),a=n(14670);function i(){var e,t=[];return{tap:function(e){t.push(e)},call:(e=(0,r._)(function(){var e,n,r,i,u,l,s,c,f,d,h,p,v,m,g=arguments;return(0,a.YH)(this,function(a){switch(a.label){case 0:for(n=Array(e=g.length),r=0;r<e;r++)n[r]=g[r];i=!1,l=function(e){i=!0,u=e},s=!0,c=!1,f=void 0,a.label=1;case 1:a.trys.push([1,6,7,8]),d=t[Symbol.iterator](),a.label=2;case 2:if((s=(h=d.next()).done)||(p=h.value,i))return[3,5];return[4,p.apply(void 0,(0,o._)(n).concat([l]))];case 3:void 0!==(v=a.sent())&&(n[0]=v),a.label=4;case 4:return s=!0,[3,2];case 5:return[3,8];case 6:return m=a.sent(),c=!0,f=m,[3,8];case 7:try{s||null==d.return||d.return()}finally{if(c)throw f}return[7];case 8:return[2,i?u:n[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function u(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=!0,i=!1,u=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){var c=l.value.apply(void 0,(0,o._)(n));void 0!==c&&(n[0]=c)}}catch(e){i=!0,u=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw u}}return n[0]}}}function l(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=[],a=!0,i=!1,u=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){var c=(0,l.value)(n);void 0!==c&&o.push(c)}}catch(e){i=!0,u=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw u}}return o}}}},93642:function(e,t,n){"use strict";n.d(t,{h:()=>function e(t){for(var n=arguments.length,a=Array(n>1?n-1:0),u=1;u<n;u++)a[u-1]=arguments[u];if(!a.length)return t;var l=a.shift();if(i(t)&&i(l))for(var s in l)i(l[s])?(t[s]||Object.assign(t,(0,r._)({},s,{})),e(t[s],l[s])):Object.assign(t,(0,r._)({},s,l[s]));return e.apply(void 0,[t].concat((0,o._)(a)))}});var r=n(42969),o=n(84337),a=n(44252);function i(e){return e&&(void 0===e?"undefined":(0,a._)(e))==="object"&&!Array.isArray(e)}},79499:function(e,t,n){"use strict";var r=n(40626),o={stream:!0},a=new Map;function i(e){var t=n(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function u(){}function l(e){for(var t=e[1],r=[],o=0;o<t.length;){var l=t[o++],s=t[o++],f=a.get(l);void 0===f?(c.set(l,s),s=n.e(l),r.push(s),f=a.set.bind(a,l,null),s.then(f,u),a.set(l,s)):null!==f&&r.push(f)}return 4===e.length?0===r.length?i(e[0]):Promise.all(r).then(function(){return i(e[0])}):0<r.length?Promise.all(r):null}function s(e){var t=n(e[0]);if(4===e.length&&"function"==typeof t.then)if("fulfilled"===t.status)t=t.value;else throw t.reason;return"*"===e[2]?t:""===e[2]?t.__esModule?t.default:t:t[e[2]]}var c=new Map,f=n.u;n.u=function(e){var t=c.get(e);return void 0!==t?t:f(e)};var d=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h=Symbol.for("react.transitional.element"),p=Symbol.for("react.lazy"),v=Symbol.asyncIterator,m=new WeakMap;function g(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function y(e){switch(e.status){case"resolved_model":S(e);break;case"resolved_module":C(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":throw e;default:throw e.reason}}function w(e){return new g("pending",null,null,e)}function b(e,t){for(var n=0;n<e.length;n++)(0,e[n])(t)}function _(e,t,n){switch(e.status){case"fulfilled":b(t,e.value);break;case"pending":case"blocked":if(e.value)for(var r=0;r<t.length;r++)e.value.push(t[r]);else e.value=t;if(e.reason){if(n)for(t=0;t<n.length;t++)e.reason.push(n[t])}else e.reason=n;break;case"rejected":n&&b(n,e.reason)}}function x(e,t){if("pending"!==e.status&&"blocked"!==e.status)e.reason.error(t);else{var n=e.reason;e.status="rejected",e.reason=t,null!==n&&b(n,t)}}function j(e,t,n){return new g("resolved_model",(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}",null,e)}function R(e,t,n){k(e,(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}")}function k(e,t){if("pending"!==e.status)e.reason.enqueueModel(t);else{var n=e.value,r=e.reason;e.status="resolved_model",e.value=t,null!==n&&(S(e),_(e,n,r))}}function E(e,t){if("pending"===e.status||"blocked"===e.status){var n=e.value,r=e.reason;e.status="resolved_module",e.value=t,null!==n&&(C(e),_(e,n,r))}}g.prototype=Object.create(Promise.prototype),g.prototype.then=function(e,t){switch(this.status){case"resolved_model":S(this);break;case"resolved_module":C(this)}switch(this.status){case"fulfilled":e(this.value);break;case"pending":case"blocked":e&&(null===this.value&&(this.value=[]),this.value.push(e)),t&&(null===this.reason&&(this.reason=[]),this.reason.push(t));break;default:t&&t(this.reason)}};var A=null;function S(e){var t=A;A=null;var n=e.value;e.status="blocked",e.value=null,e.reason=null;try{var r=JSON.parse(n,e._response._fromJSON),o=e.value;if(null!==o&&(e.value=null,e.reason=null,b(o,r)),null!==A){if(A.errored)throw A.value;if(0<A.deps){A.value=r,A.chunk=e;return}}e.status="fulfilled",e.value=r}catch(t){e.status="rejected",e.reason=t}finally{A=t}}function C(e){try{var t=s(e.value);e.status="fulfilled",e.value=t}catch(t){e.status="rejected",e.reason=t}}function N(e,t){e._chunks.forEach(function(e){"pending"===e.status&&x(e,t)})}function D(e){return{$$typeof:p,_payload:e,_init:y}}function P(e,t){var n=e._chunks,r=n.get(t);return r||(r=w(e),n.set(t,r)),r}function L(e,t,n,r,o,a){function i(e){if(!u.errored){u.errored=!0,u.value=e;var t=u.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}if(A){var u=A;u.deps++}else u=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function e(l){for(var s=1;s<a.length;s++){for(;l.$$typeof===p;)if((l=l._payload)===u.chunk)l=u.value;else if("fulfilled"===l.status)l=l.value;else{a.splice(0,s-1),l.then(e,i);return}l=l[a[s]]}s=o(r,l,t,n),t[n]=s,""===n&&null===u.value&&(u.value=s),t[0]===h&&"object"==typeof u.value&&null!==u.value&&u.value.$$typeof===h&&(l=u.value,"3"===n)&&(l.props=s),u.deps--,0===u.deps&&null!==(s=u.chunk)&&"blocked"===s.status&&(l=s.value,s.status="fulfilled",s.value=u.value,null!==l&&b(l,u.value))},i),null}function M(e,t,n,r){if(!e._serverReferenceConfig)return function(e,t){function n(){var e=Array.prototype.slice.call(arguments);return a?"fulfilled"===a.status?t(o,a.value.concat(e)):Promise.resolve(a).then(function(n){return t(o,n.concat(e))}):t(o,e)}var r,o=e.id,a=e.bound;return r={id:o,bound:a},m.set(n,r),n}(t,e._callServer);var o=function(e,t){var n="",r=e[t];if(r)n=r.name;else{var o=t.lastIndexOf("#");if(-1!==o&&(n=t.slice(o+1),r=e[t.slice(0,o)]),!r)throw Error('Could not find the module "'+t+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return r.async?[r.id,r.chunks,n,1]:[r.id,r.chunks,n]}(e._serverReferenceConfig,t.id);if(e=l(o))t.bound&&(e=Promise.all([e,t.bound]));else{if(!t.bound)return s(o);e=Promise.resolve(t.bound)}if(A){var a=A;a.deps++}else a=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function(){var e=s(o);if(t.bound){var i=t.bound.value.slice(0);i.unshift(null),e=e.bind.apply(e,i)}n[r]=e,""===r&&null===a.value&&(a.value=e),n[0]===h&&"object"==typeof a.value&&null!==a.value&&a.value.$$typeof===h&&(i=a.value,"3"===r)&&(i.props=e),a.deps--,0===a.deps&&null!==(e=a.chunk)&&"blocked"===e.status&&(i=e.value,e.status="fulfilled",e.value=a.value,null!==i&&b(i,a.value))},function(e){if(!a.errored){a.errored=!0,a.value=e;var t=a.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}),null}function O(e,t,n,r,o){var a=parseInt((t=t.split(":"))[0],16);switch((a=P(e,a)).status){case"resolved_model":S(a);break;case"resolved_module":C(a)}switch(a.status){case"fulfilled":var i=a.value;for(a=1;a<t.length;a++){for(;i.$$typeof===p;)if("fulfilled"!==(i=i._payload).status)return L(i,n,r,e,o,t.slice(a-1));else i=i.value;i=i[t[a]]}return o(e,i,n,r);case"pending":case"blocked":return L(a,n,r,e,o,t);default:return A?(A.errored=!0,A.value=a.reason):A={parent:null,chunk:null,value:a.reason,deps:0,errored:!0},null}}function T(e,t){return new Map(t)}function B(e,t){return new Set(t)}function I(e,t){return new Blob(t.slice(1),{type:t[0]})}function H(e,t){e=new FormData;for(var n=0;n<t.length;n++)e.append(t[n][0],t[n][1]);return e}function U(e,t){return t[Symbol.iterator]()}function q(e,t){return t}function V(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function F(e,t,n,r,o,a,i){var u,l=new Map;this._bundlerConfig=e,this._serverReferenceConfig=t,this._moduleLoading=n,this._callServer=void 0!==r?r:V,this._encodeFormAction=o,this._nonce=a,this._chunks=l,this._stringDecoder=new TextDecoder,this._fromJSON=null,this._rowLength=this._rowTag=this._rowID=this._rowState=0,this._buffer=[],this._tempRefs=i,this._fromJSON=(u=this,function(e,t){if("string"==typeof t){var n=u,r=this,o=e,a=t;if("$"===a[0]){if("$"===a)return null!==A&&"0"===o&&(A={parent:A,chunk:null,value:null,deps:0,errored:!1}),h;switch(a[1]){case"$":return a.slice(1);case"L":return D(n=P(n,r=parseInt(a.slice(2),16)));case"@":if(2===a.length)return new Promise(function(){});return P(n,r=parseInt(a.slice(2),16));case"S":return Symbol.for(a.slice(2));case"F":return O(n,a=a.slice(2),r,o,M);case"T":if(r="$"+a.slice(2),null==(n=n._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return n.get(r);case"Q":return O(n,a=a.slice(2),r,o,T);case"W":return O(n,a=a.slice(2),r,o,B);case"B":return O(n,a=a.slice(2),r,o,I);case"K":return O(n,a=a.slice(2),r,o,H);case"Z":return K();case"i":return O(n,a=a.slice(2),r,o,U);case"I":return 1/0;case"-":return"$-0"===a?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(a.slice(2)));case"n":return BigInt(a.slice(2));default:return O(n,a=a.slice(1),r,o,q)}}return a}if("object"==typeof t&&null!==t){if(t[0]===h){if(e={$$typeof:h,type:t[1],key:t[2],ref:null,props:t[3]},null!==A){if(A=(t=A).parent,t.errored)e=D(e=new g("rejected",null,t.value,u));else if(0<t.deps){var i=new g("blocked",null,null,u);t.value=e,t.chunk=i,e=D(i)}}}else e=t;return e}return t})}function z(e,t,n){var r=e._chunks,o=r.get(t);o&&"pending"!==o.status?o.reason.enqueueValue(n):r.set(t,new g("fulfilled",n,null,e))}function Y(e,t,n,r){var o=e._chunks,a=o.get(t);a?"pending"===a.status&&(e=a.value,a.status="fulfilled",a.value=n,a.reason=r,null!==e&&b(e,a.value)):o.set(t,new g("fulfilled",n,r,e))}function $(e,t,n){var r=null;n=new ReadableStream({type:n,start:function(e){r=e}});var o=null;Y(e,t,n,{enqueueValue:function(e){null===o?r.enqueue(e):o.then(function(){r.enqueue(e)})},enqueueModel:function(t){if(null===o){var n=new g("resolved_model",t,null,e);S(n),"fulfilled"===n.status?r.enqueue(n.value):(n.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=n)}else{n=o;var a=w(e);a.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=a,n.then(function(){o===a&&(o=null),k(a,t)})}},close:function(){if(null===o)r.close();else{var e=o;o=null,e.then(function(){return r.close()})}},error:function(e){if(null===o)r.error(e);else{var t=o;o=null,t.then(function(){return r.error(e)})}}})}function J(){return this}function G(e,t,n){var r=[],o=!1,a=0,i={};i[v]=function(){var t,n=0;return(t={next:t=function(t){if(void 0!==t)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(n===r.length){if(o)return new g("fulfilled",{done:!0,value:void 0},null,e);r[n]=w(e)}return r[n++]}})[v]=J,t},Y(e,t,n?i[v]():i,{enqueueValue:function(t){if(a===r.length)r[a]=new g("fulfilled",{done:!1,value:t},null,e);else{var n=r[a],o=n.value,i=n.reason;n.status="fulfilled",n.value={done:!1,value:t},null!==o&&_(n,o,i)}a++},enqueueModel:function(t){a===r.length?r[a]=j(e,t,!1):R(r[a],t,!1),a++},close:function(t){for(o=!0,a===r.length?r[a]=j(e,t,!0):R(r[a],t,!0),a++;a<r.length;)R(r[a++],'"$undefined"',!0)},error:function(t){for(o=!0,a===r.length&&(r[a]=w(e));a<r.length;)x(r[a++],t)}})}function K(){var e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");return e.stack="Error: "+e.message,e}function W(e,t){for(var n=e.length,r=t.length,o=0;o<n;o++)r+=e[o].byteLength;r=new Uint8Array(r);for(var a=o=0;a<n;a++){var i=e[a];r.set(i,o),o+=i.byteLength}return r.set(t,o),r}function X(e,t,n,r,o,a){z(e,t,o=new o((n=0===n.length&&0==r.byteOffset%a?r:W(n,r)).buffer,n.byteOffset,n.byteLength/a))}t.createFromReadableStream=function(e,t){var n;return function(e,t){function n(t){N(e,t)}var r=t.getReader();r.read().then(function t(a){var i=a.value;if(a.done)N(e,Error("Connection closed."));else{var u=0,s=e._rowState;a=e._rowID;for(var c=e._rowTag,f=e._rowLength,h=e._buffer,p=i.length;u<p;){var v=-1;switch(s){case 0:58===(v=i[u++])?s=1:a=a<<4|(96<v?v-87:v-48);continue;case 1:84===(s=i[u])||65===s||79===s||111===s||85===s||83===s||115===s||76===s||108===s||71===s||103===s||77===s||109===s||86===s?(c=s,s=2,u++):64<s&&91>s||35===s||114===s||120===s?(c=s,s=3,u++):(c=0,s=3);continue;case 2:44===(v=i[u++])?s=4:f=f<<4|(96<v?v-87:v-48);continue;case 3:v=i.indexOf(10,u);break;case 4:(v=u+f)>i.length&&(v=-1)}var m=i.byteOffset+u;if(-1<v)(function(e,t,n,r,a){switch(n){case 65:z(e,t,W(r,a).buffer);return;case 79:X(e,t,r,a,Int8Array,1);return;case 111:z(e,t,0===r.length?a:W(r,a));return;case 85:X(e,t,r,a,Uint8ClampedArray,1);return;case 83:X(e,t,r,a,Int16Array,2);return;case 115:X(e,t,r,a,Uint16Array,2);return;case 76:X(e,t,r,a,Int32Array,4);return;case 108:X(e,t,r,a,Uint32Array,4);return;case 71:X(e,t,r,a,Float32Array,4);return;case 103:X(e,t,r,a,Float64Array,8);return;case 77:X(e,t,r,a,BigInt64Array,8);return;case 109:X(e,t,r,a,BigUint64Array,8);return;case 86:X(e,t,r,a,DataView,1);return}for(var i=e._stringDecoder,u="",s=0;s<r.length;s++)u+=i.decode(r[s],o);switch(r=u+=i.decode(a),n){case 73:var c=e,f=t,h=r,p=c._chunks,v=p.get(f);h=JSON.parse(h,c._fromJSON);var m=function(e,t){if(e){var n=e[t[0]];if(e=n&&n[t[2]])n=e.name;else{if(!(e=n&&n["*"]))throw Error('Could not find the module "'+t[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');n=t[2]}return 4===t.length?[e.id,e.chunks,n,1]:[e.id,e.chunks,n]}return t}(c._bundlerConfig,h);if(h=l(m)){if(v){var y=v;y.status="blocked"}else y=new g("blocked",null,null,c),p.set(f,y);h.then(function(){return E(y,m)},function(e){return x(y,e)})}else v?E(v,m):p.set(f,new g("resolved_module",m,null,c));break;case 72:switch(t=r[0],e=JSON.parse(r=r.slice(1),e._fromJSON),r=d.d,t){case"D":r.D(e);break;case"C":"string"==typeof e?r.C(e):r.C(e[0],e[1]);break;case"L":t=e[0],n=e[1],3===e.length?r.L(t,n,e[2]):r.L(t,n);break;case"m":"string"==typeof e?r.m(e):r.m(e[0],e[1]);break;case"X":"string"==typeof e?r.X(e):r.X(e[0],e[1]);break;case"S":"string"==typeof e?r.S(e):r.S(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case"M":"string"==typeof e?r.M(e):r.M(e[0],e[1])}break;case 69:n=JSON.parse(r),(r=K()).digest=n.digest,(a=(n=e._chunks).get(t))?x(a,r):n.set(t,new g("rejected",null,r,e));break;case 84:(a=(n=e._chunks).get(t))&&"pending"!==a.status?a.reason.enqueueValue(r):n.set(t,new g("fulfilled",r,null,e));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 82:$(e,t,void 0);break;case 114:$(e,t,"bytes");break;case 88:G(e,t,!1);break;case 120:G(e,t,!0);break;case 67:(e=e._chunks.get(t))&&"fulfilled"===e.status&&e.reason.close(""===r?'"$undefined"':r);break;default:(a=(n=e._chunks).get(t))?k(a,r):n.set(t,new g("resolved_model",r,null,e))}})(e,a,c,h,f=new Uint8Array(i.buffer,m,v-u)),u=v,3===s&&u++,f=a=c=s=0,h.length=0;else{i=new Uint8Array(i.buffer,m,i.byteLength-u),h.push(i),f-=i.byteLength;break}}return e._rowState=s,e._rowID=a,e._rowTag=c,e._rowLength=f,r.read().then(t).catch(n)}}).catch(n)}(t=new F(null,null,null,(n=t)&&n.callServer?n.callServer:void 0,void 0,void 0,n&&n.temporaryReferences?n.temporaryReferences:void 0),e),P(t,0)}},31488:function(e,t,n){"use strict";e.exports=n(79499)},18958:function(e,t,n){"use strict";n.d(t,{Ae:()=>r,IV:()=>a,Ql:()=>o});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",a="server-loader"}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["274","493","535","564","568","783","792"],function(){return t(98360),t(24937),t(71603),t(30099),t(18940)}),e.O()}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["792"],{80774:function(n,t,e){e.d(t,{A:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},34551:function(n,t,e){e.d(t,{A:()=>o});let o={card:"card-If0911"}},20797:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-WHe0d3"}},62302:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},7163:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},38521:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},61524:function(n,t,e){e.d(t,{A:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},58805:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-COzu4H"}},7072:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-SkRv4t"}},5211:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-e3dQes"}},46787:function(n,t,e){e.d(t,{A:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},86200:function(n,t,e){e.d(t,{A:()=>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"}},99392:function(n,t,e){e.d(t,{A:()=>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"}},644:function(n,t,e){e.d(t,{A:()=>o});let o={stats:"stats-cb58Fz"}},75745:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see lib-router.904905a0.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["535"],{61621:function(e,t,r){var n,a,o,i;function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{AO:()=>v,B6:()=>D,Gh:()=>M,HS:()=>T,Oi:()=>d,RO:()=>C,Rr:()=>m,TM:()=>c,V2:()=>B,VV:()=>z,aE:()=>K,pX:()=>F,pb:()=>L,rc:()=>n,ro:()=>x,tH:()=>_,ue:()=>b,yD:()=>O,zR:()=>u}),(o=n||(n={})).Pop="POP",o.Push="PUSH",o.Replace="REPLACE";let s="popstate";function u(e){return void 0===e&&(e={}),y(function(e,t){let{pathname:r,search:n,hash:a}=e.location;return p("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:v(t)},null,e)}function c(e){return void 0===e&&(e={}),y(function(e,t){let{pathname:r="/",search:n="",hash:a=""}=m(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),p("",{pathname:r,search:n,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:v(t))},function(e,t){h("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function d(e,t){if(!1===e||null==e)throw Error(t)}function h(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw Error(t)}catch(e){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function p(e,t,r,n){return void 0===r&&(r=null),l({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?m(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function v(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function m(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function y(e,t,r,a){void 0===a&&(a={});let{window:o=document.defaultView,v5Compat:i=!1}=a,u=o.history,c=n.Pop,h=null,m=y();function y(){return(u.state||{idx:null}).idx}function g(){c=n.Pop;let e=y(),t=null==e?null:e-m;m=e,h&&h({action:c,location:b.location,delta:t})}function w(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:v(e);return d(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==m&&(m=0,u.replaceState(l({},u.state,{idx:m}),""));let b={get action(){return c},get location(){return e(o,u)},listen(e){if(h)throw Error("A history only accepts one active listener");return o.addEventListener(s,g),h=e,()=>{o.removeEventListener(s,g),h=null}},createHref:e=>t(o,e),createURL:w,encodeLocation(e){let t=w(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=n.Push;let a=p(b.location,e,t);r&&r(a,e);let l=f(a,m=y()+1),s=b.createHref(a);try{u.pushState(l,"",s)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(s)}i&&h&&h({action:c,location:b.location,delta:1})},replace:function(e,t){c=n.Replace;let a=p(b.location,e,t);r&&r(a,e);let o=f(a,m=y()),l=b.createHref(a);u.replaceState(o,"",l),i&&h&&h({action:c,location:b.location,delta:0})},go:e=>u.go(e)};return b}(i=a||(a={})).data="data",i.deferred="deferred",i.redirect="redirect",i.error="error";let g=new Set(["lazy","caseSensitive","path","id","index","children"]);function w(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map((e,a)=>{let o=[...r,String(a)],i="string"==typeof e.id?e.id:o.join("-");if(d(!0!==e.index||!e.children,"Cannot specify children on an index route"),d(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),!0===e.index){let r=l({},e,t(e),{id:i});return n[i]=r,r}{let r=l({},e,t(e),{id:i,children:void 0});return n[i]=r,e.children&&(r.children=w(e.children,t,o,n)),r}})}function b(e,t,r){return void 0===r&&(r="/"),E(e,t,r,!1)}function E(e,t,r,n){let a=L(("string"==typeof t?m(t):t).pathname||"/",r);if(null==a)return null;let o=function e(t,r,n,a){void 0===r&&(r=[]),void 0===n&&(n=[]),void 0===a&&(a="");let o=(t,o,i)=>{var l,s;let u,c,h={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};h.relativePath.startsWith("/")&&(d(h.relativePath.startsWith(a),'Absolute route path "'+h.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),h.relativePath=h.relativePath.slice(a.length));let f=T([a,h.relativePath]),p=n.concat(h);t.children&&t.children.length>0&&(d(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+f+'".'),e(t.children,r,p,f)),(null!=t.path||t.index)&&r.push({path:f,score:(l=f,s=t.index,c=(u=l.split("/")).length,u.some(S)&&(c+=-2),s&&(c+=2),u.filter(e=>!S(e)).reduce((e,t)=>e+(R.test(t)?3:""===t?1:10),c)),routesMeta:p})};return t.forEach((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of function e(t){let r=t.split("/");if(0===r.length)return[];let[n,...a]=r,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===a.length)return o?[i,""]:[i];let l=e(a.join("/")),s=[];return s.push(...l.map(e=>""===e?i:[i,e].join("/"))),o&&s.push(...l),s.map(e=>t.startsWith("/")&&""===e?"/":e)}(e.path))o(e,t,r);else o(e,t)}),r}(e);o.sort((e,t)=>{var r,n;return e.score!==t.score?t.score-e.score:(r=e.routesMeta.map(e=>e.childrenIndex),n=t.routesMeta.map(e=>e.childrenIndex),r.length===n.length&&r.slice(0,-1).every((e,t)=>e===n[t])?r[r.length-1]-n[n.length-1]:0)});let i=null;for(let e=0;null==i&&e<o.length;++e){let t=C(a);i=function(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,a={},o="/",i=[];for(let e=0;e<n.length;++e){let l=n[e],s=e===n.length-1,u="/"===o?t:t.slice(o.length)||"/",c=D({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},u),d=l.route;if(!c&&s&&r&&!n[n.length-1].route.index&&(c=D({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!c)return null;Object.assign(a,c.params),i.push({params:a,pathname:T([o,c.pathname]),pathnameBase:j(T([o,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(o=T([o,c.pathnameBase]))}return i}(o[e],t,n)}return i}function x(e,t){let{route:r,pathname:n,params:a}=e;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}let R=/^:[\w-]+$/,S=e=>"*"===e;function D(e,t){var r,n,a;let o,i;"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[l,s]=(r=e.path,n=e.caseSensitive,a=e.end,void 0===n&&(n=!1),void 0===a&&(a=!0),h("*"===r||!r.endsWith("*")||r.endsWith("/*"),'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),o=[],i="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")),r.endsWith("*")?(o.push({paramName:"*"}),i+="*"===r||"/*"===r?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?i+="\\/*$":""!==r&&"/"!==r&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),o]),u=t.match(l);if(!u)return null;let c=u[0],d=c.replace(/(.)\/+$/,"$1"),f=u.slice(1);return{params:s.reduce((e,t,r)=>{let{paramName:n,isOptional:a}=t;if("*"===n){let e=f[r]||"";d=c.slice(0,c.length-e.length).replace(/(.)\/+$/,"$1")}let o=f[r];return a&&!o?e[n]=void 0:e[n]=(o||"").replace(/%2F/g,"/"),e},{}),pathname:c,pathnameBase:d,pattern:e}}function C(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return h(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function L(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function P(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field [")+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function k(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function O(e,t){let r=k(e);return t?r.map((e,t)=>t===r.length-1?e.pathname:e.pathnameBase):r.map(e=>e.pathnameBase)}function M(e,t,r,n){let a,o;void 0===n&&(n=!1),"string"==typeof e?a=m(e):(d(!(a=l({},e)).pathname||!a.pathname.includes("?"),P("?","pathname","search",a)),d(!a.pathname||!a.pathname.includes("#"),P("#","pathname","hash",a)),d(!a.search||!a.search.includes("#"),P("#","search","hash",a)));let i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)o=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let u=function(e,t){var r;let n;void 0===t&&(t="/");let{pathname:a,search:o="",hash:i=""}="string"==typeof e?m(e):e;return{pathname:a?a.startsWith("/")?a:(r=a,n=t.replace(/\/+$/,"").split("/"),r.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"):t,search:U(o),hash:A(i)}}(a,o),c=s&&"/"!==s&&s.endsWith("/"),h=(i||"."===s)&&r.endsWith("/");return!u.pathname.endsWith("/")&&(c||h)&&(u.pathname+="/"),u}let T=e=>e.join("/").replace(/\/\/+/g,"/"),j=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),U=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",A=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class _ extends Error{}let B=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let n=new Headers(r.headers);return n.set("Location",e),new Response(null,l({},r,{headers:n}))};class z{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function F(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}let N=["post","put","patch","delete"],H=new Set(N),I=new Set(["get",...N]),W=new Set([301,302,303,307,308]),$=new Set([307,308]),V={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},q={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Y=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),X="remix-router-transitions";function K(e){let t,r,o,i,s,u,c=e.window?e.window:"undefined"!=typeof window?window:void 0,f=void 0!==c&&void 0!==c.document&&void 0!==c.document.createElement,v=!f;if(d(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let r=e.detectErrorBoundary;t=e=>({hasErrorBoundary:r(e)})}else t=G;let m={},y=w(e.routes,t,void 0,m),g=e.basename||"/",R=e.dataStrategy||el,S=e.patchRoutesOnNavigation,D=l({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),C=null,P=new Set,k=null,O=null,M=null,T=null!=e.hydrationData,j=b(y,e.history.location,g),U=null;if(null==j&&!S){let t=eb(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=ew(y);j=r,U={[n.id]:t}}if(j&&!e.hydrationData&&ta(j,y,e.history.location.pathname).active&&(j=null),j)if(j.some(e=>e.route.lazy))o=!1;else if(j.some(e=>e.route.loader))if(D.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=j.findIndex(e=>void 0!==r[e.route.id]);o=j.slice(0,e+1).every(e=>!er(e.route,t,r))}else o=j.every(e=>!er(e.route,t,r))}else o=null!=e.hydrationData;else o=!0;else if(o=!1,j=[],D.v7_partialHydration){let t=ta(null,y,e.history.location.pathname);t.active&&t.matches&&(j=t.matches)}let A={historyAction:e.history.action,location:e.history.location,matches:j,initialized:o,navigation:V,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||U,fetchers:new Map,blockers:new Map},_=n.Pop,B=!1,z=!1,N=new Map,H=null,I=!1,K=!1,ee=[],en=new Set,ea=new Map,ei=0,eu=-1,ef=new Map,ep=new Set,ex=new Map,eC=new Map,eT=new Set,ez=new Map,eF=new Map;function eN(e,t){void 0===t&&(t={}),A=l({},A,e);let r=[],n=[];D.v7_fetcherPersist&&A.fetchers.forEach((e,t)=>{"idle"===e.state&&(eT.has(t)?n.push(t):r.push(t))}),[...P].forEach(e=>e(A,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})),D.v7_fetcherPersist&&(r.forEach(e=>A.fetchers.delete(e)),n.forEach(e=>e7(e)))}function eH(t,a,o){var i,s;let u,c,{flushSync:d}=void 0===o?{}:o,h=null!=A.actionData&&null!=A.navigation.formMethod&&eP(A.navigation.formMethod)&&"loading"===A.navigation.state&&(null==(i=t.state)?void 0:i._isRedirect)!==!0;u=a.actionData?Object.keys(a.actionData).length>0?a.actionData:null:h?A.actionData:null;let f=a.loaderData?em(A.loaderData,a.loaderData,a.matches||[],a.errors):A.loaderData,p=A.blockers;p.size>0&&(p=new Map(p)).forEach((e,t)=>p.set(t,J));let v=!0===B||null!=A.navigation.formMethod&&eP(A.navigation.formMethod)&&(null==(s=t.state)?void 0:s._isRedirect)!==!0;if(r&&(y=r,r=void 0),I||_===n.Pop||(_===n.Push?e.history.push(t,t.state):_===n.Replace&&e.history.replace(t,t.state)),_===n.Pop){let e=N.get(A.location.pathname);e&&e.has(t.pathname)?c={currentLocation:A.location,nextLocation:t}:N.has(t.pathname)&&(c={currentLocation:t,nextLocation:A.location})}else if(z){let e=N.get(A.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),N.set(A.location.pathname,e)),c={currentLocation:A.location,nextLocation:t}}eN(l({},a,{actionData:u,loaderData:f,historyAction:_,location:t,initialized:!0,navigation:V,revalidation:"idle",restoreScrollPosition:tn(t,a.matches||A.matches),preventScrollReset:v,blockers:p}),{viewTransitionOpts:c,flushSync:!0===d}),_=n.Pop,B=!1,z=!1,I=!1,K=!1,ee=[]}async function eI(t,r){if("number"==typeof t)return void e.history.go(t);let a=Z(A.location,A.matches,g,D.v7_prependBasename,t,D.v7_relativeSplatPath,null==r?void 0:r.fromRouteId,null==r?void 0:r.relative),{path:o,submission:i,error:s}=Q(D.v7_normalizeFormMethod,!1,a,r),u=A.location,c=p(A.location,o,r&&r.state);c=l({},c,e.history.encodeLocation(c));let d=r&&null!=r.replace?r.replace:void 0,h=n.Push;!0===d?h=n.Replace:!1===d||null!=i&&eP(i.formMethod)&&i.formAction===A.location.pathname+A.location.search&&(h=n.Replace);let f=r&&"preventScrollReset"in r?!0===r.preventScrollReset:void 0,v=!0===(r&&r.flushSync),m=e8({currentLocation:u,nextLocation:c,historyAction:h});return m?void e9(m,{state:"blocked",location:c,proceed(){e9(m,{state:"proceeding",proceed:void 0,reset:void 0,location:c}),eI(t,r)},reset(){let e=new Map(A.blockers);e.set(m,J),eN({blockers:e})}}):await eW(h,c,{submission:i,pendingError:s,preventScrollReset:f,replace:r&&r.replace,enableViewTransition:r&&r.viewTransition,flushSync:v})}async function eW(t,n,o){var i,u,c,d;let h;s&&s.abort(),s=null,_=t,I=!0===(o&&o.startUninterruptedRevalidation),i=A.location,u=A.matches,k&&M&&(k[tr(i,u)]=M()),B=!0===(o&&o.preventScrollReset),z=!0===(o&&o.enableViewTransition);let f=r||y,p=o&&o.overrideNavigation,v=b(f,n,g),m=!0===(o&&o.flushSync),w=ta(v,f,n.pathname);if(w.active&&w.matches&&(v=w.matches),!v){let{error:e,notFoundMatches:t,route:r}=te(n.pathname);eH(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:m});return}if(A.initialized&&!K&&(c=A.location,d=n,c.pathname===d.pathname&&c.search===d.search&&(""===c.hash?""!==d.hash:c.hash===d.hash||""!==d.hash||!1))&&!(o&&o.submission&&eP(o.submission.formMethod)))return void eH(n,{matches:v},{flushSync:m});s=new AbortController;let E=eh(e.history,n,s.signal,o&&o.submission);if(o&&o.pendingError)h=[eg(v).route.id,{type:a.error,error:o.pendingError}];else if(o&&o.submission&&eP(o.submission.formMethod)){let t=await e$(E,n,o.submission,v,w.active,{replace:o.replace,flushSync:m});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(eS(r)&&F(r.error)&&404===r.error.status){s=null,eH(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}});return}}v=t.matches||v,h=t.pendingActionResult,p=eA(n,o.submission),m=!1,w.active=!1,E=eh(e.history,E.url,E.signal)}let{shortCircuited:x,matches:R,loaderData:S,errors:D}=await eV(E,n,v,w.active,p,o&&o.submission,o&&o.fetcherSubmission,o&&o.replace,o&&!0===o.initialHydration,m,h);x||(s=null,eH(n,l({matches:R||v},ey(h),{loaderData:S,errors:D})))}async function e$(e,t,r,o,i,l){var s;let u;if(void 0===l&&(l={}),eZ(),eN({navigation:{state:"submitting",location:t,formMethod:(s=r).formMethod,formAction:s.formAction,formEncType:s.formEncType,formData:s.formData,json:s.json,text:s.text}},{flushSync:!0===l.flushSync}),i){let r=await to(o,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=eg(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:a.error,error:r.error}]}}if(r.matches)o=r.matches;else{let{notFoundMatches:e,error:r,route:n}=te(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:a.error,error:r}]}}}let c=ej(o,t);if(c.route.action||c.route.lazy){if(u=(await eX("action",A,e,[c],o,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else u={type:a.error,error:eb(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(eD(u)){let t;return t=l&&null!=l.replace?l.replace:ed(u.response.headers.get("Location"),new URL(e.url),g)===A.location.pathname+A.location.search,await eG(e,u,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(eR(u))throw eb(400,{type:"defer-action"});if(eS(u)){let e=eg(o,c.route.id);return!0!==(l&&l.replace)&&(_=n.Push),{matches:o,pendingActionResult:[e.route.id,u]}}return{matches:o,pendingActionResult:[c.route.id,u]}}async function eV(t,n,a,o,i,u,c,d,h,f,p){let v=i||eA(n,u),m=u||c||eU(v),w=!I&&(!D.v7_partialHydration||!h);if(o){if(w){let e=eq(p);eN(l({navigation:v},void 0!==e?{actionData:e}:{}),{flushSync:f})}let e=await to(a,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=eg(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(e.matches)a=e.matches;else{let{error:e,notFoundMatches:t,route:r}=te(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}}let b=r||y,[E,x]=et(e.history,A,a,m,n,D.v7_partialHydration&&!0===h,D.v7_skipActionErrorRevalidation,K,ee,en,eT,ex,ep,b,g,p);if(tt(e=>!(a&&a.some(t=>t.route.id===e))||E&&E.some(t=>t.route.id===e)),eu=++ei,0===E.length&&0===x.length){let e=e3();return eH(n,l({matches:a,loaderData:{},errors:p&&eS(p[1])?{[p[0]]:p[1].error}:null},ey(p),e?{fetchers:new Map(A.fetchers)}:{}),{flushSync:f}),{shortCircuited:!0}}if(w){let e={};if(!o){e.navigation=v;let t=eq(p);void 0!==t&&(e.actionData=t)}x.length>0&&(x.forEach(e=>{let t=A.fetchers.get(e.key),r=e_(void 0,t?t.data:void 0);A.fetchers.set(e.key,r)}),e.fetchers=new Map(A.fetchers)),eN(e,{flushSync:f})}x.forEach(e=>{e2(e.key),e.controller&&ea.set(e.key,e.controller)});let R=()=>x.forEach(e=>e2(e.key));s&&s.signal.addEventListener("abort",R);let{loaderResults:S,fetcherResults:C}=await eK(A,a,E,x,t);if(t.signal.aborted)return{shortCircuited:!0};s&&s.signal.removeEventListener("abort",R),x.forEach(e=>ea.delete(e.key));let L=eE(S);if(L)return await eG(t,L.result,!0,{replace:d}),{shortCircuited:!0};if(L=eE(C))return ep.add(L.key),await eG(t,L.result,!0,{replace:d}),{shortCircuited:!0};let{loaderData:P,errors:k}=ev(A,a,S,p,x,C,ez);ez.forEach((e,t)=>{e.subscribe(r=>{(r||e.done)&&ez.delete(t)})}),D.v7_partialHydration&&h&&A.errors&&(k=l({},A.errors,k));let O=e3(),M=e6(eu),T=O||M||x.length>0;return l({matches:a,loaderData:P,errors:k},T?{fetchers:new Map(A.fetchers)}:{})}function eq(e){if(e&&!eS(e[1]))return{[e[0]]:e[1].data};if(A.actionData)if(0===Object.keys(A.actionData).length)return null;else return A.actionData}async function eJ(t,n,a,o,i,l,u,c,h){var f,p;function v(e){if(!e.route.action&&!e.route.lazy){let e=eb(405,{method:h.formMethod,pathname:a,routeId:n});return e0(t,n,e,{flushSync:u}),!0}return!1}if(eZ(),ex.delete(t),!l&&v(o))return;let m=A.fetchers.get(t);eQ(t,(f=h,p=m,{state:"submitting",formMethod:f.formMethod,formAction:f.formAction,formEncType:f.formEncType,formData:f.formData,json:f.json,text:f.text,data:p?p.data:void 0}),{flushSync:u});let w=new AbortController,E=eh(e.history,a,w.signal,h);if(l){let e=await to(i,a,E.signal);if("aborted"===e.type)return;if("error"===e.type)return void e0(t,n,e.error,{flushSync:u});if(!e.matches)return void e0(t,n,eb(404,{pathname:a}),{flushSync:u});if(v(o=ej(i=e.matches,a)))return}ea.set(t,w);let x=ei,R=(await eX("action",A,E,[o],i,t))[o.route.id];if(E.signal.aborted){ea.get(t)===w&&ea.delete(t);return}if(D.v7_fetcherPersist&&eT.has(t)){if(eD(R)||eS(R))return void eQ(t,eB(void 0))}else{if(eD(R))return(ea.delete(t),eu>x)?void eQ(t,eB(void 0)):(ep.add(t),eQ(t,e_(h)),eG(E,R,!1,{fetcherSubmission:h,preventScrollReset:c}));if(eS(R))return void e0(t,n,R.error)}if(eR(R))throw eb(400,{type:"defer-action"});let S=A.navigation.location||A.location,C=eh(e.history,S,w.signal),L=r||y,P="idle"!==A.navigation.state?b(L,A.navigation.location,g):A.matches;d(P,"Didn't find any matches after fetcher action");let k=++ei;ef.set(t,k);let O=e_(h,R.data);A.fetchers.set(t,O);let[M,T]=et(e.history,A,P,h,S,!1,D.v7_skipActionErrorRevalidation,K,ee,en,eT,ex,ep,L,g,[o.route.id,R]);T.filter(e=>e.key!==t).forEach(e=>{let t=e.key,r=A.fetchers.get(t),n=e_(void 0,r?r.data:void 0);A.fetchers.set(t,n),e2(t),e.controller&&ea.set(t,e.controller)}),eN({fetchers:new Map(A.fetchers)});let j=()=>T.forEach(e=>e2(e.key));w.signal.addEventListener("abort",j);let{loaderResults:U,fetcherResults:B}=await eK(A,P,M,T,C);if(w.signal.aborted)return;w.signal.removeEventListener("abort",j),ef.delete(t),ea.delete(t),T.forEach(e=>ea.delete(e.key));let z=eE(U);if(z)return eG(C,z.result,!1,{preventScrollReset:c});if(z=eE(B))return ep.add(z.key),eG(C,z.result,!1,{preventScrollReset:c});let{loaderData:F,errors:N}=ev(A,P,U,void 0,T,B,ez);if(A.fetchers.has(t)){let e=eB(R.data);A.fetchers.set(t,e)}e6(k),"loading"===A.navigation.state&&k>eu?(d(_,"Expected pending action"),s&&s.abort(),eH(A.navigation.location,{matches:P,loaderData:F,errors:N,fetchers:new Map(A.fetchers)})):(eN({errors:N,loaderData:em(A.loaderData,F,P,N),fetchers:new Map(A.fetchers)}),K=!1)}async function eY(t,r,n,a,o,i,l,s,u){let c=A.fetchers.get(t);eQ(t,e_(u,c?c.data:void 0),{flushSync:l});let h=new AbortController,f=eh(e.history,n,h.signal);if(i){let e=await to(o,n,f.signal);if("aborted"===e.type)return;if("error"===e.type)return void e0(t,r,e.error,{flushSync:l});if(!e.matches)return void e0(t,r,eb(404,{pathname:n}),{flushSync:l});a=ej(o=e.matches,n)}ea.set(t,h);let p=ei,v=(await eX("loader",A,f,[a],o,t))[a.route.id];if(eR(v)&&(v=await eM(v,f.signal,!0)||v),ea.get(t)===h&&ea.delete(t),!f.signal.aborted){if(eT.has(t))return void eQ(t,eB(void 0));if(eD(v))if(eu>p)return void eQ(t,eB(void 0));else{ep.add(t),await eG(f,v,!1,{preventScrollReset:s});return}if(eS(v))return void e0(t,r,v.error);d(!eR(v),"Unhandled fetcher deferred data"),eQ(t,eB(v.data))}}async function eG(t,r,a,o){let{submission:i,fetcherSubmission:u,preventScrollReset:h,replace:v}=void 0===o?{}:o;r.response.headers.has("X-Remix-Revalidate")&&(K=!0);let m=r.response.headers.get("Location");d(m,"Expected a Location header on the redirect Response"),m=ed(m,new URL(t.url),g);let y=p(A.location,m,{_isRedirect:!0});if(f){let t=!1;if(r.response.headers.has("X-Remix-Reload-Document"))t=!0;else if(Y.test(m)){let r=e.history.createURL(m);t=r.origin!==c.location.origin||null==L(r.pathname,g)}if(t)return void(v?c.location.replace(m):c.location.assign(m))}s=null;let w=!0===v||r.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,{formMethod:b,formAction:E,formEncType:x}=A.navigation;!i&&!u&&b&&E&&x&&(i=eU(A.navigation));let R=i||u;if($.has(r.response.status)&&R&&eP(R.formMethod))await eW(w,y,{submission:l({},R,{formAction:m}),preventScrollReset:h||B,enableViewTransition:a?z:void 0});else{let e=eA(y,i);await eW(w,y,{overrideNavigation:e,fetcherSubmission:u,preventScrollReset:h||B,enableViewTransition:a?z:void 0})}}async function eX(e,r,n,o,i,l){let s,u={};try{s=await es(R,e,r,n,o,i,l,m,t)}catch(e){return o.forEach(t=>{u[t.route.id]={type:a.error,error:e}}),u}for(let[e,t]of Object.entries(s)){var c;if(eL((c=t).result)&&W.has(c.result.status)){let r=t.result;u[e]={type:a.redirect,response:function(e,t,r,n,a,o){let i=e.headers.get("Location");if(d(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!Y.test(i)){let l=n.slice(0,n.findIndex(e=>e.route.id===r)+1);i=Z(new URL(t.url),l,a,!0,i,o),e.headers.set("Location",i)}return e}(r,n,e,i,g,D.v7_relativeSplatPath)}}else u[e]=await ec(t)}return u}async function eK(t,r,n,o,i){let l=t.matches,s=eX("loader",t,i,n,r,null),u=Promise.all(o.map(async r=>{if(!r.matches||!r.match||!r.controller)return Promise.resolve({[r.key]:{type:a.error,error:eb(404,{pathname:r.path})}});{let n=(await eX("loader",t,eh(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}})),c=await s,d=(await u).reduce((e,t)=>Object.assign(e,t),{});return await Promise.all([ek(r,c,i.signal,l,t.loaderData),eO(r,d,o)]),{loaderResults:c,fetcherResults:d}}function eZ(){K=!0,ee.push(...tt()),ex.forEach((e,t)=>{ea.has(t)&&en.add(t),e2(t)})}function eQ(e,t,r){void 0===r&&(r={}),A.fetchers.set(e,t),eN({fetchers:new Map(A.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function e0(e,t,r,n){void 0===n&&(n={});let a=eg(A.matches,t);e7(e),eN({errors:{[a.route.id]:r},fetchers:new Map(A.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function e1(e){return D.v7_fetcherPersist&&(eC.set(e,(eC.get(e)||0)+1),eT.has(e)&&eT.delete(e)),A.fetchers.get(e)||q}function e7(e){let t=A.fetchers.get(e);ea.has(e)&&!(t&&"loading"===t.state&&ef.has(e))&&e2(e),ex.delete(e),ef.delete(e),ep.delete(e),eT.delete(e),en.delete(e),A.fetchers.delete(e)}function e2(e){let t=ea.get(e);t&&(t.abort(),ea.delete(e))}function e4(e){for(let t of e){let e=eB(e1(t).data);A.fetchers.set(t,e)}}function e3(){let e=[],t=!1;for(let r of ep){let n=A.fetchers.get(r);d(n,"Expected fetcher: "+r),"loading"===n.state&&(ep.delete(r),e.push(r),t=!0)}return e4(e),t}function e6(e){let t=[];for(let[r,n]of ef)if(n<e){let e=A.fetchers.get(r);d(e,"Expected fetcher: "+r),"loading"===e.state&&(e2(r),ef.delete(r),t.push(r))}return e4(t),t.length>0}function e5(e){A.blockers.delete(e),eF.delete(e)}function e9(e,t){let r=A.blockers.get(e)||J;d("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(A.blockers);n.set(e,t),eN({blockers:n})}function e8(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===eF.size)return;eF.size>1&&h(!1,"A router only supports one blocker at a time");let a=Array.from(eF.entries()),[o,i]=a[a.length-1],l=A.blockers.get(o);if((!l||"proceeding"!==l.state)&&i({currentLocation:t,nextLocation:r,historyAction:n}))return o}function te(e){let t=eb(404,{pathname:e}),{matches:n,route:a}=ew(r||y);return tt(),{notFoundMatches:n,route:a,error:t}}function tt(e){let t=[];return ez.forEach((r,n)=>{(!e||e(n))&&(r.cancel(),t.push(n),ez.delete(n))}),t}function tr(e,t){return O&&O(e,t.map(e=>x(e,A.loaderData)))||e.key}function tn(e,t){if(k){let r=k[tr(e,t)];if("number"==typeof r)return r}return null}function ta(e,t,r){if(S){if(!e)return{active:!0,matches:E(t,r,g,!0)||[]};else if(Object.keys(e[0].params).length>0)return{active:!0,matches:E(t,r,g,!0)}}return{active:!1,matches:null}}async function to(e,n,a){if(!S)return{type:"success",matches:e};let o=e;for(;;){let e=null==r,i=r||y,l=m;try{await S({path:n,matches:o,patch:(e,r)=>{a.aborted||eo(e,r,i,l,t)}})}catch(e){return{type:"error",error:e,partialMatches:o}}finally{e&&!a.aborted&&(y=[...y])}if(a.aborted)return{type:"aborted"};let s=b(i,n,g);if(s)return{type:"success",matches:s};let u=E(i,n,g,!0);if(!u||o.length===u.length&&o.every((e,t)=>e.route.id===u[t].route.id))return{type:"success",matches:null};o=u}}return i={get basename(){return g},get future(){return D},get state(){return A},get routes(){return y},get window(){return c},initialize:function(){if(C=e.history.listen(t=>{let{action:r,location:n,delta:a}=t;if(u){u(),u=void 0;return}h(0===eF.size||null!=a,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=e8({currentLocation:A.location,nextLocation:n,historyAction:r});if(o&&null!=a){let t=new Promise(e=>{u=e});e.history.go(-1*a),e9(o,{state:"blocked",location:n,proceed(){e9(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then(()=>e.history.go(a))},reset(){let e=new Map(A.blockers);e.set(o,J),eN({blockers:e})}});return}return eW(r,n)}),f){var t=c,r=N;try{let e=t.sessionStorage.getItem(X);if(e){let t=JSON.parse(e);for(let[e,n]of Object.entries(t||{}))n&&Array.isArray(n)&&r.set(e,new Set(n||[]))}}catch(e){}let e=()=>(function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(X,JSON.stringify(r))}catch(e){h(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}})(c,N);c.addEventListener("pagehide",e),H=()=>c.removeEventListener("pagehide",e)}return A.initialized||eW(n.Pop,A.location,{initialHydration:!0}),i},subscribe:function(e){return P.add(e),()=>P.delete(e)},enableScrollRestoration:function(e,t,r){if(k=e,M=t,O=r||null,!T&&A.navigation===V){T=!0;let e=tn(A.location,A.matches);null!=e&&eN({restoreScrollPosition:e})}return()=>{k=null,M=null,O=null}},navigate:eI,fetch:function(e,t,n,a){if(v)throw Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");e2(e);let o=!0===(a&&a.flushSync),i=r||y,l=Z(A.location,A.matches,g,D.v7_prependBasename,n,D.v7_relativeSplatPath,t,null==a?void 0:a.relative),s=b(i,l,g),u=ta(s,i,l);if(u.active&&u.matches&&(s=u.matches),!s)return void e0(e,t,eb(404,{pathname:l}),{flushSync:o});let{path:c,submission:d,error:h}=Q(D.v7_normalizeFormMethod,!0,l,a);if(h)return void e0(e,t,h,{flushSync:o});let f=ej(s,c),p=!0===(a&&a.preventScrollReset);d&&eP(d.formMethod)?eJ(e,t,c,f,s,u.active,o,p,d):(ex.set(e,{routeId:t,path:c}),eY(e,t,c,f,s,u.active,o,p,d))},revalidate:function(){if(eZ(),eN({revalidation:"loading"}),"submitting"!==A.navigation.state){if("idle"===A.navigation.state)return void eW(A.historyAction,A.location,{startUninterruptedRevalidation:!0});eW(_||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:!0===z})}},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:e1,deleteFetcher:function(e){if(D.v7_fetcherPersist){let t=(eC.get(e)||0)-1;t<=0?(eC.delete(e),eT.add(e)):eC.set(e,t)}else e7(e);eN({fetchers:new Map(A.fetchers)})},dispose:function(){C&&C(),H&&H(),P.clear(),s&&s.abort(),A.fetchers.forEach((e,t)=>e7(t)),A.blockers.forEach((e,t)=>e5(t))},getBlocker:function(e,t){let r=A.blockers.get(e)||J;return eF.get(e)!==t&&eF.set(e,t),r},deleteBlocker:e5,patchRoutes:function(e,n){let a=null==r;eo(e,n,r||y,m,t),a&&(y=[...y],eN({}))},_internalFetchControllers:ea,_internalActiveDeferreds:ez,_internalSetRoutes:function(e){r=w(e,t,void 0,m={})}}}function Z(e,t,r,n,a,o,i,l){let s,u;if(i){for(let e of(s=[],t))if(s.push(e),e.route.id===i){u=e;break}}else s=t,u=t[t.length-1];let c=M(a||".",O(s,o),L(e.pathname,r)||e.pathname,"path"===l);if(null==a&&(c.search=e.search,c.hash=e.hash),(null==a||""===a||"."===a)&&u){let e=eT(c.search);if(u.route.index&&!e)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(c.search),t=e.getAll("index");e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let r=e.toString();c.search=r?"?"+r:""}}return n&&"/"!==r&&(c.pathname="/"===c.pathname?r:T([r,c.pathname])),v(c)}function Q(e,t,r,n){var a;let o,i;if(!n||!(null!=n&&("formData"in n&&null!=n.formData||"body"in n&&void 0!==n.body)))return{path:r};if(n.formMethod&&(a=n.formMethod,!I.has(a.toLowerCase())))return{path:r,error:eb(405,{method:n.formMethod})};let l=()=>({path:r,error:eb(400,{type:"invalid-body"})}),s=n.formMethod||"get",u=e?s.toUpperCase():s.toLowerCase(),c=ex(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!eP(u))return l();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"},""):String(n.body);return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}else if("application/json"===n.formEncType){if(!eP(u))return l();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:u,formAction:c,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return l()}}}if(d("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=ef(n.formData),i=n.formData;else if(n.body instanceof FormData)o=ef(n.body),i=n.body;else if(n.body instanceof URLSearchParams)i=ep(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=ep(o)}catch(e){return l()}let h={formMethod:u,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(eP(h.formMethod))return{path:r,submission:h};let f=m(r);return t&&f.search&&eT(f.search)&&o.append("index",""),f.search="?"+o,{path:v(f),submission:h}}function ee(e,t,r){void 0===r&&(r=!1);let n=e.findIndex(e=>e.route.id===t);return n>=0?e.slice(0,r?n+1:n):e}function et(e,t,r,n,a,o,i,s,u,c,d,h,f,p,v,m){let y=m?eS(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),w=e.createURL(a),E=r;o&&t.errors?E=ee(r,Object.keys(t.errors)[0],!0):m&&eS(m[1])&&(E=ee(r,m[0]));let x=m?m[1].statusCode:void 0,R=i&&x&&x>=400,S=E.filter((e,r)=>{var a,i,c;let d,h,{route:f}=e;if(f.lazy)return!0;if(null==f.loader)return!1;if(o)return er(f,t.loaderData,t.errors);if(a=t.loaderData,i=t.matches[r],c=e,d=!i||c.route.id!==i.route.id,h=void 0===a[c.route.id],d||h||u.some(t=>t===e.route.id))return!0;let p=t.matches[r];return ea(e,l({currentUrl:g,currentParams:p.params,nextUrl:w,nextParams:e.params},n,{actionResult:y,actionStatus:x,defaultShouldRevalidate:!R&&(s||g.pathname+g.search===w.pathname+w.search||g.search!==w.search||en(p,e))}))}),D=[];return h.forEach((e,a)=>{if(o||!r.some(t=>t.route.id===e.routeId)||d.has(a))return;let i=b(p,e.path,v);if(!i)return void D.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(a),h=ej(i,e.path),m=!1;f.has(a)?m=!1:c.has(a)?(c.delete(a),m=!0):m=u&&"idle"!==u.state&&void 0===u.data?s:ea(h,l({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:r[r.length-1].params},n,{actionResult:y,actionStatus:x,defaultShouldRevalidate:!R&&s})),m&&D.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:h,controller:new AbortController})}),[S,D]}function er(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return(!!n||!a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function en(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ea(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function eo(e,t,r,n,a){var o;let i;if(e){let t=n[e];d(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),i=t.children}else i=r;let l=w(t.filter(e=>!i.some(t=>(function e(t,r){return"id"in t&&"id"in r&&t.id===r.id||t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive&&((!t.children||0===t.children.length)&&(!r.children||0===r.children.length)||t.children.every((t,n)=>{var a;return null==(a=r.children)?void 0:a.some(r=>e(t,r))}))})(e,t))),a,[e||"_","patch",String((null==(o=i)?void 0:o.length)||"0")],n);i.push(...l)}async function ei(e,t,r){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let a=r[e.id];d(a,"No route found in manifest");let o={};for(let e in n){let t=void 0!==a[e]&&"hasErrorBoundary"!==e;h(!t,'Route "'+a.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||g.has(e)||(o[e]=n[e])}Object.assign(a,o),Object.assign(a,l({},t(a),{lazy:void 0}))}async function el(e){let{matches:t}=e,r=t.filter(e=>e.shouldLoad);return(await Promise.all(r.map(e=>e.resolve()))).reduce((e,t,n)=>Object.assign(e,{[r[n].route.id]:t}),{})}async function es(e,t,r,n,o,i,s,u,c,d){let h=i.map(e=>e.route.lazy?ei(e.route,c,u):void 0),f=i.map((e,r)=>{let i=h[r],s=o.some(t=>t.route.id===e.route.id),u=async r=>(r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?eu(t,n,e,i,r,d):Promise.resolve({type:a.data,result:void 0}));return l({},e,{shouldLoad:s,resolve:u})}),p=await e({matches:f,request:n,params:i[0].params,fetcherKey:s,context:d});try{await Promise.all(h)}catch(e){}return p}async function eu(e,t,r,n,o,i){let l,s,u=n=>{let a,l=new Promise((e,t)=>a=t);s=()=>a(),t.signal.addEventListener("abort",s);let u=a=>"function"!=typeof n?Promise.reject(Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: ')+r.route.id+"]")):n({request:t,params:r.params,context:i},...void 0!==a?[a]:[]);return Promise.race([(async()=>{try{let e=await (o?o(e=>u(e)):u());return{type:"data",result:e}}catch(e){return{type:"error",result:e}}})(),l])};try{let o=r.route[e];if(n)if(o){let e,[t]=await Promise.all([u(o).catch(t=>{e=t}),n]);if(void 0!==e)throw e;l=t}else if(await n,o=r.route[e])l=await u(o);else{if("action"!==e)return{type:a.data,result:void 0};let n=new URL(t.url),o=n.pathname+n.search;throw eb(405,{method:t.method,pathname:o,routeId:r.route.id})}else if(o)l=await u(o);else{let e=new URL(t.url),r=e.pathname+e.search;throw eb(404,{pathname:r})}d(void 0!==l.result,"You defined "+("action"===e?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `")+e+"` function. Please return a value or `null`.")}catch(e){return{type:a.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return l}async function ec(e){var t,r,n,o,i,l,s;let{result:u,type:c}=e;if(eL(u)){let e;try{let t=u.headers.get("Content-Type");e=t&&/\bapplication\/json\b/.test(t)?null==u.body?null:await u.json():await u.text()}catch(e){return{type:a.error,error:e}}return c===a.error?{type:a.error,error:new z(u.status,u.statusText,e),statusCode:u.status,headers:u.headers}:{type:a.data,data:e,statusCode:u.status,headers:u.headers}}if(c===a.error){if(eC(u)){if(u.data instanceof Error)return{type:a.error,error:u.data,statusCode:null==(r=u.init)?void 0:r.status};u=new z((null==(t=u.init)?void 0:t.status)||500,void 0,u.data)}return{type:a.error,error:u,statusCode:F(u)?u.status:void 0}}return(s=u)&&"object"==typeof s&&"object"==typeof s.data&&"function"==typeof s.subscribe&&"function"==typeof s.cancel&&"function"==typeof s.resolveData?{type:a.deferred,deferredData:u,statusCode:null==(n=u.init)?void 0:n.status,headers:(null==(o=u.init)?void 0:o.headers)&&new Headers(u.init.headers)}:eC(u)?{type:a.data,data:u.data,statusCode:null==(i=u.init)?void 0:i.status,headers:null!=(l=u.init)&&l.headers?new Headers(u.init.headers):void 0}:{type:a.data,data:u}}function ed(e,t,r){if(Y.test(e)){let n=new URL(e.startsWith("//")?t.protocol+e:e),a=null!=L(n.pathname,r);if(n.origin===t.origin&&a)return n.pathname+n.search+n.hash}return e}function eh(e,t,r,n){let a=e.createURL(ex(t)).toString(),o={signal:r};if(n&&eP(n.formMethod)){let{formMethod:e,formEncType:t}=n;o.method=e.toUpperCase(),"application/json"===t?(o.headers=new Headers({"Content-Type":t}),o.body=JSON.stringify(n.json)):"text/plain"===t?o.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?o.body=ef(n.formData):o.body=n.formData}return new Request(a,o)}function ef(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function ep(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ev(e,t,r,n,a,o,i){let s,u,c,h,f,p,{loaderData:v,errors:m}=(u={},c=null,h=!1,f={},p=n&&eS(n[1])?n[1].error:void 0,t.forEach(e=>{if(!(e.route.id in r))return;let n=e.route.id,a=r[n];if(d(!eD(a),"Cannot handle redirect results in processLoaderData"),eS(a)){let e=a.error;void 0!==p&&(e=p,p=void 0),c=c||{},1;{let r=eg(t,n);null==c[r.route.id]&&(c[r.route.id]=e)}u[n]=void 0,h||(h=!0,s=F(a.error)?a.error.status:500),a.headers&&(f[n]=a.headers)}else eR(a)?(i.set(n,a.deferredData),u[n]=a.deferredData.data,null==a.statusCode||200===a.statusCode||h||(s=a.statusCode)):(u[n]=a.data,a.statusCode&&200!==a.statusCode&&!h&&(s=a.statusCode)),a.headers&&(f[n]=a.headers)}),void 0!==p&&n&&(c={[n[0]]:p},u[n[0]]=void 0),{loaderData:u,errors:c,statusCode:s||200,loaderHeaders:f});return a.forEach(t=>{let{key:r,match:n,controller:a}=t,i=o[r];if(d(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(eS(i)){let t=eg(e.matches,null==n?void 0:n.route.id);m&&m[t.route.id]||(m=l({},m,{[t.route.id]:i.error})),e.fetchers.delete(r)}else if(eD(i))d(!1,"Unhandled fetcher revalidation redirect");else if(eR(i))d(!1,"Unhandled fetcher deferred data");else{let t=eB(i.data);e.fetchers.set(r,t)}}),{loaderData:v,errors:m}}function em(e,t,r,n){let a=l({},t);for(let o of r){let r=o.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(a[r]=t[r]):void 0!==e[r]&&o.route.loader&&(a[r]=e[r]),n&&n.hasOwnProperty(r))break}return a}function ey(e){return e?eS(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function eg(e,t){return(t?e.slice(0,e.findIndex(e=>e.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function ew(e){let t=1===e.length?e[0]:e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function eb(e,t){let{pathname:r,routeId:n,method:a,type:o,message:i}=void 0===t?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(l="Bad Request",a&&r&&n?s="You made a "+a+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===o?s="defer() is not supported in actions":"invalid-body"===o&&(s="Unable to encode submission body")):403===e?(l="Forbidden",s='Route "'+n+'" does not match URL "'+r+'"'):404===e?(l="Not Found",s='No route matches URL "'+r+'"'):405===e&&(l="Method Not Allowed",a&&r&&n?s="You made a "+a.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':a&&(s='Invalid request method "'+a.toUpperCase()+'"')),new z(e||500,l,Error(s),!0)}function eE(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(eD(n))return{key:r,result:n}}}function ex(e){let t="string"==typeof e?m(e):e;return v(l({},t,{hash:""}))}function eR(e){return e.type===a.deferred}function eS(e){return e.type===a.error}function eD(e){return(e&&e.type)===a.redirect}function eC(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function eL(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function eP(e){return H.has(e.toLowerCase())}async function ek(e,t,r,n,a){let o=Object.entries(t);for(let i=0;i<o.length;i++){let[l,s]=o[i],u=e.find(e=>(null==e?void 0:e.route.id)===l);if(!u)continue;let c=n.find(e=>e.route.id===u.route.id),d=null!=c&&!en(c,u)&&(a&&a[u.route.id])!==void 0;eR(s)&&d&&await eM(s,r,!1).then(e=>{e&&(t[l]=e)})}}async function eO(e,t,r){for(let n=0;n<r.length;n++){let{key:a,routeId:o,controller:i}=r[n],l=t[a];e.find(e=>(null==e?void 0:e.route.id)===o)&&eR(l)&&(d(i,"Expected an AbortController for revalidating fetcher deferred result"),await eM(l,i.signal,!0).then(e=>{e&&(t[a]=e)}))}}async function eM(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:a.data,data:e.deferredData.unwrappedData}}catch(e){return{type:a.error,error:e}}return{type:a.data,data:e.deferredData.data}}}function eT(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function ej(e,t){let r="string"==typeof t?m(t).search:t.search;if(e[e.length-1].route.index&&eT(r||""))return e[e.length-1];let n=k(e);return n[n.length-1]}function eU(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(t&&r&&n){if(null!=a)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};else if(null!=o)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};else if(void 0!==i)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function eA(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function e_(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function eB(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}Symbol("deferred")},97271:function(e,t,r){r.d(t,{Ge:()=>g,N_:()=>O,Ys:()=>y,k2:()=>M,pg:()=>C});var n,a,o,i,l,s,u=r(73271),c=r(40626),d=r(97621),h=r(61621);function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}let v=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],m=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(e){}function y(e,t){return(0,h.aE)({basename:null==t?void 0:t.basename,future:f({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,h.zR)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||w(),routes:e,mapRouteProperties:d.wE,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function g(e,t){return(0,h.aE)({basename:null==t?void 0:t.basename,future:f({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,h.TM)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||w(),routes:e,mapRouteProperties:d.wE,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function w(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=f({},t,{errors:function(e){if(!e)return null;let t=Object.entries(e),r={};for(let[e,n]of t)if(n&&"RouteErrorResponse"===n.__type)r[e]=new h.VV(n.status,n.statusText,n.data,!0===n.internal);else if(n&&"Error"===n.__type){if(n.__subType){let t=window[n.__subType];if("function"==typeof t)try{let a=new t(n.message);a.stack="",r[e]=a}catch(e){}}if(null==r[e]){let t=Error(n.message);t.stack="",r[e]=t}}else r[e]=n;return r}(t.errors)})),t}let b=u.createContext({isTransitioning:!1}),E=u.createContext(new Map),x=(o||(o=r.t(u,2))).startTransition,R=(i||(i=r.t(c,2))).flushSync;function S(e){R?R(e):e()}(o||(o=r.t(u,2))).useId;class D{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}})}}function C(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=u.useState(r.state),[i,l]=u.useState(),[s,c]=u.useState({isTransitioning:!1}),[h,f]=u.useState(),[p,v]=u.useState(),[m,y]=u.useState(),g=u.useRef(new Map),{v7_startTransition:w}=n||{},R=u.useCallback(e=>{if(w)x?x(e):e();else e()},[w]),C=u.useCallback((e,t)=>{let{deletedFetchers:n,flushSync:a,viewTransitionOpts:i}=t;n.forEach(e=>g.current.delete(e)),e.fetchers.forEach((e,t)=>{void 0!==e.data&&g.current.set(t,e.data)});let s=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(!i||s)return void(a?S(()=>o(e)):R(()=>o(e)));if(a){S(()=>{p&&(h&&h.resolve(),p.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})});let t=r.window.document.startViewTransition(()=>{S(()=>o(e))});t.finished.finally(()=>{S(()=>{f(void 0),v(void 0),l(void 0),c({isTransitioning:!1})})}),S(()=>v(t));return}p?(h&&h.resolve(),p.skipTransition(),y({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(l(e),c({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))},[r.window,p,h,g,R]);u.useLayoutEffect(()=>r.subscribe(C),[r,C]),u.useEffect(()=>{s.isTransitioning&&!s.flushSync&&f(new D)},[s]),u.useEffect(()=>{if(h&&i&&r.window){let e=h.promise,t=r.window.document.startViewTransition(async()=>{R(()=>o(i)),await e});t.finished.finally(()=>{f(void 0),v(void 0),l(void 0),c({isTransitioning:!1})}),v(t)}},[R,i,h,r.window]),u.useEffect(()=>{h&&i&&a.location.key===i.location.key&&h.resolve()},[h,p,a.location,i]),u.useEffect(()=>{!s.isTransitioning&&m&&(l(m.state),c({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),y(void 0))},[s.isTransitioning,m]),u.useEffect(()=>{},[]);let P=u.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:e=>r.navigate(e),push:(e,t,n)=>r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset}),replace:(e,t,n)=>r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}),[r]),k=r.basename||"/",O=u.useMemo(()=>({router:r,navigator:P,static:!1,basename:k}),[r,P,k]),M=u.useMemo(()=>({v7_relativeSplatPath:r.future.v7_relativeSplatPath}),[r.future.v7_relativeSplatPath]);return u.createElement(u.Fragment,null,u.createElement(d.sp.Provider,{value:O},u.createElement(d.Rq.Provider,{value:a},u.createElement(E.Provider,{value:g.current},u.createElement(b.Provider,{value:s},u.createElement(d.Ix,{basename:k,location:a.location,navigationType:a.historyAction,navigator:P,future:M},a.initialized||r.future.v7_partialHydration?u.createElement(L,{routes:r.routes,future:r.future,state:a}):t))))),null)}let L=u.memo(function(e){let{routes:t,future:r,state:n}=e;return(0,d.ph)(t,void 0,n,r)}),P="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,k=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,O=u.forwardRef(function(e,t){let r,{onClick:n,relative:a,reloadDocument:o,replace:i,state:l,target:s,to:c,preventScrollReset:m,viewTransition:y}=e,g=p(e,v),{basename:w}=u.useContext(d.jb),b=!1;if("string"==typeof c&&k.test(c)&&(r=c,P))try{let e=new URL(window.location.href),t=new URL(c.startsWith("//")?e.protocol+c:c),r=(0,h.pb)(t.pathname,w);t.origin===e.origin&&null!=r?c=r+t.search+t.hash:b=!0}catch(e){}let E=(0,d.$P)(c,{relative:a}),x=function(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,viewTransition:l}=void 0===t?{}:t,s=(0,d.Zp)(),c=(0,d.zy)(),f=(0,d.x$)(e,{relative:i});return u.useCallback(t=>{0!==t.button||r&&"_self"!==r||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),s(e,{replace:void 0!==n?n:(0,h.AO)(c)===(0,h.AO)(f),state:a,preventScrollReset:o,relative:i,viewTransition:l}))},[c,s,f,n,a,r,e,o,i,l])}(c,{replace:i,state:l,target:s,preventScrollReset:m,relative:a,viewTransition:y});return u.createElement("a",f({},g,{href:r||E,onClick:b||o?n:function(e){n&&n(e),e.defaultPrevented||x(e)},ref:t,target:s}))}),M=u.forwardRef(function(e,t){let r,{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:s,to:c,viewTransition:v,children:y}=e,g=p(e,m),w=(0,d.x$)(c,{relative:g.relative}),E=(0,d.zy)(),x=u.useContext(d.Rq),{navigator:R,basename:S}=u.useContext(d.jb),D=null!=x&&function(e,t){let r;void 0===t&&(t={});let n=u.useContext(b);null==n&&(0,h.Oi)(!1);let{basename:a}=(l.useViewTransitionState,(r=u.useContext(d.sp))||(0,h.Oi)(!1),r),o=(0,d.x$)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=(0,h.pb)(n.currentLocation.pathname,a)||n.currentLocation.pathname,s=(0,h.pb)(n.nextLocation.pathname,a)||n.nextLocation.pathname;return null!=(0,h.B6)(o.pathname,s)||null!=(0,h.B6)(o.pathname,i)}(w)&&!0===v,C=R.encodeLocation?R.encodeLocation(w).pathname:w.pathname,L=E.pathname,P=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;a||(L=L.toLowerCase(),P=P?P.toLowerCase():null,C=C.toLowerCase()),P&&S&&(P=(0,h.pb)(P,S)||P);let k="/"!==C&&C.endsWith("/")?C.length-1:C.length,M=L===C||!i&&L.startsWith(C)&&"/"===L.charAt(k),T=null!=P&&(P===C||!i&&P.startsWith(C)&&"/"===P.charAt(C.length)),j={isActive:M,isPending:T,isTransitioning:D},U=M?n:void 0;r="function"==typeof o?o(j):[o,M?"active":null,T?"pending":null,D?"transitioning":null].filter(Boolean).join(" ");let A="function"==typeof s?s(j):s;return u.createElement(O,f({},g,{"aria-current":U,className:r,ref:t,style:A,to:c,viewTransition:v}),"function"==typeof y?y(j):y)});(n=l||(l={})).UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState",(a=s||(s={})).UseFetcher="useFetcher",a.UseFetchers="useFetchers",a.UseScrollRestoration="useScrollRestoration"},97621:function(e,t,r){r.d(t,{$P:()=>m,BV:()=>I,Eu:()=>$,FE:()=>A,Ix:()=>H,LG:()=>_,RQ:()=>w,Rq:()=>d,Zp:()=>E,g:()=>R,jb:()=>h,ph:()=>D,qh:()=>N,r5:()=>B,sp:()=>c,sv:()=>F,vL:()=>U,wE:()=>V,x$:()=>S,zy:()=>g});var n,a,o,i,l=r(73271),s=r(61621);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let c=l.createContext(null),d=l.createContext(null),h=l.createContext(null),f=l.createContext(null),p=l.createContext({outlet:null,matches:[],isDataRoute:!1}),v=l.createContext(null);function m(e,t){let{relative:r}=void 0===t?{}:t;y()||(0,s.Oi)(!1);let{basename:n,navigator:a}=l.useContext(h),{hash:o,pathname:i,search:u}=S(e,{relative:r}),c=i;return"/"!==n&&(c="/"===i?n:(0,s.HS)([n,i])),a.createHref({pathname:c,search:u,hash:o})}function y(){return null!=l.useContext(f)}function g(){return y()||(0,s.Oi)(!1),l.useContext(f).location}function w(e){y()||(0,s.Oi)(!1);let{pathname:t}=g();return l.useMemo(()=>(0,s.B6)(e,(0,s.RO)(t)),[t,e])}function b(e){l.useContext(h).static||l.useLayoutEffect(e)}function E(){let{isDataRoute:e}=l.useContext(p);return e?function(){let{router:e}=M(k.UseNavigateStable),t=j(O.UseNavigateStable),r=l.useRef(!1);return b(()=>{r.current=!0}),l.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,u({fromRouteId:t},a)))},[e,t])}():function(){y()||(0,s.Oi)(!1);let e=l.useContext(c),{basename:t,future:r,navigator:n}=l.useContext(h),{matches:a}=l.useContext(p),{pathname:o}=g(),i=JSON.stringify((0,s.yD)(a,r.v7_relativeSplatPath)),u=l.useRef(!1);return b(()=>{u.current=!0}),l.useCallback(function(r,a){if(void 0===a&&(a={}),!u.current)return;if("number"==typeof r)return void n.go(r);let l=(0,s.Gh)(r,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:(0,s.HS)([t,l.pathname])),(a.replace?n.replace:n.push)(l,a.state,a)},[t,n,i,o,e])}()}let x=l.createContext(null);function R(){let{matches:e}=l.useContext(p),t=e[e.length-1];return t?t.params:{}}function S(e,t){let{relative:r}=void 0===t?{}:t,{future:n}=l.useContext(h),{matches:a}=l.useContext(p),{pathname:o}=g(),i=JSON.stringify((0,s.yD)(a,n.v7_relativeSplatPath));return l.useMemo(()=>(0,s.Gh)(e,JSON.parse(i),o,"path"===r),[e,i,o,r])}function D(e,t,r,n){let a;y()||(0,s.Oi)(!1);let{navigator:o}=l.useContext(h),{matches:i}=l.useContext(p),c=i[i.length-1],d=c?c.params:{};c&&c.pathname;let v=c?c.pathnameBase:"/";c&&c.route;let m=g();if(t){var w;let e="string"==typeof t?(0,s.Rr)(t):t;"/"===v||(null==(w=e.pathname)?void 0:w.startsWith(v))||(0,s.Oi)(!1),a=e}else a=m;let b=a.pathname||"/",E=b;if("/"!==v){let e=v.replace(/^\//,"").split("/");E="/"+b.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=(0,s.ue)(e,{pathname:E}),R=function(e,t,r,n){var a,o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(null==(o=n)||!o.v7_partialHydration||0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let i=e,u=null==(a=r)?void 0:a.errors;if(null!=u){let e=i.findIndex(e=>e.route.id&&(null==u?void 0:u[e.route.id])!==void 0);e>=0||(0,s.Oi)(!1),i=i.slice(0,Math.min(i.length,e+1))}let c=!1,d=-1;if(r&&n&&n.v7_partialHydration)for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:n}=r,a=t.route.loader&&void 0===e[t.route.id]&&(!n||void 0===n[t.route.id]);if(t.route.lazy||a){c=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight((e,n,a)=>{var o;let s,h=!1,f=null,p=null;r&&(s=u&&n.route.id?u[n.route.id]:void 0,f=n.route.errorElement||C,c&&(d<0&&0===a?(o="route-fallback",z[o]||(z[o]=!0),h=!0,p=null):d===a&&(h=!0,p=n.route.hydrateFallbackElement||null)));let v=t.concat(i.slice(0,a+1)),m=()=>{let t;return t=s?f:h?p:n.route.Component?l.createElement(n.route.Component,null):n.route.element?n.route.element:e,l.createElement(P,{match:n,routeContext:{outlet:e,matches:v,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===a)?l.createElement(L,{location:r.location,revalidation:r.revalidation,component:f,error:s,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}(x&&x.map(e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:(0,s.HS)([v,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?v:(0,s.HS)([v,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,r,n);return t&&R?l.createElement(f.Provider,{value:{location:u({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:s.rc.Pop}},R):R}let C=l.createElement(function(){let e=B(),t=(0,s.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),r?l.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)},null);class L extends l.Component{static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?l.createElement(p.Provider,{value:this.props.routeContext},l.createElement(v.Provider,{value:this.state.error,children:this.props.component})):this.props.children}constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}}function P(e){let{routeContext:t,match:r,children:n}=e,a=l.useContext(c);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),l.createElement(p.Provider,{value:t},n)}var k=((n=k||{}).UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n),O=((a=O||{}).UseBlocker="useBlocker",a.UseLoaderData="useLoaderData",a.UseActionData="useActionData",a.UseRouteError="useRouteError",a.UseNavigation="useNavigation",a.UseRouteLoaderData="useRouteLoaderData",a.UseMatches="useMatches",a.UseRevalidator="useRevalidator",a.UseNavigateStable="useNavigate",a.UseRouteId="useRouteId",a);function M(e){let t=l.useContext(c);return t||(0,s.Oi)(!1),t}function T(e){let t=l.useContext(d);return t||(0,s.Oi)(!1),t}function j(e){let t,r=((t=l.useContext(p))||(0,s.Oi)(!1),t),n=r.matches[r.matches.length-1];return n.route.id||(0,s.Oi)(!1),n.route.id}function U(){let e=M(k.UseRevalidator),t=T(O.UseRevalidator);return l.useMemo(()=>({revalidate:e.router.revalidate,state:t.revalidation}),[e.router.revalidate,t.revalidation])}function A(){let{matches:e,loaderData:t}=T(O.UseMatches);return l.useMemo(()=>e.map(e=>(0,s.ro)(e,t)),[e,t])}function _(){let e=T(O.UseLoaderData),t=j(O.UseLoaderData);return e.errors&&null!=e.errors[t]?void console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")"):e.loaderData[t]}function B(){var e;let t=l.useContext(v),r=T(O.UseRouteError),n=j(O.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}let z={};function F(e){var t;let r;return t=e.context,(r=l.useContext(p).outlet)?l.createElement(x.Provider,{value:t},r):r}function N(e){(0,s.Oi)(!1)}function H(e){let{basename:t="/",children:r=null,location:n,navigationType:a=s.rc.Pop,navigator:o,static:i=!1,future:c}=e;y()&&(0,s.Oi)(!1);let d=t.replace(/^\/*/,"/"),p=l.useMemo(()=>({basename:d,navigator:o,static:i,future:u({v7_relativeSplatPath:!1},c)}),[d,c,o,i]);"string"==typeof n&&(n=(0,s.Rr)(n));let{pathname:v="/",search:m="",hash:g="",state:w=null,key:b="default"}=n,E=l.useMemo(()=>{let e=(0,s.pb)(v,d);return null==e?null:{location:{pathname:e,search:m,hash:g,state:w,key:b},navigationType:a}},[d,v,m,g,w,b,a]);return null==E?null:l.createElement(h.Provider,{value:p},l.createElement(f.Provider,{children:r,value:E}))}function I(e){let{children:t,location:r}=e;return D($(t),r)}(i||(i=r.t(l,2))).startTransition;var W=((o=W||{})[o.pending=0]="pending",o[o.success=1]="success",o[o.error=2]="error",o);function $(e,t){void 0===t&&(t=[]);let r=[];return l.Children.forEach(e,(e,n)=>{if(!l.isValidElement(e))return;let a=[...t,n];if(e.type===l.Fragment)return void r.push.apply(r,$(e.props.children,a));e.type!==N&&(0,s.Oi)(!1),e.props.index&&e.props.children&&(0,s.Oi)(!1);let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=$(e.props.children,a)),r.push(o)}),r}function V(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:l.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:l.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:l.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}new Promise(()=>{}),l.Component}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["491"],{86677:function(e,t,o){var n=o(30255),l=o(68015),r=o(20482),i=o(85009),s=o(96486),a=o(66144),c=o(50609),d=o(19461),u=o.n(d),m=o(48630),h=o.n(m),v=o(7817),p=o(99699);let y=s.MessagePortChannel.wait(window,"channel:connect:client"),f=new i.s,g=(0,v.createBridge)(window,f),w=y.then(e=>{let t=(0,c.FF)();return{remote:(0,a.L4)({async activateReactDevtools(){(0,v.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("788").then(o.bind(o,89495)),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.BX)({loaded:!1}),b=h()();w.then(e=>{let{remote:t,hooks:o}=e;f.bindRemote(t,"sendReactDevtoolsData"),o.hook("onFinishRender",async()=>{k.loaded=!0,b.resolve()})});var _=o(38987),j=o(73271),x=o(62729);let C=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=>{var o,n,l;let{key:r}=e;return o=t.key,null!=(l=null==(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[o])?void 0:n.includes(r))&&l}),[l]=o.splice(n,1);return[t,l,o[0],o[1]]},A=(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 E=o(59088),S=o(23205),N=o(7252),R=o(83008),D=o(57773),P=o(95329);let T=e=>{var t;let o=null==(t=e.keepAlive)||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 B=o(5401),L=o(20797);let X=e=>{var t;let[o,l]=(0,B.A)(()=>Promise.resolve(e.onClick()),[]);return(0,n.jsx)("button",{className:L.A.container,onClick:l,"data-type":null!=(t=e.type)?t:"default",disabled:o.loading,children:e.children})};var Y=o(62302),H=o(79537),I=o(40229),O=o(54955),F=o(23134),U=o(7163);let W=e=>{var{src:t,onClose:o}=e,i=(0,H._)(e,["src","onClose"]);let{loaded:s}=(0,O.s)(k);return(0,n.jsxs)(I.a,(0,r._)((0,l._)({className:U.A.container},i),{children:[(0,n.jsx)("iframe",{className:U.A.frame,src:t}),(0,n.jsx)(R.y1J,{className:U.A.closeButton,onClick:o}),(0,n.jsx)("div",{className:U.A.backdrop,style:{display:s?"none":void 0},children:(0,n.jsx)(F.R,{})})]}))},K=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[1];return"string"!=typeof n?null:""===n?"/":n},M=e=>{let t=K(),[o,i]=(0,D.A)(!!t),[s,a]=(0,j.useState)(!1),c=(e=>{var t;let o=null!=(t=null==e?void 0:e.margin)?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]=C((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}})(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=C({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,h,...v]=u,{style:p}=l.el;p.transition="",p[m.key]=m.value,p[h.key]=h.value,p[v[0].key]="auto",p[v[1].key]="auto"};(0,x.A)("blur",i),(0,x.A)("mouseup",i),(0,x.A)("touchend",i),(0,x.A)("mousemove",s),(0,x.A)("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()}}}})({clamp:!0}),[d]=(0,E.B)();(0,x.A)("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 A(w,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,P.A)(async()=>{t&&(await A(w,1e4)).remote.pullUp(t)},[]),(0,n.jsxs)(S.Sx,{appearance:d,className:d,hasBackground:!1,style:{height:0,width:0,minHeight:0,minWidth:0},children:[(0,n.jsx)(T,{when:o,keepAlive:!0,load:s,children:(0,n.jsx)("div",{className:Y.A.container,children:(0,n.jsx)(W,{src:e.src,onClose:()=>i(!1),style:{pointerEvents:c.isDragging?"none":"auto"}})})}),(0,n.jsxs)(N.s,(0,r._)((0,l._)({className:Y.A.fab},c.props),{align:"center",children:[(0,n.jsx)(X,{type:"primary",onClick:i,children:(0,n.jsx)("img",{className:Y.A.logo,src:e.logo})}),(0,n.jsx)(X,{onClick:u,children:(0,n.jsx)(R.SbD,{})})]}))]})},J=()=>{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)(M,{logo:e.context.def.assets.logo,src:l.href})},q=()=>{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)(J,{}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",q):q()}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["493","564","568","648","783","792"],function(){return t(98360),t(24937),t(71603),t(30099),t(86677)}),e.O()}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/devtools-client",
3
- "version": "2.68.12",
3
+ "version": "2.68.13",
4
4
  "engines": {
5
5
  "node": ">=14.0.0"
6
6
  },
@@ -23,7 +23,7 @@
23
23
  "@radix-ui/react-tabs": "^1.1.12",
24
24
  "@radix-ui/react-toast": "^1.2.14",
25
25
  "@radix-ui/themes": "^3.2.1",
26
- "@rsbuild/core": "1.5.3",
26
+ "@rsbuild/core": "1.5.6",
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.68.12",
61
- "@modern-js/devtools-kit": "2.68.12",
62
- "@modern-js/plugin-proxy": "2.68.12",
63
- "@modern-js/runtime": "2.68.12",
64
- "@modern-js/tsconfig": "2.68.12",
65
- "@modern-js/utils": "2.68.12",
66
- "@scripts/jest-config": "2.66.0",
67
- "@modern-js/types": "2.68.12"
60
+ "@modern-js/app-tools": "2.68.13",
61
+ "@modern-js/devtools-kit": "2.68.13",
62
+ "@modern-js/runtime": "2.68.13",
63
+ "@modern-js/tsconfig": "2.68.13",
64
+ "@modern-js/plugin-proxy": "2.68.13",
65
+ "@modern-js/types": "2.68.13",
66
+ "@modern-js/utils": "2.68.13",
67
+ "@scripts/jest-config": "2.66.0"
68
68
  },
69
69
  "dependencies": {
70
70
  "cookie-es": "^1.0.0"