plexus-agent-config 0.0.3 → 0.0.6

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 (146) hide show
  1. package/dist/bin.js +0 -0
  2. package/package.json +10 -4
  3. package/vendor/plexus-agent-config-core/package.json +3 -3
  4. package/vendor/plexus-agent-config-web/.next/BUILD_ID +1 -1
  5. package/vendor/plexus-agent-config-web/.next/app-path-routes-manifest.json +3 -3
  6. package/vendor/plexus-agent-config-web/.next/build-manifest.json +6 -6
  7. package/vendor/plexus-agent-config-web/.next/next-server.js.nft.json +1 -1
  8. package/vendor/plexus-agent-config-web/.next/prerender-manifest.json +3 -3
  9. package/vendor/plexus-agent-config-web/.next/required-server-files.js +4 -4
  10. package/vendor/plexus-agent-config-web/.next/required-server-files.json +4 -4
  11. package/vendor/plexus-agent-config-web/.next/server/app/_global-error/page.js +3 -3
  12. package/vendor/plexus-agent-config-web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  13. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.html +1 -1
  14. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.rsc +1 -1
  15. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  16. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  17. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  18. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  19. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  20. package/vendor/plexus-agent-config-web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  21. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page.js +2 -2
  22. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page.js.nft.json +1 -1
  23. package/vendor/plexus-agent-config-web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  24. package/vendor/plexus-agent-config-web/.next/server/app/about/page.js +2 -2
  25. package/vendor/plexus-agent-config-web/.next/server/app/about/page.js.nft.json +1 -1
  26. package/vendor/plexus-agent-config-web/.next/server/app/about/page_client-reference-manifest.js +1 -1
  27. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page.js +2 -2
  28. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page.js.nft.json +1 -1
  29. package/vendor/plexus-agent-config-web/.next/server/app/agents/[id]/page_client-reference-manifest.js +1 -1
  30. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/file/route.js +1 -1
  31. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/file/route_client-reference-manifest.js +1 -1
  32. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/route.js +1 -1
  33. package/vendor/plexus-agent-config-web/.next/server/app/api/agent/[id]/route_client-reference-manifest.js +1 -1
  34. package/vendor/plexus-agent-config-web/.next/server/app/api/agent-catalog/route.js +1 -1
  35. package/vendor/plexus-agent-config-web/.next/server/app/api/agent-catalog/route_client-reference-manifest.js +1 -1
  36. package/vendor/plexus-agent-config-web/.next/server/app/api/agents/route.js +1 -1
  37. package/vendor/plexus-agent-config-web/.next/server/app/api/agents/route_client-reference-manifest.js +1 -1
  38. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/[id]/restore/route.js +1 -1
  39. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/[id]/restore/route_client-reference-manifest.js +1 -1
  40. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/route.js +1 -1
  41. package/vendor/plexus-agent-config-web/.next/server/app/api/backups/route_client-reference-manifest.js +1 -1
  42. package/vendor/plexus-agent-config-web/.next/server/app/api/config/route.js +1 -1
  43. package/vendor/plexus-agent-config-web/.next/server/app/api/config/route_client-reference-manifest.js +1 -1
  44. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/file/route.js +1 -1
  45. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/file/route_client-reference-manifest.js +1 -1
  46. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/route.js +1 -1
  47. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/[id]/route_client-reference-manifest.js +1 -1
  48. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/route.js +1 -1
  49. package/vendor/plexus-agent-config-web/.next/server/app/api/custom-agents/route_client-reference-manifest.js +1 -1
  50. package/vendor/plexus-agent-config-web/.next/server/app/api/debug/route.js +1 -1
  51. package/vendor/plexus-agent-config-web/.next/server/app/api/debug/route_client-reference-manifest.js +1 -1
  52. package/vendor/plexus-agent-config-web/.next/server/app/api/import/route.js +1 -1
  53. package/vendor/plexus-agent-config-web/.next/server/app/api/import/route_client-reference-manifest.js +1 -1
  54. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/[id]/toggle/route.js +1 -1
  55. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/[id]/toggle/route_client-reference-manifest.js +1 -1
  56. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/effective/route.js +1 -1
  57. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/effective/route_client-reference-manifest.js +1 -1
  58. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/route.js +1 -1
  59. package/vendor/plexus-agent-config-web/.next/server/app/api/mcp/route_client-reference-manifest.js +1 -1
  60. package/vendor/plexus-agent-config-web/.next/server/app/api/rules/route.js +1 -1
  61. package/vendor/plexus-agent-config-web/.next/server/app/api/rules/route_client-reference-manifest.js +1 -1
  62. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/route.js +1 -1
  63. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
  64. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/toggle/route.js +1 -1
  65. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/[id]/toggle/route_client-reference-manifest.js +1 -1
  66. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/effective/route.js +1 -1
  67. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/effective/route_client-reference-manifest.js +1 -1
  68. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/route.js +1 -1
  69. package/vendor/plexus-agent-config-web/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  70. package/vendor/plexus-agent-config-web/.next/server/app/api/spread/route.js +1 -1
  71. package/vendor/plexus-agent-config-web/.next/server/app/api/spread/route_client-reference-manifest.js +1 -1
  72. package/vendor/plexus-agent-config-web/.next/server/app/api/sync/route.js +1 -1
  73. package/vendor/plexus-agent-config-web/.next/server/app/api/sync/route_client-reference-manifest.js +1 -1
  74. package/vendor/plexus-agent-config-web/.next/server/app/api/team/route.js +1 -1
  75. package/vendor/plexus-agent-config-web/.next/server/app/api/team/route_client-reference-manifest.js +1 -1
  76. package/vendor/plexus-agent-config-web/.next/server/app/backups/page.js +2 -2
  77. package/vendor/plexus-agent-config-web/.next/server/app/backups/page.js.nft.json +1 -1
  78. package/vendor/plexus-agent-config-web/.next/server/app/backups/page_client-reference-manifest.js +1 -1
  79. package/vendor/plexus-agent-config-web/.next/server/app/debug/page.js +2 -2
  80. package/vendor/plexus-agent-config-web/.next/server/app/debug/page.js.nft.json +1 -1
  81. package/vendor/plexus-agent-config-web/.next/server/app/debug/page_client-reference-manifest.js +1 -1
  82. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page.js +2 -2
  83. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page.js.nft.json +1 -1
  84. package/vendor/plexus-agent-config-web/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
  85. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page.js +2 -2
  86. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page.js.nft.json +1 -1
  87. package/vendor/plexus-agent-config-web/.next/server/app/mirror/page_client-reference-manifest.js +1 -1
  88. package/vendor/plexus-agent-config-web/.next/server/app/page.js +2 -2
  89. package/vendor/plexus-agent-config-web/.next/server/app/page.js.nft.json +1 -1
  90. package/vendor/plexus-agent-config-web/.next/server/app/page_client-reference-manifest.js +1 -1
  91. package/vendor/plexus-agent-config-web/.next/server/app/rules/page.js +3 -3
  92. package/vendor/plexus-agent-config-web/.next/server/app/rules/page.js.nft.json +1 -1
  93. package/vendor/plexus-agent-config-web/.next/server/app/rules/page_client-reference-manifest.js +1 -1
  94. package/vendor/plexus-agent-config-web/.next/server/app/settings/page.js +2 -2
  95. package/vendor/plexus-agent-config-web/.next/server/app/settings/page.js.nft.json +1 -1
  96. package/vendor/plexus-agent-config-web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  97. package/vendor/plexus-agent-config-web/.next/server/app/skills/page.js +2 -2
  98. package/vendor/plexus-agent-config-web/.next/server/app/skills/page.js.nft.json +1 -1
  99. package/vendor/plexus-agent-config-web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  100. package/vendor/plexus-agent-config-web/.next/server/app/spread/page.js +2 -2
  101. package/vendor/plexus-agent-config-web/.next/server/app/spread/page.js.nft.json +1 -1
  102. package/vendor/plexus-agent-config-web/.next/server/app/spread/page_client-reference-manifest.js +1 -1
  103. package/vendor/plexus-agent-config-web/.next/server/app/team/page.js +2 -2
  104. package/vendor/plexus-agent-config-web/.next/server/app/team/page.js.nft.json +1 -1
  105. package/vendor/plexus-agent-config-web/.next/server/app/team/page_client-reference-manifest.js +1 -1
  106. package/vendor/plexus-agent-config-web/.next/server/app-paths-manifest.json +3 -3
  107. package/vendor/plexus-agent-config-web/.next/server/chunks/479.js +4 -4
  108. package/vendor/plexus-agent-config-web/.next/server/chunks/554.js +1 -0
  109. package/vendor/plexus-agent-config-web/.next/server/chunks/750.js +1 -1
  110. package/vendor/plexus-agent-config-web/.next/server/middleware-build-manifest.js +1 -1
  111. package/vendor/plexus-agent-config-web/.next/server/next-font-manifest.js +1 -1
  112. package/vendor/plexus-agent-config-web/.next/server/next-font-manifest.json +1 -1
  113. package/vendor/plexus-agent-config-web/.next/server/pages/500.html +1 -1
  114. package/vendor/plexus-agent-config-web/.next/server/server-reference-manifest.json +1 -1
  115. package/vendor/plexus-agent-config-web/.next/static/chunks/{1968-9d19293a29f03646.js → 1968-5981314117a6ea1f.js} +2 -2
  116. package/vendor/plexus-agent-config-web/.next/static/chunks/{87c73c54-64138e17754e338c.js → 87c73c54-f46fec743414da25.js} +1 -1
  117. package/vendor/plexus-agent-config-web/.next/static/chunks/app/_not-found/page-8ba48265c993686c.js +1 -0
  118. package/vendor/plexus-agent-config-web/.next/static/chunks/app/about/{page-64a1ee41b87ea86c.js → page-1999365195d3b81a.js} +1 -1
  119. package/vendor/plexus-agent-config-web/.next/static/chunks/app/agents/[id]/page-02c1c68007fb9b26.js +1 -0
  120. package/vendor/plexus-agent-config-web/.next/static/chunks/app/backups/{page-6842a663db4fab47.js → page-5d03fe15d06b372e.js} +2 -2
  121. package/vendor/plexus-agent-config-web/.next/static/chunks/app/debug/{page-19e534df1d13eb98.js → page-2edfcee509b8438c.js} +1 -1
  122. package/vendor/plexus-agent-config-web/.next/static/chunks/app/layout-ebb341e17e16f301.js +1 -0
  123. package/vendor/plexus-agent-config-web/.next/static/chunks/app/mcp/{page-d0d518965db961f1.js → page-d4c83712d8c29f02.js} +1 -1
  124. package/vendor/plexus-agent-config-web/.next/static/chunks/app/mirror/page-5d4ac07dcc3218c5.js +1 -0
  125. package/vendor/plexus-agent-config-web/.next/static/chunks/app/{page-039dbbfad47ff659.js → page-4f00de3290a21755.js} +1 -1
  126. package/vendor/plexus-agent-config-web/.next/static/chunks/app/rules/{page-5bb663fc0ee9960b.js → page-f391407e2ebfcf64.js} +2 -2
  127. package/vendor/plexus-agent-config-web/.next/static/chunks/app/settings/page-0befc46d439ee26c.js +1 -0
  128. package/vendor/plexus-agent-config-web/.next/static/chunks/app/skills/{page-6067058898aa6e10.js → page-a90fec8f4dae0d22.js} +1 -1
  129. package/vendor/plexus-agent-config-web/.next/static/chunks/app/team/{page-edd7f54640e60e94.js → page-ecee567abc21176a.js} +1 -1
  130. package/vendor/plexus-agent-config-web/.next/static/chunks/main-927a633bb48df053.js +5 -0
  131. package/vendor/plexus-agent-config-web/.next/static/chunks/{main-app-4c4bad3c22a66283.js → main-app-e8d8ab3098122763.js} +1 -1
  132. package/vendor/plexus-agent-config-web/.next/static/chunks/next/dist/client/components/builtin/global-error-7dbae5819d7bfddc.js +1 -0
  133. package/vendor/plexus-agent-config-web/.next/static/chunks/webpack-59c0cf3deef5f26f.js +1 -0
  134. package/vendor/plexus-agent-config-web/node_modules/plexus-agent-config-core/package.json +3 -3
  135. package/vendor/plexus-agent-config-web/package.json +3 -3
  136. package/vendor/plexus-agent-config-web/.next/server/chunks/620.js +0 -1
  137. package/vendor/plexus-agent-config-web/.next/static/chunks/app/_not-found/page-303a3bb713044693.js +0 -1
  138. package/vendor/plexus-agent-config-web/.next/static/chunks/app/agents/[id]/page-c3c89d8ae72c75c2.js +0 -1
  139. package/vendor/plexus-agent-config-web/.next/static/chunks/app/layout-c148ba3a96b46ad6.js +0 -1
  140. package/vendor/plexus-agent-config-web/.next/static/chunks/app/mirror/page-e88f348e1a12487a.js +0 -1
  141. package/vendor/plexus-agent-config-web/.next/static/chunks/app/settings/page-8164e1d1a8a08038.js +0 -1
  142. package/vendor/plexus-agent-config-web/.next/static/chunks/main-488dba80110e3bfb.js +0 -5
  143. package/vendor/plexus-agent-config-web/.next/static/chunks/next/dist/client/components/builtin/global-error-821a044f296e83b5.js +0 -1
  144. package/vendor/plexus-agent-config-web/.next/static/chunks/webpack-dd4b9bd51624284c.js +0 -1
  145. /package/vendor/plexus-agent-config-web/.next/static/{cYvZNrsyPRNUjzvxkVMIa → F1j5cMKRUWnwXIl46BSnB}/_buildManifest.js +0 -0
  146. /package/vendor/plexus-agent-config-web/.next/static/{cYvZNrsyPRNUjzvxkVMIa → F1j5cMKRUWnwXIl46BSnB}/_ssgManifest.js +0 -0
@@ -0,0 +1,5 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8792],{181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(9423);let n=(e,...t)=>e;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},211:(e,t,r)=>{"use strict";let n,a,o,i,u,s,l,c,f,d,p,h;Object.defineProperty(t,"__esModule",{value:!0});let _=r(3514);Object.defineProperty(t,"__esModule",{value:!0});var m={emitter:function(){return X},hydrate:function(){return eh},initialize:function(){return z},router:function(){return n},version:function(){return H}};for(var g in m)Object.defineProperty(t,g,{enumerable:!0,get:m[g]});let E=r(4761),y=r(6029);r(8402);let b=E._(r(5729)),P=E._(r(9315)),R=r(8453),v=E._(r(1237)),O=r(3722),T=r(5918),S=r(7873),j=r(7178),A=r(3048),N=r(6256),x=E._(r(853)),w=E._(r(5278)),C=r(8240),I=r(5440),M=r(5255),L=r(8391),D=r(5571),U=r(1693),$=r(5896),k=r(3547),F=r(3349),B=r(745);r(8783),r(5065);let H="16.2.4",X=(0,v.default)(),W=e=>[].slice.call(e),G=!1;class q extends b.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&((0,S.isDynamicRoute)(n.pathname)||location.search||G)||a.props&&a.props.__N_SSG&&(location.search||G))&&n.replace(n.pathname+"?"+String((0,j.assign)((0,j.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!G}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function z(e={}){a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,h=a.defaultLocale;let t=a.assetPrefix||"";if(self.__next_set_public_path__(`${t}/_next/`),o=(0,A.getURL)(),(0,U.hasBasePath)(o)&&(o=(0,D.removeBasePath)(o)),a.scriptLoader){let{initScriptLoader:e}=r(5982);e(a.scriptLoader)}i=new w.default(a.buildId,t);let l=([e,t])=>i.routeLoader.onEntrypoint(e,t);return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>l(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=l,(s=(0,x.default)()).getIsSsr=()=>n.isSsr,u=document.getElementById("__next"),{assetPrefix:t}}function Y(e,t){return(0,y.jsx)(e,{...t})}function V({children:e}){let t=b.default.useMemo(()=>(0,k.adaptForAppRouterInstance)(n),[]);return(0,y.jsx)(q,{fn:e=>Q({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,y.jsx)($.AppRouterContext.Provider,{value:t,children:(0,y.jsx)(F.SearchParamsContext.Provider,{value:(0,k.adaptForSearchParams)(n),children:(0,y.jsx)(k.PathnameContextProviderAdapter,{router:n,isAutoExport:self.__NEXT_DATA__.autoExport??!1,children:(0,y.jsx)(F.PathParamsContext.Provider,{value:(0,k.adaptForPathParams)(n),children:(0,y.jsx)(O.RouterContext.Provider,{value:(0,I.makePublicRouterInstance)(n),children:(0,y.jsx)(R.HeadManagerContext.Provider,{value:s,children:(0,y.jsx)(L.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:e})})})})})})})})}let K=e=>t=>{let r={...t,Component:p,err:a.err,router:n};return(0,y.jsx)(V,{children:Y(e,r)})};function Q(e){let{App:t,err:u}=e;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(({page:n,styleSheets:a})=>l?.Component===n?Promise.resolve().then(()=>_._(r(6387))).then(n=>Promise.resolve().then(()=>_._(r(1446))).then(r=>(e.App=t=r.default,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:n,styleSheets:a}).then(({ErrorComponent:r,styleSheets:i})=>{let s=K(t),l={Component:r,AppTree:s,router:n,ctx:{err:u,pathname:a.page,query:a.query,asPath:o,AppTree:s}};return Promise.resolve(e.props?.err?e.props:(0,A.loadGetInitialProps)(t,l)).then(t=>ed({...e,err:u,Component:r,styleSheets:i,props:t}))})}function J({callback:e}){return b.default.useLayoutEffect(()=>e(),[e]),null}let Z="beforeRender",ee="afterRender",et="afterHydrate",er="routeChange",en="Next.js-hydration",ea="Next.js-route-change-to-render",eo="Next.js-render",ei=null,eu=!0;function es(){[Z,et,ee,er].forEach(e=>performance.clearMarks(e))}function el(){A.ST&&(performance.mark(et),performance.getEntriesByName(Z,"mark").length&&(performance.measure("Next.js-before-hydration","navigationStart",Z),performance.measure(en,Z,et)),d&&performance.getEntriesByName(en).forEach(d),es())}function ec(){if(!A.ST)return;performance.mark(ee);let e=performance.getEntriesByName(er,"mark");e.length&&(performance.getEntriesByName(Z,"mark").length&&(performance.measure(ea,e[0].name,Z),performance.measure(eo,Z,ee),d&&(performance.getEntriesByName(eo).forEach(d),performance.getEntriesByName(ea).forEach(d))),es(),[ea,eo].forEach(e=>performance.clearMeasures(e)))}function ef({callbacks:e,children:t}){return b.default.useLayoutEffect(()=>e.forEach(e=>e()),[e]),t}function ed(e){var t,r;let a,o,{App:i,Component:s,props:f,err:d}=e,p="initial"in e?void 0:e.styleSheets;s=s||l.Component;let h={...f=f||l.props,Component:s,err:d,router:n};l=h;let _=!1,m=new Promise((e,t)=>{c&&c(),o=()=>{c=null,e()},c=()=>{_=!0,c=null;let e=Object.defineProperty(Error("Cancel rendering route"),"__NEXT_ERROR_CODE",{value:"E503",enumerable:!1,configurable:!0});e.cancelled=!0,t(e)}});function g(){o()}!function(){if(!p)return;let e=new Set(W(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=t?.getAttribute("data-n-css");p.forEach(({href:t,text:n})=>{if(!e.has(t)){let e=document.createElement("style");e.setAttribute("data-n-href",t),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(n))}})}();let E=(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(J,{callback:function(){if(p&&!_){let e=new Set(p.map(e=>e.href)),t=W(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n<r.length;++n)e.has(r[n])?t[n].removeAttribute("media"):t[n].setAttribute("media","x");let n=document.querySelector("noscript[data-n-css]");n&&p.forEach(({href:e})=>{let t=document.querySelector(`style[data-n-href="${e}"]`);t&&(n.parentNode.insertBefore(t,n.nextSibling),n=t)}),W(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,T.disableSmoothScrollDuringRouteTransition)(()=>{window.scrollTo(t,r)})}}}),(0,y.jsxs)(V,{children:[Y(i,h),(0,y.jsx)(N.Portal,{type:"next-route-announcer",children:(0,y.jsx)(C.RouteAnnouncer,{})})]})]});return t=u,r=e=>(0,y.jsx)(ef,{callbacks:[e,g],children:(0,y.jsx)(b.default.StrictMode,{children:E})}),A.ST&&performance.mark(Z),a=r(eu?el:ec),ei?(0,b.default.startTransition)(()=>{ei.render(a)}):(ei=P.default.hydrateRoot(t,a,{onRecoverableError:B.onRecoverableError}),eu=!1),m}async function ep(e){if(e.err&&(void 0===e.Component||!e.isHydratePass))return void await Q(e);try{await ed(e)}catch(r){let t=(0,M.getProperError)(r);if(t.cancelled)throw t;await Q({...e,err:t})}}async function eh(e){let t=a.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=({id:e,name:t,startTime:n,value:a,duration:o,entryType:i,entries:u,attribution:s})=>{let l,c=`${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`;u&&u.length&&(l=u[0].startTime);let f={id:e||c,name:t,startTime:n||l,value:null==a?o:a,label:"mark"===i||"measure"===i?"custom":"web-vital"};s&&(f.attribution=s),r.reportWebVitals(f)});let n=await i.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,M.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(a.dynamicIds),n=(0,I.createRouter)(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:f,Component:p,wrapApp:K,err:t,isFallback:!!a.isFallback,subscription:(e,t,r)=>ep(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:h,domainLocales:a.domainLocales,isPreview:a.isPreview}),G=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:p,props:a.props,err:t,isHydratePass:!0};e?.beforeRender&&await e.beforeRender(),ep(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},418:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super(`Invariant: ${e.endsWith(".")?e:e+"."} This is a bug in Next.js.`,t),this.name="InvariantError"}}},521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={isInterceptionAppRoute:function(){return c},isNormalizedAppRoute:function(){return l},parseAppRoute:function(){return function e(t,r){let n,a,i,u=t.split("/").filter(Boolean),l=[];for(let c of u){let u=s(c);if(u){if(r&&("route-group"===u.type||"parallel-route"===u.type))throw Object.defineProperty(new o.InvariantError(`${t} is being parsed as a normalized route, but it has a route group or parallel route segment.`),"__NEXT_ERROR_CODE",{value:"E923",enumerable:!1,configurable:!0});if(l.push(u),u.interceptionMarker){let o=t.split(u.interceptionMarker);if(2!==o.length)throw Object.defineProperty(Error(`Invalid interception route: ${t}`),"__NEXT_ERROR_CODE",{value:"E924",enumerable:!1,configurable:!0});a=r?e(o[0],!0):e(o[0],!1),i=r?e(o[1],!0):e(o[1],!1),n=u.interceptionMarker}}}let c=l.filter(e=>"dynamic"===e.type);return{normalized:r,pathname:t,segments:l,dynamicSegments:c,interceptionMarker:n,interceptingRoute:a,interceptedRoute:i}}},parseAppRouteSegment:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(418),i=r(8987),u=r(6634);function s(e){if(""===e)return null;let t=u.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),r=(0,i.getSegmentParam)(e);return r?{type:"dynamic",name:e,param:r,interceptionMarker:t}:e.startsWith("(")&&e.endsWith(")")?{type:"route-group",name:e,interceptionMarker:t}:e.startsWith("@")?{type:"parallel-route",name:e,interceptionMarker:t}:{type:"static",name:e,interceptionMarker:t}}function l(e){return e.normalized}function c(e){return void 0!==e.interceptionMarker&&void 0!==e.interceptingRoute&&void 0!==e.interceptedRoute}},534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={isRecoverableError:function(){return c},onRecoverableError:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761),i=r(9141),u=o._(r(5255)),s=r(7087),l=new WeakSet;function c(e){return l.has(e)}let f=e=>{let t=(0,u.default)(e)&&"cause"in e?e.cause:e;(0,i.isBailoutToCSRError)(t)||(0,s.reportGlobalError)(t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return a},isPlainObject:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){return Object.prototype.toString.call(e)}function o(e){if("[object Object]"!==a(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createKey:function(){return Y},default:function(){return Q},matchesMiddleware:function(){return F}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761),i=r(3514),u=r(8452),s=r(1966),l=r(5982),c=i._(r(5255)),f=r(2649),d=r(5900),p=o._(r(1237)),h=r(3048),_=r(7873),m=r(4611),g=r(4525),E=r(2588),y=r(1570);r(3714);let b=r(1424),P=r(181),R=r(6978),v=r(5571),O=r(8526),T=r(1693),S=r(7775),j=r(3741),A=r(2497),N=r(7762),x=r(4733),w=r(5455),C=r(7013),I=r(1228),M=r(7071),L=r(5918),D=r(4957),U=r(9542),$=r(3586);function k(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function F(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,b.parsePath)(e.asPath),n=(0,T.hasBasePath)(r)?(0,v.removeBasePath)(r):r,a=(0,O.addBasePath)((0,P.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function B(e){let t=(0,h.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,r){let[n,a]=(0,S.resolveHref)(e,t,!0),o=(0,h.getLocationOrigin)(),i=n.startsWith(o),u=a&&a.startsWith(o);n=B(n),a=a?B(a):a;let s=i?n:(0,O.addBasePath)(n),l=r?B((0,S.resolveHref)(e,r)):a||n;return{url:s,as:u?l:(0,O.addBasePath)(l)}}function X(e,t){let r=(0,u.removeTrailingSlash)((0,f.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,_.isDynamicRoute)(t)&&(0,E.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,u.removeTrailingSlash)(e))}async function W(e){if(!await F(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),o=a||t.headers.get("x-nextjs-matched-path"),i=t.headers.get(D.MATCHED_PATH_HEADER);if(!i||o||i.includes("__next_data_catchall")||i.includes("/_error")||i.includes("/404")||(o=i),o){if(o.startsWith("/")){let t=(0,m.parseRelativeUrl)(o),i=(0,A.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),l=(0,u.removeTrailingSlash)(i.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,s.getClientBuildManifest)()]).then(([o,{__rewrites:u}])=>{let s=(0,P.addLocale)(i.pathname,i.locale);if((0,_.isDynamicRoute)(s)||!a&&o.includes((0,d.normalizeLocalePath)((0,v.removeBasePath)(s),r.router.locales).pathname)){let r=(0,A.getNextPathnameInfo)((0,m.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});t.pathname=s=(0,O.addBasePath)(r.pathname)}if(!o.includes(l)){let e=X(l,o);e!==l&&(l=e)}let c=o.includes(l)?l:X((0,d.normalizeLocalePath)((0,v.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,_.isDynamicRoute)(c)){let e=(0,g.getRouteMatcher)((0,E.getRouteRegex)(c))(s);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=(0,b.parsePath)(e),i=(0,N.formatNextPathnameInfo)({...(0,A.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${i}${t.query}${t.hash}`})}let l=t.headers.get("x-nextjs-redirect");if(l){if(l.startsWith("/")){let e=(0,b.parsePath)(l),t=(0,N.formatNextPathnameInfo)({...(0,A.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:l})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let G=Symbol("SSG_DATA_NOT_FOUND");function q(e){try{return JSON.parse(e)}catch(e){return null}}function z({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:n,isServerRender:a,parseJSON:o,persistCache:i,isBackground:u,unstable_skipClientCache:l}){let{href:c}=new URL(e,window.location.href),f=(0,U.getDeploymentId)(),d=u=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(e,a?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&n?{"x-middleware-prefetch":"1"}:{},f?{"x-deployment-id":f}:{}),method:u?.method??"GET"}).then(t=>t.ok&&u?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(n&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&q(r)?.notFound)return{dataHref:e,json:{notFound:G},response:t,text:r,cacheKey:c};let o=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw a||(0,s.markAssetError)(o),o}let i=t.headers.get(D.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=i&&i!==f){let e=Object.defineProperty(Error("Loaded static props were from an outdated deployment, forcing a hard reload"),"__NEXT_ERROR_CODE",{value:"E989",enumerable:!1,configurable:!0});throw a||(0,s.markAssetError)(e),e}return{dataHref:e,json:o?q(r):null,response:t,text:r,cacheKey:c}})).then(e=>(i&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw l||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,s.markAssetError)(e),e});return l&&i?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=d(u?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function V({url:e,router:t}){if(e===(0,O.addBasePath)((0,P.addLocale)(t.asPath,t.locale)))throw Object.defineProperty(Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=e}let K=({route:e,router:t})=>{let r=!1,n=t.clc=()=>{r=!0};return()=>{if(r){let t=Object.defineProperty(Error(`Abort fetching component for route: "${e}"`),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw t.cancelled=!0,t}n===t.clc&&(t.clc=null)}};class Q{static{this.events=(0,p.default)()}constructor(e,t,r,{initialProps:n,pageLoader:a,App:o,wrapApp:i,Component:s,err:l,subscription:c,isFallback:f,locale:d,locales:p,defaultLocale:g,domainLocales:E,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,y.formatWithValidation)({pathname:(0,O.addBasePath)(e),query:t}),(0,h.getURL)());return}if(n.__NA)return void window.location.reload();if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:u}=n;this._key=u;let{pathname:s}=(0,m.parseRelativeUrl)(a);this.isSsr&&o===(0,O.addBasePath)(this.asPath)&&s===(0,O.addBasePath)(this.pathname)||(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};const P=(0,u.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[P]={Component:s,initial:!0,props:n,err:l,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=Q.events,this.pageLoader=a;const R=(0,_.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!R&&!self.location.search),this.state={route:P,pathname:e,query:t,asPath:R?e:r,isPreview:!!b,locale:void 0,isFallback:f},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){const n={locale:d},a=(0,h.getURL)();this._initialMatchesMiddlewarePromise=F({router:this,locale:d,asPath:a}).then(o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:(0,y.formatWithValidation)({pathname:(0,O.addBasePath)(e),query:t}),a,n),o))}window.addEventListener("popstate",this.onPopState)}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){if((0,$.isJavaScriptURLString)(e.toString())||t&&(0,$.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){if((0,$.isJavaScriptURLString)(e.toString())||t&&(0,$.isJavaScriptURLString)(t.toString()))throw Object.defineProperty(Error("Next.js has blocked a javascript: URL as a security precaution."),"__NEXT_ERROR_CODE",{value:"E978",enumerable:!1,configurable:!0});return{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,a){{if(!this._bfl_s&&!this._bfl_d){let t,o,{BloomFilter:i}=r(4735);try{({__routerFilterStatic:t,__routerFilterDynamic:o}=await (0,s.getClientBuildManifest)())}catch(t){if(console.error(t),a)return!0;return V({url:(0,O.addBasePath)((0,P.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}t?.numHashes&&(this._bfl_s=new i(t.numItems,t.errorRate),this._bfl_s.import(t)),o?.numHashes&&(this._bfl_d=new i(o.numItems,o.errorRate),this._bfl_d.import(o))}let o=!1,i=!1;for(let{as:r,allowMatchCurrent:s}of[{as:e},{as:t}])if(r){let t=(0,u.removeTrailingSlash)(new URL(r,"http://n").pathname),l=(0,O.addBasePath)((0,P.addLocale)(t,n||this.locale));if(s||t!==(0,u.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(o=o||!!this._bfl_s?.contains(t)||!!this._bfl_s?.contains(l),[t,l])){let t=e.split("/");for(let e=0;!i&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){i=!0;break}}}if(o||i){if(a)return!0;return V({url:(0,O.addBasePath)((0,P.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,a){let o,i;if(!(0,w.isLocalURL)(t))return V({url:t,router:this}),!1;let f=1===n._h;f||n.shallow||await this._bfl(r,void 0,n.locale);let d=f||n._shouldResolveHref||(0,b.parsePath)(t).pathname===(0,b.parsePath)(r).pathname,p={...this.state},S=!0!==this.isReady;this.isReady=!0;let j=this.isSsr;if(f||(this.isSsr=!1),f&&this.clc)return!1;let A=p.locale;h.ST&&performance.mark("routeChange");let{shallow:N=!1,scroll:C=!0}=n,L={shallow:N};this._inFlightRoute&&this.clc&&(j||Q.events.emit("routeChangeError",k(),this._inFlightRoute,L),this.clc(),this.clc=null),r=(0,O.addBasePath)((0,P.addLocale)((0,T.hasBasePath)(r)?(0,v.removeBasePath)(r):r,n.locale,this.defaultLocale));let D=(0,R.removeLocale)((0,T.hasBasePath)(r)?(0,v.removeBasePath)(r):r,p.locale);this._inFlightRoute=r;let U=A!==p.locale;if(!f&&this.onlyAHashChange(D)&&!U){p.asPath=D,Q.events.emit("hashChangeStart",r,L),this.changeState(e,t,r,{...n,scroll:!1}),C&&this.scrollToHash(D);try{await this.set(p,this.components[p.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,D,L),e}return Q.events.emit("hashChangeComplete",r,L),!0}let $=(0,m.parseRelativeUrl)(t),{pathname:B,query:W}=$;try{[o,{__rewrites:i}]=await Promise.all([this.pageLoader.getPageList(),(0,s.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return V({url:r,router:this}),!1}this.urlIsNew(D)||U||(e="replaceState");let q=r;B=B?(0,u.removeTrailingSlash)((0,v.removeBasePath)(B)):B;let z=(0,u.removeTrailingSlash)(B),Y=r.startsWith("/")&&(0,m.parseRelativeUrl)(r).pathname;if(this.components[B]?.__appRouter)return V({url:r,router:this}),new Promise(()=>{});let K=!!(Y&&z!==Y&&(!(0,_.isDynamicRoute)(z)||!(0,g.getRouteMatcher)((0,E.getRouteRegex)(z))(Y))),J=!n.shallow&&await F({asPath:r,locale:p.locale,router:this});if(f&&J&&(d=!1),d&&"/_error"!==B&&(n._shouldResolveHref=!0,$.pathname=X(B,o),$.pathname!==B&&(B=$.pathname,$.pathname=(0,O.addBasePath)(B),J||(t=(0,y.formatWithValidation)($)))),!(0,w.isLocalURL)(r))return V({url:r,router:this}),!1;q=(0,R.removeLocale)((0,v.removeBasePath)(q),p.locale),z=(0,u.removeTrailingSlash)(B);let Z=!1;if((0,_.isDynamicRoute)(z)){let e=(0,m.parseRelativeUrl)(q),n=e.pathname,a=(0,E.getRouteRegex)(z);Z=(0,g.getRouteMatcher)(a)(n);let o=z===n,i=o?(0,M.interpolateAs)(z,n,W):{};if(Z&&(!o||i.result))o?r=(0,y.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,I.omit)(W,i.params)})):Object.assign(W,Z);else{let e=Object.keys(a.groups).filter(e=>!W[e]&&!a.groups[e].optional);if(e.length>0&&!J)throw Object.defineProperty(Error((o?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${n}) is incompatible with the \`href\` value (${z}). `)+`Read more: https://nextjs.org/docs/messages/${o?"href-interpolation-failed":"incompatible-href-as"}`),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}f||Q.events.emit("routeChangeStart",r,L);let ee="/404"===this.pathname||"/_error"===this.pathname;try{let i=await this.getRouteInfo({route:z,pathname:B,query:W,as:r,resolvedAs:q,routeProps:L,locale:p.locale,isPreview:p.isPreview,hasMiddleware:J,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:f&&!this.isFallback,isMiddlewareRewrite:K});if(f||n.shallow||await this._bfl(r,"resolvedAs"in i?i.resolvedAs:void 0,p.locale),"route"in i&&J){z=B=i.route||z,L.shallow||(W=Object.assign({},i.query||{},W));let e=(0,T.hasBasePath)($.pathname)?(0,v.removeBasePath)($.pathname):$.pathname;if(Z&&B!==e&&Object.keys(Z).forEach(e=>{Z&&W[e]===Z[e]&&delete W[e]}),(0,_.isDynamicRoute)(B)){let e=!L.shallow&&i.resolvedAs?i.resolvedAs:(0,O.addBasePath)((0,P.addLocale)(new URL(r,location.href).pathname,p.locale),!0);(0,T.hasBasePath)(e)&&(e=(0,v.removeBasePath)(e));let t=(0,E.getRouteRegex)(B),n=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(W,n)}}if("type"in i)if("redirect-internal"===i.type)return this.change(e,i.newUrl,i.newAs,n);else return V({url:i.destination,router:this}),new Promise(()=>{});let u=i.Component;if(u&&u.unstable_scriptLoader&&[].concat(u.unstable_scriptLoader()).forEach(e=>{(0,l.handleClientScriptLoad)(e.props)}),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){n.locale=!1;let t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,m.parseRelativeUrl)(t);r.pathname=X(r.pathname,o);let{url:a,as:i}=H(this,t,t);return this.change(e,a,i,n)}return V({url:t,router:this}),new Promise(()=>{})}if(p.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===G){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:W,as:r,resolvedAs:q,routeProps:{shallow:!1},locale:p.locale,isPreview:p.isPreview,isNotFound:!0}),"type"in i)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}f&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);let s=n.shallow&&p.route===(i.route??z),d=n.scroll??(!f&&!s),h=a??(d?{x:0,y:0}:null),y={...p,route:z,pathname:B,query:W,asPath:D,isFallback:!1};if(f&&ee){if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:W,as:r,resolvedAs:q,routeProps:{shallow:!1},locale:p.locale,isPreview:p.isPreview,isQueryUpdating:f&&!this.isFallback}),"type"in i)throw Object.defineProperty(Error(`Unexpected middleware effect on ${this.pathname}`),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);try{await this.set(y,i,h)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,D,L),e}return!0}if(Q.events.emit("beforeHistoryChange",r,L),this.changeState(e,t,r,n),!(f&&!h&&!S&&!U&&(0,x.compareRouterStates)(y,this.state))){try{await this.set(y,i,h)}catch(e){if(e.cancelled)i.error=i.error||e;else throw e}if(i.error)throw f||Q.events.emit("routeChangeError",i.error,D,L),i.error;f||Q.events.emit("routeChangeComplete",r,L),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n={}){("pushState"!==e||(0,h.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",r))}async handleRouteInfoError(e,t,r,n,a,o){if(e.cancelled)throw e;if((0,s.isAssetError)(e)||o)throw Q.events.emit("routeChangeError",e,n,a),V({url:n,router:this}),k();console.error(e);try{let n,{page:a,styleSheets:o}=await this.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,n,a,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:n,resolvedAs:a,routeProps:o,locale:i,hasMiddleware:s,isPreview:l,unstable_skipClientCache:f,isQueryUpdating:p,isMiddlewareRewrite:h,isNotFound:_}){let m=e;try{let e=this.components[m];if(o.shallow&&e&&this.route===m)return e;let c=K({route:m,router:this});s&&(e=void 0);let g=!e||"initial"in e?void 0:e,E={dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:_?"/404":a,locale:i}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!l,isPrefetch:!1,unstable_skipClientCache:f,isBackground:p},b=p&&!h?null:await W({fetchData:()=>z(E),asPath:_?"/404":a,locale:i,router:this}).catch(e=>{if(p)return null;throw e});if(b&&("/_error"===t||"/404"===t)&&(b.effect=void 0),p&&(b?b.json=self.__NEXT_DATA__.props:b={json:self.__NEXT_DATA__.props}),c(),b?.effect?.type==="redirect-internal"||b?.effect?.type==="redirect-external")return b.effect;if(b?.effect?.type==="rewrite"){let n=(0,u.removeTrailingSlash)(b.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!p||i.includes(n))&&(m=n,t=b.effect.resolvedHref,r={...r,...b.effect.parsedAs.query},a=(0,v.removeBasePath)((0,d.normalizeLocalePath)(b.effect.parsedAs.pathname,this.locales).pathname),e=this.components[m],o.shallow&&e&&this.route===m&&!s))return{...e,route:m}}if((0,j.isAPIRoute)(m))return V({url:n,router:this}),new Promise(()=>{});let P=g||await this.fetchComponent(m).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),R=b?.response?.headers.get("x-middleware-skip"),O=P.__N_SSG||P.__N_SSP;R&&b?.dataHref&&delete this.sdc[b.dataHref];let{props:T,cacheKey:S}=await this._getData(async()=>{if(O){if(b?.json&&!R)return{cacheKey:b.cacheKey,props:b.json};let e=b?.dataHref?b.dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:t,query:r}),asPath:a,locale:i}),n=await z({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:R?{}:this.sdc,persistCache:!l,isPrefetch:!1,unstable_skipClientCache:f});return{cacheKey:n.cacheKey,props:n.json||{}}}return{headers:{},props:await this.getInitialProps(P.Component,{pathname:t,query:r,asPath:n,locale:i,locales:this.locales,defaultLocale:this.defaultLocale})}});return P.__N_SSP&&E.dataHref&&S&&delete this.sdc[S],this.isPreview||!P.__N_SSG||p||z(Object.assign({},E,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),T.pageProps=Object.assign({},T.pageProps),P.props=T,P.route=m,P.query=r,P.resolvedAs=a,this.components[m]=P,P}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),t,r,n,o)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,a]=e.split("#",2);return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,L.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,r={}){if((0,C.isBot)(window.navigator.userAgent))return;let n=(0,m.parseRelativeUrl)(e),a=n.pathname,{pathname:o,query:i}=n,s=o,l=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await F({asPath:t,locale:f,router:this});n.pathname=X(n.pathname,l),(0,_.isDynamicRoute)(n.pathname)&&(o=n.pathname,n.pathname=o,Object.assign(i,(0,g.getRouteMatcher)((0,E.getRouteRegex)(n.pathname))((0,b.parsePath)(t).pathname)||{}),d||(e=(0,y.formatWithValidation)(n)));let p=await W({fetchData:()=>z({dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:s,query:i}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if(p?.effect.type==="rewrite"&&(n.pathname=p.effect.resolvedHref,o=p.effect.resolvedHref,i={...i,...p.effect.parsedAs.query},c=p.effect.parsedAs.pathname,e=(0,y.formatWithValidation)(n)),p?.effect.type==="redirect-external")return;let h=(0,u.removeTrailingSlash)(o);await this._bfl(t,c,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(h).then(t=>!!t&&z({dataHref:p?.json?p?.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](h)])}async fetchComponent(e){let t=K({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,h.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return u},isEqualNode:function(){return i}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(7493);function i(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function u(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"])if(document.querySelector(`style[data-href="${e.props["data-href"]}"]`))return;else e.props.href=e.props["data-href"],e.props["data-href"]=void 0;let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,n="";if(r){let{children:e}=r.props;n="string"==typeof e?e:Array.isArray(e)?e.join(""):""}n!==document.title&&(document.title=n),["meta","base","link","style","script"].forEach(e=>{!function(e,t){let r=document.querySelector("head");if(!r)return;let n=new Set(r.querySelectorAll(`${e}[data-next-head]`));if("meta"===e){let e=r.querySelector("meta[charset]");null!==e&&n.add(e)}let a=[];for(let e=0;e<t.length;e++){let r=function({type:e,props:t}){let r=document.createElement(e);(0,o.setAttributesFromProps)(r,t);let{children:n,dangerouslySetInnerHTML:a}=t;return a?r.innerHTML=a.__html||"":n&&(r.textContent="string"==typeof n?n:Array.isArray(n)?n.join(""):""),r}(t[e]);r.setAttribute("data-next-head","");let u=!0;for(let e of n)if(i(e,r)){n.delete(e),u=!1;break}u&&a.push(r)}for(let e of n)e.parentNode?.removeChild(e);for(let e of a)"meta"===e.tagName.toLowerCase()&&null!==e.getAttribute("charset")&&r.prepend(e),r.appendChild(e)}(e,t[e]||[])})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},935:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseLoaderTree",{enumerable:!0,get:function(){return a}});let n=r(6296);function a(e){let[t,r,a,o]=e,{layout:i,template:u}=a,{page:s}=a;s=t===n.DEFAULT_SEGMENT_KEY?a.defaultPage:s;let l=i?.[1]||u?.[1]||s?.[1];return{page:s,segment:t,modules:a,conventionPath:l,parallelRoutes:r,staticSiblings:o}}},1064:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(9542);if((0,n.getAssetToken)()){let e=(0,n.getAssetTokenQuery)(),t=r.u;r.u=(...r)=>t(...r)+e;let a=r.k;r.k=(...t)=>a(...t)+e;let o=r.miniCssF;r.miniCssF=(...t)=>o(...t)+e}self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1228:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},1237:(e,t)=>{"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},1251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}});var r,n=((r={})[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",r);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={HTTPAccessErrorStatus:function(){return a},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return i},getAccessFallbackErrorTypeByStatus:function(){return l},getAccessFallbackHTTPStatus:function(){return s},isHTTPAccessFallbackError:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},o=new Set(Object.values(a)),i="NEXT_HTTP_ERROR_FALLBACK";function u(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===i&&o.has(Number(r))}function s(e){return Number(e.digest.split(";")[1])}function l(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1424:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},1446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(4761),a=r(6029),o=n._(r(5729)),i=r(3048);async function u({Component:e,ctx:t}){return{pageProps:await (0,i.loadGetInitialProps)(e,t)}}class s extends o.default.Component{static{this.origGetInitialProps=u}static{this.getInitialProps=u}render(){let{Component:e,pageProps:t}=this.props;return(0,a.jsx)(e,{...t})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={safeCompile:function(){return s},safePathToRegexp:function(){return u},safeRegexpToFunction:function(){return l},safeRouteMatcher:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(2680),i=r(6778);function u(e,t,r){if("string"!=typeof e)return(0,o.pathToRegexp)(e,t,r);let n=(0,i.hasAdjacentParameterIssues)(e),a=n?(0,i.normalizeAdjacentParameters)(e):e;try{return(0,o.pathToRegexp)(a,t,r)}catch(a){if(!n)try{let n=(0,i.normalizeAdjacentParameters)(e);return(0,o.pathToRegexp)(n,t,r)}catch(e){}throw a}}function s(e,t){let r=(0,i.hasAdjacentParameterIssues)(e),n=r?(0,i.normalizeAdjacentParameters)(e):e;try{let e=(0,o.compile)(n,t);if(r)return t=>(0,i.stripNormalizedSeparators)(e(t));return e}catch(n){if(!r)try{let r=(0,i.normalizeAdjacentParameters)(e),n=(0,o.compile)(r,t);return e=>(0,i.stripNormalizedSeparators)(n(e))}catch(e){}throw n}}function l(e,t){let r=(0,o.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,i.stripParameterSeparators)(t.params)}}}function c(e){return t=>{let r=e(t);return!!r&&(0,i.stripParameterSeparators)(r)}}},1570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={formatUrl:function(){return u},formatWithValidation:function(){return l},urlObjectKeys:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(3514)._(r(7178)),i=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",u=e.hash||"",s=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==l?(l="//"+(l||""),a&&"/"!==a[0]&&(a="/"+a)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${l}${a}${c}${u}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},1693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return a}});let n=r(9070);function a(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1881:(e,t)=>{"use strict";function r(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},1889:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return i},isRedirectError:function(){return u}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(1251),i="NEXT_REDIRECT";function u(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,a=t.slice(2,-2).join(";"),u=Number(t.at(-2));return r===i&&("replace"===n||"push"===n)&&"string"==typeof a&&!isNaN(u)&&u in o.RedirectStatusCode}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1966:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0});var a={createRouteLoader:function(){return E},getClientBuildManifest:function(){return m},isAssetError:function(){return h},markAssetError:function(){return p}};for(var o in a)Object.defineProperty(t,o,{enumerable:!0,get:a[o]});r(4761),r(1881);let i=r(9712),u=r(6385),s=r(9542),l=r(2514),c=r(3822);function f(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let d=Symbol("ASSET_LOAD_ERROR");function p(e){return Object.defineProperty(e,d,{})}function h(e){return e&&d in e}let _=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function m(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,p(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})),n)}function g(e,t){return m().then(r=>{if(!(t in r))throw p(Object.defineProperty(Error(`Failed to lookup route: ${t}`),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let n=r[t].map(t=>e+"/_next/"+(0,l.encodeURIPath)(t));return{scripts:n.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+(0,s.getAssetTokenQuery)()),css:n.filter(e=>e.endsWith(".css")).map(e=>e+(0,s.getAssetTokenQuery)())}})}function E(e){let t=new Map,r=new Map,a=new Map,o=new Map;function i(e){{var t;let n=r.get(e.toString());return n?n:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(p(Object.defineProperty(Error(`Failed to load script: ${e}`),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n)}}function s(e){let t=a.get(e);return t||a.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error(`Failed to load stylesheet: ${e}`),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw p(e)})),t}return{whenEntrypoint:e=>f(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})},loadRoute(r,a){return f(r,o,()=>{let o;return(0,c.resolvePromiseWithTimeout)(g(e,r).then(({scripts:e,css:n})=>Promise.all([t.has(r)?[]:Promise.all(e.map(i)),Promise.all(n.map(s))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),p(Object.defineProperty(Error(`Route did not complete loading: ${r}`),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0})),n).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(a)throw e;return{error:e}}).finally(()=>o?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(_?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o=`
2
+ link[rel="prefetch"][href^="${t}"],
3
+ link[rel="preload"][href^="${t}"],
4
+ script[src^="${t}"]`;if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(p(Object.defineProperty(Error(`Failed to prefetch: ${t}`),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,u.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=(0,r(9542).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=n,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(1424);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return`${r}${t}${a}${o}`}},2497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(5900),a=r(8538),o=r(9070);function i(e,t){let{basePath:r,i18n:i,trailingSlash:u}=t.nextConfig??{},s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};r&&(0,o.pathHasPrefix)(s.pathname,r)&&(s.pathname=(0,a.removePathPrefix)(s.pathname,r),s.basePath=r);let l=s.pathname;if(s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){let e=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");s.buildId=e[0],l="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(s.pathname=l)}if(i){let e=t.i18nProvider?t.i18nProvider.analyze(s.pathname):(0,n.normalizeLocalePath)(s.pathname,i.locales);s.locale=e.detectedLocale,s.pathname=e.pathname??s.pathname,!e.detectedLocale&&s.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(l):(0,n.normalizeLocalePath)(l,i.locales)).detectedLocale&&(s.locale=e.detectedLocale)}return s}},2514:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},2588:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getNamedMiddlewareRegex:function(){return _},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4957),i=r(6634),u=r(534),s=r(8452),l=r(8507);function c(e,t,r){let n={},a=1,o=[];for(let c of(0,s.removeTrailingSlash)(e).slice(1).split("/")){let e=i.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),s=c.match(l.PARAMETER_PATTERN);if(e&&s&&s[2]){let{key:t,optional:r,repeat:i}=(0,l.parseMatchedParameter)(s[2]);n[t]={pos:a++,repeat:i,optional:r},o.push(`/${(0,u.escapeStringRegexp)(e)}([^/]+?)`)}else if(s&&s[2]){let{key:e,repeat:t,optional:i}=(0,l.parseMatchedParameter)(s[2]);n[e]={pos:a++,repeat:t,optional:i},r&&s[1]&&o.push(`/${(0,u.escapeStringRegexp)(s[1])}`);let c=t?i?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&s[1]&&(c=c.substring(1)),o.push(c)}else o.push(`/${(0,u.escapeStringRegexp)(c)}`);t&&s&&s[3]&&o.push((0,u.escapeStringRegexp)(s[3]))}return{parameterizedRoute:o.join(""),groups:n}}function f(e,{includeSuffix:t=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:n=!1}={}){let{parameterizedRoute:a,groups:o}=c(e,t,r),i=a;return n||(i+="(?:/)?"),{re:RegExp(`^${i}$`),groups:o}}function d({interceptionMarker:e,getSafeRouteKey:t,segment:r,routeKeys:n,keyPrefix:a,backreferenceDuplicateKeys:o}){let i,{key:s,optional:c,repeat:f}=(0,l.parseMatchedParameter)(r),p=s.replace(/\W/g,"");a&&(p=`${a}${p}`);let h=!1;(0===p.length||p.length>30)&&(h=!0),isNaN(parseInt(p.slice(0,1)))||(h=!0),h&&(p=t());let _=p in n;a?n[p]=`${a}${s}`:n[p]=s;let m=e?(0,u.escapeStringRegexp)(e):"";return i=_&&o?`\\k<${p}>`:f?`(?<${p}>.+?)`:`(?<${p}>[^/]+?)`,{key:s,pattern:c?`(?:/${m}${i})?`:`/${m}${i}`,cleanedKey:p,optional:c,repeat:f}}function p(e,t,r,n,a,c={names:{},intercepted:{}}){let f,h=(f=0,()=>{let e="",t=++f;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),_={},m=[],g=[];for(let f of(c=structuredClone(c),(0,s.removeTrailingSlash)(e).slice(1).split("/"))){let e,s=i.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)),p=f.match(l.PARAMETER_PATTERN),E=s?p?.[1]:void 0;if(E&&p?.[2]?(e=t?o.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,c.intercepted[p[2]]=E):e=p?.[2]&&c.intercepted[p[2]]?t?o.NEXT_INTERCEPTION_MARKER_PREFIX:void 0:t?o.NEXT_QUERY_PARAM_PREFIX:void 0,E&&p&&p[2]){let{key:t,pattern:r,cleanedKey:n,repeat:o,optional:i}=d({getSafeRouteKey:h,interceptionMarker:E,segment:p[2],routeKeys:_,keyPrefix:e,backreferenceDuplicateKeys:a});m.push(r),g.push(`/${p[1]}:${c.names[t]??n}${o?i?"*":"+":""}`),c.names[t]??=n}else if(p&&p[2]){n&&p[1]&&(m.push(`/${(0,u.escapeStringRegexp)(p[1])}`),g.push(`/${p[1]}`));let{key:t,pattern:r,cleanedKey:o,repeat:i,optional:s}=d({getSafeRouteKey:h,segment:p[2],routeKeys:_,keyPrefix:e,backreferenceDuplicateKeys:a}),l=r;n&&p[1]&&(l=l.substring(1)),m.push(l),g.push(`/:${c.names[t]??o}${i?s?"*":"+":""}`),c.names[t]??=o}else m.push(`/${(0,u.escapeStringRegexp)(f)}`),g.push(`/${f}`);r&&p&&p[3]&&(m.push((0,u.escapeStringRegexp)(p[3])),g.push(p[3]))}return{namedParameterizedRoute:m.join(""),routeKeys:_,pathToRegexpPattern:g.join(""),reference:c}}function h(e,t){let r=p(e,t.prefixRouteKeys,t.includeSuffix??!1,t.includePrefix??!1,t.backreferenceDuplicateKeys??!1,t.reference),n=r.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(n+="(?:/)?"),{...f(e,t),namedRegex:`^${n}$`,routeKeys:r.routeKeys,pathToRegexpPattern:r.pathToRegexpPattern,reference:r.reference}}function _(e,t){let{parameterizedRoute:r}=c(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:`^/${n?".*":""}$`};let{namedParameterizedRoute:a}=p(e,!1,!1,!1,!1,void 0);return{namedRegex:`^${a}${n?"(?:(/.*)?)":""}$`}}},2649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(6687),a=r(7653);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},2680:e=>{(()=>{"use strict";"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var a="",o=r+1;o<e.length;){var i=e.charCodeAt(o);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i){a+=e[o++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:a}),r=o;continue}if("("===n){var u=1,s="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){s+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--u){o++;break}}else if("("===e[o]&&(u++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));s+=e[o++]}if(u)throw TypeError("Unbalanced pattern at ".concat(r));if(!s)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:s}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,o=void 0===n?"./":n,i=t.delimiter,u=void 0===i?"/#?":i,s=[],l=0,c=0,f="",d=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},p=function(e){var t=d(e);if(void 0!==t)return t;var n=r[c],a=n.type,o=n.index;throw TypeError("Unexpected ".concat(a," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=d("CHAR")||d("ESCAPED_CHAR");)t+=e;return t},_=function(e){for(var t=0;t<u.length;t++){var r=u[t];if(e.indexOf(r)>-1)return!0}return!1},m=function(e){var t=s[s.length-1],r=e||(t&&"string"==typeof t?t:"");if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||_(r)?"[^".concat(a(u),"]+?"):"(?:(?!".concat(a(r),")[^").concat(a(u),"])+?")};c<r.length;){var g=d("CHAR"),E=d("NAME"),y=d("PATTERN");if(E||y){var b=g||"";-1===o.indexOf(b)&&(f+=b,b=""),f&&(s.push(f),f=""),s.push({name:E||l++,prefix:b,suffix:"",pattern:y||m(b),modifier:d("MODIFIER")||""});continue}var P=g||d("ESCAPED_CHAR");if(P){f+=P;continue}if(f&&(s.push(f),f=""),d("OPEN")){var b=h(),R=d("NAME")||"",v=d("PATTERN")||"",O=h();p("CLOSE"),s.push({name:R||(v?l++:""),pattern:R&&!v?m(b):v,prefix:b,suffix:O,modifier:d("MODIFIER")||""});continue}p("END")}return s}function r(e,t){void 0===t&&(t={});var r=o(t),n=t.encode,a=void 0===n?function(e){return e}:n,i=t.validate,u=void 0===i||i,s=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"==typeof o){r+=o;continue}var i=t?t[o.name]:void 0,l="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(i)){if(!c)throw TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===i.length){if(l)continue;throw TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var f=0;f<i.length;f++){var d=a(i[f],o);if(u&&!s[n].test(d))throw TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(d,'"'));r+=o.prefix+d+o.suffix}continue}if("string"==typeof i||"number"==typeof i){var d=a(String(i),o);if(u&&!s[n].test(d))throw TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(d,'"'));r+=o.prefix+d+o.suffix;continue}if(!l){var p=c?"an array":"a string";throw TypeError('Expected "'.concat(o.name,'" to be ').concat(p))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,a=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],i=n.index,u=Object.create(null),s=1;s<n.length;s++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?u[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return a(e,r)}):u[r.name]=a(n[e],r)}}(s);return{path:o,index:i,params:u}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function i(e,t,r){void 0===r&&(r={});for(var n=r.strict,i=void 0!==n&&n,u=r.start,s=r.end,l=r.encode,c=void 0===l?function(e){return e}:l,f=r.delimiter,d=r.endsWith,p="[".concat(a(void 0===d?"":d),"]|$"),h="[".concat(a(void 0===f?"/#?":f),"]"),_=void 0===u||u?"^":"",m=0;m<e.length;m++){var g=e[m];if("string"==typeof g)_+=a(c(g));else{var E=a(c(g.prefix)),y=a(c(g.suffix));if(g.pattern)if(t&&t.push(g),E||y)if("+"===g.modifier||"*"===g.modifier){var b="*"===g.modifier?"?":"";_+="(?:".concat(E,"((?:").concat(g.pattern,")(?:").concat(y).concat(E,"(?:").concat(g.pattern,"))*)").concat(y,")").concat(b)}else _+="(?:".concat(E,"(").concat(g.pattern,")").concat(y,")").concat(g.modifier);else{if("+"===g.modifier||"*"===g.modifier)throw TypeError('Can not repeat "'.concat(g.name,'" without a prefix and suffix'));_+="(".concat(g.pattern,")").concat(g.modifier)}else _+="(?:".concat(E).concat(y,")").concat(g.modifier)}}if(void 0===s||s)i||(_+="".concat(h,"?")),_+=r.endsWith?"(?=".concat(p,")"):"$";else{var P=e[e.length-1],R="string"==typeof P?h.indexOf(P[P.length-1])>-1:void 0===P;i||(_+="(?:".concat(h,"(?=").concat(p,"))?")),R||(_+="(?=".concat(h,"|").concat(p,")"))}return new RegExp(_,o(r))}function u(t,r,n){if(t instanceof RegExp){var a;if(!r)return t;for(var s=/\((?:\?<(.*?)>)?(?!\?)/g,l=0,c=s.exec(t.source);c;)r.push({name:c[1]||l++,prefix:"",suffix:"",modifier:"",pattern:""}),c=s.exec(t.source);return t}return Array.isArray(t)?(a=t.map(function(e){return u(e,r,n).source}),new RegExp("(?:".concat(a.join("|"),")"),o(n))):i(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(u(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=i,t.pathToRegexp=u})(),e.exports=t})()},2723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveParamValue",{enumerable:!0,get:function(){return o}});let n=r(418),a=r(6906);function o(e,t,r,o,i){switch(t){case"catchall":case"optional-catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":let u=[];for(let e=r;e<o.segments.length;e++){let n=o.segments[e];if("static"===n.type){let o=n.name,i=(0,a.interceptionPrefixFromParamType)(t);i&&e===r&&i===n.interceptionMarker&&(o=o.replace(n.interceptionMarker,"")),u.push(o)}else{if(!i.hasOwnProperty(n.param.paramName)){if("optional-catchall"===n.param.paramType)break;return}let e=i[n.param.paramName];Array.isArray(e)?u.push(...e):u.push(e)}}if(u.length>0)return u;if("optional-catchall"===t)return;throw Object.defineProperty(new n.InvariantError(`Unexpected empty path segments match for a route "${o.pathname}" with param "${e}" of type "${t}"`),"__NEXT_ERROR_CODE",{value:"E931",enumerable:!1,configurable:!0});case"dynamic":case"dynamic-intercepted-(..)(..)":case"dynamic-intercepted-(.)":case"dynamic-intercepted-(..)":case"dynamic-intercepted-(...)":if(r<o.segments.length){let e=o.segments[r];if("dynamic"===e.type&&!i.hasOwnProperty(e.param.paramName))return;return"dynamic"===e.type?i[e.param.paramName]:(0,a.interceptionPrefixFromParamType)(t)===e.interceptionMarker?e.name.replace(e.interceptionMarker,""):e.name}return}}},3048:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DecodeError:function(){return m},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return g},PageNotFoundError:function(){return E},SP:function(){return h},ST:function(){return _},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return s},getURL:function(){return l},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return P}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>i.test(e);function s(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function l(){let{href:e}=window.location,t=s();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,_=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}class g extends Error{}class E extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},3349:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return c},PathParamsContext:function(){return l},PathnameContext:function(){return s},ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},SearchParamsContext:function(){return u},createDevToolsInstrumentedPromise:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(5729),i=r(4052),u=(0,o.createContext)(null),s=(0,o.createContext)(null),l=(0,o.createContext)(null),c=(0,o.createContext)(null);function f(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},3398:()=>{},3420:(e,t,r)=>{"use strict";var n,a=r(3601);Object.defineProperty(t,"__esModule",{value:!0});var o={APP_CLIENT_INTERNALS:function(){return er},APP_PATHS_MANIFEST:function(){return b},APP_PATH_ROUTES_MANIFEST:function(){return P},AdapterOutputType:function(){return f},BARREL_OPTIMIZATION_PREFIX:function(){return z},BLOCKED_PAGES:function(){return H},BUILD_ID_FILE:function(){return B},BUILD_MANIFEST:function(){return R},CLIENT_PUBLIC_FILES_PATH:function(){return X},CLIENT_REFERENCE_MANIFEST:function(){return Y},CLIENT_STATIC_FILES_PATH:function(){return W},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return et},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return eo},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ei},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return en},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ea},COMPILER_INDEXES:function(){return c},COMPILER_NAMES:function(){return l},CONFIG_FILES:function(){return F},DEFAULT_RUNTIME_WEBPACK:function(){return eu},DEFAULT_SANS_SERIF_FONT:function(){return ed},DEFAULT_SERIF_FONT:function(){return ef},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return U},DEV_CLIENT_PAGES_MANIFEST:function(){return I},DYNAMIC_CSS_MANIFEST:function(){return Z},EDGE_RUNTIME_WEBPACK:function(){return es},EDGE_UNSUPPORTED_NODE_APIS:function(){return eg},EXPORT_DETAIL:function(){return j},EXPORT_MARKER:function(){return S},FUNCTIONS_CONFIG_MANIFEST:function(){return v},IMAGES_MANIFEST:function(){return w},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return J},MIDDLEWARE_BUILD_MANIFEST:function(){return K},MIDDLEWARE_MANIFEST:function(){return M},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return Q},MODERN_BROWSERSLIST_TARGET:function(){return u.default},NEXT_BUILTIN_DOCUMENT:function(){return q},NEXT_FONT_MANIFEST:function(){return T},PAGES_MANIFEST:function(){return y},PHASE_ANALYZE:function(){return p},PHASE_DEVELOPMENT_SERVER:function(){return m},PHASE_EXPORT:function(){return d},PHASE_INFO:function(){return E},PHASE_PRODUCTION_BUILD:function(){return h},PHASE_PRODUCTION_SERVER:function(){return _},PHASE_TEST:function(){return g},PREFETCH_HINTS:function(){return N},PRERENDER_MANIFEST:function(){return A},REACT_LOADABLE_MANIFEST:function(){return $},ROUTES_MANIFEST:function(){return x},RSC_MODULE_TYPES:function(){return em},SERVER_DIRECTORY:function(){return k},SERVER_FILES_MANIFEST:function(){return C},SERVER_PROPS_ID:function(){return ec},SERVER_REFERENCE_MANIFEST:function(){return V},STATIC_PROPS_ID:function(){return el},STATIC_STATUS_PAGES:function(){return ep},STRING_LITERAL_DROP_BUNDLE:function(){return G},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return O},SYSTEM_ENTRYPOINTS:function(){return eE},TRACE_OUTPUT_VERSION:function(){return eh},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return D},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return L},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return e_},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return s.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return s.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return s.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY}};for(var i in o)Object.defineProperty(t,i,{enumerable:!0,get:o[i]});let u=r(4761)._(r(4464)),s=r(4709),l={client:"client",server:"server",edgeServer:"edge-server"},c={[l.client]:0,[l.server]:1,[l.edgeServer]:2};var f=((n={}).PAGES="PAGES",n.PAGES_API="PAGES_API",n.APP_PAGE="APP_PAGE",n.APP_ROUTE="APP_ROUTE",n.PRERENDER="PRERENDER",n.STATIC_FILE="STATIC_FILE",n.MIDDLEWARE="MIDDLEWARE",n);let d="phase-export",p="phase-analyze",h="phase-production-build",_="phase-production-server",m="phase-development-server",g="phase-test",E="phase-info",y="pages-manifest.json",b="app-paths-manifest.json",P="app-path-routes-manifest.json",R="build-manifest.json",v="functions-config-manifest.json",O="subresource-integrity-manifest",T="next-font-manifest",S="export-marker.json",j="export-detail.json",A="prerender-manifest.json",N="prefetch-hints.json",x="routes-manifest.json",w="images-manifest.json",C="required-server-files",I="_devPagesManifest.json",M="middleware-manifest.json",L="_clientMiddlewareManifest.js",D="client-build-manifest.json",U="_devMiddlewareManifest.json",$="react-loadable-manifest.json",k="server",F=["next.config.js","next.config.mjs","next.config.ts",...a?.features?.typescript?["next.config.mts"]:[]],B="BUILD_ID",H=["/_document","/_app","/_error"],X="public",W="static",G="__NEXT_DROP_CLIENT_FILE__",q="__NEXT_BUILTIN_DOCUMENT__",z="__barrel_optimize__",Y="client-reference-manifest",V="server-reference-manifest",K="middleware-build-manifest",Q="middleware-react-loadable-manifest",J="interception-route-rewrite-manifest",Z="dynamic-css-manifest",ee="main",et=`${ee}-app`,er="app-pages-internals",en="react-refresh",ea="webpack",eo="polyfills",ei=Symbol(eo),eu="webpack-runtime",es="edge-runtime-webpack",el="__N_SSG",ec="__N_SSP",ef={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ed={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ep=["/500"],eh=1,e_=6e3,em={client:"client",server:"server"},eg=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eE=new Set([ee,en,et]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3514:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=o?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(a,i,u):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a}r.r(t),r.d(t,{_:()=>a})},3547:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={PathnameContextProviderAdapter:function(){return _},adaptForAppRouterInstance:function(){return d},adaptForPathParams:function(){return h},adaptForSearchParams:function(){return p}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(3514),i=r(6029),u=o._(r(5729)),s=r(3349),l=r(6687),c=r(9259),f=r(2588);function d(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t,{scroll:r}={}){e.push(t,void 0,{scroll:r})},replace(t,{scroll:r}={}){e.replace(t,void 0,{scroll:r})},prefetch(t){e.prefetch(t)}}}function p(e){return e.isReady&&e.query?(0,c.asPathToSearchParams)(e.asPath):new URLSearchParams}function h(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,f.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function _({children:e,router:t,...r}){let n=(0,u.useRef)(r.isAutoExport),a=(0,u.useMemo)(()=>{let e,r=n.current;if(r&&(n.current=!1),(0,l.isDynamicRoute)(t.pathname)&&(t.isFallback||r&&!t.isReady))return null;try{e=new URL(t.asPath,"http://f")}catch(e){return"/"}return e.pathname},[t.asPath,t.isFallback,t.isReady,t.pathname]);return(0,i.jsx)(s.PathnameContext.Provider,{value:a,children:e})}},3582:e=>{var t={229:function(e){var t,r,n,a=e.exports={};function o(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}function u(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var s=[],l=!1,c=-1;function f(){l&&n&&(l=!1,n.length?s=n.concat(s):c=-1,s.length&&d())}function d(){if(!l){var e=u(f);l=!0;for(var t=s.length;t;){for(n=s,s=[];++c<t;)n&&n[c].run();c=-1,t=s.length}n=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new p(e,t)),1!==s.length||l||u(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}},i=!0;try{t[e](o,o.exports,n),i=!1}finally{i&&delete r[e]}return o.exports}n.ab="//",e.exports=n(229)},3586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isJavaScriptURLString",{enumerable:!0,get:function(){return n}});let r=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function n(e){return r.test(""+e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3601:(e,t,r)=>{"use strict";var n,a;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(a=r.g.process)?void 0:a.env)?r.g.process:r(3582)},3714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=(...e)=>{};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3722:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(4761)._(r(5729)).default.createContext(null)},3741:(e,t)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},3822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return a}});let n=r(6385);function a(e,t,r){return new Promise((r,a)=>{let o=!1;e.then(e=>{o=!0,r(e)}).catch(a),(0,n.requestIdleCallback)(()=>setTimeout(()=>{o||a(t)},3800))})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return n}});class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class n extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4177:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={compareAppPaths:function(){return s},normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(5700),i=r(6296);function u(e){return(0,o.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:`${e}/${t}`,""))}function s(e,t){let r=e.includes("/@"),n=t.includes("/@");return r&&!n?-1:!r&&n?1:e.localeCompare(t)}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},4383:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=r(1424);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return`${t}${r}${a}${o}`}},4464:e=>{"use strict";e.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},4525:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(3048),a=r(1534);function o({re:e,groups:t}){return(0,a.safeRouteMatcher)(r=>{let a=e.exec(r);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch{throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(let[e,r]of Object.entries(t)){let t=a[r.pos];void 0!==t&&(r.repeat?i[e]=t.split("/").map(e=>o(e)):i[e]=o(t))}return i})}},4557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return _},defaultHead:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761),i=r(3514),u=r(6029),s=i._(r(5729)),l=o._(r(7098)),c=r(8453);function f(){return[(0,u.jsx)("meta",{charSet:"utf-8"},"charset"),(0,u.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(6625);let p=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,n,a;return e.reduce(d,[]).reverse().concat(f().reverse()).filter((t=new Set,r=new Set,n=new Set,a={},e=>{let o=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?o=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?o=!1:r.add(e.type);break;case"meta":for(let t=0,r=p.length;t<r;t++){let r=p[t];if(e.props.hasOwnProperty(r))if("charSet"===r)n.has(r)?o=!1:n.add(r);else{let t=e.props[r],n=a[r]||new Set;("name"!==r||!i)&&n.has(t)?o=!1:(n.add(t),a[r]=n)}}}return o})).reverse().map((e,t)=>{let r=e.key||t;return s.default.cloneElement(e,{key:r})})}let _=function({children:e}){let t=(0,s.useContext)(c.HeadManagerContext);return(0,u.jsx)(l.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4611:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(3048),a=r(7178);function o(e,t,r=!0){let i=new URL((0,n.getLocationOrigin)()),u=t?new URL(t,i):e.startsWith(".")?new URL(window.location.href):i,{pathname:s,searchParams:l,search:c,hash:f,href:d,origin:p}=e.startsWith("/")?new URL(`${u.protocol}//${u.host}${e}`):new URL(e,u);if(p!==i.origin)throw Object.defineProperty(Error(`invariant: invalid relative URL, router received ${e}`),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{auth:null,host:null,hostname:null,pathname:s,port:null,protocol:null,query:r?(0,a.searchParamsToUrlQuery)(l):void 0,search:c,hash:f,href:d.slice(p.length),slashes:null}}},4709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return i},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return u},UNDERSCORE_NOT_FOUND_ROUTE:function(){return a},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="/_not-found",o=`${a}/page`,i="/_global-error",u=`${i}/page`},4733:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},4735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${r}`)%this.numBits;t.push(n)}return t}}},4761:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},4829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r(4761);let n=r(6029);r(5729);let a=r(5440);function o(e){function t(t){return(0,n.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ACTION_SUFFIX:function(){return _},APP_DIR_ALIAS:function(){return F},CACHE_ONE_YEAR_SECONDS:function(){return x},DOT_NEXT_ALIAS:function(){return $},ESLINT_DEFAULT_DIRS:function(){return ei},GSP_NO_RETURNED_VALUE:function(){return ee},GSSP_COMPONENT_MEMBER_ERROR:function(){return en},GSSP_NO_RETURNED_VALUE:function(){return et},HTML_CONTENT_TYPE_HEADER:function(){return o},INFINITE_CACHE:function(){return w},INSTRUMENTATION_HOOK_FILENAME:function(){return D},JSON_CONTENT_TYPE_HEADER:function(){return i},MATCHED_PATH_HEADER:function(){return l},MIDDLEWARE_FILENAME:function(){return C},MIDDLEWARE_LOCATION_REGEXP:function(){return I},NEXT_BODY_SUFFIX:function(){return E},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return A},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return P},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return R},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return N},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return j},NEXT_CACHE_TAGS_HEADER:function(){return b},NEXT_CACHE_TAG_MAX_ITEMS:function(){return T},NEXT_CACHE_TAG_MAX_LENGTH:function(){return S},NEXT_DATA_SUFFIX:function(){return m},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return s},NEXT_META_SUFFIX:function(){return g},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return y},NEXT_QUERY_PARAM_PREFIX:function(){return u},NEXT_RESUME_HEADER:function(){return v},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return O},NON_STANDARD_NODE_ENV:function(){return ea},PAGES_DIR_ALIAS:function(){return U},PRERENDER_REVALIDATE_HEADER:function(){return c},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return f},PROXY_FILENAME:function(){return M},PROXY_LOCATION_REGEXP:function(){return L},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return Y},ROOT_DIR_ALIAS:function(){return k},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return z},RSC_ACTION_ENCRYPTION_ALIAS:function(){return q},RSC_ACTION_PROXY_ALIAS:function(){return X},RSC_ACTION_VALIDATE_ALIAS:function(){return H},RSC_CACHE_WRAPPER_ALIAS:function(){return W},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return G},RSC_MOD_REF_PROXY_ALIAS:function(){return B},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return p},RSC_SUFFIX:function(){return h},SERVER_PROPS_EXPORT_ERROR:function(){return Z},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return K},SERVER_PROPS_SSG_CONFLICT:function(){return Q},SERVER_RUNTIME:function(){return eu},SSG_FALLBACK_EXPORT_ERROR:function(){return eo},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return V},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return J},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return a},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return er},WEBPACK_LAYERS:function(){return ec},WEBPACK_RESOURCE_QUERIES:function(){return ef},WEB_SOCKET_MAX_RECONNECTIONS:function(){return es}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="text/plain",o="text/html; charset=utf-8",i="application/json; charset=utf-8",u="nxtP",s="nxtI",l="x-matched-path",c="x-prerender-revalidate",f="x-prerender-revalidate-if-generated",d=".segments",p=".segment.rsc",h=".rsc",_=".action",m=".json",g=".meta",E=".body",y="x-nextjs-deployment-id",b="x-next-cache-tags",P="x-next-revalidated-tags",R="x-next-revalidate-tag-token",v="next-resume",O="x-next-resume-state-length",T=128,S=256,j=1024,A="_N_T_",N="_N_RP_",x=31536e3,w=0xfffffffe,C="middleware",I=`(?:src/)?${C}`,M="proxy",L=`(?:src/)?${M}`,D="instrumentation",U="private-next-pages",$="private-dot-next",k="private-next-root-dir",F="private-next-app-dir",B="private-next-rsc-mod-ref-proxy",H="private-next-rsc-action-validate",X="private-next-rsc-server-reference",W="private-next-rsc-cache-wrapper",G="private-next-rsc-track-dynamic-import",q="private-next-rsc-action-encryption",z="private-next-rsc-action-client-wrapper",Y="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",V="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",K="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",Q="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",J="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",Z="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",ee="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",et="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",er="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",en="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",ea='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',eo="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ei=["app","pages","components","lib","src"],eu={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},es=12,el={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},ec={...el,GROUP:{builtinReact:[el.reactServerComponents,el.actionBrowser],serverOnly:[el.reactServerComponents,el.actionBrowser,el.instrument,el.middleware],neutralTarget:[el.apiNode,el.apiEdge],clientOnly:[el.serverSideRendering,el.appPagesBrowser],bundled:[el.reactServerComponents,el.actionBrowser,el.serverSideRendering,el.appPagesBrowser,el.shared,el.instrument,el.middleware],appPages:[el.reactServerComponents,el.serverSideRendering,el.appPagesBrowser,el.actionBrowser]}},ef={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},5065:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=r(1315),a=r(1889);function o(e){return(0,a.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5255:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return i},getProperError:function(){return u}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(762);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function u(e){let t;return i(e)?e:Object.defineProperty(Error((0,o.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},5278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(4761),a=r(8526),o=r(7071),i=n._(r(1881)),u=r(181),s=r(7873),l=r(4611),c=r(8452),f=r(1966);r(3420),r(3822);class d{constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){var t;let r,{asPath:n,href:f,locale:d}=e,{pathname:p,query:h,search:_}=(0,l.parseRelativeUrl)(f),{pathname:m}=(0,l.parseRelativeUrl)(n),g=(0,c.removeTrailingSlash)(p);if("/"!==g[0])throw Object.defineProperty(Error(`Route name should start with a "/", got "${g}"`),"__NEXT_ERROR_CODE",{value:"E303",enumerable:!1,configurable:!0});return t=e.skipInterpolation?m:(0,s.isDynamicRoute)(g)?(0,o.interpolateAs)(p,m,h).result:g,r=(0,i.default)((0,c.removeTrailingSlash)((0,u.addLocale)(t,d)),".json"),(0,a.addBasePath)(`/_next/data/${this.buildId}${r}${_}`,!0)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={Router:function(){return u.default},createRouter:function(){return g},default:function(){return _},makePublicRouterInstance:function(){return E},useRouter:function(){return m},withRouter:function(){return c.default}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761),i=o._(r(5729)),u=o._(r(818)),s=r(3722),l=o._(r(5255)),c=o._(r(4829)),f={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],p=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!f.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E1044",enumerable:!1,configurable:!0});return f.router}Object.defineProperty(f,"events",{get:()=>u.default.events}),d.forEach(e=>{Object.defineProperty(f,e,{get:()=>h()[e]})}),p.forEach(e=>{f[e]=(...t)=>h()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{f.ready(()=>{u.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(f[r])try{f[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,l.default)(e)?`${e.message}
5
+ ${e.stack}`:e+"")}})})});let _=f;function m(){let e=i.default.useContext(s.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function g(...e){return f.router=new u.default(...e),f.readyCallbacks.forEach(e=>e()),f.readyCallbacks=[],f.router}function E(e){let t={};for(let r of d){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=u.default.events,p.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(3048),a=r(1693);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},5571:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(1693),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5700:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:`/${e}`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},5896:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return s},LayoutRouterContext:function(){return u},MissingSlotContext:function(){return c},TemplateContext:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761)._(r(5729)),i=o.default.createContext(null),u=o.default.createContext(null),s=o.default.createContext(null),l=o.default.createContext(null),c=o.default.createContext(new Set)},5900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),u=a.indexOf(i);return u<0?{pathname:e}:(n=t[u],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},5913:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(4383),a=r(9070);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,`/${t.toLowerCase()}`))?e:(0,n.addPathPrefix)(e,`/${t}`)}},5918:(e,t,r)=>{"use strict";function n(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let a=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),r(6625)},5982:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return y},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return g}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761),i=r(3514),u=r(6029),s=o._(r(6760)),l=i._(r(5729)),c=r(8453),f=r(7493),d=r(6385),p=new Map,h=new Set,_=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:u="afterInteractive",onError:l,stylesheets:c}=e,d=r||t;if(d&&h.has(d))return;if(p.has(t)){h.add(d),p.get(t).then(n,l);return}let _=()=>{a&&a(),h.add(d)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),_()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});o?(m.innerHTML=o.__html||"",_()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",_()):t&&(m.src=t,p.set(t,g)),(0,f.setAttributesFromProps)(m,e),"worker"===u&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",u),c&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(m)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>_(e))}):_(e)}function g(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function E(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:o="afterInteractive",onError:i,stylesheets:f,...p}=e,{updateScripts:m,scripts:g,getIsSsr:E,appDir:y,nonce:b}=(0,l.useContext)(c.HeadManagerContext);b=p.nonce||b;let P=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=t||r;P.current||(a&&e&&h.has(e)&&a(),P.current=!0)},[a,t,r]);let R=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{if(!R.current){if("afterInteractive"===o)_(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>_(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>_(e))}));R.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(m?(g[o]=(g[o]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:i,...p,nonce:b}]),m(g)):E&&E()?h.add(t||r):E&&!E()&&_({...e,nonce:b})),y){if(f&&f.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,u.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return s.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:b,crossOrigin:p.crossOrigin}:{as:"script",nonce:b,crossOrigin:p.crossOrigin}),(0,u.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...p,id:t}])})`}});"afterInteractive"===o&&r&&s.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:b,crossOrigin:p.crossOrigin}:{as:"script",nonce:b,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(E,"__nextScript",{value:!0});let y=E;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6256:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return o}});let n=r(5729),a=r(6760),o=({children:e,type:t})=>{let[r,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(t);return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}},[t]),r?(0,a.createPortal)(e,r):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DEFAULT_SEGMENT_KEY:function(){return c},NOT_FOUND_SEGMENT_KEY:function(){return f},PAGE_SEGMENT_KEY:function(){return l},addSearchParamsIfPageSegment:function(){return u},computeSelectedLayoutSegment:function(){return s},getSegmentValue:function(){return a},getSelectedLayoutSegmentPath:function(){return function e(t,r,n=!0,o=[]){let i;if(n)i=t[1][r];else{let e=t[1];i=e.children??Object.values(e)[0]}if(!i)return o;let u=a(i[0]);return!u||u.startsWith(l)?o:(o.push(u),e(i,r,!1,o))}},isGroupSegment:function(){return o},isParallelRouteSegment:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){return Array.isArray(e)?e[1]:e}function o(e){return"("===e[0]&&e.endsWith(")")}function i(e){return e.startsWith("@")&&"@children"!==e}function u(e,t){if(e.includes(l)){let e=JSON.stringify(t);return"{}"!==e?l+"?"+e:l}return e}function s(e,t){if(!e||0===e.length)return null;let r="children"===t?e[0]:e[e.length-1];return r===c?null:r}let l="__PAGE__",c="__DEFAULT__",f="/_not-found"},6385:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6387:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let n=r(4761),a=r(6029),o=n._(r(5729)),i=n._(r(4557)),u={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function s({req:e,res:t,err:r}){return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404,hostname:window.location.hostname}}let l={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},c={lineHeight:"48px"},f={display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},d={fontSize:14,fontWeight:400,lineHeight:"28px"},p={display:"inline-block"};class h extends o.default.Component{static{this.displayName="ErrorPage"}static{this.getInitialProps=s}static{this.origGetInitialProps=s}render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||u[e]||"An unexpected error has occurred";return(0,a.jsxs)("div",{style:l,children:[(0,a.jsx)(i.default,{children:(0,a.jsx)("title",{children:e?`${e}: ${r}`:"Application error: a client-side exception has occurred"})}),(0,a.jsxs)("div",{style:c,children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:`body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}${t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":""}`}}),e?(0,a.jsx)("h1",{className:"next-error-h1",style:f,children:e}):null,(0,a.jsx)("div",{style:p,children:(0,a.jsxs)("h2",{style:d,children:[this.props.title||e?r:(0,a.jsxs)(a.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,a.jsxs)(a.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},6634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return s},isInterceptionRouteAppPath:function(){return u}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4177),i=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function s(e){let t,r,n;for(let a of e.split("/"))if(r=i.find(e=>a.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,o.normalizeAppPath)(t),r){case"(.)":n="/"===t?`/${n}`:t+"/"+n;break;case"(..)":if("/"===t)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Object.defineProperty(Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});n=a.slice(0,-2).concat(n).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:n}}},6687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getSortedRouteObjects:function(){return o.getSortedRouteObjects},getSortedRoutes:function(){return o.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(7469),i=r(7873)},6778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={PARAM_SEPARATOR:function(){return a},hasAdjacentParameterIssues:function(){return o},normalizeAdjacentParameters:function(){return i},normalizeTokensForRegexp:function(){return u},stripNormalizedSeparators:function(){return s},stripParameterSeparators:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="_NEXTSEP_";function o(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function i(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${a}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${a}`)}function u(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function s(e){return e.replace(RegExp(`\\)${a}`,"g"),")")}function l(e){let t={};for(let[r,n]of Object.entries(e))"string"==typeof n?t[r]=n.replace(RegExp(`^${a}`),""):Array.isArray(n)?t[r]=n.map(e=>"string"==typeof e?e.replace(RegExp(`^${a}`),""):e):t[r]=n;return t}},6906:(e,t)=>{"use strict";function r(e){switch(e){case"catchall-intercepted-(..)(..)":case"dynamic-intercepted-(..)(..)":return"(..)(..)";case"catchall-intercepted-(.)":case"dynamic-intercepted-(.)":return"(.)";case"catchall-intercepted-(..)":case"dynamic-intercepted-(..)":return"(..)";case"catchall-intercepted-(...)":case"dynamic-intercepted-(...)":return"(...)";default:return null}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interceptionPrefixFromParamType",{enumerable:!0,get:function(){return r}})},6978:(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(1424),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={HTML_LIMITED_BOT_UA_RE:function(){return o.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return u},getBotType:function(){return c},isBot:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(8593),i=/Googlebot(?!-)|Googlebot$/i,u=o.HTML_LIMITED_BOT_UA_RE.source;function s(e){return o.HTML_LIMITED_BOT_UA_RE.test(e)}function l(e){return i.test(e)||s(e)}function c(e){return i.test(e)?"dom":s(e)?"html":void 0}},7071:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(4525),a=r(2588);function o(e,t,r){let o="",i=(0,a.getRouteRegex)(e),u=i.groups,s=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;o=e;let l=Object.keys(u);return l.every(e=>{let t=s[e]||"",{repeat:r,optional:n}=u[e],a=`[${r?"...":""}${e}]`;return n&&(a=`${!t?"/":""}[${a}]`),r&&!Array.isArray(t)&&(t=[t]),(n||e in s)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:l,result:o}}},7087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7098:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(5729),a=n.useLayoutEffect,o=n.useEffect;function i(e){let{headManager:t,reduceComponentsToState:r}=e;function i(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return a(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),a(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},7178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return u},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},7456:(e,t,r)=>{"use strict";e.exports=r(3398)},7469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getSortedRouteObjects:function(){return i},getSortedRoutes:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class a{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e="/"){let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(`${e}${t}/`)).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(`${e}[${this.slugName}]/`)),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot define a route with the same specificity as a optional catch-all route ("${t}" and "${t}[[...${this.optionalRestSlugName}]]").`),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(`${e}[...${this.restSlugName}]/`)),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(`${e}[[...${this.optionalRestSlugName}]]/`)),r}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let n=e[0];if(n.startsWith("[")&&n.endsWith("]")){let a=n.slice(1,-1),i=!1;if(a.startsWith("[")&&a.endsWith("]")&&(a=a.slice(1,-1),i=!0),a.startsWith("…"))throw Object.defineProperty(Error(`Detected a three-dot character ('…') at ('${a}'). Did you mean ('...')?`),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(a.startsWith("...")&&(a=a.substring(3),r=!0),a.startsWith("[")||a.endsWith("]"))throw Object.defineProperty(Error(`Segment names may not start or end with extra brackets ('${a}').`),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(a.startsWith("."))throw Object.defineProperty(Error(`Segment names may not start with erroneous periods ('${a}').`),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function o(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error(`You cannot use different slug names for the same dynamic path ('${e}' !== '${r}').`),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error(`You cannot have the same slug name "${r}" repeat within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===n.replace(/\W/g,""))throw Object.defineProperty(Error(`You cannot have the slug names "${e}" and "${r}" differ only by non-word symbols within a single dynamic path`),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(r)if(i){if(null!=this.restSlugName)throw Object.defineProperty(Error(`You cannot use both an required and optional catch-all route at the same level ("[...${this.restSlugName}]" and "${e[0]}" ).`),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});o(this.optionalRestSlugName,a),this.optionalRestSlugName=a,n="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error(`You cannot use both an optional and required catch-all route at the same level ("[[...${this.optionalRestSlugName}]]" and "${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});o(this.restSlugName,a),this.restSlugName=a,n="[...]"}else{if(i)throw Object.defineProperty(Error(`Optional route parameters are not yet supported ("${e[0]}").`),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});o(this.slugName,a),this.slugName=a,n="[]"}}this.children.has(n)||this.children.set(n,new a),this.children.get(n)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new a;return e.forEach(e=>t.insert(e)),t.smoosh()}function i(e,t){let r={},n=[];for(let a=0;a<e.length;a++){let o=t(e[a]);r[o]=a,n[a]=o}return o(n).map(t=>e[r[t]])}},7493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function a(e){return["async","defer","noModule"].includes(e)}function o(e,t){for(let[o,i]of Object.entries(t)){if(!t.hasOwnProperty(o)||n.includes(o)||void 0===i)continue;let u=r[o]||o.toLowerCase();"SCRIPT"===e.tagName&&a(u)?e[u]=!!i:e.setAttribute(u,String(i)),(!1===i||"SCRIPT"===e.tagName&&a(u)&&(!i||"false"===i))&&(e.setAttribute(u,""),e.removeAttribute(u))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(1990),r(1064),r(7456);let n=r(211);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7653:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},7762:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});let n=r(8452),a=r(4383),o=r(2042),i=r(5913);function u(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},7775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return p}});let n=r(7178),a=r(1570),o=r(1228),i=r(3048),u=r(9423),s=r(5455),l=r(6687),c=r(7071),f=r(2588),d=r(4525);function p(e,t,r){let p,h="string"==typeof t?t:(0,a.formatWithValidation)(t),_=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),m=_?h.slice(_[0].length):h;if((m.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error(`Invalid href '${h}' passed to next/router in page: '${e.pathname}'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.`);let t=(0,i.normalizeRepeatedSlashes)(m);h=(_?_[0]:"")+t}if(!(0,s.isLocalURL)(h))return r?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,l.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,f.getRouteRegex)(e.pathname);(0,d.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}p=new URL(t,"http://n")}catch(e){p=new URL("/","http://n")}try{let e=new URL(h,p);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,l.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:u}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,a.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(r,u)}))}let i=e.origin===p.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[h]:h}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(6634),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function i(e,t=!0){return((0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?o.test(e):a.test(e)}},8240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={RouteAnnouncer:function(){return c},default:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(4761),i=r(6029),u=o._(r(5729)),s=r(5440),l={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},c=()=>{let{asPath:e}=(0,s.useRouter)(),[t,r]=u.default.useState(""),n=u.default.useRef(e);return u.default.useEffect(()=>{if(n.current!==e)if(n.current=e,document.title)r(document.title);else{let t=document.querySelector("h1");r((t?.innerText??t?.textContent)||e)}},[e]),(0,i.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:l,children:t})},f=c;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8391:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(4761)._(r(5729)),a=r(8833),o=n.default.createContext(a.imageConfigDefault)},8402:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},8452:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},8453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(4761)._(r(5729)).default.createContext({})},8507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={PARAMETER_PATTERN:function(){return f},getDynamicParam:function(){return c},interpolateParallelRouteParams:function(){return l},parseMatchedParameter:function(){return p},parseParameter:function(){return d}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(418),i=r(935),u=r(521),s=r(2723);function l(e,t,r,n){let a=structuredClone(t),l=[{tree:e,depth:0}],c=(0,u.parseAppRoute)(r,!0);for(;l.length>0;){let{tree:e,depth:t}=l.pop(),{segment:r,parallelRoutes:f}=(0,i.parseLoaderTree)(e),d=(0,u.parseAppRouteSegment)(r);if(d?.type==="dynamic"&&!a.hasOwnProperty(d.param.paramName)&&!n?.has(d.param.paramName)){let{paramName:e,paramType:r}=d.param,n=(0,s.resolveParamValue)(e,r,t,c,a);if(void 0!==n)a[e]=n;else if("optional-catchall"!==r)throw Object.defineProperty(new o.InvariantError(`Could not resolve param value for segment: ${e}`),"__NEXT_ERROR_CODE",{value:"E932",enumerable:!1,configurable:!0})}let p=t;for(let e of(d&&"route-group"!==d.type&&"parallel-route"!==d.type&&p++,Object.values(f)))l.push({tree:e,depth:p})}return a}function c(e,t,r,n,a){let i=function(e,t,r){let n=e[t];if(r?.has(t)){let[e]=r.get(t);n=e}else Array.isArray(n)?n=n.map(e=>encodeURIComponent(e)):"string"==typeof n&&(n=encodeURIComponent(n));return n}(e,t,n);if(!i||0===i.length){if("oc"===r)return{param:t,value:null,type:r,treeSegment:[t,"",r,a]};throw Object.defineProperty(new o.InvariantError(`Missing value for segment key: "${t}" with dynamic param type: ${r}`),"__NEXT_ERROR_CODE",{value:"E864",enumerable:!1,configurable:!0})}let u=Array.isArray(i)?i.join("/"):i;return{param:t,value:i,treeSegment:[t,u,r,a],type:r}}let f=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function d(e){let t=e.match(f);return t?p(t[2]):p(e)}function p(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},8526:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(4383),a=r(9423);function o(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8538:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(9070);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}},8593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return r}});let r=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},8783:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(4761)._(r(1237));class a{constructor(e,t,r){this.name=e,this.attributes=t.attributes??{},this.startTime=t.startTime??Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}end(e){if("ended"===this.state.state)throw Object.defineProperty(Error("Span has already ended"),"__NEXT_ERROR_CODE",{value:"E17",enumerable:!1,configurable:!0});this.state={state:"ended",endTime:e??Date.now()},this.onSpanEnd(this)}}class o{startSpan(e,t){return new a(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let i=new o;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8833:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getParamProperties:function(){return s},getSegmentParam:function(){return i},isCatchAll:function(){return u}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let o=r(6634);function i(e){let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t));return(t&&(e=e.slice(t.length)),e.startsWith("[[...")&&e.endsWith("]]"))?{paramType:"optional-catchall",paramName:e.slice(5,-2)}:e.startsWith("[...")&&e.endsWith("]")?{paramType:t?`catchall-intercepted-${t}`:"catchall",paramName:e.slice(4,-1)}:e.startsWith("[")&&e.endsWith("]")?{paramType:t?`dynamic-intercepted-${t}`:"dynamic",paramName:e.slice(1,-1)}:null}function u(e){return"catchall"===e||"catchall-intercepted-(..)(..)"===e||"catchall-intercepted-(.)"===e||"catchall-intercepted-(..)"===e||"catchall-intercepted-(...)"===e||"optional-catchall"===e}function s(e){let t=!1,r=!1;switch(e){case"catchall":case"catchall-intercepted-(..)(..)":case"catchall-intercepted-(.)":case"catchall-intercepted-(..)":case"catchall-intercepted-(...)":t=!0;break;case"optional-catchall":t=!0,r=!0}return{repeat:t,optional:r}}},9070:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=r(1424);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},9141:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={BailoutToCSRError:function(){return o},isBailoutToCSRError:function(){return i}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="BAILOUT_TO_CLIENT_SIDE_RENDERING";class o extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=a}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===a}},9259:(e,t)=>{"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},9423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=r(8452),a=r(1424),o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,a.parsePath)(e);return`${(0,n.removeTrailingSlash)(t)}${r}${o}`};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9542:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0});var n={getAssetToken:function(){return u},getAssetTokenQuery:function(){return s},getDeploymentId:function(){return o},getDeploymentIdQuery:function(){return i}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});function o(){return r}function i(e=!1){return r?`${e?"&":"?"}dpl=${r}`:""}function u(){return!1}function s(e=!1){return""}r=document.documentElement.dataset.dplId,delete document.documentElement.dataset.dplId},9712:(e,t)=>{"use strict";let r;function n(e){return(void 0===r&&(r=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),r)?.createScriptURL(e)||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[6593],()=>e(e.s=7516)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7358],{3398:()=>{},5963:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,5718,23)),Promise.resolve().then(n.t.bind(n,671,23)),Promise.resolve().then(n.t.bind(n,589,23)),Promise.resolve().then(n.t.bind(n,3558,23)),Promise.resolve().then(n.t.bind(n,9630,23)),Promise.resolve().then(n.t.bind(n,1380,23)),Promise.resolve().then(n.t.bind(n,887,23)),Promise.resolve().then(n.bind(n,214))}},e=>{var s=s=>e(e.s=s);e.O(0,[587,1968],()=>(s(250),s(5963))),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7358],{3398:()=>{},9775:(e,s,n)=>{Promise.resolve().then(n.t.bind(n,5718,23)),Promise.resolve().then(n.t.bind(n,671,23)),Promise.resolve().then(n.t.bind(n,589,23)),Promise.resolve().then(n.t.bind(n,3558,23)),Promise.resolve().then(n.t.bind(n,9630,23)),Promise.resolve().then(n.t.bind(n,1380,23)),Promise.resolve().then(n.t.bind(n,887,23)),Promise.resolve().then(n.bind(n,214))}},e=>{var s=s=>e(e.s=s);e.O(0,[587,1968],()=>(s(250),s(9775))),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9337],{7649:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,5718,23))}},e=>{e.O(0,[587,1968,7358],()=>e(e.s=7649)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e,t,r,o,n,i,a,u,l={},c={};function s(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={exports:{}},o=!0;try{l[e].call(r.exports,r,r.exports,s),o=!1}finally{o&&delete c[e]}return r.exports}s.m=l,e=[],s.O=(t,r,o,n)=>{if(r){n=n||0;for(var i=e.length;i>0&&e[i-1][2]>n;i--)e[i]=e[i-1];e[i]=[r,o,n];return}for(var a=1/0,i=0;i<e.length;i++){for(var[r,o,n]=e[i],u=!0,l=0;l<r.length;l++)(!1&n||a>=n)&&Object.keys(s.O).every(e=>s.O[e](r[l]))?r.splice(l--,1):(u=!1,n<a&&(a=n));if(u){e.splice(i--,1);var c=o();void 0!==c&&(t=c)}}return t},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,o){if(1&o&&(e=this(e)),8&o||"object"==typeof e&&e&&(4&o&&e.__esModule||16&o&&"function"==typeof e.then))return e;var n=Object.create(null);s.r(n);var i={};t=t||[null,r({}),r([]),r(r)];for(var a=2&o&&e;"object"==typeof a&&!~t.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(t=>i[t]=()=>e[t]);return i.default=()=>e,s.d(n,i),n},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>{},s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},s.l=(e,t,r,n)=>{if(o[e])return void o[e].push(t);if(void 0!==r)for(var i,a,u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var c=u[l];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")=="_N_E:"+r){i=c;break}}i||(a=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack","_N_E:"+r),i.src=s.tu(e)),o[e]=[t];var d=(t,r)=>{i.onerror=i.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(r)),t)return t(r)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),a&&document.head.appendChild(i)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.tt=()=>(void 0===n&&(n={createScriptURL:e=>e},"u">typeof trustedTypes&&trustedTypes.createPolicy&&(n=trustedTypes.createPolicy("nextjs#bundler",n))),n),s.tu=e=>s.tt().createScriptURL(e),s.p="/_next/",i={8068:0,2380:0},s.f.j=(e,t)=>{var r=s.o(i,e)?i[e]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(2380|8068)$/.test(e))i[e]=0;else{var o=new Promise((t,o)=>r=i[e]=[t,o]);t.push(r[2]=o);var n=s.p+s.u(e),a=Error();s.l(n,t=>{if(s.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),n=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+n+")",a.name="ChunkLoadError",a.type=o,a.request=n,r[1](a)}},"chunk-"+e,e)}},s.O.j=e=>0===i[e],a=(e,t)=>{var r,o,[n,a,u]=t,l=0;if(n.some(e=>0!==i[e])){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(u)var c=u(s)}for(e&&e(t);l<n.length;l++)o=n[l],s.o(i,o)&&i[o]&&i[o][0](),i[o]=0;return s.O(c)},(u=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(a.bind(null,0)),u.push=a.bind(null,u.push.bind(u)),s.nc=void 0})();
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "plexus-agent-config-core",
3
- "version": "0.0.3",
4
- "description": "Plexus core: agent detection, MCP/skill store, sync engine, adapters.",
3
+ "version": "0.0.6",
4
+ "description": "Core library for syncing AI agent rules, MCP servers, and skills across Claude Code, Cursor, Codex, Gemini CLI, and Qwen Code.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
- "homepage": "https://github.com/miniLV/Plexus#readme",
7
+ "homepage": "https://minilv.github.io/Plexus/",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/miniLV/Plexus.git",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "plexus-agent-config-web",
3
- "version": "0.0.3",
4
- "description": "Plexus dashboard (Next.js).",
3
+ "version": "0.0.6",
4
+ "description": "Local Plexus dashboard for syncing AI coding tool rules, MCP servers, and skills.",
5
5
  "license": "Apache-2.0",
6
- "homepage": "https://github.com/miniLV/Plexus#readme",
6
+ "homepage": "https://minilv.github.io/Plexus/",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/miniLV/Plexus.git",
@@ -1 +0,0 @@
1
- exports.id=620,exports.ids=[620],exports.modules={786:(a,b,c)=>{Promise.resolve().then(c.bind(c,25029)),Promise.resolve().then(c.bind(c,6302)),Promise.resolve().then(c.bind(c,84774)),Promise.resolve().then(c.bind(c,97944)),Promise.resolve().then(c.bind(c,73257))},2183:(a,b,c)=>{"use strict";c.d(b,{AppTopbar:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call AppTopbar() from the server but AppTopbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/app-topbar.tsx","AppTopbar")},6302:(a,b,c)=>{"use strict";c.d(b,{AppTopbar:()=>p});var d=c(92692),e=c(84774),f=c(73754),g=c(14579);function h(){let{locale:a,toggleLocale:b}=(0,e.o)();return(0,d.jsxs)(f.Button,{type:"button",variant:"ghost",size:"sm",onClick:b,title:"zh"===a?"Switch to English":"切换到中文",className:"h-9",children:[(0,d.jsx)(g.A,{className:"h-4 w-4",strokeWidth:1.5}),"zh"===a?"English":"中文"]})}var i=c(45813),j=c(52483),k=c(71277);function l({className:a}){let{resolvedTheme:b,setTheme:c}=(0,j.D)(),[e,f]=(0,k.useState)(!1),g=e&&"light"===b;return(0,d.jsx)("button",{type:"button","aria-label":"Toggle theme",title:g?"Switch to dark":"Switch to light",onClick:()=>c(g?"dark":"light"),className:(0,i.cn)("relative h-7 w-14 rounded-full border border-plexus-border bg-plexus-surface-2","transition-colors duration-plexus-normal",a),children:(0,d.jsx)("span",{className:(0,i.cn)("absolute top-[2px] left-[2px] h-[22px] w-[22px] rounded-full bg-plexus-accent","transition-transform duration-plexus-normal ease-plexus-out",g&&"translate-x-7")})})}var m=c(32518),n=c(67994);let o={en:{workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",agentDetail:"Agent detail",plexus:"Plexus",searchTitle:"Search (coming soon)",search:"Search..."},zh:{workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",agentDetail:"Agent 详情",plexus:"Plexus",searchTitle:"搜索(即将支持)",search:"搜索..."}};function p(){let a=(0,n.usePathname)(),{locale:b}=(0,e.o)(),c=o[b],{group:f,label:g}=function(a,b){let c={"/":b.dashboard,"/rules":b.rules,"/mcp":b.mcp,"/skills":b.skills,"/mirror":b.mirror,"/backups":b.backups,"/debug":b.debug,"/team":b.team,"/settings":b.settings};if("/"===a)return{group:b.workspace,label:b.dashboard};if(a.startsWith("/agents/"))return{group:`${b.workspace} / ${b.dashboard}`,label:b.agentDetail};let d=`/${a.split("/")[1]}`,e=c[d]??b.plexus;return{group:"/backups"===d||"/team"===d||"/settings"===d||"/debug"===d?b.configuration:b.workspace,label:e}}(a,c);return(0,d.jsxs)("header",{className:"flex min-h-[64px] shrink-0 flex-wrap items-center justify-between gap-3 border-b border-plexus-border px-4 py-3 lg:px-10",children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:[f.split(" / ").map((a,b,c)=>(0,d.jsxs)("span",{className:"flex items-center gap-3",children:[(0,d.jsx)("span",{children:a}),b<c.length-1&&(0,d.jsx)("span",{children:"/"})]},`${a}-${b}`)),(0,d.jsx)("span",{children:"/"}),(0,d.jsx)("span",{className:"text-plexus-text-2",children:g})]}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 lg:gap-3",children:[(0,d.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded border border-transparent px-3 text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text",title:c.searchTitle,disabled:!0,children:[(0,d.jsx)(m.A,{className:"h-4 w-4",strokeWidth:1.5}),(0,d.jsx)("span",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.search}),(0,d.jsx)("span",{className:"ml-2 rounded border border-plexus-border bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-plexus-text-mute",children:"⌘K"})]}),(0,d.jsx)(h,{}),(0,d.jsx)(l,{}),(0,d.jsx)("div",{className:"grid h-8 w-8 place-items-center rounded-full bg-plexus-accent-faint font-semibold text-plexus-accent",children:"M"})]})]})}},9420:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23))},9834:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n,metadata:()=>m});var d=c(2474),e=c(60303),f=c(2183),g=c(74829),h=c(73422),i=c(76155),j=c(96638),k=c(71749),l=c.n(k);c(21971);let m={title:"Plexus",description:"Team-shared AI agent config — sync MCPs, skills, and CLAUDE.md across every coding agent on your machine.",icons:[{rel:"icon",url:"/favicon.svg",type:"image/svg+xml"}]};async function n({children:a}){let b=await (0,j.s)();return(0,d.jsx)("html",{lang:"zh"===b?"zh-CN":"en",suppressHydrationWarning:!0,className:l().variable,children:(0,d.jsx)("body",{children:(0,d.jsx)(h.ThemeProvider,{children:(0,d.jsx)(g.LanguageProvider,{initialLocale:b,children:(0,d.jsx)(i.TooltipProvider,{delayDuration:250,children:(0,d.jsxs)("div",{className:"flex min-h-screen flex-col lg:flex-row",children:[(0,d.jsx)(e.AppSidebar,{}),(0,d.jsxs)("main",{className:"flex min-w-0 flex-1 flex-col",children:[(0,d.jsx)(f.AppTopbar,{}),(0,d.jsx)("div",{className:"mx-auto w-full max-w-[1180px] px-4 py-6 lg:px-10 lg:py-8",children:a})]})]})})},b)})})})}},21971:()=>{},25029:(a,b,c)=>{"use strict";c.d(b,{AppSidebar:()=>v});var d=c(92692),e=c(84774),f=c(50953),g=c(45813),h=c(77017),i=c(51771),j=c(4486),k=c(18075),l=c(46455),m=c(10210),n=c(61296),o=c(31178),p=c(99705),q=c(58599),r=c.n(q),s=c(67994);let t={en:{tagline:"team agent config",workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",poweredBy:"Powered by",idle:"Idle",runSync:"Run sync to see status"},zh:{tagline:"团队 AI Agent 配置",workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",poweredBy:"Powered by",idle:"空闲",runSync:"运行同步后查看状态"}};function u({className:a}){return(0,d.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",className:a,fill:"currentColor",children:[(0,d.jsx)("title",{children:"GitHub"}),(0,d.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2.14c-3.2.7-3.88-1.36-3.88-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.28 1.19-3.09-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18a10.9 10.9 0 0 1 5.75 0c2.19-1.49 3.16-1.18 3.16-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.83 1.19 3.09 0 4.42-2.69 5.4-5.25 5.69.41.36.78 1.06.78 2.14v3.16c0 .31.21.67.79.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5Z"})]})}function v(){let a=(0,s.usePathname)(),{locale:b}=(0,e.o)(),c=t[b];return(0,d.jsxs)("aside",{className:"flex w-full shrink-0 flex-col border-plexus-border border-b bg-plexus-surface px-3 py-5 lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0",children:[(0,d.jsxs)("div",{className:"mb-6 px-2",children:[(0,d.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,d.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-plexus-accent"}),(0,d.jsx)("span",{className:"plexus-title",children:"Plexus"}),(0,d.jsxs)("span",{className:"font-mono text-[11px] text-plexus-text-3",children:["v","0.0.3"]})]}),(0,d.jsx)("div",{className:"mt-1 px-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.tagline})]}),[{group:c.workspace,items:[{href:"/",label:c.dashboard,icon:h.A},{href:"/rules",label:c.rules,icon:i.A},{href:"/mcp",label:c.mcp,icon:j.A},{href:"/skills",label:c.skills,icon:k.A},{href:"/mirror",label:c.mirror,icon:l.A}]},{group:c.configuration,items:[{href:"/backups",label:c.backups,icon:m.A},{href:"/debug",label:c.debug,icon:n.A},{href:"/team",label:c.team,icon:o.A,beta:!0},{href:"/settings",label:c.settings,icon:p.A}]}].map((b,c)=>(0,d.jsxs)("div",{className:(0,g.cn)("px-1",0===c?"mb-2":""),children:[c>0&&(0,d.jsx)("div",{className:"my-3.5 h-px bg-plexus-border"}),(0,d.jsx)("div",{className:"plexus-eyebrow mb-2 px-2",children:b.group}),(0,d.jsx)("div",{className:"flex flex-col gap-0.5",children:b.items.map(b=>{let c="/"===b.href?"/"===a:a===b.href||a.startsWith(`${b.href}/`),e=b.icon;return(0,d.jsxs)(r(),{href:b.href,className:(0,g.cn)("flex h-8 items-center gap-2.5 rounded-sm px-2.5 text-[13px]","transition-colors duration-plexus-fast ease-plexus-out",c?"bg-plexus-surface-2 text-plexus-text shadow-[inset_2px_0_0_var(--plexus-accent)]":"text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text"),children:[(0,d.jsx)(e,{className:"h-4 w-4 shrink-0",strokeWidth:1.5}),(0,d.jsx)("span",{children:b.label}),b.beta&&(0,d.jsx)(f.E,{variant:"beta",className:"ml-auto",children:"beta"})]},b.href)})})]},b.group)),(0,d.jsxs)("div",{className:"mt-auto border-t border-plexus-border px-3 pt-4",children:[(0,d.jsxs)("a",{href:"https://github.com/miniLV/Plexus",target:"_blank",rel:"noreferrer",className:"group mb-4 flex items-center gap-2.5 rounded-md border border-plexus-border bg-plexus-surface-2/70 px-2.5 py-2 shadow-[inset_0_1px_0_rgb(255_255_255/0.035)] transition-colors duration-plexus-fast ease-plexus-out hover:border-plexus-accent/45 hover:bg-plexus-surface-2",children:[(0,d.jsx)("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-sm border border-plexus-border bg-plexus-bg text-plexus-text-2 transition-colors duration-plexus-fast ease-plexus-out group-hover:border-plexus-accent/40 group-hover:text-plexus-accent",children:(0,d.jsx)(u,{className:"h-4 w-4"})}),(0,d.jsxs)("span",{className:"min-w-0 leading-none",children:[(0,d.jsx)("span",{className:"block text-[9px] font-medium uppercase tracking-[0.14em] text-plexus-text-mute",children:c.poweredBy}),(0,d.jsx)("span",{className:"mt-1 block text-[13px] font-semibold tracking-[0.01em] text-plexus-text",children:"miniLV"})]})]}),(0,d.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,d.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,d.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-plexus-ok opacity-60"}),(0,d.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-plexus-ok"})]}),(0,d.jsx)("span",{className:"text-sm font-medium text-plexus-text",children:c.idle})]}),(0,d.jsx)("div",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:c.runSync})]})]})}},25693:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23)),Promise.resolve().then(c.t.bind(c,6413,23)),Promise.resolve().then(c.t.bind(c,61437,23)),Promise.resolve().then(c.t.bind(c,99476,23)),Promise.resolve().then(c.t.bind(c,41452,23)),Promise.resolve().then(c.t.bind(c,86792,23)),Promise.resolve().then(c.t.bind(c,48465,23)),Promise.resolve().then(c.t.bind(c,13592,23))},45813:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(9537),e=c(43165);function f(...a){return(0,e.QP)((0,d.$)(a))}},50953:(a,b,c)=>{"use strict";c.d(b,{E:()=>g,m:()=>h});var d=c(92692),e=c(45813);let f=(0,c(39923).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function g({className:a,variant:b,...c}){return(0,d.jsx)("span",{className:(0,e.cn)(f({variant:b}),a),...c})}function h({className:a,tone:b="ok"}){return(0,d.jsx)("span",{className:(0,e.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[b],a)})}},60303:(a,b,c)=>{"use strict";c.d(b,{AppSidebar:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call AppSidebar() from the server but AppSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/app-sidebar.tsx","AppSidebar")},61034:(a,b,c)=>{Promise.resolve().then(c.bind(c,60303)),Promise.resolve().then(c.bind(c,2183)),Promise.resolve().then(c.bind(c,74829)),Promise.resolve().then(c.bind(c,73422)),Promise.resolve().then(c.bind(c,76155))},69661:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23)),Promise.resolve().then(c.t.bind(c,69411,23)),Promise.resolve().then(c.t.bind(c,8447,23)),Promise.resolve().then(c.t.bind(c,50674,23)),Promise.resolve().then(c.t.bind(c,78886,23)),Promise.resolve().then(c.t.bind(c,24194,23)),Promise.resolve().then(c.t.bind(c,93431,23)),Promise.resolve().then(c.bind(c,23858))},73257:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>h});var d=c(92692),e=c(45813),f=c(49588),g=c(71277);let h=f.Kq;f.bL,f.l9,(0,g.forwardRef)(({className:a,sideOffset:b=6,...c},g)=>(0,d.jsx)(f.ZL,{children:(0,d.jsx)(f.UC,{ref:g,sideOffset:b,className:(0,e.cn)("z-50 rounded-sm border border-plexus-border bg-plexus-surface-2","px-2 py-1 text-xs text-plexus-text shadow-sm","animate-in fade-in-0 zoom-in-95",a),...c})})).displayName=f.UC.displayName},73422:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(30274).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/theme-provider.tsx","ThemeProvider")},73754:(a,b,c)=>{"use strict";c.d(b,{Button:()=>j});var d=c(92692),e=c(45813),f=c(74745),g=c(39923),h=c(71277);let i=(0,g.F)((0,e.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),j=(0,h.forwardRef)(({className:a,variant:b,size:c,asChild:g=!1,type:h="button",...j},k)=>{let l=g?f.DX:"button";return(0,d.jsx)(l,{ref:k,type:g?void 0:h,className:(0,e.cn)(i({variant:b,size:c}),a),...j})});j.displayName="Button"},74829:(a,b,c)=>{"use strict";c.d(b,{LanguageProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call LanguageProvider() from the server but LanguageProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/language-provider.tsx","LanguageProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useLanguage() from the server but useLanguage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/language-provider.tsx","useLanguage")},76155:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipProvider() from the server but TooltipProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/tooltip.tsx","TooltipProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call Tooltip() from the server but Tooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/tooltip.tsx","Tooltip"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipTrigger() from the server but TooltipTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/tooltip.tsx","TooltipTrigger"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipContent() from the server but TooltipContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/tyrion.liang/GitHub/Plexus/apps/web/components/ui/tooltip.tsx","TooltipContent")},84774:(a,b,c)=>{"use strict";c.d(b,{LanguageProvider:()=>i,o:()=>j});var d=c(92692),e=c(67994),f=c(71277);let g=(0,f.createContext)(null);function h(a){window.localStorage.setItem("plexus.locale",a),document.cookie=`plexus-locale=${a}; path=/; max-age=31536000; samesite=lax`}function i({children:a,initialLocale:b}){let c=(0,e.useRouter)(),[j,k]=(0,f.useState)(b),l=(0,f.useMemo)(()=>({locale:j,setLocale(a){h(a),c.refresh()},toggleLocale(){h("zh"===j?"en":"zh"),c.refresh()}}),[j,c]);return(0,d.jsx)(g.Provider,{value:l,children:a})}function j(){let a=(0,f.useContext)(g);if(!a)throw Error("useLanguage must be used inside LanguageProvider");return a}},96268:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23))},96638:(a,b,c)=>{"use strict";c.d(b,{s:()=>f});var d=c(9330);function e(a){if(!a)return null;let b=a.toLowerCase();return"zh"===b||b.startsWith("zh-")?"zh":"en"===b||b.startsWith("en-")?"en":null}async function f(){var a;let b,c=await (0,d.UL)(),f=e(c.get("plexus-locale")?.value);return f?f:(b=(Array.isArray(a=(await (0,d.b3)()).get("accept-language")??void 0)?a.map((a,b)=>({value:a,q:1,index:b})):"string"==typeof a?a.split(",").map((a,b)=>{let[c="",...d]=a.trim().split(";"),e=d.find(a=>a.trim().startsWith("q=")),f=e?Number(e.trim().slice(2)):1;return{value:c,q:Number.isFinite(f)?f:1,index:b}}):[]).map(a=>({...a,locale:e(a.value)})).filter(a=>null!==a.locale).sort((a,b)=>b.q-a.q||a.index-b.index),b[0]?.locale??"en")}},97944:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(92692),e=c(52483);function f({children:a}){return(0,d.jsx)(e.N,{attribute:"data-theme",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,themes:["dark","light"],children:a})}}};
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{2783:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(3496)}])},3496:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(4568),n=l(5230),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5230:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(4568),n=l(6961);function o({status:e,message:t}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:`${e}: ${t}`}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:e}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:t})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6961:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[587,1968,7358],()=>e(e.s=2783)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3969],{4409:(e,s,t)=>{Promise.resolve().then(t.bind(t,4641)),Promise.resolve().then(t.bind(t,4228)),Promise.resolve().then(t.t.bind(t,5587,23))},4641:(e,s,t)=>{"use strict";t.d(s,{AgentDetail:()=>C});var l=t(4568),r=t(7483),a=t(7943),n=t(1462),i=t(1065);let x={h1:({className:e,...s})=>(0,l.jsx)("h1",{className:(0,r.cn)("mt-0 mb-4 border-plexus-border border-b pb-3 text-2xl font-semibold tracking-normal text-plexus-text",e),...s}),h2:({className:e,...s})=>(0,l.jsx)("h2",{className:(0,r.cn)("mt-7 mb-3 text-xl font-semibold tracking-normal text-plexus-text",e),...s}),h3:({className:e,...s})=>(0,l.jsx)("h3",{className:(0,r.cn)("mt-6 mb-2 text-base font-semibold tracking-normal text-plexus-text",e),...s}),h4:({className:e,...s})=>(0,l.jsx)("h4",{className:(0,r.cn)("mt-5 mb-2 text-sm font-semibold tracking-normal text-plexus-text",e),...s}),p:({className:e,...s})=>(0,l.jsx)("p",{className:(0,r.cn)("my-3 leading-7 text-plexus-text-2",e),...s}),a:({className:e,...s})=>(0,l.jsx)("a",{className:(0,r.cn)("font-medium text-plexus-accent underline-offset-4 hover:underline",e),target:"_blank",rel:"noreferrer",...s}),ul:({className:e,...s})=>(0,l.jsx)("ul",{className:(0,r.cn)("my-3 list-disc space-y-1.5 pl-6 text-plexus-text-2",e),...s}),ol:({className:e,...s})=>(0,l.jsx)("ol",{className:(0,r.cn)("my-3 list-decimal space-y-1.5 pl-6 text-plexus-text-2",e),...s}),li:({className:e,...s})=>(0,l.jsx)("li",{className:(0,r.cn)("pl-1 leading-7",e),...s}),blockquote:({className:e,...s})=>(0,l.jsx)("blockquote",{className:(0,r.cn)("my-4 border-plexus-accent/40 border-l-2 bg-plexus-accent-faint/40 px-4 py-2 text-plexus-text-2",e),...s}),hr:({className:e,...s})=>(0,l.jsx)("hr",{className:(0,r.cn)("my-6 border-plexus-border",e),...s}),code:({className:e,...s})=>(0,l.jsx)("code",{className:(0,r.cn)("rounded-sm bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[0.88em] text-plexus-text",e),...s}),pre:({className:e,...s})=>(0,l.jsx)("pre",{className:(0,r.cn)("my-4 overflow-x-auto rounded-md border border-plexus-border bg-plexus-bg p-4 text-xs leading-6 text-plexus-text [&_code]:bg-transparent [&_code]:p-0",e),...s}),table:({className:e,...s})=>(0,l.jsx)("div",{className:"my-4 overflow-x-auto rounded-md border border-plexus-border",children:(0,l.jsx)("table",{className:(0,r.cn)("w-full border-collapse text-sm",e),...s})}),th:({className:e,...s})=>(0,l.jsx)("th",{className:(0,r.cn)("border-plexus-border border-b bg-plexus-surface-2 px-3 py-2 text-left font-semibold text-plexus-text",e),...s}),td:({className:e,...s})=>(0,l.jsx)("td",{className:(0,r.cn)("border-plexus-border border-t px-3 py-2 text-plexus-text-2",e),...s})};function c({content:e,className:s}){return e.trim()?(0,l.jsx)("div",{className:(0,r.cn)("min-w-0 text-sm",s),children:(0,l.jsx)(a.oz,{remarkPlugins:[i.A],rehypePlugins:[n.A],components:x,children:e})}):(0,l.jsx)("div",{className:(0,r.cn)("text-sm text-plexus-text-3",s),children:"Empty markdown file."})}var o=t(6197),d=t(7788),u=t(7294),p=t(4926),m=t(8564),h=t(6969),b=t(9250),f=t(5572),g=t(3932),j=t(1207),v=t(8874),N=t(5587),y=t.n(N),k=t(7620);function w(e){return null==e?"—":e<1024?`${e}B`:e<1048576?`${(e/1024).toFixed(1)}KB`:`${(e/1024/1024).toFixed(1)}MB`}function C({data:e}){let s=e.skills.filter(e=>e.isSymlink).length,t=e.skills.length-s;return(0,l.jsxs)("div",{className:"space-y-8",children:[(0,l.jsxs)("section",{className:"space-y-3",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,l.jsx)("h2",{className:"plexus-eyebrow",children:"Instruction Files"}),(0,l.jsx)(d.Button,{asChild:!0,variant:"ghost",size:"sm",children:(0,l.jsxs)(y(),{href:"/rules",children:["Manage in Rules page ",(0,l.jsx)(p.A,{className:"h-3 w-3",strokeWidth:1.5})]})})]}),0===e.instructionFiles.length&&(0,l.jsxs)("div",{className:"text-sm text-plexus-text-3",children:["No conventional instruction file for ",e.displayName,"."]}),e.instructionFiles.length>0&&(0,l.jsxs)(u.Z,{className:"overflow-hidden",children:[e.instructionFiles.map(s=>(0,l.jsx)("div",{className:"border-b border-plexus-border/60 p-4 text-sm last:border-0",children:(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[(0,l.jsx)("span",{className:"font-semibold text-plexus-text",children:s.label}),s.status.exists?(0,l.jsx)(o.E,{variant:"synced",children:"exists"}):(0,l.jsx)(o.E,{variant:"native",children:"not yet created"})]}),(0,l.jsx)("code",{className:"mt-1 block truncate font-mono text-xs text-plexus-text-3",children:s.status.path})]}),(0,l.jsx)("div",{className:"flex shrink-0 items-center gap-2",children:s.status.exists?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(F,{agentId:e.id,filePath:s.status.path,mode:"view",label:"View"}),(0,l.jsx)(F,{agentId:e.id,filePath:s.status.path,mode:"edit",label:"Edit"})]}):(0,l.jsx)(F,{agentId:e.id,filePath:s.status.path,mode:"edit",label:"Create",allowCreate:!0})})]})},s.status.path)),(0,l.jsx)("div",{className:"border-t border-plexus-border/60 bg-plexus-surface-2/40 px-4 py-3 text-xs text-plexus-text-3",children:"Use Rules to edit the shared baseline, import from this agent, or apply the baseline across all tools."})]})]}),(0,l.jsx)("section",{className:"space-y-3",children:(0,l.jsxs)("details",{className:"group",children:[(0,l.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between rounded-md border border-plexus-border bg-plexus-surface px-4 py-3 transition-colors hover:bg-plexus-surface-2/60",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(m.A,{className:"h-4 w-4 text-plexus-text-3 transition-transform group-open:rotate-90",strokeWidth:1.5}),(0,l.jsx)("span",{className:"plexus-eyebrow",children:"Skills"}),(0,l.jsx)("span",{className:"text-sm text-plexus-text-2",children:e.skills.length}),s>0&&(0,l.jsxs)(o.E,{variant:"synced",children:[s," Plexus-owned"]}),t>0&&(0,l.jsxs)(o.E,{variant:"divergent",children:[t," agent-local"]})]}),(0,l.jsxs)(y(),{href:"/skills",onClick:e=>e.stopPropagation(),className:"inline-flex items-center gap-1 text-xs text-plexus-accent hover:underline",children:["Manage in Skills page ",(0,l.jsx)(p.A,{className:"h-3 w-3",strokeWidth:1.5})]})]}),(0,l.jsxs)(u.Z,{className:"mt-2 overflow-hidden",children:[(0,l.jsxs)("div",{className:"grid grid-cols-[1fr_auto_auto] gap-x-4 border-b border-plexus-border px-4 py-3 text-[11px] uppercase tracking-[0.10em] text-plexus-text-3",children:[(0,l.jsx)("div",{children:"ID"}),(0,l.jsx)("div",{className:"text-right",children:"Owner"}),(0,l.jsx)("div",{className:"text-right",children:"Action"})]}),0===e.skills.length&&(0,l.jsx)("div",{className:"px-4 py-8 text-center text-sm text-plexus-text-3",children:"No skills installed for this agent."}),e.skills.slice(0,50).map(s=>(0,l.jsxs)("div",{className:"grid grid-cols-[1fr_auto_auto] gap-x-4 border-b border-plexus-border/60 px-4 py-2.5 text-sm last:border-0 hover:bg-plexus-surface-2/40",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"font-mono text-[13px] text-plexus-text",children:s.id}),s.isSymlink&&s.linkTarget&&(0,l.jsxs)("div",{className:"mt-0.5 text-[10px] text-plexus-text-3",children:["→ ",function(e,s=60){if(e.length<=s)return e;let t=Math.floor(s/2-2),l=Math.floor(s/2-2);return`${e.slice(0,t)}…${e.slice(e.length-l)}`}(s.linkTarget,80)]})]}),(0,l.jsx)("div",{className:"text-right",children:s.isSymlink?(0,l.jsx)(o.E,{variant:"synced",children:"Plexus-owned"}):(0,l.jsx)(o.E,{variant:"divergent",children:"agent-local"})}),(0,l.jsx)("div",{className:"text-right",children:s.hasSkillMd&&(0,l.jsx)(F,{agentId:e.id,filePath:`${s.path}/SKILL.md`,mode:"view",label:"View"})})]},s.path)),e.skills.length>50&&(0,l.jsxs)("div",{className:"border-t border-plexus-border/60 px-4 py-2 text-center text-xs text-plexus-text-3",children:["… and ",e.skills.length-50," more (manage on the Skills page)"]})]})]})}),(0,l.jsx)("section",{className:"space-y-3",children:(0,l.jsxs)("details",{className:"group",children:[(0,l.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between rounded-md border border-plexus-border bg-plexus-surface px-4 py-3 transition-colors hover:bg-plexus-surface-2/60",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(m.A,{className:"h-4 w-4 text-plexus-text-3 transition-transform group-open:rotate-90",strokeWidth:1.5}),(0,l.jsx)("span",{className:"plexus-eyebrow",children:"MCP File"}),(0,l.jsx)(o.E,{variant:"exclusive"===e.mcpFileMode?"synced":"divergent",title:"exclusive"===e.mcpFileMode?"Plexus owns this file end-to-end via a symlink.":"Shared file — Plexus only rewrites its own section.",children:e.mcpFileMode}),e.mcpFile.exists?e.mcpFile.isSymlink?(0,l.jsx)(o.E,{variant:"synced",children:"symlink"}):(0,l.jsx)(o.E,{variant:"native",children:"regular file"}):(0,l.jsx)(o.E,{variant:"native",children:"missing"})]}),(0,l.jsx)("span",{className:"text-xs text-plexus-text-3",children:w(e.mcpFile.size)})]}),(0,l.jsxs)(u.Z,{className:"mt-2 p-4 text-sm",children:[(0,l.jsx)("code",{className:"font-mono text-plexus-text-2",children:e.mcpFile.path}),e.mcpFile.isSymlink&&e.mcpFile.linkTarget&&(0,l.jsxs)("div",{className:"mt-2 text-xs text-plexus-text-3",children:[(0,l.jsx)("span",{className:"text-plexus-text",children:"→"})," ",(0,l.jsx)("code",{className:"font-mono",children:e.mcpFile.linkTarget})]}),(0,l.jsxs)("div",{className:"mt-3 flex gap-4 text-xs text-plexus-text-3",children:[(0,l.jsxs)("span",{children:["size: ",w(e.mcpFile.size)]}),(0,l.jsxs)("span",{children:["mtime: ",function(e){if(!e)return"—";let s=new Date(e);return Number.isNaN(s.getTime())?"—":`${s.toISOString().slice(0,19).replace("T"," ")} UTC`}(e.mcpFile.mtime)]})]}),(0,l.jsxs)("div",{className:"mt-4 flex gap-2",children:[(0,l.jsx)(d.Button,{asChild:!0,variant:"ghost",size:"sm",children:(0,l.jsxs)(y(),{href:"/mcp",children:["Edit MCP servers ",(0,l.jsx)(p.A,{className:"h-3.5 w-3.5",strokeWidth:1.5})]})}),e.mcpFile.exists&&(0,l.jsx)(F,{agentId:e.id,filePath:e.mcpFile.path,mode:"view",label:"View raw"})]})]})]})})]})}function F({agentId:e,filePath:s,label:t,mode:r,allowCreate:a}){let n="edit"===r,[i,x]=(0,k.useState)(!1),[u,p]=(0,k.useState)(!1),[m,N]=(0,k.useState)(""),[w,C]=(0,k.useState)(!1),[S,A]=(0,k.useState)(!1),[E,P]=(0,k.useState)(null),z=/\.(md|markdown)$/i.test(s);async function W(){A(!0),P(null);try{let t=await fetch(`/api/agent/${e}/file`,{method:"PUT",headers:{"content-type":"application/json"},body:JSON.stringify({path:s,content:m})}),l=await t.json();l.ok?(P(l.backup?`Saved. Backup: ${l.backup}`:"Saved."),setTimeout(()=>p(!1),700)):P(`Save failed: ${l.message}`)}finally{A(!1)}}(0,k.useEffect)(()=>{if(u&&!w){if(a){N(""),C(!0);return}fetch(`/api/agent/${e}/file?path=${encodeURIComponent(s)}`).then(e=>e.json()).then(e=>{e.ok?N(e.content):P(`Read failed: ${e.message}`),C(!0)})}},[u,e,s,w,a]);let $=t??(n?"Edit":"View");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(d.Button,{variant:n?"secondary":"ghost",size:"sm",onClick:function(){n?x(!0):p(!0)},children:[n?(0,l.jsx)(h.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}):(0,l.jsx)(b.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),$]}),i&&(0,l.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-6",children:[(0,l.jsx)("button",{type:"button","aria-label":"Close confirmation",className:"absolute inset-0 cursor-default bg-black/70",onClick:()=>x(!1)}),(0,l.jsxs)("div",{className:"relative z-10 w-full max-w-md cursor-default overflow-hidden rounded-md border border-plexus-border bg-plexus-surface text-left shadow-lg",children:[(0,l.jsxs)("div",{className:"flex items-start gap-3 border-b border-plexus-border px-5 py-4",children:[(0,l.jsx)("div",{className:"mt-0.5 rounded-md bg-amber-500/10 p-2 text-amber-400",children:(0,l.jsx)(f.A,{className:"h-4 w-4",strokeWidth:1.5})}),(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)("div",{className:"text-sm font-semibold text-plexus-text",children:a?"About to create a live agent file":"About to edit a live agent file"}),(0,l.jsx)("code",{className:"mt-1 block break-all font-mono text-xs text-plexus-text-3",children:s})]}),(0,l.jsx)("button",{type:"button","aria-label":"Cancel",onClick:()=>x(!1),className:"text-plexus-text-3 hover:text-plexus-text",children:(0,l.jsx)(g.A,{className:"h-4 w-4",strokeWidth:1.5})})]}),(0,l.jsxs)("div",{className:"space-y-3 px-5 py-4 text-sm text-plexus-text-2",children:[(0,l.jsx)("p",{children:"Changes save directly to the file the agent reads — there is no staging step."}),(0,l.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-plexus-border bg-plexus-surface-2/60 px-3 py-2 text-xs",children:[(0,l.jsx)(j.A,{className:"mt-0.5 h-3.5 w-3.5 flex-shrink-0 text-plexus-accent",strokeWidth:1.5}),(0,l.jsxs)("span",{children:["Plexus will ",(0,l.jsx)("span",{className:"text-plexus-text",children:"automatically snapshot"})," the current contents before the first save. If anything goes wrong, restore it from the"," ",(0,l.jsx)(y(),{href:"/backups",className:"text-plexus-accent hover:underline",children:"Backups"})," ","page."]})]})]}),(0,l.jsxs)("div",{className:"flex items-center justify-end gap-2 border-t border-plexus-border bg-plexus-surface-2/40 px-5 py-3",children:[(0,l.jsx)(d.Button,{variant:"ghost",size:"sm",onClick:()=>x(!1),children:"Cancel"}),(0,l.jsxs)(d.Button,{variant:"primary",size:"sm",onClick:function(){x(!1),p(!0)},children:[(0,l.jsx)(h.A,{className:"h-3.5 w-3.5",strokeWidth:1.5}),a?"Create file":"Yes, edit"]})]})]})]}),u&&(0,l.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-6",children:[(0,l.jsx)("button",{type:"button","aria-label":"Close file viewer",className:"absolute inset-0 cursor-default bg-black/70",onClick:()=>p(!1)}),(0,l.jsxs)("div",{className:"relative z-10 flex h-[80vh] w-[80vw] max-w-5xl cursor-default flex-col overflow-hidden rounded-md border border-plexus-border bg-plexus-surface text-left shadow-lg",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between border-b border-plexus-border px-5 py-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[n?(0,l.jsx)(o.E,{variant:"divergent",children:"editing"}):(0,l.jsx)(o.E,{variant:"synced",children:"read only"}),(0,l.jsx)("code",{className:"font-mono text-xs text-plexus-text-3",children:s})]}),(0,l.jsx)("button",{type:"button","aria-label":"Close",onClick:()=>p(!1),className:"text-plexus-text-3 hover:text-plexus-text",children:(0,l.jsx)(g.A,{className:"h-4 w-4",strokeWidth:1.5})})]}),n&&(0,l.jsxs)("div",{className:"flex items-center gap-2 border-b border-plexus-border bg-amber-500/5 px-5 py-2 text-xs text-amber-400/90",children:[(0,l.jsx)(j.A,{className:"h-3.5 w-3.5 flex-shrink-0",strokeWidth:1.5}),(0,l.jsxs)("span",{children:["Auto-backup runs before save. Restore from"," ",(0,l.jsx)(y(),{href:"/backups",className:"underline",children:"/backups"})," ","any time."]})]}),E&&(0,l.jsx)("div",{className:"border-b border-plexus-border bg-plexus-surface-2 px-5 py-2 text-xs text-plexus-text-2",children:E}),(0,l.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden bg-plexus-bg",children:w?z?n?(0,l.jsxs)("div",{className:"grid h-full min-h-0 grid-cols-1 lg:grid-cols-2",children:[(0,l.jsxs)("div",{className:"flex min-h-0 flex-col border-plexus-border border-b lg:border-r lg:border-b-0",children:[(0,l.jsx)("div",{className:"border-plexus-border border-b bg-plexus-surface px-4 py-2 text-[11px] font-medium uppercase tracking-[0.12em] text-plexus-text-3",children:"Markdown"}),(0,l.jsx)("textarea",{className:"min-h-[260px] flex-1 resize-none bg-plexus-bg p-4 font-mono text-xs leading-6 text-plexus-text outline-none",value:m,onChange:e=>N(e.target.value),spellCheck:!1})]}),(0,l.jsxs)("div",{className:"flex min-h-0 flex-col",children:[(0,l.jsx)("div",{className:"border-plexus-border border-b bg-plexus-surface px-4 py-2 text-[11px] font-medium uppercase tracking-[0.12em] text-plexus-text-3",children:"Preview"}),(0,l.jsx)("div",{className:"min-h-0 flex-1 overflow-auto px-5 py-4",children:(0,l.jsx)(c,{content:m})})]})]}):(0,l.jsx)("div",{className:"h-full overflow-auto px-6 py-5",children:(0,l.jsx)(c,{content:m})}):(0,l.jsx)("textarea",{className:"h-full w-full resize-none bg-plexus-bg p-4 font-mono text-xs leading-6 text-plexus-text outline-none",value:m,readOnly:!n,onChange:e=>N(e.target.value),spellCheck:!1}):(0,l.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-sm text-plexus-text-3",children:[(0,l.jsx)(v.A,{className:"h-4 w-4 animate-spin",strokeWidth:1.5}),"Loading file…"]})}),(0,l.jsxs)("div",{className:"flex items-center justify-end gap-2 border-t border-plexus-border px-5 py-3",children:[(0,l.jsx)(d.Button,{variant:"ghost",size:"sm",onClick:()=>p(!1),children:"Close"}),n&&(0,l.jsxs)(d.Button,{variant:"primary",size:"sm",onClick:W,disabled:S,children:[S&&(0,l.jsx)(v.A,{className:"h-3.5 w-3.5 animate-spin",strokeWidth:1.5}),S?"Saving…":"Save"]})]})]})]})]})}},6197:(e,s,t)=>{"use strict";t.d(s,{E:()=>n,m:()=>i});var l=t(4568),r=t(7483);let a=(0,t(1397).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function n({className:e,variant:s,...t}){return(0,l.jsx)("span",{className:(0,r.cn)(a({variant:s}),e),...t})}function i({className:e,tone:s="ok"}){return(0,l.jsx)("span",{className:(0,r.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[s],e)})}},7294:(e,s,t)=>{"use strict";t.d(s,{Z:()=>n});var l=t(4568),r=t(7483),a=t(7620);let n=(0,a.forwardRef)(({className:e,...s},t)=>(0,l.jsx)("div",{ref:t,className:(0,r.cn)("rounded-md border border-plexus-border bg-plexus-surface","transition-colors duration-plexus-normal ease-plexus-out",e),...s}));n.displayName="Card",(0,a.forwardRef)(({className:e,...s},t)=>(0,l.jsx)(n,{ref:t,className:(0,r.cn)("hover:border-plexus-border-strong hover:-translate-y-px",e),...s})).displayName="CardHover"},7483:(e,s,t)=>{"use strict";t.d(s,{cn:()=>a});var l=t(9917),r=t(2809);function a(...e){return(0,r.QP)((0,l.$)(e))}},7788:(e,s,t)=>{"use strict";t.d(s,{Button:()=>c});var l=t(4568),r=t(7483),a=t(8347),n=t(1397),i=t(7620);let x=(0,n.F)((0,r.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),c=(0,i.forwardRef)(({className:e,variant:s,size:t,asChild:n=!1,type:i="button",...c},o)=>{let d=n?a.DX:"button";return(0,l.jsx)(d,{ref:o,type:n?void 0:i,className:(0,r.cn)(x({variant:s,size:t}),e),...c})});c.displayName="Button"}},e=>{e.O(0,[4399,5587,3090,587,1968,7358],()=>e(e.s=4409)),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{572:(e,s,t)=>{"use strict";t.d(s,{ThemeProvider:()=>l});var r=t(4568),a=t(9227);function l({children:e}){return(0,r.jsx)(a.N,{attribute:"data-theme",defaultTheme:"light",enableSystem:!0,disableTransitionOnChange:!0,themes:["dark","light"],children:e})}},702:(e,s,t)=>{Promise.resolve().then(t.bind(t,1107)),Promise.resolve().then(t.bind(t,1458)),Promise.resolve().then(t.bind(t,6439)),Promise.resolve().then(t.bind(t,572)),Promise.resolve().then(t.bind(t,4757)),Promise.resolve().then(t.t.bind(t,3597,23)),Promise.resolve().then(t.t.bind(t,6944,23))},1107:(e,s,t)=>{"use strict";t.d(s,{AppSidebar:()=>w});var r=t(4568),a=t(6439),l=t(6197),n=t(7483),i=t(4435),o=t(6581),u=t(5830),x=t(1207),c=t(7939),p=t(2928),d=t(6706),b=t(6356),m=t(5885),h=t(5587),g=t.n(h),f=t(9748);let v={en:{tagline:"team agent config",workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",poweredBy:"Powered by",idle:"Idle",runSync:"Run sync to see status"},zh:{tagline:"团队 AI Agent 配置",workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",poweredBy:"Powered by",idle:"空闲",runSync:"运行同步后查看状态"}};function k({className:e}){return(0,r.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",className:e,fill:"currentColor",children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.09 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-2.14c-3.2.7-3.88-1.36-3.88-1.36-.52-1.33-1.28-1.69-1.28-1.69-1.05-.72.08-.71.08-.71 1.16.08 1.77 1.19 1.77 1.19 1.03 1.76 2.7 1.25 3.36.96.1-.75.4-1.25.73-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.28 1.19-3.09-.12-.29-.52-1.46.11-3.04 0 0 .97-.31 3.16 1.18a10.9 10.9 0 0 1 5.75 0c2.19-1.49 3.16-1.18 3.16-1.18.63 1.58.23 2.75.11 3.04.74.81 1.19 1.83 1.19 3.09 0 4.42-2.69 5.4-5.25 5.69.41.36.78 1.06.78 2.14v3.16c0 .31.21.67.79.56A11.52 11.52 0 0 0 23.5 12C23.5 5.65 18.35.5 12 .5Z"})]})}function w(){let e=(0,f.usePathname)(),{locale:s}=(0,a.o)(),t=v[s];return(0,r.jsxs)("aside",{className:"flex w-full shrink-0 flex-col border-plexus-border border-b bg-plexus-surface px-3 py-5 lg:sticky lg:top-0 lg:h-screen lg:w-[240px] lg:border-r lg:border-b-0",children:[(0,r.jsxs)("div",{className:"mb-6 px-2",children:[(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsx)("span",{className:"inline-block h-2.5 w-2.5 rounded-full bg-plexus-accent"}),(0,r.jsx)("span",{className:"plexus-title",children:"Plexus"}),(0,r.jsxs)("span",{className:"font-mono text-[11px] text-plexus-text-3",children:["v","0.0.3"]})]}),(0,r.jsx)("div",{className:"mt-1 px-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.tagline})]}),[{group:t.workspace,items:[{href:"/",label:t.dashboard,icon:i.A},{href:"/rules",label:t.rules,icon:o.A},{href:"/mcp",label:t.mcp,icon:u.A},{href:"/skills",label:t.skills,icon:x.A},{href:"/mirror",label:t.mirror,icon:c.A}]},{group:t.configuration,items:[{href:"/backups",label:t.backups,icon:p.A},{href:"/debug",label:t.debug,icon:d.A},{href:"/team",label:t.team,icon:b.A,beta:!0},{href:"/settings",label:t.settings,icon:m.A}]}].map((s,t)=>(0,r.jsxs)("div",{className:(0,n.cn)("px-1",0===t?"mb-2":""),children:[t>0&&(0,r.jsx)("div",{className:"my-3.5 h-px bg-plexus-border"}),(0,r.jsx)("div",{className:"plexus-eyebrow mb-2 px-2",children:s.group}),(0,r.jsx)("div",{className:"flex flex-col gap-0.5",children:s.items.map(s=>{let t="/"===s.href?"/"===e:e===s.href||e.startsWith(`${s.href}/`),a=s.icon;return(0,r.jsxs)(g(),{href:s.href,className:(0,n.cn)("flex h-8 items-center gap-2.5 rounded-sm px-2.5 text-[13px]","transition-colors duration-plexus-fast ease-plexus-out",t?"bg-plexus-surface-2 text-plexus-text shadow-[inset_2px_0_0_var(--plexus-accent)]":"text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text"),children:[(0,r.jsx)(a,{className:"h-4 w-4 shrink-0",strokeWidth:1.5}),(0,r.jsx)("span",{children:s.label}),s.beta&&(0,r.jsx)(l.E,{variant:"beta",className:"ml-auto",children:"beta"})]},s.href)})})]},s.group)),(0,r.jsxs)("div",{className:"mt-auto border-t border-plexus-border px-3 pt-4",children:[(0,r.jsxs)("a",{href:"https://github.com/miniLV/Plexus",target:"_blank",rel:"noreferrer",className:"group mb-4 flex items-center gap-2.5 rounded-md border border-plexus-border bg-plexus-surface-2/70 px-2.5 py-2 shadow-[inset_0_1px_0_rgb(255_255_255/0.035)] transition-colors duration-plexus-fast ease-plexus-out hover:border-plexus-accent/45 hover:bg-plexus-surface-2",children:[(0,r.jsx)("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-sm border border-plexus-border bg-plexus-bg text-plexus-text-2 transition-colors duration-plexus-fast ease-plexus-out group-hover:border-plexus-accent/40 group-hover:text-plexus-accent",children:(0,r.jsx)(k,{className:"h-4 w-4"})}),(0,r.jsxs)("span",{className:"min-w-0 leading-none",children:[(0,r.jsx)("span",{className:"block text-[9px] font-medium uppercase tracking-[0.14em] text-plexus-text-mute",children:t.poweredBy}),(0,r.jsx)("span",{className:"mt-1 block text-[13px] font-semibold tracking-[0.01em] text-plexus-text",children:"miniLV"})]})]}),(0,r.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,r.jsxs)("span",{className:"relative inline-flex h-1.5 w-1.5",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-plexus-ok opacity-60"}),(0,r.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-plexus-ok"})]}),(0,r.jsx)("span",{className:"text-sm font-medium text-plexus-text",children:t.idle})]}),(0,r.jsx)("div",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.runSync})]})]})}},1458:(e,s,t)=>{"use strict";t.d(s,{AppTopbar:()=>m});var r=t(4568),a=t(6439),l=t(7788),n=t(3913);function i(){let{locale:e,toggleLocale:s}=(0,a.o)();return(0,r.jsxs)(l.Button,{type:"button",variant:"ghost",size:"sm",onClick:s,title:"zh"===e?"Switch to English":"切换到中文",className:"h-9",children:[(0,r.jsx)(n.A,{className:"h-4 w-4",strokeWidth:1.5}),"zh"===e?"English":"中文"]})}var o=t(7483),u=t(9227),x=t(7620);function c({className:e}){let{resolvedTheme:s,setTheme:t}=(0,u.D)(),[a,l]=(0,x.useState)(!1);(0,x.useEffect)(()=>l(!0),[]);let n=a&&"light"===s;return(0,r.jsx)("button",{type:"button","aria-label":"Toggle theme",title:n?"Switch to dark":"Switch to light",onClick:()=>t(n?"dark":"light"),className:(0,o.cn)("relative h-7 w-14 rounded-full border border-plexus-border bg-plexus-surface-2","transition-colors duration-plexus-normal",e),children:(0,r.jsx)("span",{className:(0,o.cn)("absolute top-[2px] left-[2px] h-[22px] w-[22px] rounded-full bg-plexus-accent","transition-transform duration-plexus-normal ease-plexus-out",n&&"translate-x-7")})})}var p=t(8742),d=t(9748);let b={en:{workspace:"Workspace",configuration:"Configuration",dashboard:"Dashboard",rules:"Rules",mcp:"MCP Servers",skills:"Skills",mirror:"Mirror",backups:"Backups",debug:"Debug",team:"Team",settings:"Settings",agentDetail:"Agent detail",plexus:"Plexus",searchTitle:"Search (coming soon)",search:"Search..."},zh:{workspace:"工作区",configuration:"配置",dashboard:"仪表盘",rules:"规则",mcp:"MCP 服务",skills:"技能",mirror:"镜像同步",backups:"备份",debug:"调试",team:"团队",settings:"设置",agentDetail:"Agent 详情",plexus:"Plexus",searchTitle:"搜索(即将支持)",search:"搜索..."}};function m(){let e=(0,d.usePathname)(),{locale:s}=(0,a.o)(),t=b[s],{group:l,label:n}=function(e,s){let t={"/":s.dashboard,"/rules":s.rules,"/mcp":s.mcp,"/skills":s.skills,"/mirror":s.mirror,"/backups":s.backups,"/debug":s.debug,"/team":s.team,"/settings":s.settings};if("/"===e)return{group:s.workspace,label:s.dashboard};if(e.startsWith("/agents/"))return{group:`${s.workspace} / ${s.dashboard}`,label:s.agentDetail};let r=`/${e.split("/")[1]}`,a=t[r]??s.plexus;return{group:"/backups"===r||"/team"===r||"/settings"===r||"/debug"===r?s.configuration:s.workspace,label:a}}(e,t);return(0,r.jsxs)("header",{className:"flex min-h-[64px] shrink-0 flex-wrap items-center justify-between gap-3 border-b border-plexus-border px-4 py-3 lg:px-10",children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-3 text-[12px] tracking-[0.02em] text-plexus-text-3",children:[l.split(" / ").map((e,s,t)=>(0,r.jsxs)("span",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{children:e}),s<t.length-1&&(0,r.jsx)("span",{children:"/"})]},`${e}-${s}`)),(0,r.jsx)("span",{children:"/"}),(0,r.jsx)("span",{className:"text-plexus-text-2",children:n})]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2 lg:gap-3",children:[(0,r.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded border border-transparent px-3 text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text",title:t.searchTitle,disabled:!0,children:[(0,r.jsx)(p.A,{className:"h-4 w-4",strokeWidth:1.5}),(0,r.jsx)("span",{className:"text-[12px] tracking-[0.02em] text-plexus-text-3",children:t.search}),(0,r.jsx)("span",{className:"ml-2 rounded border border-plexus-border bg-plexus-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-plexus-text-mute",children:"⌘K"})]}),(0,r.jsx)(i,{}),(0,r.jsx)(c,{}),(0,r.jsx)("div",{className:"grid h-8 w-8 place-items-center rounded-full bg-plexus-accent-faint font-semibold text-plexus-accent",children:"M"})]})]})}},4757:(e,s,t)=>{"use strict";t.d(s,{TooltipProvider:()=>i});var r=t(4568),a=t(7483),l=t(7257),n=t(7620);let i=l.Kq;l.bL,l.l9,(0,n.forwardRef)(({className:e,sideOffset:s=6,...t},n)=>(0,r.jsx)(l.ZL,{children:(0,r.jsx)(l.UC,{ref:n,sideOffset:s,className:(0,a.cn)("z-50 rounded-sm border border-plexus-border bg-plexus-surface-2","px-2 py-1 text-xs text-plexus-text shadow-sm","animate-in fade-in-0 zoom-in-95",e),...t})})).displayName=l.UC.displayName},6197:(e,s,t)=>{"use strict";t.d(s,{E:()=>n,m:()=>i});var r=t(4568),a=t(7483);let l=(0,t(1397).F)("inline-flex items-center gap-1 rounded-sm px-2 h-5 text-[11px] font-medium tracking-[0.01em]",{variants:{variant:{team:"bg-plexus-info/15 text-plexus-info",personal:"bg-plexus-accent-faint text-plexus-accent",synced:"bg-plexus-ok/15 text-plexus-ok",divergent:"bg-plexus-warn/15 text-plexus-warn",native:"bg-plexus-text-3/15 text-plexus-text-3",beta:"bg-plexus-accent-faint text-plexus-accent border border-plexus-accent/25",danger:"bg-plexus-err/13 text-plexus-err",outline:"border border-plexus-border text-plexus-text-2"}},defaultVariants:{variant:"outline"}});function n({className:e,variant:s,...t}){return(0,r.jsx)("span",{className:(0,a.cn)(l({variant:s}),e),...t})}function i({className:e,tone:s="ok"}){return(0,r.jsx)("span",{className:(0,a.cn)("inline-block h-1.5 w-1.5 rounded-full",{ok:"bg-plexus-ok",warn:"bg-plexus-warn",err:"bg-plexus-err",info:"bg-plexus-info",accent:"bg-plexus-accent",mute:"bg-plexus-text-3"}[s],e)})}},6439:(e,s,t)=>{"use strict";t.d(s,{LanguageProvider:()=>x,o:()=>c});var r=t(4568);let a="plexus.locale";function l(e){if(!e)return null;let s=e.toLowerCase();return"zh"===s||s.startsWith("zh-")?"zh":"en"===s||s.startsWith("en-")?"en":null}var n=t(9748),i=t(7620);let o=(0,i.createContext)(null);function u(e){window.localStorage.setItem(a,e),document.cookie=`plexus-locale=${e}; path=/; max-age=31536000; samesite=lax`}function x({children:e,initialLocale:s}){let t=(0,n.useRouter)(),[c,p]=(0,i.useState)(s);(0,i.useEffect)(()=>{var e;let r,n=l(window.localStorage.getItem(a))??s??(r=(Array.isArray(e=window.navigator.languages??window.navigator.language)?e.map((e,s)=>({value:e,q:1,index:s})):"string"==typeof e?e.split(",").map((e,s)=>{let[t="",...r]=e.trim().split(";"),a=r.find(e=>e.trim().startsWith("q=")),l=a?Number(a.trim().slice(2)):1;return{value:t,q:Number.isFinite(l)?l:1,index:s}}):[]).map(e=>({...e,locale:l(e.value)})).filter(e=>null!==e.locale).sort((e,s)=>s.q-e.q||e.index-s.index),r[0]?.locale??"en");if(n!==s){u(n),t.refresh();return}u(n),p(s)},[s,t]);let d=(0,i.useMemo)(()=>({locale:c,setLocale(e){u(e),t.refresh()},toggleLocale(){u("zh"===c?"en":"zh"),t.refresh()}}),[c,t]);return(0,r.jsx)(o.Provider,{value:d,children:e})}function c(){let e=(0,i.useContext)(o);if(!e)throw Error("useLanguage must be used inside LanguageProvider");return e}},6944:()=>{},7483:(e,s,t)=>{"use strict";t.d(s,{cn:()=>l});var r=t(9917),a=t(2809);function l(...e){return(0,a.QP)((0,r.$)(e))}},7788:(e,s,t)=>{"use strict";t.d(s,{Button:()=>u});var r=t(4568),a=t(7483),l=t(8347),n=t(1397),i=t(7620);let o=(0,n.F)((0,a.cn)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded font-medium","transition-colors duration-plexus-normal ease-plexus-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-plexus-accent/50 focus-visible:ring-offset-1 focus-visible:ring-offset-plexus-bg","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:"bg-plexus-accent text-[#1a1a17] hover:bg-plexus-accent-2 border border-plexus-accent",secondary:"bg-plexus-surface-2 text-plexus-text border border-plexus-border hover:bg-plexus-surface hover:border-plexus-border-strong",ghost:"bg-transparent text-plexus-text-2 hover:bg-plexus-surface-2 hover:text-plexus-text border border-transparent",danger:"bg-transparent text-plexus-err border border-plexus-err/35 hover:bg-plexus-err/10","danger-solid":"bg-plexus-err text-white border border-plexus-err hover:bg-plexus-err/90"},size:{default:"h-9 px-3.5 text-sm",sm:"h-7 px-2.5 text-xs",lg:"h-10 px-4 text-sm",icon:"h-9 w-9 p-0"}},defaultVariants:{variant:"secondary",size:"default"}}),u=(0,i.forwardRef)(({className:e,variant:s,size:t,asChild:n=!1,type:i="button",...u},x)=>{let c=n?l.DX:"button";return(0,r.jsx)(c,{ref:x,type:n?void 0:i,className:(0,a.cn)(o({variant:s,size:t}),e),...u})});u.displayName="Button"}},e=>{e.O(0,[2380,4399,5587,3051,626,587,1968,7358],()=>e(e.s=702)),_N_E=e.O()}]);