From 7ceb1d911124836124d4ead96443884f3d06f57e Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Fri, 17 May 2024 01:56:12 +0900 Subject: [PATCH] Fix website deploye error --- website/.eslintrc.json | 6 + website/.gitignore | 5 +- website/next-sitemap.config.js | 6 +- website/out/404.html | 1 + website/out/404/index.html | 1 + website/out/CNAME | 1 + .../-DY3js2CfFHHfLqBGr8ok/_buildManifest.js | 1 + .../-DY3js2CfFHHfLqBGr8ok/_ssgManifest.js | 1 + .../static/chunks/150-fbf44d5e8f421630.js | 89 + .../static/chunks/295-face7ac39a95b2fa.js | 23 + .../chunks/framework-fae63b21a27d6472.js | 33 + .../static/chunks/main-ada389a1caa7877a.js | 6 + .../static/chunks/nextra-data-en-US.json | 1 + .../chunks/pages/_app-ac84f11b63ebc5d1.js | 1 + .../chunks/pages/_error-ee5b5fb91d29d86f.js | 1 + .../chunks/pages/docs-9edabc2883384dff.js | 1 + .../nestjs-websocket-436294728da65f24.js | 1 + ...bject-oriented-network-6ac733d7c67f2093.js | 1 + .../remote-function-call-73d5cad43a7e27ff.js | 1 + .../remote-object-call-fb5161c425043b72.js | 1 + .../features/components-9d39f4ac0f0c398a.js | 1 + .../features/websocket-07975bc3d523f25a.js | 1 + .../docs/features/worker-438c168f9d37c263.js | 1 + .../docs/projects/chat-5e6361fd09a5e200.js | 1 + .../docs/projects/market-77402d29f3e3471d.js | 1 + .../docs/projects/mutex-98df31c62551d357.js | 1 + .../remote-procedure-call-27129cb37eee3450.js | 1 + .../pages/docs/setup-f6c2fa1654109835.js | 1 + .../chunks/pages/index-94191cf75b0c84a8.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 + .../static/chunks/webpack-6af0e3c12b874bb0.js | 1 + .../out/_next/static/css/445c4173ffc2bf04.css | 1 + .../_next/static/media/chat-ui.8326981b.png | Bin 0 -> 243452 bytes .../media/grid-market-actors.726765f6.png | Bin 0 -> 63144 bytes .../out/_next/static/media/logo.930e096a.png | Bin 0 -> 586626 bytes .../media/mutex-server-demo.7f348e50.gif | Bin 0 -> 135991 bytes .../object-oriented-network.e07dc61d.png | Bin 0 -> 88457 bytes .../media/remote-object-call.f084282a.png | Bin 0 -> 51691 bytes .../_next/static/media/sequence.5a6cf4e8.png | Bin 0 -> 18399 bytes website/{public => out}/api/.nojekyll | 0 .../{public => out}/api/assets/highlight.css | 0 website/{public => out}/api/assets/icons.js | 0 website/{public => out}/api/assets/icons.svg | 0 website/{public => out}/api/assets/main.js | 0 .../{public => out}/api/assets/navigation.js | 0 website/{public => out}/api/assets/search.js | 0 website/{public => out}/api/assets/style.css | 0 .../api/classes/Communicator.html | 24 +- .../api/classes/SharedWorkerAcceptor-1.html | 24 +- .../api/classes/SharedWorkerConnector-1.html | 26 +- .../api/classes/SharedWorkerServer-1.html | 10 +- .../api/classes/WebSocketAcceptor-1.html | 28 +- .../api/classes/WebSocketConnector-1.html | 28 +- .../api/classes/WebSocketError.html | 4 +- .../api/classes/WebSocketServer-1.html | 12 +- .../api/classes/WorkerConnector-1.html | 28 +- .../api/classes/WorkerServer-1.html | 24 +- .../api/enums/WebSocketAcceptor.State.html | 4 +- .../api/enums/WebSocketConnector.State.html | 4 +- .../api/enums/WebSocketServer.State.html | 4 +- .../SharedWorkerConnector.compile.html | 2 +- .../SharedWorkerConnector.remove.html | 2 +- website/{public => out}/api/hierarchy.html | 0 website/{public => out}/api/index.html | 29 +- .../api/interfaces/Invoke.IFunction.html | 8 +- .../api/interfaces/Invoke.IParameter.html | 4 +- .../api/interfaces/Invoke.IReturn.html | 8 +- ...SharedWorkerConnector.IConnectOptions.html | 4 +- .../WebSocketConnector.IConnectOptions.html | 4 +- .../WorkerConnector.IConnectOptions.html | 6 +- website/{public => out}/api/modules.html | 0 .../{public => out}/api/modules/Invoke.html | 2 +- .../api/modules/SharedWorkerAcceptor.html | 2 +- .../api/modules/SharedWorkerConnector.html | 2 +- .../api/modules/SharedWorkerServer.html | 2 +- .../api/modules/WebSocketAcceptor.html | 2 +- .../api/modules/WebSocketConnector.html | 2 +- .../api/modules/WebSocketServer.html | 2 +- .../api/modules/WorkerConnector.html | 2 +- .../api/modules/WorkerServer.html | 2 +- .../{public => out}/api/modules/default.html | 2 +- website/{public => out}/api/types/Driver.html | 2 +- .../{public => out}/api/types/Invoke-1.html | 2 +- .../{public => out}/api/types/Primitive.html | 2 +- .../{public => out}/api/types/Promisive.html | 2 +- .../api/variables/Driver-1.html | 2 +- .../docs/examples/nestjs-websocket/index.html | 447 + .../object-oriented-network/index.html | 268 + .../examples/remote-function-call/index.html | 140 + .../examples/remote-object-call/index.html | 181 + .../out/docs/features/components/index.html | 174 + .../out/docs/features/websocket/index.html | 620 ++ website/out/docs/features/worker/index.html | 293 + website/out/docs/index.html | 77 + website/out/docs/projects/chat/index.html | 26 + website/out/docs/projects/market/index.html | 26 + website/out/docs/projects/mutex/index.html | 26 + .../out/docs/remote-procedure-call/index.html | 119 + website/out/docs/setup/index.html | 30 + .../out/favicon/android-chrome-192x192.png | Bin 0 -> 63466 bytes .../out/favicon/android-chrome-512x512.png | Bin 0 -> 354753 bytes website/out/favicon/apple-touch-icon.png | Bin 0 -> 56713 bytes website/out/favicon/favicon-16x16.png | Bin 0 -> 1009 bytes website/out/favicon/favicon-32x32.png | Bin 0 -> 3084 bytes website/out/favicon/favicon.ico | Bin 0 -> 15406 bytes website/out/favicon/site.webmanifest | 1 + .../diagrams/object-oriented-network.png | Bin 0 -> 88457 bytes .../images/diagrams/remote-object-call.png | Bin 0 -> 51691 bytes website/out/images/diagrams/sequence.png | Bin 0 -> 18399 bytes website/out/images/home/background.jpg | Bin 0 -> 262042 bytes website/out/images/home/nestia.png | Bin 0 -> 60205 bytes .../out/images/home/productHeroArrowDown.png | Bin 0 -> 192 bytes website/out/images/home/rpc.png | Bin 0 -> 34067 bytes website/out/images/home/websocket.svg | 7 + website/out/images/home/worker.svg | 1 + website/out/images/icon.png | Bin 0 -> 781778 bytes website/out/images/projects/chat-ui.png | Bin 0 -> 243452 bytes .../images/projects/grid-market-actors.png | Bin 0 -> 63144 bytes .../out/images/projects/mutex-server-demo.gif | Bin 0 -> 135991 bytes website/out/index.html | 24 + website/out/logo.png | Bin 0 -> 586626 bytes website/out/og.jpg | Bin 0 -> 203257 bytes website/package-lock.json | 9731 +++++++++++++++++ website/package.json | 2 +- website/public/robots.txt | 9 + website/public/sitemap-0.xml | 17 + website/public/sitemap.xml | 4 + 127 files changed, 12573 insertions(+), 160 deletions(-) create mode 100644 website/.eslintrc.json create mode 100644 website/out/404.html create mode 100644 website/out/404/index.html create mode 100644 website/out/CNAME create mode 100644 website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_buildManifest.js create mode 100644 website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_ssgManifest.js create mode 100644 website/out/_next/static/chunks/150-fbf44d5e8f421630.js create mode 100644 website/out/_next/static/chunks/295-face7ac39a95b2fa.js create mode 100644 website/out/_next/static/chunks/framework-fae63b21a27d6472.js create mode 100644 website/out/_next/static/chunks/main-ada389a1caa7877a.js create mode 100644 website/out/_next/static/chunks/nextra-data-en-US.json create mode 100644 website/out/_next/static/chunks/pages/_app-ac84f11b63ebc5d1.js create mode 100644 website/out/_next/static/chunks/pages/_error-ee5b5fb91d29d86f.js create mode 100644 website/out/_next/static/chunks/pages/docs-9edabc2883384dff.js create mode 100644 website/out/_next/static/chunks/pages/docs/examples/nestjs-websocket-436294728da65f24.js create mode 100644 website/out/_next/static/chunks/pages/docs/examples/object-oriented-network-6ac733d7c67f2093.js create mode 100644 website/out/_next/static/chunks/pages/docs/examples/remote-function-call-73d5cad43a7e27ff.js create mode 100644 website/out/_next/static/chunks/pages/docs/examples/remote-object-call-fb5161c425043b72.js create mode 100644 website/out/_next/static/chunks/pages/docs/features/components-9d39f4ac0f0c398a.js create mode 100644 website/out/_next/static/chunks/pages/docs/features/websocket-07975bc3d523f25a.js create mode 100644 website/out/_next/static/chunks/pages/docs/features/worker-438c168f9d37c263.js create mode 100644 website/out/_next/static/chunks/pages/docs/projects/chat-5e6361fd09a5e200.js create mode 100644 website/out/_next/static/chunks/pages/docs/projects/market-77402d29f3e3471d.js create mode 100644 website/out/_next/static/chunks/pages/docs/projects/mutex-98df31c62551d357.js create mode 100644 website/out/_next/static/chunks/pages/docs/remote-procedure-call-27129cb37eee3450.js create mode 100644 website/out/_next/static/chunks/pages/docs/setup-f6c2fa1654109835.js create mode 100644 website/out/_next/static/chunks/pages/index-94191cf75b0c84a8.js create mode 100644 website/out/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 website/out/_next/static/chunks/webpack-6af0e3c12b874bb0.js create mode 100644 website/out/_next/static/css/445c4173ffc2bf04.css create mode 100644 website/out/_next/static/media/chat-ui.8326981b.png create mode 100644 website/out/_next/static/media/grid-market-actors.726765f6.png create mode 100644 website/out/_next/static/media/logo.930e096a.png create mode 100644 website/out/_next/static/media/mutex-server-demo.7f348e50.gif create mode 100644 website/out/_next/static/media/object-oriented-network.e07dc61d.png create mode 100644 website/out/_next/static/media/remote-object-call.f084282a.png create mode 100644 website/out/_next/static/media/sequence.5a6cf4e8.png rename website/{public => out}/api/.nojekyll (100%) rename website/{public => out}/api/assets/highlight.css (100%) rename website/{public => out}/api/assets/icons.js (100%) rename website/{public => out}/api/assets/icons.svg (100%) rename website/{public => out}/api/assets/main.js (100%) rename website/{public => out}/api/assets/navigation.js (100%) rename website/{public => out}/api/assets/search.js (100%) rename website/{public => out}/api/assets/style.css (100%) rename website/{public => out}/api/classes/Communicator.html (97%) rename website/{public => out}/api/classes/SharedWorkerAcceptor-1.html (96%) rename website/{public => out}/api/classes/SharedWorkerConnector-1.html (96%) rename website/{public => out}/api/classes/SharedWorkerServer-1.html (97%) rename website/{public => out}/api/classes/WebSocketAcceptor-1.html (96%) rename website/{public => out}/api/classes/WebSocketConnector-1.html (96%) rename website/{public => out}/api/classes/WebSocketError.html (98%) rename website/{public => out}/api/classes/WebSocketServer-1.html (97%) rename website/{public => out}/api/classes/WorkerConnector-1.html (96%) rename website/{public => out}/api/classes/WorkerServer-1.html (96%) rename website/{public => out}/api/enums/WebSocketAcceptor.State.html (94%) rename website/{public => out}/api/enums/WebSocketConnector.State.html (94%) rename website/{public => out}/api/enums/WebSocketServer.State.html (95%) rename website/{public => out}/api/functions/SharedWorkerConnector.compile.html (99%) rename website/{public => out}/api/functions/SharedWorkerConnector.remove.html (98%) rename website/{public => out}/api/hierarchy.html (100%) rename website/{public => out}/api/index.html (68%) rename website/{public => out}/api/interfaces/Invoke.IFunction.html (97%) rename website/{public => out}/api/interfaces/Invoke.IParameter.html (97%) rename website/{public => out}/api/interfaces/Invoke.IReturn.html (97%) rename website/{public => out}/api/interfaces/SharedWorkerConnector.IConnectOptions.html (98%) rename website/{public => out}/api/interfaces/WebSocketConnector.IConnectOptions.html (98%) rename website/{public => out}/api/interfaces/WorkerConnector.IConnectOptions.html (97%) rename website/{public => out}/api/modules.html (100%) rename website/{public => out}/api/modules/Invoke.html (97%) rename website/{public => out}/api/modules/SharedWorkerAcceptor.html (98%) rename website/{public => out}/api/modules/SharedWorkerConnector.html (97%) rename website/{public => out}/api/modules/SharedWorkerServer.html (97%) rename website/{public => out}/api/modules/WebSocketAcceptor.html (95%) rename website/{public => out}/api/modules/WebSocketConnector.html (97%) rename website/{public => out}/api/modules/WebSocketServer.html (95%) rename website/{public => out}/api/modules/WorkerConnector.html (96%) rename website/{public => out}/api/modules/WorkerServer.html (96%) rename website/{public => out}/api/modules/default.html (99%) rename website/{public => out}/api/types/Driver.html (97%) rename website/{public => out}/api/types/Invoke-1.html (96%) rename website/{public => out}/api/types/Primitive.html (98%) rename website/{public => out}/api/types/Promisive.html (99%) rename website/{public => out}/api/variables/Driver-1.html (96%) create mode 100644 website/out/docs/examples/nestjs-websocket/index.html create mode 100644 website/out/docs/examples/object-oriented-network/index.html create mode 100644 website/out/docs/examples/remote-function-call/index.html create mode 100644 website/out/docs/examples/remote-object-call/index.html create mode 100644 website/out/docs/features/components/index.html create mode 100644 website/out/docs/features/websocket/index.html create mode 100644 website/out/docs/features/worker/index.html create mode 100644 website/out/docs/index.html create mode 100644 website/out/docs/projects/chat/index.html create mode 100644 website/out/docs/projects/market/index.html create mode 100644 website/out/docs/projects/mutex/index.html create mode 100644 website/out/docs/remote-procedure-call/index.html create mode 100644 website/out/docs/setup/index.html create mode 100644 website/out/favicon/android-chrome-192x192.png create mode 100644 website/out/favicon/android-chrome-512x512.png create mode 100644 website/out/favicon/apple-touch-icon.png create mode 100644 website/out/favicon/favicon-16x16.png create mode 100644 website/out/favicon/favicon-32x32.png create mode 100644 website/out/favicon/favicon.ico create mode 100644 website/out/favicon/site.webmanifest create mode 100644 website/out/images/diagrams/object-oriented-network.png create mode 100644 website/out/images/diagrams/remote-object-call.png create mode 100644 website/out/images/diagrams/sequence.png create mode 100644 website/out/images/home/background.jpg create mode 100644 website/out/images/home/nestia.png create mode 100644 website/out/images/home/productHeroArrowDown.png create mode 100644 website/out/images/home/rpc.png create mode 100644 website/out/images/home/websocket.svg create mode 100644 website/out/images/home/worker.svg create mode 100644 website/out/images/icon.png create mode 100644 website/out/images/projects/chat-ui.png create mode 100644 website/out/images/projects/grid-market-actors.png create mode 100644 website/out/images/projects/mutex-server-demo.gif create mode 100644 website/out/index.html create mode 100644 website/out/logo.png create mode 100644 website/out/og.jpg create mode 100644 website/package-lock.json create mode 100644 website/public/robots.txt create mode 100644 website/public/sitemap-0.xml create mode 100644 website/public/sitemap.xml diff --git a/website/.eslintrc.json b/website/.eslintrc.json new file mode 100644 index 0000000..b48eff9 --- /dev/null +++ b/website/.eslintrc.json @@ -0,0 +1,6 @@ +{ + "extends": "next", + "rules": { + "@typescript-eslint/no-namespace": "off", + } +} \ No newline at end of file diff --git a/website/.gitignore b/website/.gitignore index ce034c9..5c6f24c 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -1,2 +1,5 @@ .next -node_modules/ \ No newline at end of file +node_modules/ +public/api/ + +!package-lock.json \ No newline at end of file diff --git a/website/next-sitemap.config.js b/website/next-sitemap.config.js index 5b8d687..5eaec14 100644 --- a/website/next-sitemap.config.js +++ b/website/next-sitemap.config.js @@ -1,5 +1,5 @@ /** @type {import('next-sitemap').IConfig} */ module.exports = { - siteUrl: 'https://typia.io', - generateRobotsTxt: true, -}; \ No newline at end of file + siteUrl: "https://tgrid.com", + generateRobotsTxt: true, +}; diff --git a/website/out/404.html b/website/out/404.html new file mode 100644 index 0000000..93cd88d --- /dev/null +++ b/website/out/404.html @@ -0,0 +1 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/website/out/404/index.html b/website/out/404/index.html new file mode 100644 index 0000000..93cd88d --- /dev/null +++ b/website/out/404/index.html @@ -0,0 +1 @@ +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/website/out/CNAME b/website/out/CNAME new file mode 100644 index 0000000..4080157 --- /dev/null +++ b/website/out/CNAME @@ -0,0 +1 @@ +tgrid.com \ No newline at end of file diff --git a/website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_buildManifest.js b/website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_buildManifest.js new file mode 100644 index 0000000..8e07e58 --- /dev/null +++ b/website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST=function(e,s){return{__rewrites:{afterFiles:[{has:void 0,source:"/api",destination:"/api/index.html"}],beforeFiles:[],fallback:[]},"/":[e,s,"static/chunks/150-fbf44d5e8f421630.js","static/chunks/pages/index-94191cf75b0c84a8.js"],"/_error":["static/chunks/pages/_error-ee5b5fb91d29d86f.js"],"/docs":[e,s,"static/chunks/pages/docs-9edabc2883384dff.js"],"/docs/examples/nestjs-websocket":[e,s,"static/chunks/pages/docs/examples/nestjs-websocket-436294728da65f24.js"],"/docs/examples/object-oriented-network":[e,s,"static/chunks/pages/docs/examples/object-oriented-network-6ac733d7c67f2093.js"],"/docs/examples/remote-function-call":[e,s,"static/chunks/pages/docs/examples/remote-function-call-73d5cad43a7e27ff.js"],"/docs/examples/remote-object-call":[e,s,"static/chunks/pages/docs/examples/remote-object-call-fb5161c425043b72.js"],"/docs/features/components":[e,s,"static/chunks/pages/docs/features/components-9d39f4ac0f0c398a.js"],"/docs/features/websocket":[e,s,"static/chunks/pages/docs/features/websocket-07975bc3d523f25a.js"],"/docs/features/worker":[e,s,"static/chunks/pages/docs/features/worker-438c168f9d37c263.js"],"/docs/projects/chat":[e,s,"static/chunks/pages/docs/projects/chat-5e6361fd09a5e200.js"],"/docs/projects/market":[e,s,"static/chunks/pages/docs/projects/market-77402d29f3e3471d.js"],"/docs/projects/mutex":[e,s,"static/chunks/pages/docs/projects/mutex-98df31c62551d357.js"],"/docs/remote-procedure-call":[e,s,"static/chunks/pages/docs/remote-procedure-call-27129cb37eee3450.js"],"/docs/setup":[e,s,"static/chunks/pages/docs/setup-f6c2fa1654109835.js"],sortedPages:["/","/_app","/_error","/docs","/docs/examples/nestjs-websocket","/docs/examples/object-oriented-network","/docs/examples/remote-function-call","/docs/examples/remote-object-call","/docs/features/components","/docs/features/websocket","/docs/features/worker","/docs/projects/chat","/docs/projects/market","/docs/projects/mutex","/docs/remote-procedure-call","/docs/setup"]}}("static/css/445c4173ffc2bf04.css","static/chunks/295-face7ac39a95b2fa.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_ssgManifest.js b/website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_ssgManifest.js new file mode 100644 index 0000000..0511aa8 --- /dev/null +++ b/website/out/_next/static/-DY3js2CfFHHfLqBGr8ok/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file diff --git a/website/out/_next/static/chunks/150-fbf44d5e8f421630.js b/website/out/_next/static/chunks/150-fbf44d5e8f421630.js new file mode 100644 index 0000000..e09b3eb --- /dev/null +++ b/website/out/_next/static/chunks/150-fbf44d5e8f421630.js @@ -0,0 +1,89 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return createCache}});var n=function(){function StyleSheet(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var e=StyleSheet.prototype;return e.hydrate=function(e){e.forEach(this._insertTag)},e.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?m[x]+" "+S:Utility_replace(S,/&\f/g,m[x])).trim())&&(u[v++]=w);return node(e,t,r,0===i?b:s,u,c,d)}function declaration(e,t,r,n){return node(e,t,r,v,Utility_substr(e,0,n),Utility_substr(e,n+1,-1),n)}var identifierWithPointTracking=function(e,t,r){for(var n=0,o=0;n=o,o=peek(),38===n&&12===o&&(t[r]=1),!token(o);)next();return Utility_substr(p,e,c)},toRules=function(e,t){var r=-1,n=44;do switch(token(n)){case 0:38===n&&12===peek()&&(t[r]=1),e[r]+=identifierWithPointTracking(c-1,t,r);break;case 2:e[r]+=delimit(n);break;case 4:if(44===n){e[++r]=58===peek()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=next());return e},getRules=function(e,t){var r;return r=toRules(alloc(e),t),p="",r},S=new WeakMap,compat=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||S.get(r))&&!n){S.set(e,!0);for(var o=[],i=getRules(t,o),a=r.props,l=0,s=0;l-1&&!e.return)switch(e.type){case v:e.return=function emotion_cache_browser_esm_prefix(e,t){switch(45^Utility_charat(e,0)?(((t<<2^Utility_charat(e,0))<<2^Utility_charat(e,1))<<2^Utility_charat(e,2))<<2^Utility_charat(e,3):0){case 5103:return y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return y+e+h+e+m+e+e;case 6828:case 4268:return y+e+m+e+e;case 6165:return y+e+m+"flex-"+e+e;case 5187:return y+e+Utility_replace(e,/(\w+).+(:[^]+)/,y+"box-$1$2"+m+"flex-$1$2")+e;case 5443:return y+e+m+"flex-item-"+Utility_replace(e,/flex-|-self/,"")+e;case 4675:return y+e+m+"flex-line-pack"+Utility_replace(e,/align-content|flex-|-self/,"")+e;case 5548:return y+e+m+Utility_replace(e,"shrink","negative")+e;case 5292:return y+e+m+Utility_replace(e,"basis","preferred-size")+e;case 6060:return y+"box-"+Utility_replace(e,"-grow","")+y+e+m+Utility_replace(e,"grow","positive")+e;case 4554:return y+Utility_replace(e,/([^-])(transform)/g,"$1"+y+"$2")+e;case 6187:return Utility_replace(Utility_replace(Utility_replace(e,/(zoom-|grab)/,y+"$1"),/(image-set)/,y+"$1"),e,"")+e;case 5495:case 3959:return Utility_replace(e,/(image-set\([^]*)/,y+"$1$`$1");case 4968:return Utility_replace(Utility_replace(e,/(.+:)(flex-)?(.*)/,y+"box-pack:$3"+m+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+y+e+e;case 4095:case 3583:case 4068:case 2532:return Utility_replace(e,/(.+)-inline(.+)/,y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Utility_strlen(e)-1-t>6)switch(Utility_charat(e,t+1)){case 109:if(45!==Utility_charat(e,t+4))break;case 102:return Utility_replace(e,/(.+:)(.+)-([^]+)/,"$1"+y+"$2-$3$1"+h+(108==Utility_charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~indexof(e,"stretch")?emotion_cache_browser_esm_prefix(Utility_replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Utility_charat(e,t+1))break;case 6444:switch(Utility_charat(e,Utility_strlen(e)-3-(~indexof(e,"!important")&&10))){case 107:return Utility_replace(e,":",":"+y)+e;case 101:return Utility_replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+y+(45===Utility_charat(e,14)?"inline-":"")+"box$3$1"+y+"$2$3$1"+m+"$2box$3")+e}break;case 5936:switch(Utility_charat(e,t+11)){case 114:return y+e+m+Utility_replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return y+e+m+Utility_replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return y+e+m+Utility_replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return y+e+m+e+e}return e}(e.value,e.length);break;case x:return Serializer_serialize([Tokenizer_copy(e,{value:Utility_replace(e.value,"@","@"+y)})],n);case b:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return Serializer_serialize([Tokenizer_copy(e,{props:[Utility_replace(t,/:(read-\w+)/,":"+h+"$1")]})],n);case"::placeholder":return Serializer_serialize([Tokenizer_copy(e,{props:[Utility_replace(t,/:(plac\w+)/,":"+y+"input-$1")]}),Tokenizer_copy(e,{props:[Utility_replace(t,/:(plac\w+)/,":"+h+"$1")]}),Tokenizer_copy(e,{props:[Utility_replace(t,/:(plac\w+)/,m+"input-$1")]})],n)}return""}).join("")}}],createCache=function(e){var t,r,o,a,u,m=e.key;if("css"===m){var h=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(h,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var y=e.stylisPlugins||w,b={},v=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+m+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||token(d)>3?"":" "}(k);break;case 92:E+=function(e,t){for(var r;--t&&next()&&!(d<48)&&!(d>102)&&(!(d>57)||!(d<65))&&(!(d>70)||!(d<97)););return r=c+(t<6&&32==peek()&&32==next()),Utility_substr(p,e,r)}(c-1,7);continue;case 47:switch(peek()){case 42:case 47:Utility_append(node(y=function(e,t){for(;next();)if(e+d===57)break;else if(e+d===84&&47===peek())break;return"/*"+Utility_substr(p,t,c-1)+"*"+i(47===e?e:next())}(next(),c),t,r,g,i(d),Utility_substr(y,2,-2),0),h);break;default:E+="/"}break;case 123*Z:m[b++]=Utility_strlen(E)*P;case 125*Z:case 59:case 0:switch($){case 0:case 125:C=0;case 59+v:-1==P&&(E=Utility_replace(E,/\f/g,"")),w>0&&Utility_strlen(E)-x&&Utility_append(w>32?declaration(E+";",n,r,x-1):declaration(Utility_replace(E," ","")+";",n,r,x-2),h);break;case 59:E+=";";default:if(Utility_append(M=ruleset(E,t,r,b,v,o,m,T,R=[],O=[],x),a),123===$){if(0===v)parse(E,t,M,M,R,a,x,m,O);else switch(99===S&&110===Utility_charat(E,3)?100:S){case 100:case 108:case 109:case 115:parse(e,M,M,n&&Utility_append(ruleset(e,M,M,0,0,o,m,T,o,R=[],x),O),o,O,x,m,n?R:O);break;default:parse(E,M,M,M,[""],O,0,m,O)}}}b=v=w=0,Z=P=1,T=E="",x=u;break;case 58:x=1+Utility_strlen(E),w=k;default:if(Z<1){if(123==$)--Z;else if(125==$&&0==Z++&&125==(d=c>0?Utility_charat(p,--c):0,s--,10===d&&(s=1,l--),d))continue}switch(E+=i($),$*Z){case 38:P=v>0?1:(E+="\f",-1);break;case 44:m[b++]=(Utility_strlen(E)-1)*P,P=1;break;case 64:45===peek()&&(E+=delimit(next())),S=peek(),v=x=Utility_strlen(T=E+=function(e){for(;!token(peek());)next();return Utility_substr(p,e,c)}(c)),$++;break;case 45:45===k&&2==Utility_strlen(E)&&(Z=0)}}return a}("",null,null,null,[""],t=alloc(t=e),0,[0],t),p="",r),x)},S={key:m,sheet:new n({key:m,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:b,registered:{},insert:function(e,t,r,n){u=r,stylis(e?e+"{"+t.styles+"}":t.styles),n&&(S.inserted[t.name]=!0)}};return S.sheet.hydrate(v),S}},5042:function(e,t,r){"use strict";function memoize(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return memoize}})},6498:function(e,t,r){"use strict";r.d(t,{C:function(){return l},T:function(){return s},i:function(){return i},w:function(){return withEmotionCache}});var n=r(7294),o=r(8417);r(8137),r(7278);var i=!0,a=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null),l=a.Provider,withEmotionCache=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(a),r)})};i||(withEmotionCache=function(e){return function(t){var r=(0,n.useContext)(a);return null===r?(r=(0,o.Z)({key:"css"}),n.createElement(a.Provider,{value:r},e(t,r))):e(t,r)}});var s=n.createContext({})},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return keyframes},iv:function(){return css},xB:function(){return s}});var n=r(6498),o=r(7294),i=r(444),a=r(7278),l=r(8137);r(8417),r(8679);var s=(0,n.w)(function(e,t){var r=e.styles,s=(0,l.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var u,c=s.name,d=s.styles,p=s.next;void 0!==p;)c+=" "+p.name,d+=p.styles,p=p.next;var m=!0===t.compat,h=t.insert("",{name:c,styles:d},t.sheet,m);return m?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var y=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),y.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=y.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==s.next&&(0,i.My)(t,s.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",s,r,!1)},[t,s.name]),null});function css(){for(var e=arguments.length,t=Array(e),r=0;r=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},7278:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return l}});var n,o=r(7294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},444:function(e,t,r){"use strict";function getRegisteredStyles(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return insertStyles},fp:function(){return getRegisteredStyles},hC:function(){return registerStyles}});var registerStyles=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},insertStyles=function(e,t,r){registerStyles(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},5449:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0,function(e,t){if((t||!e||!e.__esModule)&&null!==e&&("object"==typeof e||"function"==typeof e)){var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n)}}(r(7294));var o=n(r(4938)),i=r(5893);function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub")},7600:function(e,t,r){"use strict";var n=r(4836);t.Z=void 0;var o=n(r(4938)),i=r(5893);t.Z=(0,o.default)([(0,i.jsx)("path",{d:"M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1m0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5z"},"0"),(0,i.jsx)("path",{d:"M17.5 10.5c.88 0 1.73.09 2.5.26V9.24c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99M13 12.49v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26V11.9c-.79-.15-1.64-.24-2.5-.24-1.7 0-3.24.3-4.5.83m4.5 1.84c-1.7 0-3.24.29-4.5.83v1.66c1.13-.64 2.7-.99 4.5-.99.88 0 1.73.09 2.5.26v-1.52c-.79-.16-1.64-.24-2.5-.24"},"1")],"MenuBook")},4938:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(7208)},5616:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(3534),s=r(6523),u=r(9707),c=r(9718),d=r(5893);let p=["className","component"];var m=r(1983),h=r(1265),y=r(606),g=r(1977);let b=(0,g.Z)("MuiBox",["root"]),v=(0,h.Z)(),x=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:m="MuiBox-root",generateClassName:h}=e,y=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=i.forwardRef(function(e,i){let l=(0,c.Z)(r),s=(0,u.Z)(e),{className:g,component:b="div"}=s,v=(0,o.Z)(s,p);return(0,d.jsx)(y,(0,n.Z)({as:b,ref:i,className:(0,a.Z)(g,h?h(m):m),theme:t&&l[t]||l},v))});return g}({themeId:y.Z,defaultTheme:v,defaultClassName:b.root,generateClassName:m.Z.generate});var S=x},8183:function(e,t,r){"use strict";r.d(t,{Z:function(){return W}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(948),u=r(1657),c=r(20),d=r(275),p=r(9632);function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var m=i.createContext(null);function getChildMapping(e,t){var r=Object.create(null);return e&&i.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,i.isValidElement)(e)?t(e):e}),r}function getProp(e,t,r){return null!=r[t]?r[t]:e.props[t]}var h=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},y=function(e){function TransitionGroup(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}TransitionGroup.prototype=Object.create(e.prototype),TransitionGroup.prototype.constructor=TransitionGroup,_setPrototypeOf(TransitionGroup,e);var t=TransitionGroup.prototype;return t.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},t.componentWillUnmount=function(){this.mounted=!1},TransitionGroup.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,a=t.handleExited;return{children:t.firstRender?getChildMapping(e.children,function(t){return(0,i.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:getProp(t,"appear",e),enter:getProp(t,"enter",e),exit:getProp(t,"exit",e)})}):(Object.keys(n=function(e,t){function getValueForKey(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var r,n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a={};for(var l in t){if(n[l])for(r=0;re,k,Z,C,P,$=(0,g.F4)(k||(k=_` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),T=(0,g.F4)(Z||(Z=_` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),R=(0,g.F4)(C||(C=_` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),O=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),M=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:d}=e,[p,m]=i.useState(!1),h=(0,a.Z)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),y=(0,a.Z)(r.child,p&&r.childLeaving,n&&r.childPulsate);return u||p||m(!0),i.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,u,d]),(0,v.jsx)("span",{className:h,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+o},children:(0,v.jsx)("span",{className:y})})},{name:"MuiTouchRipple",slot:"Ripple"})(P||(P=_` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),S.rippleVisible,$,550,({theme:e})=>e.transitions.easing.easeInOut,S.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,S.child,S.childLeaving,T,550,({theme:e})=>e.transitions.easing.easeInOut,S.childPulsate,R,({theme:e})=>e.transitions.easing.easeInOut),E=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=r,d=(0,o.Z)(r,w),[p,m]=i.useState([]),h=i.useRef(0),g=i.useRef(null);i.useEffect(()=>{g.current&&(g.current(),g.current=null)},[p]);let x=i.useRef(!1),k=(0,b.Z)(),Z=i.useRef(null),C=i.useRef(null),P=i.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:i}=e;m(e=>[...e,(0,v.jsx)(M,{classes:{ripple:(0,a.Z)(s.ripple,S.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,S.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,S.ripplePulsate),child:(0,a.Z)(s.child,S.child),childLeaving:(0,a.Z)(s.childLeaving,S.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,S.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},h.current)]),h.current+=1,g.current=i},[s]),$=i.useCallback((e={},t={},r=()=>{})=>{let n,o,i;let{pulsate:a=!1,center:s=l||t.pulsate,fakeElement:u=!1}=t;if((null==e?void 0:e.type)==="mousedown"&&x.current){x.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(x.current=!0);let c=u?null:C.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!s&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-d.left),o=Math.round(r-d.top)}else n=Math.round(d.width/2),o=Math.round(d.height/2);if(s)(i=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(i+=1);else{let e=2*Math.max(Math.abs((c?c.clientWidth:0)-n),n)+2,t=2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2;i=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===Z.current&&(Z.current=()=>{P({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},k.start(80,()=>{Z.current&&(Z.current(),Z.current=null)})):P({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},[l,P,k]),T=i.useCallback(()=>{$({},{pulsate:!0})},[$]),R=i.useCallback((e,t)=>{if(k.clear(),(null==e?void 0:e.type)==="touchend"&&Z.current){Z.current(),Z.current=null,k.start(0,()=>{R(e,t)});return}Z.current=null,m(e=>e.length>0?e.slice(1):e),g.current=t},[k]);return i.useImperativeHandle(t,()=>({pulsate:T,start:$,stop:R}),[T,$,R]),(0,v.jsx)(O,(0,n.Z)({className:(0,a.Z)(S.root,s.root,c),ref:C},d,{children:(0,v.jsx)(y,{component:null,exit:!0,children:p})}))});var j=r(5463);function getButtonBaseUtilityClass(e){return(0,j.ZP)("MuiButtonBase",e)}let U=(0,x.Z)("MuiButtonBase",["root","disabled","focusVisible"]),I=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],useUtilityClasses=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=(0,l.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},getButtonBaseUtilityClass,o);return r&&n&&(i.root+=` ${n}`),i},B=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${U.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),N=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:s=!1,children:m,className:h,component:y="button",disabled:g=!1,disableRipple:b=!1,disableTouchRipple:x=!1,focusRipple:S=!1,LinkComponent:w="a",onBlur:k,onClick:Z,onContextMenu:C,onDragLeave:P,onFocus:$,onFocusVisible:T,onKeyDown:R,onKeyUp:O,onMouseDown:M,onMouseLeave:j,onMouseUp:U,onTouchEnd:N,onTouchMove:W,onTouchStart:F,tabIndex:V=0,TouchRippleProps:L,touchRippleRef:D,type:G}=r,H=(0,o.Z)(r,I),K=i.useRef(null),q=i.useRef(null),X=(0,c.Z)(q,D),{isFocusVisibleRef:Y,onFocus:J,onBlur:Q,ref:ee}=(0,p.Z)(),[et,er]=i.useState(!1);g&&et&&er(!1),i.useImperativeHandle(l,()=>({focusVisible:()=>{er(!0),K.current.focus()}}),[]);let[en,eo]=i.useState(!1);i.useEffect(()=>{eo(!0)},[]);let ei=en&&!b&&!g;function useRippleHandler(e,t,r=x){return(0,d.Z)(n=>(t&&t(n),!r&&q.current&&q.current[e](n),!0))}i.useEffect(()=>{et&&S&&!b&&en&&q.current.pulsate()},[b,S,et,en]);let ea=useRippleHandler("start",M),el=useRippleHandler("stop",C),es=useRippleHandler("stop",P),eu=useRippleHandler("stop",U),ec=useRippleHandler("stop",e=>{et&&e.preventDefault(),j&&j(e)}),ed=useRippleHandler("start",F),ep=useRippleHandler("stop",N),ef=useRippleHandler("stop",W),em=useRippleHandler("stop",e=>{Q(e),!1===Y.current&&er(!1),k&&k(e)},!1),eh=(0,d.Z)(e=>{K.current||(K.current=e.currentTarget),J(e),!0===Y.current&&(er(!0),T&&T(e)),$&&$(e)}),isNonNativeButton=()=>{let e=K.current;return y&&"button"!==y&&!("A"===e.tagName&&e.href)},ey=i.useRef(!1),eg=(0,d.Z)(e=>{S&&!ey.current&&et&&q.current&&" "===e.key&&(ey.current=!0,q.current.stop(e,()=>{q.current.start(e)})),e.target===e.currentTarget&&isNonNativeButton()&&" "===e.key&&e.preventDefault(),R&&R(e),e.target===e.currentTarget&&isNonNativeButton()&&"Enter"===e.key&&!g&&(e.preventDefault(),Z&&Z(e))}),eb=(0,d.Z)(e=>{S&&" "===e.key&&q.current&&et&&!e.defaultPrevented&&(ey.current=!1,q.current.stop(e,()=>{q.current.pulsate(e)})),O&&O(e),Z&&e.target===e.currentTarget&&isNonNativeButton()&&" "===e.key&&!e.defaultPrevented&&Z(e)}),ev=y;"button"===ev&&(H.href||H.to)&&(ev=w);let ex={};"button"===ev?(ex.type=void 0===G?"button":G,ex.disabled=g):(H.href||H.to||(ex.role="button"),g&&(ex["aria-disabled"]=g));let eS=(0,c.Z)(t,ee,K),ew=(0,n.Z)({},r,{centerRipple:s,component:y,disabled:g,disableRipple:b,disableTouchRipple:x,focusRipple:S,tabIndex:V,focusVisible:et}),ek=useUtilityClasses(ew);return(0,v.jsxs)(B,(0,n.Z)({as:ev,className:(0,a.Z)(ek.root,h),ownerState:ew,onBlur:em,onClick:Z,onContextMenu:el,onFocus:eh,onKeyDown:eg,onKeyUp:eb,onMouseDown:ea,onMouseLeave:ec,onMouseUp:eu,onDragLeave:es,onTouchEnd:ep,onTouchMove:ef,onTouchStart:ed,ref:eS,tabIndex:g?-1:V,type:G},ex,H,{children:[m,ei?(0,v.jsx)(E,(0,n.Z)({ref:X,center:s},L)):null]}))});var W=N},9417:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(2236),s=r(8510),u=r(2101),c=r(948),d=r(6206),p=r(1657),m=r(8183),h=r(8216),y=r(1977),g=r(5463);function getButtonUtilityClass(e){return(0,g.ZP)("MuiButton",e)}let b=(0,y.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),v=i.createContext({}),x=i.createContext(void 0);var S=r(5893);let w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],useUtilityClasses=e=>{let{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,classes:l}=e,u={root:["root",a,`${a}${(0,h.Z)(t)}`,`size${(0,h.Z)(i)}`,`${a}Size${(0,h.Z)(i)}`,`color${(0,h.Z)(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,h.Z)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,h.Z)(i)}`]},c=(0,s.Z)(u,getButtonUtilityClass,l);return(0,o.Z)({},l,c)},commonIconStyles=e=>(0,o.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),k=(0,c.ZP)(m.Z,{shouldForwardProp:e=>(0,d.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${(0,h.Z)(r.color)}`],t[`size${(0,h.Z)(r.size)}`],t[`${r.variant}Size${(0,h.Z)(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;let i="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,o.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,u.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${b.focusVisible}`]:(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${b.disabled}`]:(0,o.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,u.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${b.disabled}`]:{boxShadow:"none"}}),Z=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,h.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},commonIconStyles(e))),C=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,h.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},commonIconStyles(e))),P=i.forwardRef(function(e,t){let r=i.useContext(v),s=i.useContext(x),u=(0,l.Z)(r,e),c=(0,p.Z)({props:u,name:"MuiButton"}),{children:d,color:m="primary",component:h="button",className:y,disabled:g=!1,disableElevation:b=!1,disableFocusRipple:P=!1,endIcon:$,focusVisibleClassName:T,fullWidth:R=!1,size:O="medium",startIcon:M,type:E,variant:j="text"}=c,U=(0,n.Z)(c,w),I=(0,o.Z)({},c,{color:m,component:h,disabled:g,disableElevation:b,disableFocusRipple:P,fullWidth:R,size:O,type:E,variant:j}),B=useUtilityClasses(I),N=M&&(0,S.jsx)(Z,{className:B.startIcon,ownerState:I,children:M}),W=$&&(0,S.jsx)(C,{className:B.endIcon,ownerState:I,children:$}),F=s||"";return(0,S.jsxs)(k,(0,o.Z)({ownerState:I,className:(0,a.Z)(r.className,B.root,y,F),component:h,disabled:g,focusRipple:!P,focusVisibleClassName:(0,a.Z)(B.focusVisible,T),ref:t,type:E},U,{classes:B,children:[N,d,W]}))});var $=P},2660:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(1657),u=r(948),c=r(1977),d=r(5463);function getCardActionAreaUtilityClass(e){return(0,d.ZP)("MuiCardActionArea",e)}let p=(0,c.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var m=r(8183),h=r(5893);let y=["children","className","focusVisibleClassName"],useUtilityClasses=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"],focusHighlight:["focusHighlight"]},getCardActionAreaUtilityClass,t)},g=(0,u.ZP)(m.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${p.focusVisible} .${p.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}})),b=(0,u.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})})),v=i.forwardRef(function(e,t){let r=(0,s.Z)({props:e,name:"MuiCardActionArea"}),{children:i,className:l,focusVisibleClassName:u}=r,c=(0,o.Z)(r,y),d=useUtilityClasses(r);return(0,h.jsxs)(g,(0,n.Z)({className:(0,a.Z)(d.root,l),focusVisibleClassName:(0,a.Z)(u,d.focusVisible),ref:t,ownerState:r},c,{children:[i,(0,h.jsx)(b,{className:d.focusHighlight,ownerState:r})]}))});var x=v},4267:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),s=r(948),u=r(1657),c=r(1977),d=r(5463);function getCardContentUtilityClass(e){return(0,d.ZP)("MuiCardContent",e)}(0,c.Z)("MuiCardContent",["root"]);var p=r(5893);let m=["className","component"],useUtilityClasses=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"]},getCardContentUtilityClass,t)},h=(0,s.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),y=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiCardContent"}),{className:i,component:l="div"}=r,s=(0,o.Z)(r,m),c=(0,n.Z)({},r,{component:l}),d=useUtilityClasses(c);return(0,p.jsx)(h,(0,n.Z)({as:l,className:(0,a.Z)(d.root,i),ownerState:c,ref:t},s))});var g=y},8236:function(e,t,r){"use strict";r.d(t,{Z:function(){return R}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5463),s=r(8510),u=r(2908),c=r(5149),d=r(3534),p=r(8027),m=r(7172),h=r(6523);let y=["ownerState"],g=["variants"],b=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function shouldForwardProp(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,m.Z)(),lowercaseFirstLetter=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function resolveTheme({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function processStyleArg(e,t){let{ownerState:r}=t,i=(0,n.Z)(t,y),a="function"==typeof e?e((0,o.Z)({ownerState:r},i)):e;if(Array.isArray(a))return a.flatMap(e=>processStyleArg(e,(0,o.Z)({ownerState:r},i)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,n.Z)(a,g),l=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,o.Z)({ownerState:r},i,r)):Object.keys(e.props).forEach(n=>{(null==r?void 0:r[n])!==e.props[n]&&i[n]!==e.props[n]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof e.style?e.style((0,o.Z)({ownerState:r},i,r)):e.style))}),l}return a}let x=function(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:i=shouldForwardProp,slotShouldForwardProp:a=shouldForwardProp}=e,systemSx=e=>(0,h.Z)((0,o.Z)({},e,{theme:resolveTheme((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return systemSx.__mui_systemSx=!0,(e,l={})=>{var s;let u;(0,d.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:c,slot:m,skipVariantsResolver:h,skipSx:y,overridesResolver:g=(s=lowercaseFirstLetter(m))?(e,t)=>t[s]:null}=l,v=(0,n.Z)(l,b),x=void 0!==h?h:m&&"Root"!==m&&"root"!==m||!1,S=y||!1,w=shouldForwardProp;"Root"===m||"root"===m?w=i:m?w=a:"string"==typeof e&&e.charCodeAt(0)>96&&(w=void 0);let k=(0,d.default)(e,(0,o.Z)({shouldForwardProp:w,label:u},v)),transformStyleArg=e=>"function"==typeof e&&e.__emotion_real!==e||(0,p.P)(e)?n=>processStyleArg(e,(0,o.Z)({},n,{theme:resolveTheme({theme:n.theme,defaultTheme:r,themeId:t})})):e,muiStyledResolver=(n,...i)=>{let a=transformStyleArg(n),l=i?i.map(transformStyleArg):[];c&&g&&l.push(e=>{let n=resolveTheme((0,o.Z)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[c]||!n.components[c].styleOverrides)return null;let i=n.components[c].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=processStyleArg(r,(0,o.Z)({},e,{theme:n}))}),g(e,a)}),c&&!x&&l.push(e=>{var n;let i=resolveTheme((0,o.Z)({},e,{defaultTheme:r,themeId:t})),a=null==i||null==(n=i.components)||null==(n=n[c])?void 0:n.variants;return processStyleArg({variants:a},(0,o.Z)({},e,{theme:i}))}),S||l.push(systemSx);let s=l.length-i.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=k(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(muiStyledResolver.withConfig=k.withConfig),muiStyledResolver}}();var S=r(5893);let w=["className","component","disableGutters","fixed","maxWidth","classes"],k=(0,m.Z)(),Z=x("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,u.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemePropsDefault=e=>(0,c.Z)({props:e,name:"MuiContainer",defaultTheme:k}),useUtilityClasses=(e,t)=>{let{classes:r,fixed:n,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,u.Z)(String(i))}`,n&&"fixed",o&&"disableGutters"]};return(0,s.Z)(a,e=>(0,l.ZP)(t,e),r)};var C=r(8216),P=r(948),$=r(1657);let T=function(e={}){let{createStyledComponent:t=Z,useThemeProps:r=useThemePropsDefault,componentName:l="MuiContainer"}=e,s=t(({theme:e,ownerState:t})=>(0,o.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{let n=e.breakpoints.values[r];return 0!==n&&(t[e.breakpoints.up(r)]={maxWidth:`${n}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,o.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}})),u=i.forwardRef(function(e,t){let i=r(e),{className:u,component:c="div",disableGutters:d=!1,fixed:p=!1,maxWidth:m="lg"}=i,h=(0,n.Z)(i,w),y=(0,o.Z)({},i,{component:c,disableGutters:d,fixed:p,maxWidth:m}),g=useUtilityClasses(y,l);return(0,S.jsx)(s,(0,o.Z)({as:c,ownerState:y,className:(0,a.Z)(g.root,u),ref:t},h))});return u}({createStyledComponent:(0,P.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,C.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,$.Z)({props:e,name:"MuiContainer"})});var R=T},1519:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(8510),s=r(2101),u=r(948),c=r(1657),d=r(1977),p=r(5463);function getDividerUtilityClass(e){return(0,p.ZP)("MuiDivider",e)}(0,d.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var m=r(5893);let h=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],useUtilityClasses=e=>{let{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:u}=e;return(0,l.Z)({root:["root",t&&"absolute",u,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},getDividerUtilityClass,n)},y=(0,u.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,s.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>(0,o.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>(0,o.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),g=(0,u.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>(0,o.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),b=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:s,component:u=l?"div":"hr",flexItem:d=!1,light:p=!1,orientation:b="horizontal",role:v="hr"!==u?"separator":void 0,textAlign:x="center",variant:S="fullWidth"}=r,w=(0,n.Z)(r,h),k=(0,o.Z)({},r,{absolute:i,component:u,flexItem:d,light:p,orientation:b,role:v,textAlign:x,variant:S}),Z=useUtilityClasses(k);return(0,m.jsx)(y,(0,o.Z)({as:u,className:(0,a.Z)(Z.root,s),role:v,ref:t,ownerState:k},w,{children:l?(0,m.jsx)(g,{className:Z.wrapper,ownerState:k,children:l}):null}))});b.muiSkipListHighlight=!0;var v=b},1181:function(e,t,r){"use strict";r.d(t,{ZP:function(){return C}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5408),s=r(9707),u=r(8510),c=r(948),d=r(1657),p=r(9718),m=r(247),h=r(606);let y=i.createContext();var g=r(1977),b=r(5463);function getGridUtilityClass(e){return(0,b.ZP)("MuiGrid",e)}let v=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=(0,g.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...v.map(e=>`grid-xs-${e}`),...v.map(e=>`grid-sm-${e}`),...v.map(e=>`grid-md-${e}`),...v.map(e=>`grid-lg-${e}`),...v.map(e=>`grid-xl-${e}`)]);var S=r(5893);let w=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function getOffset(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function extractZeroValueBreakpointKeys({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(e=>{""===r&&0!==t[e]&&(r=e)});let n=Object.keys(e).sort((t,r)=>e[t]-e[r]);return n.slice(0,n.indexOf(r))}let k=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:n,direction:o,item:i,spacing:a,wrap:l,zeroMinWidth:s,breakpoints:u}=r,c=[];n&&(c=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];let n=[];return t.forEach(t=>{let o=e[t];Number(o)>0&&n.push(r[`spacing-${t}-${String(o)}`])}),n}(a,u,t));let d=[];return u.forEach(e=>{let n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,s&&t.zeroMinWidth,...c,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})(({ownerState:e})=>(0,o.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap}),function({theme:e,ownerState:t}){let r=(0,l.P$)({values:t.direction,breakpoints:e.breakpoints.values});return(0,l.k9)({theme:e},r,e=>{let t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${x.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){let{container:r,rowSpacing:n}=t,o={};if(r&&0!==n){let t;let r=(0,l.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=extractZeroValueBreakpointKeys({breakpoints:e.breakpoints.values,values:r})),o=(0,l.k9)({theme:e},r,(r,n)=>{var o;let i=e.spacing(r);return"0px"!==i?{marginTop:`-${getOffset(i)}`,[`& > .${x.item}`]:{paddingTop:getOffset(i)}}:null!=(o=t)&&o.includes(n)?{}:{marginTop:0,[`& > .${x.item}`]:{paddingTop:0}}})}return o},function({theme:e,ownerState:t}){let{container:r,columnSpacing:n}=t,o={};if(r&&0!==n){let t;let r=(0,l.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=extractZeroValueBreakpointKeys({breakpoints:e.breakpoints.values,values:r})),o=(0,l.k9)({theme:e},r,(r,n)=>{var o;let i=e.spacing(r);return"0px"!==i?{width:`calc(100% + ${getOffset(i)})`,marginLeft:`-${getOffset(i)}`,[`& > .${x.item}`]:{paddingLeft:getOffset(i)}}:null!=(o=t)&&o.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${x.item}`]:{paddingLeft:0}}})}return o},function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,i)=>{let a={};if(t[i]&&(r=t[i]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let s=(0,l.P$)({values:t.columns,breakpoints:e.breakpoints.values}),u="object"==typeof s?s[i]:s;if(null==u)return n;let c=`${Math.round(r/u*1e8)/1e6}%`,d={};if(t.container&&t.item&&0!==t.columnSpacing){let r=e.spacing(t.columnSpacing);if("0px"!==r){let e=`calc(${c} + ${getOffset(r)})`;d={flexBasis:e,maxWidth:e}}}a=(0,o.Z)({flexBasis:c,flexGrow:0,maxWidth:c},d)}return 0===e.breakpoints.values[i]?Object.assign(n,a):n[e.breakpoints.up(i)]=a,n},{})}),useUtilityClasses=e=>{let{classes:t,container:r,direction:n,item:o,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:s}=e,c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];let r=[];return t.forEach(t=>{let n=e[t];if(Number(n)>0){let e=`spacing-${t}-${String(n)}`;r.push(e)}}),r}(i,s));let d=[];s.forEach(t=>{let r=e[t];r&&d.push(`grid-${t}-${String(r)}`)});let p={root:["root",r&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,u.Z)(p,getGridUtilityClass,t)},Z=i.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,p.Z)(m.Z);return e[h.Z]||e}(),u=(0,s.Z)(r),{className:c,columns:g,columnSpacing:b,component:v="div",container:x=!1,direction:Z="row",item:C=!1,rowSpacing:P,spacing:$=0,wrap:T="wrap",zeroMinWidth:R=!1}=u,O=(0,n.Z)(u,w),M=P||$,E=b||$,j=i.useContext(y),U=x?g||12:j,I={},B=(0,o.Z)({},O);l.keys.forEach(e=>{null!=O[e]&&(I[e]=O[e],delete B[e])});let N=(0,o.Z)({},u,{columns:U,container:x,direction:Z,item:C,rowSpacing:M,columnSpacing:E,wrap:T,zeroMinWidth:R,spacing:$},I,{breakpoints:l.keys}),W=useUtilityClasses(N);return(0,S.jsx)(y.Provider,{value:U,children:(0,S.jsx)(k,(0,o.Z)({ownerState:N,className:(0,a.Z)(W.root,c),as:v,ref:t},B))})});var C=Z},5861:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(9707),s=r(8510),u=r(948),c=r(1657),d=r(8216),p=r(1977),m=r(5463);function getTypographyUtilityClass(e){return(0,m.ZP)("MuiTypography",e)}(0,p.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var h=r(5893);let y=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],useUtilityClasses=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&`align${(0,d.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,s.Z)(l,getTypographyUtilityClass,a)},g=(0,u.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,d.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,o.Z)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},v={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},transformDeprecatedColors=e=>v[e]||e,x=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiTypography"}),i=transformDeprecatedColors(r.color),s=(0,l.Z)((0,o.Z)({},r,{color:i})),{align:u="inherit",className:d,component:p,gutterBottom:m=!1,noWrap:v=!1,paragraph:x=!1,variant:S="body1",variantMapping:w=b}=s,k=(0,n.Z)(s,y),Z=(0,o.Z)({},s,{align:u,color:i,className:d,component:p,gutterBottom:m,noWrap:v,paragraph:x,variant:S,variantMapping:w}),C=p||(x?"p":w[S]||b[S])||"span",P=useUtilityClasses(Z);return(0,h.jsx)(g,(0,o.Z)({as:C,ref:t,ownerState:Z,className:(0,a.Z)(P.root,d)},k))});var S=x},1265:function(e,t,r){"use strict";r.d(t,{Z:function(){return styles_createTheme}});var n=r(7462),o=r(3366),i=r(8758),a=r(8027),l=r(4920),s=r(6523),u=r(7172),c=r(2101),d={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},m={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};let x=["mode","contrastThreshold","tonalOffset"],S={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function addLightOrDark(e,t,r,n){let o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,c.$n)(e.main,o):"dark"===t&&(e.dark=(0,c._j)(e.main,i)))}let k=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Z={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function createShadow(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let P=["none",createShadow(0,2,1,-1,0,1,1,0,0,1,3,0),createShadow(0,3,1,-2,0,2,2,0,0,1,5,0),createShadow(0,3,3,-2,0,3,4,0,0,1,8,0),createShadow(0,2,4,-1,0,4,5,0,0,1,10,0),createShadow(0,3,5,-1,0,5,8,0,0,1,14,0),createShadow(0,3,5,-1,0,6,10,0,0,1,18,0),createShadow(0,4,5,-2,0,7,10,1,0,2,16,1),createShadow(0,5,5,-3,0,8,10,1,0,3,14,2),createShadow(0,5,6,-3,0,9,12,1,0,3,16,2),createShadow(0,6,6,-3,0,10,14,1,0,4,18,3),createShadow(0,6,7,-4,0,11,15,1,0,4,20,3),createShadow(0,7,8,-4,0,12,17,2,0,5,22,4),createShadow(0,7,8,-4,0,13,19,2,0,5,24,4),createShadow(0,7,9,-4,0,14,21,2,0,5,26,4),createShadow(0,8,9,-5,0,15,22,2,0,6,28,5),createShadow(0,8,10,-5,0,16,24,2,0,6,30,5),createShadow(0,8,11,-5,0,17,26,2,0,6,32,5),createShadow(0,9,11,-5,0,18,28,2,0,7,34,6),createShadow(0,9,12,-6,0,19,29,2,0,7,36,6),createShadow(0,10,13,-6,0,20,31,3,0,8,38,7),createShadow(0,10,13,-6,0,21,33,3,0,8,40,7),createShadow(0,10,14,-6,0,22,35,3,0,8,42,7),createShadow(0,11,14,-7,0,23,36,3,0,9,44,8),createShadow(0,11,15,-7,0,24,38,3,0,9,46,8)],$=["duration","easing","delay"],T={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},R={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function formatMs(e){return`${Math.round(e)}ms`}function getAutoHeightDuration(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var O={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let M=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var styles_createTheme=function(e={},...t){var r;let{mixins:E={},palette:j={},transitions:U={},typography:I={}}=e,B=(0,o.Z)(e,M);if(e.vars)throw Error((0,i.Z)(18));let N=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:l=.2}=e,s=(0,o.Z)(e,x),u=e.primary||function(e="light"){return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),k=e.secondary||function(e="light"){return"dark"===e?{main:m[200],light:m[50],dark:m[400]}:{main:m[500],light:m[300],dark:m[700]}}(t),Z=e.error||function(e="light"){return"dark"===e?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(t),C=e.info||function(e="light"){return"dark"===e?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(t),P=e.success||function(e="light"){return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),$=e.warning||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:"#ed6c02",light:y[500],dark:y[900]}}(t);function getContrastText(e){let t=(0,c.mi)(e,w.text.primary)>=r?w.text.primary:S.text.primary;return t}let augmentColor=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,n.Z)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,i.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return addLightOrDark(e,"light",o,l),addLightOrDark(e,"dark",a,l),e.contrastText||(e.contrastText=getContrastText(e.main)),e},T=(0,a.Z)((0,n.Z)({common:(0,n.Z)({},d),mode:t,primary:augmentColor({color:u,name:"primary"}),secondary:augmentColor({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:augmentColor({color:Z,name:"error"}),warning:augmentColor({color:$,name:"warning"}),info:augmentColor({color:C,name:"info"}),success:augmentColor({color:P,name:"success"}),grey:p,contrastThreshold:r,getContrastText,augmentColor,tonalOffset:l},{dark:w,light:S}[t]),s);return T}(j),W=(0,u.Z)(e),F=(0,a.Z)(W,{mixins:(r=W.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}}},E)),palette:N,shadows:P.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:i=C,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:m,pxToRem:h}=r,y=(0,o.Z)(r,k),g=l/14,b=h||(e=>`${e/p*g}rem`),buildVariant=(e,t,r,o,a)=>(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:b(t),lineHeight:r},i===C?{letterSpacing:`${Math.round(1e5*(o/t))/1e5}em`}:{},a,m),v={h1:buildVariant(s,96,1.167,-1.5),h2:buildVariant(s,60,1.2,-.5),h3:buildVariant(u,48,1.167,0),h4:buildVariant(u,34,1.235,.25),h5:buildVariant(u,24,1.334,0),h6:buildVariant(c,20,1.6,.15),subtitle1:buildVariant(u,16,1.75,.15),subtitle2:buildVariant(c,14,1.57,.1),body1:buildVariant(u,16,1.5,.15),body2:buildVariant(u,14,1.43,.15),button:buildVariant(c,14,1.75,.4,Z),caption:buildVariant(u,12,1.66,.4),overline:buildVariant(u,12,2.66,1,Z),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:p,pxToRem:b,fontFamily:i,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:d},v),y,{clone:!1})}(N,I),transitions:function(e){let t=(0,n.Z)({},T,e.easing),r=(0,n.Z)({},R,e.duration);return(0,n.Z)({getAutoHeightDuration,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0}=n;return(0,o.Z)(n,$),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:formatMs(i)} ${a} ${"string"==typeof l?l:formatMs(l)}`).join(",")}},e,{easing:t,duration:r})}(U),zIndex:(0,n.Z)({},O)});return F=(0,a.Z)(F,B),(F=t.reduce((e,t)=>(0,a.Z)(e,t),F)).unstable_sxConfig=(0,n.Z)({},l.Z,null==B?void 0:B.unstable_sxConfig),F.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},F}},247:function(e,t,r){"use strict";var n=r(1265);let o=(0,n.Z)();t.Z=o},606:function(e,t){"use strict";t.Z="$$material"},6206:function(e,t,r){"use strict";r.d(t,{Z:function(){return styles_rootShouldForwardProp}});var styles_rootShouldForwardProp=e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e},948:function(e,t,r){"use strict";var n=r(8128),o=r(247),i=r(606),a=r(6206);let l=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z});t.ZP=l},1657:function(e,t,r){"use strict";r.d(t,{Z:function(){return useThemeProps}});var n=r(5149),o=r(247),i=r(606);function useThemeProps({props:e,name:t}){return(0,n.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},8216:function(e,t,r){"use strict";var n=r(2908);t.Z=n.Z},7208:function(e,t,r){"use strict";r.r(t),r.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return utils_createChainedFunction},createSvgIcon:function(){return createSvgIcon},debounce:function(){return utils_debounce},deprecatedPropType:function(){return utils_deprecatedPropType},isMuiElement:function(){return utils_isMuiElement},ownerDocument:function(){return x},ownerWindow:function(){return utils_ownerWindow},requirePropFactory:function(){return utils_requirePropFactory},setRef:function(){return S},unstable_ClassNameGenerator:function(){return T},unstable_useEnhancedEffect:function(){return w},unstable_useId:function(){return utils_useId},unsupportedProp:function(){return utils_unsupportedProp},useControlled:function(){return utils_useControlled},useEventCallback:function(){return C.Z},useForkRef:function(){return P.Z},useIsFocusVisible:function(){return $.Z}});var n=r(1983),o=r(8216),utils_createChainedFunction=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})},i=r(7462),a=r(7294),l=r.t(a,2),s=r(3366),u=r(512),c=r(8510),d=r(1657),p=r(948),m=r(1977),h=r(5463);function getSvgIconUtilityClass(e){return(0,h.ZP)("MuiSvgIcon",e)}(0,m.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=r(5893);let g=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],useUtilityClasses=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,o.Z)(t)}`,`fontSize${(0,o.Z)(r)}`]};return(0,c.Z)(i,getSvgIconUtilityClass,n)},b=(0,p.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,o.Z)(r.color)}`],t[`fontSize${(0,o.Z)(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,l,s,u,c,d,p,m,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),v=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:l="inherit",component:c="svg",fontSize:p="medium",htmlColor:m,inheritViewBox:h=!1,titleAccess:v,viewBox:x="0 0 24 24"}=r,S=(0,s.Z)(r,g),w=a.isValidElement(n)&&"svg"===n.type,k=(0,i.Z)({},r,{color:l,component:c,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:x,hasSvgAsChild:w}),Z={};h||(Z.viewBox=x);let C=useUtilityClasses(k);return(0,y.jsxs)(b,(0,i.Z)({as:c,className:(0,u.Z)(C.root,o),focusable:"false",color:m,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:t},Z,S,w&&n.props,{ownerState:k,children:[w?n.props.children:n,v?(0,y.jsx)("title",{children:v}):null]}))});function createSvgIcon(e,t){function Component(r,n){return(0,y.jsx)(v,(0,i.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return Component.muiName=v.muiName,a.memo(a.forwardRef(Component))}v.muiName="SvgIcon";var utils_debounce=function(e,t=166){let r;function debounced(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return debounced.clear=()=>{clearTimeout(r)},debounced},utils_deprecatedPropType=function(e,t){return()=>null},utils_isMuiElement=function(e,t){var r,n;return a.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(n=e.type)||null==(n=n._payload)||null==(n=n.value)?void 0:n.muiName)};function ownerDocument(e){return e&&e.ownerDocument||document}var x=ownerDocument,utils_ownerWindow=function(e){let t=ownerDocument(e);return t.defaultView||window},utils_requirePropFactory=function(e,t){return()=>null},S=r(5091).Z,w=r(4895).Z;let k=0,Z=l["useId".toString()];var utils_useId=function(e){if(void 0!==Z){let t=Z();return null!=e?e:t}return function(e){let[t,r]=a.useState(e),n=e||t;return a.useEffect(()=>{null==t&&(k+=1,r(`mui-${k}`))},[t]),n}(e)},utils_unsupportedProp=function(e,t,r,n,o){return null},utils_useControlled=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=a.useRef(void 0!==e),[i,l]=a.useState(t),s=o?e:i,u=a.useCallback(e=>{o||l(e)},[]);return[s,u]},C=r(275),P=r(20),$=r(9632);let T={configure:e=>{n.Z.configure(e)}}},275:function(e,t,r){"use strict";r.d(t,{Z:function(){return utils_useEventCallback}});var n=r(7294),o=r(4895),utils_useEventCallback=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},20:function(e,t,r){"use strict";r.d(t,{Z:function(){return utils_useForkRef}});var n=r(7294),o=r(5091),utils_useForkRef=function(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},9632:function(e,t,r){"use strict";r.d(t,{Z:function(){return utils_useIsFocusVisible}});var n=r(7294),o=r(9192);let i=!0,a=!1,l=new o.V,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function handleKeyDown(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function handlePointerDown(){i=!1}function handleVisibilityChange(){"hidden"===this.visibilityState&&a&&(i=!0)}var utils_useIsFocusVisible=function(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",handleKeyDown,!0),t.addEventListener("mousedown",handlePointerDown,!0),t.addEventListener("pointerdown",handlePointerDown,!0),t.addEventListener("touchstart",handlePointerDown,!0),t.addEventListener("visibilitychange",handleVisibilityChange,!0)}},[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!s[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,()=>{a=!1}),t.current=!1,!0)},ref:e}}},3534:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{GlobalStyles:function(){return GlobalStyles},StyledEngineProvider:function(){return StyledEngineProvider},ThemeContext:function(){return u.T},css:function(){return h.iv},default:function(){return styled},internal_processStyles:function(){return internal_processStyles},keyframes:function(){return h.F4}});var o=r(7462),i=r(7294),a=r(5042),l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,s=(0,a.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),u=r(6498),c=r(444),d=r(8137),p=r(7278),testOmitPropsOnComponent=function(e){return"theme"!==e},getDefaultShouldForwardProp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:testOmitPropsOnComponent},composeShouldForwardProps=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Insertion=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,p.L)(function(){return(0,c.My)(t,r,n)}),null},m=(function createStyled(e,t){var r,n,a=e.__emotion_real===e,l=a&&e.__emotion_base||e;void 0!==t&&(r=t.label,n=t.target);var s=composeShouldForwardProps(e,t,a),p=s||getDefaultShouldForwardProp(l),m=!p("as");return function(){var h=arguments,y=a&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&y.push("label:"+r+";"),null==h[0]||void 0===h[0].raw)y.push.apply(y,h);else{y.push(h[0][0]);for(var g=h.length,b=1;bt(null==e||0===Object.keys(e).length?r:e):t;return(0,g.jsx)(h.xB,{styles:n})}function styled(e,t){let r=m(e,t);return r}"object"==typeof document&&(n=(0,y.Z)({key:"css",prepend:!0}));let internal_processStyles=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},2101:function(e,t,r){"use strict";var n=r(4836);t.Fq=function(e,t){return e=decomposeColor(e),t=clampWrapper(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,recomposeColor(e)},t._j=function(e,t){if(e=decomposeColor(e),t=clampWrapper(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return recomposeColor(e)},t.mi=function(e,t){let r=getLuminance(e),n=getLuminance(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=decomposeColor(e),t=clampWrapper(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return recomposeColor(e)};var o=n(r(743)),i=n(r(9425));function clampWrapper(e,t=0,r=1){return(0,i.default)(e,t,r)}function decomposeColor(e){let t;if(e.type)return e;if("#"===e.charAt(0))return decomposeColor(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,o.default)(9,e));let i=e.substring(r+1,e.length-1);if("color"===n){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,o.default)(10,t))}else i=i.split(",");return{type:n,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function recomposeColor(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function getLuminance(e){let t="hsl"===(e=decomposeColor(e)).type||"hsla"===e.type?decomposeColor(function(e){e=decomposeColor(e);let{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),f=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),a="rgb",l=[Math.round(255*f(0)),Math.round(255*f(8)),Math.round(255*f(4))];return"hsla"===e.type&&(a+="a",l.push(t[3])),recomposeColor({type:a,values:l})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},8128:function(e,t,r){"use strict";var n=r(4836);t.ZP=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=shouldForwardProp,slotShouldForwardProp:s=shouldForwardProp}=e,systemSx=e=>(0,u.default)((0,o.default)({},e,{theme:resolveTheme((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return systemSx.__mui_systemSx=!0,(e,u={})=>{var c;let d;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:h,skipVariantsResolver:y,skipSx:g,overridesResolver:b=(c=lowercaseFirstLetter(h))?(e,t)=>t[c]:null}=u,v=(0,i.default)(u,p),x=void 0!==y?y:h&&"Root"!==h&&"root"!==h||!1,S=g||!1,w=shouldForwardProp;"Root"===h||"root"===h?w=n:h?w=s:"string"==typeof e&&e.charCodeAt(0)>96&&(w=void 0);let k=(0,a.default)(e,(0,o.default)({shouldForwardProp:w,label:d},v)),transformStyleArg=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?n=>processStyleArg(e,(0,o.default)({},n,{theme:resolveTheme({theme:n.theme,defaultTheme:r,themeId:t})})):e,muiStyledResolver=(n,...i)=>{let a=transformStyleArg(n),l=i?i.map(transformStyleArg):[];m&&b&&l.push(e=>{let n=resolveTheme((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[m]||!n.components[m].styleOverrides)return null;let i=n.components[m].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=processStyleArg(r,(0,o.default)({},e,{theme:n}))}),b(e,a)}),m&&!x&&l.push(e=>{var n;let i=resolveTheme((0,o.default)({},e,{defaultTheme:r,themeId:t})),a=null==i||null==(n=i.components)||null==(n=n[m])?void 0:n.variants;return processStyleArg({variants:a},(0,o.default)({},e,{theme:i}))}),S||l.push(systemSx);let s=l.length-i.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=k(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(muiStyledResolver.withConfig=k.withConfig),muiStyledResolver}};var o=n(r(434)),i=n(r(7071)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(3534)),l=r(211);n(r(9698)),n(r(7889));var s=n(r(9926)),u=n(r(386));let c=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function shouldForwardProp(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,s.default)(),lowercaseFirstLetter=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function resolveTheme({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function processStyleArg(e,t){let{ownerState:r}=t,n=(0,i.default)(t,c),a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>processStyleArg(e,(0,o.default)({ownerState:r},n)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){let{variants:e=[]}=a,t=(0,i.default)(a,d),l=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(o=>{(null==r?void 0:r[o])!==e.props[o]&&n[o]!==e.props[o]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),l}return a}},5408:function(e,t,r){"use strict";r.d(t,{L7:function(){return removeUnusedBreakpoints},P$:function(){return resolveBreakpointValues},VO:function(){return n},W8:function(){return createEmptyBreakpointObject},k9:function(){return handleBreakpoints}});let n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function handleBreakpoints(e,t,r){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i)){let n=e.up(i);o[n]=r(t[i],i)}else o[i]=t[i];return o},{})}let a=r(t);return a}function createEmptyBreakpointObject(e={}){var t;let r=null==(t=e.keys)?void 0:t.reduce((t,r)=>{let n=e.up(r);return t[n]={},t},{});return r||{}}function removeUnusedBreakpoints(e,t){return e.reduce((e,t)=>{let r=e[t],n=!r||0===Object.keys(r).length;return n&&delete e[t],e},t)}function resolveBreakpointValues({values:e,breakpoints:t,base:r}){let n;let o=r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n{null!=e[t]&&(r[t]=!0)}),r}(e,t),i=Object.keys(o);return 0===i.length?e:i.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},7064:function(e,t,r){"use strict";function applyStyles(e,t){if(this.vars&&"function"==typeof this.getColorSchemeSelector){let r=this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return this.palette.mode===e?t:{}}r.d(t,{Z:function(){return applyStyles}})},1512:function(e,t,r){"use strict";r.d(t,{Z:function(){return createBreakpoints}});var n=r(3366),o=r(7462);let i=["values","unit","step"],sortBreakpointsValues=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function createBreakpoints(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:a=5}=e,l=(0,n.Z)(e,i),s=sortBreakpointsValues(t),u=Object.keys(s);function up(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function down(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-a/100}${r})`}function between(e,n){let o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-a/100}${r})`}return(0,o.Z)({keys:u,values:s,up,down,between,only:function(e){return u.indexOf(e)+1{let r=0===e.length?[1]:e;return r.map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return spacing.mui=!0,spacing}(h),x=(0,i.Z)({breakpoints:b,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},m),spacing:v,shape:(0,n.Z)({},l,y)},g);return x.applyStyles=d.Z,(x=t.reduce((e,t)=>(0,i.Z)(e,t),x)).unstable_sxConfig=(0,n.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),x.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},x}},9926:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},private_createBreakpoints:function(){return o.Z},unstable_applyStyles:function(){return i.Z}});var n=r(7172),o=r(1512),i=r(7064)},7730:function(e,t,r){"use strict";var n=r(8027);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},8700:function(e,t,r){"use strict";r.d(t,{hB:function(){return createUnarySpacing},eI:function(){return createUnaryUnit},NA:function(){return getValue},e6:function(){return margin},o3:function(){return padding}});var n=r(5408),o=r(4844),i=r(7730);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...d];function createUnaryUnit(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function createUnarySpacing(e){return createUnaryUnit(e,"spacing",8,"spacing")}function getValue(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function spacing_style(e,t){let r=createUnarySpacing(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){if(-1===t.indexOf(r))return null;let i=u(r),a=e[r];return(0,n.k9)(e,a,e=>i.reduce((t,r)=>(t[r]=getValue(o,e),t),{}))})(e,t,o,r)).reduce(i.Z,{})}function margin(e){return spacing_style(e,c)}function padding(e){return spacing_style(e,d)}function spacing(e){return spacing_style(e,p)}margin.propTypes={},margin.filterProps=c,padding.propTypes={},padding.filterProps=d,spacing.propTypes={},spacing.filterProps=p},4844:function(e,t,r){"use strict";r.d(t,{DW:function(){return getPath},Jq:function(){return getStyleValue}});var n=r(2908),o=r(5408);function getPath(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function getStyleValue(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:getPath(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:i,transform:a}=e,fn=e=>{if(null==e[t])return null;let l=e[t],s=e.theme,u=getPath(s,i)||{};return(0,o.k9)(e,l,e=>{let o=getStyleValue(u,a,e);return(e===o&&"string"==typeof e&&(o=getStyleValue(u,a,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return fn.propTypes={},fn.filterProps=[t],fn}},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return F}});var n=r(8700),o=r(4844),i=r(7730),esm_compose=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),fn=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return fn.propTypes={},fn.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),fn},a=r(5408);function borderTransform(e){return"number"!=typeof e?e:`${e}px solid`}function createBorderStyle(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let l=createBorderStyle("border",borderTransform),s=createBorderStyle("borderTop",borderTransform),u=createBorderStyle("borderRight",borderTransform),c=createBorderStyle("borderBottom",borderTransform),d=createBorderStyle("borderLeft",borderTransform),p=createBorderStyle("borderColor"),m=createBorderStyle("borderTopColor"),h=createBorderStyle("borderRightColor"),y=createBorderStyle("borderBottomColor"),g=createBorderStyle("borderLeftColor"),b=createBorderStyle("outline",borderTransform),v=createBorderStyle("outlineColor"),borderRadius=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,a.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};borderRadius.propTypes={},borderRadius.filterProps=["borderRadius"],esm_compose(l,s,u,c,d,p,m,h,y,g,borderRadius,b,v);let gap=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,a.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};gap.propTypes={},gap.filterProps=["gap"];let columnGap=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,a.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};columnGap.propTypes={},columnGap.filterProps=["columnGap"];let rowGap=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,a.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};rowGap.propTypes={},rowGap.filterProps=["rowGap"];let x=(0,o.ZP)({prop:"gridColumn"}),S=(0,o.ZP)({prop:"gridRow"}),w=(0,o.ZP)({prop:"gridAutoFlow"}),k=(0,o.ZP)({prop:"gridAutoColumns"}),Z=(0,o.ZP)({prop:"gridAutoRows"}),C=(0,o.ZP)({prop:"gridTemplateColumns"}),P=(0,o.ZP)({prop:"gridTemplateRows"}),$=(0,o.ZP)({prop:"gridTemplateAreas"}),T=(0,o.ZP)({prop:"gridArea"});function paletteTransform(e,t){return"grey"===t?t:e}esm_compose(gap,columnGap,rowGap,x,S,w,k,Z,C,P,$,T);let R=(0,o.ZP)({prop:"color",themeKey:"palette",transform:paletteTransform}),O=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:paletteTransform}),M=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:paletteTransform});function sizingTransform(e){return e<=1&&0!==e?`${100*e}%`:e}esm_compose(R,O,M);let E=(0,o.ZP)({prop:"width",transform:sizingTransform}),maxWidth=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,a.k9)(e,e.maxWidth,t=>{var r,n;let o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||a.VO[t];return o?(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:sizingTransform(t)}}):null;maxWidth.filterProps=["maxWidth"];let j=(0,o.ZP)({prop:"minWidth",transform:sizingTransform}),U=(0,o.ZP)({prop:"height",transform:sizingTransform}),I=(0,o.ZP)({prop:"maxHeight",transform:sizingTransform}),B=(0,o.ZP)({prop:"minHeight",transform:sizingTransform});(0,o.ZP)({prop:"size",cssProperty:"width",transform:sizingTransform}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:sizingTransform});let N=(0,o.ZP)({prop:"boxSizing"});esm_compose(E,maxWidth,j,U,I,B,N);let W={border:{themeKey:"borders",transform:borderTransform},borderTop:{themeKey:"borders",transform:borderTransform},borderRight:{themeKey:"borders",transform:borderTransform},borderBottom:{themeKey:"borders",transform:borderTransform},borderLeft:{themeKey:"borders",transform:borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:borderRadius},color:{themeKey:"palette",transform:paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:paletteTransform},backgroundColor:{themeKey:"palette",transform:paletteTransform},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gap},rowGap:{style:rowGap},columnGap:{style:columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:sizingTransform},maxWidth:{style:maxWidth},minWidth:{transform:sizingTransform},height:{transform:sizingTransform},maxHeight:{transform:sizingTransform},minHeight:{transform:sizingTransform},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var F=W},9707:function(e,t,r){"use strict";r.d(t,{Z:function(){return extendSxProp}});var n=r(7462),o=r(3366),i=r(8027),a=r(4920);let l=["sx"],splitProps=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function extendSxProp(e){let t;let{sx:r}=e,a=(0,o.Z)(e,l),{systemProps:s,otherProps:u}=splitProps(a);return t=Array.isArray(r)?[s,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},s,t):s}:(0,n.Z)({},s,r),(0,n.Z)({},u,{sx:t})}},386:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},extendSxProp:function(){return o.Z},unstable_createStyleFunctionSx:function(){return n.n},unstable_defaultSxConfig:function(){return i.Z}});var n=r(6523),o=r(9707),i=r(4920)},6523:function(e,t,r){"use strict";r.d(t,{n:function(){return unstable_createStyleFunctionSx}});var n=r(2908),o=r(7730),i=r(4844),a=r(5408),l=r(4920);function unstable_createStyleFunctionSx(){function getThemeValue(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:p}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let m=(0,i.DW)(r,c)||{};return p?p(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(m,d,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(m,d,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function styleFunctionSx(e){var t;let{sx:r,theme:n={}}=e||{};if(!r)return null;let i=null!=(t=n.unstable_sxConfig)?t:l.Z;function traverse(e){let t=e;if("function"==typeof e)t=e(n);else if("object"!=typeof e)return e;if(!t)return null;let r=(0,a.W8)(n.breakpoints),l=Object.keys(r),s=r;return Object.keys(t).forEach(e=>{var r;let l="function"==typeof(r=t[e])?r(n):r;if(null!=l){if("object"==typeof l){if(i[e])s=(0,o.Z)(s,getThemeValue(e,l,n,i));else{let t=(0,a.k9)({theme:n},l,t=>({[e]:t}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(t,l)?s[e]=styleFunctionSx({sx:l,theme:n}):s=(0,o.Z)(s,t)}}else s=(0,o.Z)(s,getThemeValue(e,l,n,i))}}),(0,a.L7)(l,s)}return Array.isArray(r)?r.map(traverse):traverse(r)}}let s=unstable_createStyleFunctionSx();s.filterProps=["sx"],t.Z=s},9718:function(e,t,r){"use strict";r.d(t,{Z:function(){return esm_useTheme}});var n=r(7172),o=r(7294),i=r(6498),useThemeWithoutDefault=function(e=null){let t=o.useContext(i.T);return t&&0!==Object.keys(t).length?t:e};let a=(0,n.Z)();var esm_useTheme=function(e=a){return useThemeWithoutDefault(e)}},5149:function(e,t,r){"use strict";r.d(t,{Z:function(){return useThemeProps}});var n=r(2236),o=r(9718);function useThemeProps({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);i&&(a=a[i]||a);let l=function(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}({theme:a,name:t,props:e});return l}},1983:function(e,t){"use strict";let r;let defaultGenerator=e=>e,n=(r=defaultGenerator,{configure(e){r=e},generate:e=>r(e),reset(){r=defaultGenerator}});t.Z=n},2908:function(e,t,r){"use strict";r.d(t,{Z:function(){return capitalize}});var n=r(8758);function capitalize(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9698:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z}});var n=r(2908)},9425:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return clamp_clamp}});var clamp_clamp=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},8510:function(e,t,r){"use strict";function composeClasses(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}r.d(t,{Z:function(){return composeClasses}})},8027:function(e,t,r){"use strict";r.d(t,{P:function(){return isPlainObject},Z:function(){return function deepmerge(e,t,r={clone:!0}){let o=r.clone?(0,n.Z)({},e):e;return isPlainObject(e)&&isPlainObject(t)&&Object.keys(t).forEach(n=>{"__proto__"!==n&&(isPlainObject(t[n])&&n in e&&isPlainObject(e[n])?o[n]=deepmerge(e[n],t[n],r):r.clone?o[n]=isPlainObject(t[n])?function deepClone(e){if(!isPlainObject(e))return e;let t={};return Object.keys(e).forEach(r=>{t[r]=deepClone(e[r])}),t}(t[n]):t[n]:o[n]=t[n])}),o}}});var n=r(7462);function isPlainObject(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},211:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.Z},isPlainObject:function(){return n.P}});var n=r(8027)},8758:function(e,t,r){"use strict";function formatMuiErrorMessage(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,n.ZP)(e,t,r)}),o}},7889:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return getDisplayName},getFunctionName:function(){return getFunctionName}});var n=r(9864);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function getFunctionName(e){let t=`${e}`.match(o),r=t&&t[1];return r||""}function getFunctionComponentName(e,t=""){return e.displayName||e.name||getFunctionName(e)||t}function getWrappedName(e,t,r){let n=getFunctionComponentName(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function getDisplayName(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return getFunctionComponentName(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return getWrappedName(e,e.render,"ForwardRef");case n.Memo:return getWrappedName(e,e.type,"memo")}}}},2236:function(e,t,r){"use strict";r.d(t,{Z:function(){return function resolveProps(e,t){let r=(0,n.Z)({},t);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))r[o]=(0,n.Z)({},e[o],r[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let i=e[o]||{},a=t[o];r[o]={},a&&Object.keys(a)?i&&Object.keys(i)?(r[o]=(0,n.Z)({},a),Object.keys(i).forEach(e=>{r[o][e]=resolveProps(i[e],a[e])})):r[o]=a:r[o]=i}else void 0===r[o]&&(r[o]=e[o])}),r}}});var n=r(7462)},5091:function(e,t,r){"use strict";function setRef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return setRef}})},4895:function(e,t,r){"use strict";var n=r(7294);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=o},9192:function(e,t,r){"use strict";r.d(t,{V:function(){return Timeout},Z:function(){return useTimeout}});var n=r(7294);let o={},i=[];let Timeout=class Timeout{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Timeout}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}};function useTimeout(){var e;let t=function(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(void 0)),r}(Timeout.create).current;return e=t.disposeEffect,n.useEffect(e,i),t}},8679:function(e,t,r){"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function getStatics(e){return n.isMemo(e)?a:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=a;var s=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function hoistNonReactStatics(e,t,r){if("string"!=typeof t){if(m){var n=p(t);n&&n!==m&&hoistNonReactStatics(e,n,r)}var o=u(t);c&&(o=o.concat(c(t)));for(var a=getStatics(e),l=getStatics(t),h=0;h=0)continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},7462:function(e,t,r){"use strict";function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return _objectWithoutPropertiesLoose}})}}]); \ No newline at end of file diff --git a/website/out/_next/static/chunks/295-face7ac39a95b2fa.js b/website/out/_next/static/chunks/295-face7ac39a95b2fa.js new file mode 100644 index 0000000..14b39d2 --- /dev/null +++ b/website/out/_next/static/chunks/295-face7ac39a95b2fa.js @@ -0,0 +1,23 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[295],{5202:function(){!function(){"use strict";function applyFocusVisiblePolyfill(n){var a=!0,g=!1,v=null,j={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function isValidFocusTarget(n){return!!n&&n!==document&&"HTML"!==n.nodeName&&"BODY"!==n.nodeName&&"classList"in n&&"contains"in n.classList}function addFocusVisibleClass(n){n.classList.contains("focus-visible")||(n.classList.add("focus-visible"),n.setAttribute("data-focus-visible-added",""))}function onPointerDown(n){a=!1}function addInitialPointerMoveListeners(){document.addEventListener("mousemove",onInitialPointerMove),document.addEventListener("mousedown",onInitialPointerMove),document.addEventListener("mouseup",onInitialPointerMove),document.addEventListener("pointermove",onInitialPointerMove),document.addEventListener("pointerdown",onInitialPointerMove),document.addEventListener("pointerup",onInitialPointerMove),document.addEventListener("touchmove",onInitialPointerMove),document.addEventListener("touchstart",onInitialPointerMove),document.addEventListener("touchend",onInitialPointerMove)}function onInitialPointerMove(n){n.target.nodeName&&"html"===n.target.nodeName.toLowerCase()||(a=!1,document.removeEventListener("mousemove",onInitialPointerMove),document.removeEventListener("mousedown",onInitialPointerMove),document.removeEventListener("mouseup",onInitialPointerMove),document.removeEventListener("pointermove",onInitialPointerMove),document.removeEventListener("pointerdown",onInitialPointerMove),document.removeEventListener("pointerup",onInitialPointerMove),document.removeEventListener("touchmove",onInitialPointerMove),document.removeEventListener("touchstart",onInitialPointerMove),document.removeEventListener("touchend",onInitialPointerMove))}document.addEventListener("keydown",function(g){g.metaKey||g.altKey||g.ctrlKey||(isValidFocusTarget(n.activeElement)&&addFocusVisibleClass(n.activeElement),a=!0)},!0),document.addEventListener("mousedown",onPointerDown,!0),document.addEventListener("pointerdown",onPointerDown,!0),document.addEventListener("touchstart",onPointerDown,!0),document.addEventListener("visibilitychange",function(n){"hidden"===document.visibilityState&&(g&&(a=!0),addInitialPointerMoveListeners())},!0),addInitialPointerMoveListeners(),n.addEventListener("focus",function(n){var g,v,z;isValidFocusTarget(n.target)&&(a||(v=(g=n.target).type,"INPUT"===(z=g.tagName)&&j[v]&&!g.readOnly||"TEXTAREA"===z&&!g.readOnly||g.isContentEditable))&&addFocusVisibleClass(n.target)},!0),n.addEventListener("blur",function(n){if(isValidFocusTarget(n.target)){var a;(n.target.classList.contains("focus-visible")||n.target.hasAttribute("data-focus-visible-added"))&&(g=!0,window.clearTimeout(v),v=window.setTimeout(function(){g=!1},100),(a=n.target).hasAttribute("data-focus-visible-added")&&(a.classList.remove("focus-visible"),a.removeAttribute("data-focus-visible-added")))}},!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if("undefined"!=typeof window&&"undefined"!=typeof document){var n;window.applyFocusVisiblePolyfill=applyFocusVisiblePolyfill;try{n=new CustomEvent("focus-visible-polyfill-ready")}catch(a){(n=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(n)}"undefined"!=typeof document&&applyFocusVisiblePolyfill(document)}()},9266:function(n,a,g){"use strict";var v=g(3905),j=g(9073);n.exports=function(n){var a=v(n);return a.token="","x-oauth-basic"===a.password?a.token=a.user:"x-token-auth"===a.user&&(a.token=a.password),j(a.protocols)||0===a.protocols.length&&j(n)?a.protocol="ssh":a.protocols.length?a.protocol=a.protocols[0]:(a.protocol="file",a.protocols=["file"]),a.href=a.href.replace(/\/$/,""),a}},3458:function(n,a,g){"use strict";var v=g(9266);function gitUrlParse(n){if("string"!=typeof n)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(n)&&(n="https://github.com/"+n);var a=v(n),g=a.resource.split("."),j=null;switch(a.toString=function(n){return gitUrlParse.stringify(this,n)},a.source=g.length>2?g.slice(1-g.length).join("."):a.source=a.resource,a.git_suffix=/\.git$/.test(a.pathname),a.name=decodeURIComponent((a.pathname||a.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),a.owner=decodeURIComponent(a.user),a.source){case"git.cloudforge.com":a.owner=a.user,a.organization=g[0],a.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===a.resource){4===(j=a.name.split("/")).length&&(a.organization=j[1],a.owner=j[2],a.name=j[3],a.full_name=j[2]+"/"+j[3]);break}2===(j=a.name.split("/")).length?(a.owner=j[1],a.name=j[1],a.full_name="_git/"+a.name):3===j.length?(a.name=j[2],"DefaultCollection"===j[0]?(a.owner=j[2],a.organization=j[0],a.full_name=a.organization+"/_git/"+a.name):(a.owner=j[0],a.full_name=a.owner+"/_git/"+a.name)):4===j.length&&(a.organization=j[0],a.owner=j[1],a.name=j[3],a.full_name=a.organization+"/"+a.owner+"/_git/"+a.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===a.resource){4===(j=a.name.split("/")).length&&(a.organization=j[1],a.owner=j[2],a.name=j[3]);break}5===(j=a.name.split("/")).length?(a.organization=j[0],a.owner=j[1],a.name=j[4],a.full_name="_git/"+a.name):3===j.length?(a.name=j[2],"DefaultCollection"===j[0]?(a.owner=j[2],a.organization=j[0],a.full_name=a.organization+"/_git/"+a.name):(a.owner=j[0],a.full_name=a.owner+"/_git/"+a.name)):4===j.length&&(a.organization=j[0],a.owner=j[1],a.name=j[3],a.full_name=a.organization+"/"+a.owner+"/_git/"+a.name),a.query&&a.query.path&&(a.filepath=a.query.path.replace(/^\/+/g,"")),a.query&&a.query.version&&(a.ref=a.query.version.replace(/^GB/,""));break;default:var z=(j=a.name.split("/")).length-1;if(j.length>=2){var H=j.indexOf("-",2),W=j.indexOf("blob",2),B=j.indexOf("tree",2),K=j.indexOf("commit",2),ee=j.indexOf("src",2),et=j.indexOf("raw",2),en=j.indexOf("edit",2);z=H>0?H-1:W>0?W-1:B>0?B-1:K>0?K-1:ee>0?ee-1:et>0?et-1:en>0?en-1:z,a.owner=j.slice(0,z).join("/"),a.name=j[z],K&&(a.commit=j[z+2])}a.ref="",a.filepathtype="",a.filepath="";var er=j.length>z&&"-"===j[z+1]?z+1:z;j.length>er+2&&["raw","src","blob","tree","edit"].indexOf(j[er+1])>=0&&(a.filepathtype=j[er+1],a.ref=j[er+2],j.length>er+3&&(a.filepath=j.slice(er+3).join("/"))),a.organization=a.owner}!a.full_name&&(a.full_name=a.owner,a.name&&(a.full_name&&(a.full_name+="/"),a.full_name+=a.name)),a.owner.startsWith("scm/")&&(a.source="bitbucket-server",a.owner=a.owner.replace("scm/",""),a.organization=a.owner,a.full_name=a.owner+"/"+a.name);var eo=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(a.pathname);return null!=eo&&(a.source="bitbucket-server","users"===eo[1]?a.owner="~"+eo[2]:a.owner=eo[2],a.organization=a.owner,a.name=eo[3],(j=eo[4].split("/")).length>1&&(["raw","browse"].indexOf(j[1])>=0?(a.filepathtype=j[1],j.length>2&&(a.filepath=j.slice(2).join("/"))):"commits"===j[1]&&j.length>2&&(a.commit=j[2])),a.full_name=a.owner+"/"+a.name,a.query.at?a.ref=a.query.at:a.ref=""),a}gitUrlParse.stringify=function(n,a){a=a||(n.protocols&&n.protocols.length?n.protocols.join("+"):n.protocol);var g=n.port?":"+n.port:"",v=n.user||"git",j=n.git_suffix?".git":"";switch(a){case"ssh":if(g)return"ssh://"+v+"@"+n.resource+g+"/"+n.full_name+j;return v+"@"+n.resource+":"+n.full_name+j;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return a+"://"+v+"@"+n.resource+g+"/"+n.full_name+j;case"http":case"https":return a+"://"+(n.token?"bitbucket.org"===n.source?"x-token-auth:"+n.token+"@":n.token+"@":n.user&&(n.protocols.includes("http")||n.protocols.includes("https"))?n.user+"@":"")+n.resource+g+"/"+("bitbucket-server"===n.source?"scm/"+n.full_name:""+n.full_name)+j;default:return n.href}},n.exports=gitUrlParse},6337:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var n=function(n){for(var a=n,g=getFrameElement(a);g;)g=getFrameElement(a=g.ownerDocument);return a}(window.document),a=[],g=null,v=null;IntersectionObserver.prototype.THROTTLE_TIMEOUT=100,IntersectionObserver.prototype.POLL_INTERVAL=null,IntersectionObserver.prototype.USE_MUTATION_OBSERVER=!0,IntersectionObserver._setupCrossOriginUpdater=function(){return g||(g=function(n,g){v=n&&g?convertFromParentRect(n,g):getEmptyRect(),a.forEach(function(n){n._checkForIntersections()})}),g},IntersectionObserver._resetCrossOriginUpdater=function(){g=null,v=null},IntersectionObserver.prototype.observe=function(n){if(!this._observationTargets.some(function(a){return a.element==n})){if(!(n&&1==n.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:n,entry:null}),this._monitorIntersections(n.ownerDocument),this._checkForIntersections()}},IntersectionObserver.prototype.unobserve=function(n){this._observationTargets=this._observationTargets.filter(function(a){return a.element!=n}),this._unmonitorIntersections(n.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},IntersectionObserver.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},IntersectionObserver.prototype.takeRecords=function(){var n=this._queuedEntries.slice();return this._queuedEntries=[],n},IntersectionObserver.prototype._initThresholds=function(n){var a=n||[0];return Array.isArray(a)||(a=[a]),a.sort().filter(function(n,a,g){if("number"!=typeof n||isNaN(n)||n<0||n>1)throw Error("threshold must be a number between 0 and 1 inclusively");return n!==g[a-1]})},IntersectionObserver.prototype._parseRootMargin=function(n){var a=(n||"0px").split(/\s+/).map(function(n){var a=/^(-?\d*\.?\d+)(px|%)$/.exec(n);if(!a)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(a[1]),unit:a[2]}});return a[1]=a[1]||a[0],a[2]=a[2]||a[0],a[3]=a[3]||a[1],a},IntersectionObserver.prototype._monitorIntersections=function(a){var g=a.defaultView;if(g&&-1==this._monitoringDocuments.indexOf(a)){var v=this._checkForIntersections,j=null,z=null;if(this.POLL_INTERVAL?j=g.setInterval(v,this.POLL_INTERVAL):(addEvent(g,"resize",v,!0),addEvent(a,"scroll",v,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in g&&(z=new g.MutationObserver(v)).observe(a,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(a),this._monitoringUnsubscribes.push(function(){var n=a.defaultView;n&&(j&&n.clearInterval(j),removeEvent(n,"resize",v,!0)),removeEvent(a,"scroll",v,!0),z&&z.disconnect()}),a!=(this.root&&(this.root.ownerDocument||this.root)||n)){var H=getFrameElement(a);H&&this._monitorIntersections(H.ownerDocument)}}},IntersectionObserver.prototype._unmonitorIntersections=function(a){var g=this._monitoringDocuments.indexOf(a);if(-1!=g){var v=this.root&&(this.root.ownerDocument||this.root)||n;if(!this._observationTargets.some(function(n){var g=n.element.ownerDocument;if(g==a)return!0;for(;g&&g!=v;){var j=getFrameElement(g);if((g=j&&j.ownerDocument)==a)return!0}return!1})){var j=this._monitoringUnsubscribes[g];if(this._monitoringDocuments.splice(g,1),this._monitoringUnsubscribes.splice(g,1),j(),a!=v){var z=getFrameElement(a);z&&this._unmonitorIntersections(z.ownerDocument)}}}},IntersectionObserver.prototype._unmonitorAllIntersections=function(){var n=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var a=0;a=0&&W>=0&&{top:g,bottom:v,left:j,right:z,width:H,height:W}||null}(K,H)),!H)break;W=W&&getParentNode(W)}return H}},IntersectionObserver.prototype._getRootRect=function(){var a;if(this.root&&!isDoc(this.root))a=getBoundingClientRect(this.root);else{var g=isDoc(this.root)?this.root:n,v=g.documentElement,j=g.body;a={top:0,left:0,right:v.clientWidth||j.clientWidth,width:v.clientWidth||j.clientWidth,bottom:v.clientHeight||j.clientHeight,height:v.clientHeight||j.clientHeight}}return this._expandRectByRootMargin(a)},IntersectionObserver.prototype._expandRectByRootMargin=function(n){var a=this._rootMarginValues.map(function(a,g){return"px"==a.unit?a.value:a.value*(g%2?n.width:n.height)/100}),g={top:n.top-a[0],right:n.right+a[1],bottom:n.bottom+a[2],left:n.left-a[3]};return g.width=g.right-g.left,g.height=g.bottom-g.top,g},IntersectionObserver.prototype._hasCrossedThreshold=function(n,a){var g=n&&n.isIntersecting?n.intersectionRatio||0:-1,v=a.isIntersecting?a.intersectionRatio||0:-1;if(g!==v)for(var j=0;ja.indexOf(this)&&a.push(this)},IntersectionObserver.prototype._unregisterInstance=function(){var n=a.indexOf(this);-1!=n&&a.splice(n,1)},window.IntersectionObserver=IntersectionObserver,window.IntersectionObserverEntry=IntersectionObserverEntry}function getFrameElement(n){try{return n.defaultView&&n.defaultView.frameElement||null}catch(n){return null}}function IntersectionObserverEntry(n){this.time=n.time,this.target=n.target,this.rootBounds=ensureDOMRect(n.rootBounds),this.boundingClientRect=ensureDOMRect(n.boundingClientRect),this.intersectionRect=ensureDOMRect(n.intersectionRect||getEmptyRect()),this.isIntersecting=!!n.intersectionRect;var a=this.boundingClientRect,g=a.width*a.height,v=this.intersectionRect,j=v.width*v.height;g?this.intersectionRatio=Number((j/g).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function IntersectionObserver(n,a){var g,v,j,z=a||{};if("function"!=typeof n)throw Error("callback must be a function");if(z.root&&1!=z.root.nodeType&&9!=z.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(g=this._checkForIntersections.bind(this),v=this.THROTTLE_TIMEOUT,j=null,function(){j||(j=setTimeout(function(){g(),j=null},v))}),this._callback=n,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(z.rootMargin),this.thresholds=this._initThresholds(z.threshold),this.root=z.root||null,this.rootMargin=this._rootMarginValues.map(function(n){return n.value+n.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function addEvent(n,a,g,v){"function"==typeof n.addEventListener?n.addEventListener(a,g,v||!1):"function"==typeof n.attachEvent&&n.attachEvent("on"+a,g)}function removeEvent(n,a,g,v){"function"==typeof n.removeEventListener?n.removeEventListener(a,g,v||!1):"function"==typeof n.detachEvent&&n.detachEvent("on"+a,g)}function getBoundingClientRect(n){var a;try{a=n.getBoundingClientRect()}catch(n){}return a?(a.width&&a.height||(a={top:a.top,right:a.right,bottom:a.bottom,left:a.left,width:a.right-a.left,height:a.bottom-a.top}),a):getEmptyRect()}function getEmptyRect(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function ensureDOMRect(n){return!n||"x"in n?n:{top:n.top,y:n.top,bottom:n.bottom,left:n.left,x:n.left,right:n.right,width:n.width,height:n.height}}function convertFromParentRect(n,a){var g=a.top-n.top,v=a.left-n.left;return{top:g,left:v,height:a.height,width:a.width,bottom:g+a.height,right:v+a.width}}function containsDeep(n,a){for(var g=a;g;){if(g==n)return!0;g=getParentNode(g)}return!1}function getParentNode(a){var g=a.parentNode;return 9==a.nodeType&&a!=n?getFrameElement(a):(g&&g.assignedSlot&&(g=g.assignedSlot.parentNode),g&&11==g.nodeType&&g.host)?g.host:g}function isDoc(n){return n&&9===n.nodeType}}()},9073:function(n,a,g){"use strict";var v=g(2337);n.exports=function isSsh(n){if(Array.isArray(n))return -1!==n.indexOf("ssh")||-1!==n.indexOf("rsync");if("string"!=typeof n)return!1;var a=v(n);if(n=n.substring(n.indexOf("://")+3),isSsh(a))return!0;var g=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!n.match(g)&&n.indexOf("@")-1},ListCache.prototype.set=function(n,a){var g=this.__data__,v=assocIndexOf(g,n);return v<0?g.push([n,a]):g[v][1]=a,this},MapCache.prototype.clear=function(){this.__data__={hash:new Hash,map:new(eg||ListCache),string:new Hash}},MapCache.prototype.delete=function(n){return getMapData(this,n).delete(n)},MapCache.prototype.get=function(n){return getMapData(this,n).get(n)},MapCache.prototype.has=function(n){return getMapData(this,n).has(n)},MapCache.prototype.set=function(n,a){return getMapData(this,n).set(n,a),this};var e_=memoize(function(n){n=null==(a=n)?"":function(n){if("string"==typeof n)return n;if(isSymbol(n))return eb?eb.call(n):"";var a=n+"";return"0"==a&&1/n==-z?"-0":a}(a);var a,g=[];return B.test(n)&&g.push(""),n.replace(K,function(n,a,v,j){g.push(v?j.replace(ee,"$1"):a||n)}),g});function memoize(n,a){if("function"!=typeof n||a&&"function"!=typeof a)throw TypeError("Expected a function");var memoized=function(){var g=arguments,v=a?a.apply(this,g):g[0],j=memoized.cache;if(j.has(v))return j.get(v);var z=n.apply(this,g);return memoized.cache=j.set(v,z),z};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache;var ew=Array.isArray;function isObject(n){var a=typeof n;return!!n&&("object"==a||"function"==a)}function isSymbol(n){return"symbol"==typeof n||!!n&&"object"==typeof n&&"[object Symbol]"==ef.call(n)}n.exports=function(n,a,g){var v=null==n?void 0:function(n,a){var g;a=!function(n,a){if(ew(n))return!1;var g=typeof n;return!!("number"==g||"symbol"==g||"boolean"==g||null==n||isSymbol(n))||W.test(n)||!H.test(n)||null!=a&&n in Object(a)}(a,n)?ew(g=a)?g:e_(g):[a];for(var v=0,j=a.length;null!=n&&v{}).then(()=>{if(n.parentElement&&n.isConnected){if("empty"!==a&&j(!0),null==g?void 0:g.current){let a=new Event("load");Object.defineProperty(a,"target",{writable:!1,value:n});let v=!1,j=!1;g.current({...a,nativeEvent:a,currentTarget:n,target:n,isDefaultPrevented:()=>v,isPropagationStopped:()=>j,persist:()=>{},preventDefault:()=>{v=!0,a.preventDefault()},stopPropagation:()=>{j=!0,a.stopPropagation()}})}(null==v?void 0:v.current)&&v.current(n)}})}function getDynamicProps(n){let[a,g]=z.version.split("."),v=parseInt(a,10),j=parseInt(g,10);return v>18||18===v&&j>=3?{fetchPriority:n}:{fetchpriority:n}}let eo=(0,z.forwardRef)((n,a)=>{let{src:g,srcSet:v,sizes:j,height:H,width:W,decoding:B,className:K,style:ee,fetchPriority:et,placeholder:en,loading:er,unoptimized:eo,fill:ei,onLoadRef:es,onLoadingCompleteRef:el,setBlurComplete:eu,setShowAltText:ec,onLoad:ed,onError:ep,...ef}=n;return z.default.createElement("img",{...ef,...getDynamicProps(et),loading:er,width:W,height:H,decoding:B,"data-nimg":ei?"fill":"1",className:K,style:ee,sizes:j,srcSet:v,src:g,ref:(0,z.useCallback)(n=>{a&&("function"==typeof a?a(n):"object"==typeof a&&(a.current=n)),n&&(ep&&(n.src=n.src),n.complete&&handleLoading(n,en,es,el,eu,eo))},[g,en,es,el,eu,ep,eo,a]),onLoad:n=>{let a=n.currentTarget;handleLoading(a,en,es,el,eu,eo)},onError:n=>{ec(!0),"empty"!==en&&eu(!0),ep&&ep(n)}})});function ImagePreload(n){let{isAppRouter:a,imgAttributes:g}=n,v={as:"image",imageSrcSet:g.srcSet,imageSizes:g.sizes,crossOrigin:g.crossOrigin,referrerPolicy:g.referrerPolicy,...getDynamicProps(g.fetchPriority)};return a&&H.default.preload?(H.default.preload(g.src,v),null):z.default.createElement(W.default,null,z.default.createElement("link",{key:"__nimg-"+g.src+g.srcSet+g.sizes,rel:"preload",href:g.srcSet?void 0:g.src,...v}))}let ei=(0,z.forwardRef)((n,a)=>{let g=(0,z.useContext)(et.RouterContext),v=(0,z.useContext)(ee.ImageConfigContext),j=(0,z.useMemo)(()=>{let n=er||v||K.imageConfigDefault,a=[...n.deviceSizes,...n.imageSizes].sort((n,a)=>n-a),g=n.deviceSizes.sort((n,a)=>n-a);return{...n,allSizes:a,deviceSizes:g}},[v]),{onLoad:H,onLoadingComplete:W}=n,ei=(0,z.useRef)(H);(0,z.useEffect)(()=>{ei.current=H},[H]);let es=(0,z.useRef)(W);(0,z.useEffect)(()=>{es.current=W},[W]);let[el,eu]=(0,z.useState)(!1),[ec,ed]=(0,z.useState)(!1),{props:ep,meta:ef}=(0,B.getImgProps)(n,{defaultLoader:en.default,imgConf:j,blurComplete:el,showAltText:ec});return z.default.createElement(z.default.Fragment,null,z.default.createElement(eo,{...ep,unoptimized:ef.unoptimized,placeholder:ef.placeholder,fill:ef.fill,onLoadRef:ei,onLoadingCompleteRef:es,setBlurComplete:eu,setShowAltText:ed,ref:a}),ef.priority?z.default.createElement(ImagePreload,{isAppRouter:!g,imgAttributes:ep}):null)});("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),n.exports=a.default)},5170:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return eu}});let v=g(8754),j=v._(g(7294)),z=g(4450),H=g(2227),W=g(4364),B=g(109),K=g(3607),ee=g(1823),et=g(9031),en=g(920),er=g(30),eo=g(7192),ei=g(7498),es=new Set;function prefetch(n,a,g,v,j,z){if(!z&&!(0,H.isLocalURL)(a))return;if(!v.bypassPrefetchedCheck){let j=void 0!==v.locale?v.locale:"locale"in n?n.locale:void 0,z=a+"%"+g+"%"+j;if(es.has(z))return;es.add(z)}let W=z?n.prefetch(a,j):n.prefetch(a,g,v);Promise.resolve(W).catch(n=>{})}function formatStringOrUrl(n){return"string"==typeof n?n:(0,W.formatUrl)(n)}let el=j.default.forwardRef(function(n,a){let g,v;let{href:W,as:es,children:el,prefetch:eu=null,passHref:ec,replace:ed,shallow:ep,scroll:ef,locale:eh,onClick:em,onMouseEnter:ex,onTouchStart:eg,legacyBehavior:ev=!1,...ey}=n;g=el,ev&&("string"==typeof g||"number"==typeof g)&&(g=j.default.createElement("a",null,g));let eb=j.default.useContext(ee.RouterContext),e_=j.default.useContext(et.AppRouterContext),ew=null!=eb?eb:e_,ek=!eb,eC=!1!==eu,eE=null===eu?ei.PrefetchKind.AUTO:ei.PrefetchKind.FULL,{href:eT,as:eO}=j.default.useMemo(()=>{if(!eb){let n=formatStringOrUrl(W);return{href:n,as:es?formatStringOrUrl(es):n}}let[n,a]=(0,z.resolveHref)(eb,W,!0);return{href:n,as:es?(0,z.resolveHref)(eb,es):a||n}},[eb,W,es]),ej=j.default.useRef(eT),eS=j.default.useRef(eO);ev&&(v=j.default.Children.only(g));let eI=ev?v&&"object"==typeof v&&v.ref:a,[eP,eN,eZ]=(0,en.useIntersection)({rootMargin:"200px"}),eR=j.default.useCallback(n=>{(eS.current!==eO||ej.current!==eT)&&(eZ(),eS.current=eO,ej.current=eT),eP(n),eI&&("function"==typeof eI?eI(n):"object"==typeof eI&&(eI.current=n))},[eO,eI,eT,eZ,eP]);j.default.useEffect(()=>{ew&&eN&&eC&&prefetch(ew,eT,eO,{locale:eh},{kind:eE},ek)},[eO,eT,eN,eh,eC,null==eb?void 0:eb.locale,ew,ek,eE]);let eA={ref:eR,onClick(n){ev||"function"!=typeof em||em(n),ev&&v.props&&"function"==typeof v.props.onClick&&v.props.onClick(n),ew&&!n.defaultPrevented&&function(n,a,g,v,z,W,B,K,ee,et){let{nodeName:en}=n.currentTarget,er="A"===en.toUpperCase();if(er&&(function(n){let a=n.currentTarget,g=a.getAttribute("target");return g&&"_self"!==g||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.nativeEvent&&2===n.nativeEvent.which}(n)||!ee&&!(0,H.isLocalURL)(g)))return;n.preventDefault();let navigate=()=>{let n=null==B||B;"beforePopState"in a?a[z?"replace":"push"](g,v,{shallow:W,locale:K,scroll:n}):a[z?"replace":"push"](v||g,{forceOptimisticNavigation:!et,scroll:n})};ee?j.default.startTransition(navigate):navigate()}(n,ew,eT,eO,ed,ep,ef,eh,ek,eC)},onMouseEnter(n){ev||"function"!=typeof ex||ex(n),ev&&v.props&&"function"==typeof v.props.onMouseEnter&&v.props.onMouseEnter(n),ew&&(eC||!ek)&&prefetch(ew,eT,eO,{locale:eh,priority:!0,bypassPrefetchedCheck:!0},{kind:eE},ek)},onTouchStart(n){ev||"function"!=typeof eg||eg(n),ev&&v.props&&"function"==typeof v.props.onTouchStart&&v.props.onTouchStart(n),ew&&(eC||!ek)&&prefetch(ew,eT,eO,{locale:eh,priority:!0,bypassPrefetchedCheck:!0},{kind:eE},ek)}};if((0,B.isAbsoluteUrl)(eO))eA.href=eO;else if(!ev||ec||"a"===v.type&&!("href"in v.props)){let n=void 0!==eh?eh:null==eb?void 0:eb.locale,a=(null==eb?void 0:eb.isLocaleDomain)&&(0,er.getDomainLocale)(eO,n,null==eb?void 0:eb.locales,null==eb?void 0:eb.domainLocales);eA.href=a||(0,eo.addBasePath)((0,K.addLocale)(eO,n,null==eb?void 0:eb.defaultLocale))}return ev?j.default.cloneElement(v,eA):j.default.createElement("a",{...ey,...eA},g)}),eu=el;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),n.exports=a.default)},920:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let v=g(7294),j=g(3436),z="function"==typeof IntersectionObserver,H=new Map,W=[];function useIntersection(n){let{rootRef:a,rootMargin:g,disabled:B}=n,K=B||!z,[ee,et]=(0,v.useState)(!1),en=(0,v.useRef)(null),er=(0,v.useCallback)(n=>{en.current=n},[]);(0,v.useEffect)(()=>{if(z){if(K||ee)return;let n=en.current;if(n&&n.tagName){let v=function(n,a,g){let{id:v,observer:j,elements:z}=function(n){let a;let g={root:n.root||null,margin:n.rootMargin||""},v=W.find(n=>n.root===g.root&&n.margin===g.margin);if(v&&(a=H.get(v)))return a;let j=new Map,z=new IntersectionObserver(n=>{n.forEach(n=>{let a=j.get(n.target),g=n.isIntersecting||n.intersectionRatio>0;a&&g&&a(g)})},n);return a={id:g,observer:z,elements:j},W.push(g),H.set(g,a),a}(g);return z.set(n,a),j.observe(n),function(){if(z.delete(n),j.unobserve(n),0===z.size){j.disconnect(),H.delete(v);let n=W.findIndex(n=>n.root===v.root&&n.margin===v.margin);n>-1&&W.splice(n,1)}}}(n,n=>n&&et(n),{root:null==a?void 0:a.current,rootMargin:g});return v}}else if(!ee){let n=(0,j.requestIdleCallback)(()=>et(!0));return()=>(0,j.cancelIdleCallback)(n)}},[K,g,a,ee,en.current]);let eo=(0,v.useCallback)(()=>{et(!1)},[]);return[er,ee,eo]}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),n.exports=a.default)},3914:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),g(1905);let v=g(2393),j=g(5494);function isStaticRequire(n){return void 0!==n.default}function getInt(n){return void 0===n?n:"number"==typeof n?Number.isFinite(n)?n:NaN:"string"==typeof n&&/^[0-9]+$/.test(n)?parseInt(n,10):NaN}function getImgProps(n,a){var g;let z,H,W,{src:B,sizes:K,unoptimized:ee=!1,priority:et=!1,loading:en,className:er,quality:eo,width:ei,height:es,fill:el=!1,style:eu,onLoad:ec,onLoadingComplete:ed,placeholder:ep="empty",blurDataURL:ef,fetchPriority:eh,layout:em,objectFit:ex,objectPosition:eg,lazyBoundary:ev,lazyRoot:ey,...eb}=n,{imgConf:e_,showAltText:ew,blurComplete:ek,defaultLoader:eC}=a,eE=e_||j.imageConfigDefault;if("allSizes"in eE)z=eE;else{let n=[...eE.deviceSizes,...eE.imageSizes].sort((n,a)=>n-a),a=eE.deviceSizes.sort((n,a)=>n-a);z={...eE,allSizes:n,deviceSizes:a}}let eT=eb.loader||eC;delete eb.loader,delete eb.srcSet;let eO="__next_img_default"in eT;if(eO){if("custom"===z.loader)throw Error('Image with src "'+B+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let n=eT;eT=a=>{let{config:g,...v}=a;return n(v)}}if(em){"fill"===em&&(el=!0);let n={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[em];n&&(eu={...eu,...n});let a={responsive:"100vw",fill:"100vw"}[em];a&&!K&&(K=a)}let ej="",eS=getInt(ei),eI=getInt(es);if("object"==typeof(g=B)&&(isStaticRequire(g)||void 0!==g.src)){let n=isStaticRequire(B)?B.default:B;if(!n.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(n));if(!n.height||!n.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(n));if(H=n.blurWidth,W=n.blurHeight,ef=ef||n.blurDataURL,ej=n.src,!el){if(eS||eI){if(eS&&!eI){let a=eS/n.width;eI=Math.round(n.height*a)}else if(!eS&&eI){let a=eI/n.height;eS=Math.round(n.width*a)}}else eS=n.width,eI=n.height}}let eP=!et&&("lazy"===en||void 0===en);(!(B="string"==typeof B?B:ej)||B.startsWith("data:")||B.startsWith("blob:"))&&(ee=!0,eP=!1),z.unoptimized&&(ee=!0),eO&&B.endsWith(".svg")&&!z.dangerouslyAllowSVG&&(ee=!0),et&&(eh="high");let eN=getInt(eo),eZ=Object.assign(el?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:ex,objectPosition:eg}:{},ew?{}:{color:"transparent"},eu),eR=ek||"empty"===ep?null:"blur"===ep?'url("data:image/svg+xml;charset=utf-8,'+(0,v.getImageBlurSvg)({widthInt:eS,heightInt:eI,blurWidth:H,blurHeight:W,blurDataURL:ef||"",objectFit:eZ.objectFit})+'")':'url("'+ep+'")',eA=eR?{backgroundSize:eZ.objectFit||"cover",backgroundPosition:eZ.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eR}:{},eM=function(n){let{config:a,src:g,unoptimized:v,width:j,quality:z,sizes:H,loader:W}=n;if(v)return{src:g,srcSet:void 0,sizes:void 0};let{widths:B,kind:K}=function(n,a,g){let{deviceSizes:v,allSizes:j}=n;if(g){let n=/(^|\s)(1?\d?\d)vw/g,a=[];for(let v;v=n.exec(g);v)a.push(parseInt(v[2]));if(a.length){let n=.01*Math.min(...a);return{widths:j.filter(a=>a>=v[0]*n),kind:"w"}}return{widths:j,kind:"w"}}if("number"!=typeof a)return{widths:v,kind:"w"};let z=[...new Set([a,2*a].map(n=>j.find(a=>a>=n)||j[j.length-1]))];return{widths:z,kind:"x"}}(a,j,H),ee=B.length-1;return{sizes:H||"w"!==K?H:"100vw",srcSet:B.map((n,v)=>W({config:a,src:g,quality:z,width:n})+" "+("w"===K?n:v+1)+K).join(", "),src:W({config:a,src:g,quality:z,width:B[ee]})}}({config:z,src:B,unoptimized:ee,width:eS,quality:eN,sizes:K,loader:eT}),eL={...eb,loading:eP?"lazy":en,fetchPriority:eh,width:eS,height:eI,decoding:"async",className:er,style:{...eZ,...eA},sizes:eM.sizes,srcSet:eM.srcSet,src:eM.src},eD={unoptimized:ee,priority:et,placeholder:ep,fill:el};return{props:eL,meta:eD}}},2393:function(n,a){"use strict";function getImageBlurSvg(n){let{widthInt:a,heightInt:g,blurWidth:v,blurHeight:j,blurDataURL:z,objectFit:H}=n,W=v?40*v:a,B=j?40*j:g,K=W&&B?"viewBox='0 0 "+W+" "+B+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+K+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(K?"none":"contain"===H?"xMidYMid":"cover"===H?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+z+"'/%3E%3C/svg%3E"}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},645:function(n,a,g){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(n,a){for(var g in a)Object.defineProperty(n,g,{enumerable:!0,get:a[g]})}(a,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return B}});let v=g(8754),j=g(3914),z=g(1905),H=g(3271),W=v._(g(4545)),unstable_getImgProps=n=>{(0,z.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:a}=(0,j.getImgProps)(n,{defaultLoader:W.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[n,g]of Object.entries(a))void 0===g&&delete a[n];return{props:a}},B=H.Image},4545:function(n,a){"use strict";function defaultLoader(n){let{config:a,src:g,width:v,quality:j}=n;return a.path+"?url="+encodeURIComponent(g)+"&w="+v+"&q="+(j||75)}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return g}}),defaultLoader.__next_img_default=!0;let g=defaultLoader},9128:function(){},9008:function(n,a,g){n.exports=g(9201)},5675:function(n,a,g){n.exports=g(645)},1664:function(n,a,g){n.exports=g(5170)},1163:function(n,a,g){n.exports=g(9974)},8164:function(n,a,g){"use strict";let v;g.d(a,{ZP:function(){return Layout}});var j,z,H,W,B,K,ee,et,en,er,eo,ei,es,el,eu,ec,ed,ep,ef,eh,em,ex,eg,ev,ey,eb,e_=g(1163),ew=g(7294);g(5202);var ek=g(512);function useMounted(){let[n,a]=(0,ew.useState)(!1);return(0,ew.useEffect)(()=>{a(!0)},[]),n}var eC=g(7222),useFSRoute=()=>{let{locale:n=eC.ZW,asPath:a,route:g}=(0,e_.useRouter)();return(0,ew.useMemo)(()=>{let v=eC.hV.has(g)?g:a,{pathname:j}=new URL(v,"https://nextra.vercel.app"),z=n?j.replace(RegExp(`\\.${n}(\\/|$)`),"$1"):j;return z.replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[a,n,g])},eE=g(2643),eT=g(4861);(j=ef||(ef={})).assertEqual=n=>n,j.assertIs=function(n){},j.assertNever=function(n){throw Error()},j.arrayToEnum=n=>{let a={};for(let g of n)a[g]=g;return a},j.getValidEnumValues=n=>{let a=j.objectKeys(n).filter(a=>"number"!=typeof n[n[a]]),g={};for(let v of a)g[v]=n[v];return j.objectValues(g)},j.objectValues=n=>j.objectKeys(n).map(function(a){return n[a]}),j.objectKeys="function"==typeof Object.keys?n=>Object.keys(n):n=>{let a=[];for(let g in n)Object.prototype.hasOwnProperty.call(n,g)&&a.push(g);return a},j.find=(n,a)=>{for(let g of n)if(a(g))return g},j.isInteger="function"==typeof Number.isInteger?n=>Number.isInteger(n):n=>"number"==typeof n&&isFinite(n)&&Math.floor(n)===n,j.joinValues=function(n,a=" | "){return n.map(n=>"string"==typeof n?`'${n}'`:n).join(a)},j.jsonStringifyReplacer=(n,a)=>"bigint"==typeof a?a.toString():a,(eh||(eh={})).mergeShapes=(n,a)=>({...n,...a});let eO=ef.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),getParsedType=n=>{let a=typeof n;switch(a){case"undefined":return eO.undefined;case"string":return eO.string;case"number":return isNaN(n)?eO.nan:eO.number;case"boolean":return eO.boolean;case"function":return eO.function;case"bigint":return eO.bigint;case"symbol":return eO.symbol;case"object":if(Array.isArray(n))return eO.array;if(null===n)return eO.null;if(n.then&&"function"==typeof n.then&&n.catch&&"function"==typeof n.catch)return eO.promise;if("undefined"!=typeof Map&&n instanceof Map)return eO.map;if("undefined"!=typeof Set&&n instanceof Set)return eO.set;if("undefined"!=typeof Date&&n instanceof Date)return eO.date;return eO.object;default:return eO.unknown}},ej=ef.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);let ZodError=class ZodError extends Error{constructor(n){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let a=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,a):this.__proto__=a,this.name="ZodError",this.issues=n}get errors(){return this.issues}format(n){let a=n||function(n){return n.message},g={_errors:[]},processError=n=>{for(let v of n.issues)if("invalid_union"===v.code)v.unionErrors.map(processError);else if("invalid_return_type"===v.code)processError(v.returnTypeError);else if("invalid_arguments"===v.code)processError(v.argumentsError);else if(0===v.path.length)g._errors.push(a(v));else{let n=g,j=0;for(;jn.message){let a={},g=[];for(let v of this.issues)v.path.length>0?(a[v.path[0]]=a[v.path[0]]||[],a[v.path[0]].push(n(v))):g.push(n(v));return{formErrors:g,fieldErrors:a}}get formErrors(){return this.flatten()}};ZodError.create=n=>{let a=new ZodError(n);return a};let errorMap=(n,a)=>{let g;switch(n.code){case ej.invalid_type:g=n.received===eO.undefined?"Required":`Expected ${n.expected}, received ${n.received}`;break;case ej.invalid_literal:g=`Invalid literal value, expected ${JSON.stringify(n.expected,ef.jsonStringifyReplacer)}`;break;case ej.unrecognized_keys:g=`Unrecognized key(s) in object: ${ef.joinValues(n.keys,", ")}`;break;case ej.invalid_union:g="Invalid input";break;case ej.invalid_union_discriminator:g=`Invalid discriminator value. Expected ${ef.joinValues(n.options)}`;break;case ej.invalid_enum_value:g=`Invalid enum value. Expected ${ef.joinValues(n.options)}, received '${n.received}'`;break;case ej.invalid_arguments:g="Invalid function arguments";break;case ej.invalid_return_type:g="Invalid function return type";break;case ej.invalid_date:g="Invalid date";break;case ej.invalid_string:"object"==typeof n.validation?"includes"in n.validation?(g=`Invalid input: must include "${n.validation.includes}"`,"number"==typeof n.validation.position&&(g=`${g} at one or more positions greater than or equal to ${n.validation.position}`)):"startsWith"in n.validation?g=`Invalid input: must start with "${n.validation.startsWith}"`:"endsWith"in n.validation?g=`Invalid input: must end with "${n.validation.endsWith}"`:ef.assertNever(n.validation):g="regex"!==n.validation?`Invalid ${n.validation}`:"Invalid";break;case ej.too_small:g="array"===n.type?`Array must contain ${n.exact?"exactly":n.inclusive?"at least":"more than"} ${n.minimum} element(s)`:"string"===n.type?`String must contain ${n.exact?"exactly":n.inclusive?"at least":"over"} ${n.minimum} character(s)`:"number"===n.type?`Number must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${n.minimum}`:"date"===n.type?`Date must be ${n.exact?"exactly equal to ":n.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(n.minimum))}`:"Invalid input";break;case ej.too_big:g="array"===n.type?`Array must contain ${n.exact?"exactly":n.inclusive?"at most":"less than"} ${n.maximum} element(s)`:"string"===n.type?`String must contain ${n.exact?"exactly":n.inclusive?"at most":"under"} ${n.maximum} character(s)`:"number"===n.type?`Number must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:"bigint"===n.type?`BigInt must be ${n.exact?"exactly":n.inclusive?"less than or equal to":"less than"} ${n.maximum}`:"date"===n.type?`Date must be ${n.exact?"exactly":n.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(n.maximum))}`:"Invalid input";break;case ej.custom:g="Invalid input";break;case ej.invalid_intersection_types:g="Intersection results could not be merged";break;case ej.not_multiple_of:g=`Number must be a multiple of ${n.multipleOf}`;break;case ej.not_finite:g="Number must be finite";break;default:g=a.defaultError,ef.assertNever(n)}return{message:g}},eS=errorMap;function getErrorMap(){return eS}let makeIssue=n=>{let{data:a,path:g,errorMaps:v,issueData:j}=n,z=[...g,...j.path||[]],H={...j,path:z};if(void 0!==j.message)return{...j,path:z,message:j.message};let W="",B=v.filter(n=>!!n).slice().reverse();for(let n of B)W=n(H,{data:a,defaultError:W}).message;return{...j,path:z,message:W}};function addIssueToContext(n,a){let g=getErrorMap(),v=makeIssue({issueData:a,data:n.data,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,g,g===errorMap?void 0:errorMap].filter(n=>!!n)});n.common.issues.push(v)}let ParseStatus=class ParseStatus{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(n,a){let g=[];for(let v of a){if("aborted"===v.status)return eI;"dirty"===v.status&&n.dirty(),g.push(v.value)}return{status:n.value,value:g}}static async mergeObjectAsync(n,a){let g=[];for(let n of a){let a=await n.key,v=await n.value;g.push({key:a,value:v})}return ParseStatus.mergeObjectSync(n,g)}static mergeObjectSync(n,a){let g={};for(let v of a){let{key:a,value:j}=v;if("aborted"===a.status||"aborted"===j.status)return eI;"dirty"===a.status&&n.dirty(),"dirty"===j.status&&n.dirty(),"__proto__"!==a.value&&(void 0!==j.value||v.alwaysSet)&&(g[a.value]=j.value)}return{status:n.value,value:g}}};let eI=Object.freeze({status:"aborted"}),DIRTY=n=>({status:"dirty",value:n}),OK=n=>({status:"valid",value:n}),isAborted=n=>"aborted"===n.status,isDirty=n=>"dirty"===n.status,isValid=n=>"valid"===n.status,isAsync=n=>"undefined"!=typeof Promise&&n instanceof Promise;function __classPrivateFieldGet(n,a,g,v){if("a"===g&&!v)throw TypeError("Private accessor was defined without a getter");if("function"==typeof a?n!==a||!v:!a.has(n))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===g?v:"a"===g?v.call(n):v?v.value:a.get(n)}function __classPrivateFieldSet(n,a,g,v,j){if("m"===v)throw TypeError("Private method is not writable");if("a"===v&&!j)throw TypeError("Private accessor was defined without a setter");if("function"==typeof a?n!==a||!j:!a.has(n))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===v?j.call(n,g):j?j.value=g:a.set(n,g),g}"function"==typeof SuppressedError&&SuppressedError,(z=em||(em={})).errToObj=n=>"string"==typeof n?{message:n}:n||{},z.toString=n=>"string"==typeof n?n:null==n?void 0:n.message;let ParseInputLazyPath=class ParseInputLazyPath{constructor(n,a,g,v){this._cachedPath=[],this.parent=n,this.data=a,this._path=g,this._key=v}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}};let handleResult=(n,a)=>{if(isValid(a))return{success:!0,data:a.value};if(!n.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let a=new ZodError(n.common.issues);return this._error=a,this._error}}};function processCreateParams(n){if(!n)return{};let{errorMap:a,invalid_type_error:g,required_error:v,description:j}=n;if(a&&(g||v))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return a?{errorMap:a,description:j}:{errorMap:(a,j)=>{var z,H;let{message:W}=n;return"invalid_enum_value"===a.code?{message:null!=W?W:j.defaultError}:void 0===j.data?{message:null!==(z=null!=W?W:v)&&void 0!==z?z:j.defaultError}:"invalid_type"!==a.code?{message:j.defaultError}:{message:null!==(H=null!=W?W:g)&&void 0!==H?H:j.defaultError}},description:j}}let ZodType=class ZodType{constructor(n){this.spa=this.safeParseAsync,this._def=n,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(n){return getParsedType(n.data)}_getOrReturnCtx(n,a){return a||{common:n.parent.common,data:n.data,parsedType:getParsedType(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}_processInputParams(n){return{status:new ParseStatus,ctx:{common:n.parent.common,data:n.data,parsedType:getParsedType(n.data),schemaErrorMap:this._def.errorMap,path:n.path,parent:n.parent}}}_parseSync(n){let a=this._parse(n);if(isAsync(a))throw Error("Synchronous parse encountered promise.");return a}_parseAsync(n){let a=this._parse(n);return Promise.resolve(a)}parse(n,a){let g=this.safeParse(n,a);if(g.success)return g.data;throw g.error}safeParse(n,a){var g;let v={common:{issues:[],async:null!==(g=null==a?void 0:a.async)&&void 0!==g&&g,contextualErrorMap:null==a?void 0:a.errorMap},path:(null==a?void 0:a.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:getParsedType(n)},j=this._parseSync({data:n,path:v.path,parent:v});return handleResult(v,j)}async parseAsync(n,a){let g=await this.safeParseAsync(n,a);if(g.success)return g.data;throw g.error}async safeParseAsync(n,a){let g={common:{issues:[],contextualErrorMap:null==a?void 0:a.errorMap,async:!0},path:(null==a?void 0:a.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:getParsedType(n)},v=this._parse({data:n,path:g.path,parent:g}),j=await (isAsync(v)?v:Promise.resolve(v));return handleResult(g,j)}refine(n,a){let getIssueProperties=n=>"string"==typeof a||void 0===a?{message:a}:"function"==typeof a?a(n):a;return this._refinement((a,g)=>{let v=n(a),setError=()=>g.addIssue({code:ej.custom,...getIssueProperties(a)});return"undefined"!=typeof Promise&&v instanceof Promise?v.then(n=>!!n||(setError(),!1)):!!v||(setError(),!1)})}refinement(n,a){return this._refinement((g,v)=>!!n(g)||(v.addIssue("function"==typeof a?a(g,v):a),!1))}_refinement(n){return new ZodEffects({schema:this,typeName:ev.ZodEffects,effect:{type:"refinement",refinement:n}})}superRefine(n){return this._refinement(n)}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this,this._def)}promise(){return ZodPromise.create(this,this._def)}or(n){return ZodUnion.create([this,n],this._def)}and(n){return ZodIntersection.create(this,n,this._def)}transform(n){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:ev.ZodEffects,effect:{type:"transform",transform:n}})}default(n){return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:"function"==typeof n?n:()=>n,typeName:ev.ZodDefault})}brand(){return new ZodBranded({typeName:ev.ZodBranded,type:this,...processCreateParams(this._def)})}catch(n){return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:"function"==typeof n?n:()=>n,typeName:ev.ZodCatch})}describe(n){let a=this.constructor;return new a({...this._def,description:n})}pipe(n){return ZodPipeline.create(this,n)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}};let eP=/^c[^\s-]{8,}$/i,eN=/^[0-9a-z]+$/,eZ=/^[0-9A-HJKMNP-TV-Z]{26}$/,eR=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,eA=/^[a-z0-9_-]{21}$/i,eM=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,eL=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eD=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,eF=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ez=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eU="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",eV=RegExp(`^${eU}$`);function timeRegexSource(n){let a="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return n.precision?a=`${a}\\.\\d{${n.precision}}`:null==n.precision&&(a=`${a}(\\.\\d+)?`),a}function datetimeRegex(n){let a=`${eU}T${timeRegexSource(n)}`,g=[];return g.push(n.local?"Z?":"Z"),n.offset&&g.push("([+-]\\d{2}:?\\d{2})"),a=`${a}(${g.join("|")})`,RegExp(`^${a}$`)}let ZodString=class ZodString extends ZodType{_parse(n){var a,g;let j;this._def.coerce&&(n.data=String(n.data));let z=this._getType(n);if(z!==eO.string){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.string,received:a.parsedType}),eI}let H=new ParseStatus;for(let z of this._def.checks)if("min"===z.kind)n.data.lengthz.value&&(addIssueToContext(j=this._getOrReturnCtx(n,j),{code:ej.too_big,maximum:z.value,type:"string",inclusive:!0,exact:!1,message:z.message}),H.dirty());else if("length"===z.kind){let a=n.data.length>z.value,g=n.data.lengthn.test(a),{validation:a,code:ej.invalid_string,...em.errToObj(g)})}_addCheck(n){return new ZodString({...this._def,checks:[...this._def.checks,n]})}email(n){return this._addCheck({kind:"email",...em.errToObj(n)})}url(n){return this._addCheck({kind:"url",...em.errToObj(n)})}emoji(n){return this._addCheck({kind:"emoji",...em.errToObj(n)})}uuid(n){return this._addCheck({kind:"uuid",...em.errToObj(n)})}nanoid(n){return this._addCheck({kind:"nanoid",...em.errToObj(n)})}cuid(n){return this._addCheck({kind:"cuid",...em.errToObj(n)})}cuid2(n){return this._addCheck({kind:"cuid2",...em.errToObj(n)})}ulid(n){return this._addCheck({kind:"ulid",...em.errToObj(n)})}base64(n){return this._addCheck({kind:"base64",...em.errToObj(n)})}ip(n){return this._addCheck({kind:"ip",...em.errToObj(n)})}datetime(n){var a,g;return"string"==typeof n?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:n}):this._addCheck({kind:"datetime",precision:void 0===(null==n?void 0:n.precision)?null:null==n?void 0:n.precision,offset:null!==(a=null==n?void 0:n.offset)&&void 0!==a&&a,local:null!==(g=null==n?void 0:n.local)&&void 0!==g&&g,...em.errToObj(null==n?void 0:n.message)})}date(n){return this._addCheck({kind:"date",message:n})}time(n){return"string"==typeof n?this._addCheck({kind:"time",precision:null,message:n}):this._addCheck({kind:"time",precision:void 0===(null==n?void 0:n.precision)?null:null==n?void 0:n.precision,...em.errToObj(null==n?void 0:n.message)})}duration(n){return this._addCheck({kind:"duration",...em.errToObj(n)})}regex(n,a){return this._addCheck({kind:"regex",regex:n,...em.errToObj(a)})}includes(n,a){return this._addCheck({kind:"includes",value:n,position:null==a?void 0:a.position,...em.errToObj(null==a?void 0:a.message)})}startsWith(n,a){return this._addCheck({kind:"startsWith",value:n,...em.errToObj(a)})}endsWith(n,a){return this._addCheck({kind:"endsWith",value:n,...em.errToObj(a)})}min(n,a){return this._addCheck({kind:"min",value:n,...em.errToObj(a)})}max(n,a){return this._addCheck({kind:"max",value:n,...em.errToObj(a)})}length(n,a){return this._addCheck({kind:"length",value:n,...em.errToObj(a)})}nonempty(n){return this.min(1,em.errToObj(n))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(n=>"datetime"===n.kind)}get isDate(){return!!this._def.checks.find(n=>"date"===n.kind)}get isTime(){return!!this._def.checks.find(n=>"time"===n.kind)}get isDuration(){return!!this._def.checks.find(n=>"duration"===n.kind)}get isEmail(){return!!this._def.checks.find(n=>"email"===n.kind)}get isURL(){return!!this._def.checks.find(n=>"url"===n.kind)}get isEmoji(){return!!this._def.checks.find(n=>"emoji"===n.kind)}get isUUID(){return!!this._def.checks.find(n=>"uuid"===n.kind)}get isNANOID(){return!!this._def.checks.find(n=>"nanoid"===n.kind)}get isCUID(){return!!this._def.checks.find(n=>"cuid"===n.kind)}get isCUID2(){return!!this._def.checks.find(n=>"cuid2"===n.kind)}get isULID(){return!!this._def.checks.find(n=>"ulid"===n.kind)}get isIP(){return!!this._def.checks.find(n=>"ip"===n.kind)}get isBase64(){return!!this._def.checks.find(n=>"base64"===n.kind)}get minLength(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return n}get maxLength(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.value{var a;return new ZodString({checks:[],typeName:ev.ZodString,coerce:null!==(a=null==n?void 0:n.coerce)&&void 0!==a&&a,...processCreateParams(n)})};let ZodNumber=class ZodNumber extends ZodType{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(n){let a;this._def.coerce&&(n.data=Number(n.data));let g=this._getType(n);if(g!==eO.number){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.number,received:a.parsedType}),eI}let v=new ParseStatus;for(let g of this._def.checks)if("int"===g.kind)ef.isInteger(n.data)||(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.invalid_type,expected:"integer",received:"float",message:g.message}),v.dirty());else if("min"===g.kind){let j=g.inclusive?n.datag.value:n.data>=g.value;j&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.too_big,maximum:g.value,type:"number",inclusive:g.inclusive,exact:!1,message:g.message}),v.dirty())}else"multipleOf"===g.kind?0!==function(n,a){let g=(n.toString().split(".")[1]||"").length,v=(a.toString().split(".")[1]||"").length,j=g>v?g:v,z=parseInt(n.toFixed(j).replace(".","")),H=parseInt(a.toFixed(j).replace(".",""));return z%H/Math.pow(10,j)}(n.data,g.value)&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.not_multiple_of,multipleOf:g.value,message:g.message}),v.dirty()):"finite"===g.kind?Number.isFinite(n.data)||(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.not_finite,message:g.message}),v.dirty()):ef.assertNever(g);return{status:v.value,value:n.data}}gte(n,a){return this.setLimit("min",n,!0,em.toString(a))}gt(n,a){return this.setLimit("min",n,!1,em.toString(a))}lte(n,a){return this.setLimit("max",n,!0,em.toString(a))}lt(n,a){return this.setLimit("max",n,!1,em.toString(a))}setLimit(n,a,g,v){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:n,value:a,inclusive:g,message:em.toString(v)}]})}_addCheck(n){return new ZodNumber({...this._def,checks:[...this._def.checks,n]})}int(n){return this._addCheck({kind:"int",message:em.toString(n)})}positive(n){return this._addCheck({kind:"min",value:0,inclusive:!1,message:em.toString(n)})}negative(n){return this._addCheck({kind:"max",value:0,inclusive:!1,message:em.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:0,inclusive:!0,message:em.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:0,inclusive:!0,message:em.toString(n)})}multipleOf(n,a){return this._addCheck({kind:"multipleOf",value:n,message:em.toString(a)})}finite(n){return this._addCheck({kind:"finite",message:em.toString(n)})}safe(n){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:em.toString(n)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:em.toString(n)})}get minValue(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return n}get maxValue(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.value"int"===n.kind||"multipleOf"===n.kind&&ef.isInteger(n.value))}get isFinite(){let n=null,a=null;for(let g of this._def.checks){if("finite"===g.kind||"int"===g.kind||"multipleOf"===g.kind)return!0;"min"===g.kind?(null===a||g.value>a)&&(a=g.value):"max"===g.kind&&(null===n||g.valuenew ZodNumber({checks:[],typeName:ev.ZodNumber,coerce:(null==n?void 0:n.coerce)||!1,...processCreateParams(n)});let ZodBigInt=class ZodBigInt extends ZodType{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(n){let a;this._def.coerce&&(n.data=BigInt(n.data));let g=this._getType(n);if(g!==eO.bigint){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.bigint,received:a.parsedType}),eI}let v=new ParseStatus;for(let g of this._def.checks)if("min"===g.kind){let j=g.inclusive?n.datag.value:n.data>=g.value;j&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.too_big,type:"bigint",maximum:g.value,inclusive:g.inclusive,message:g.message}),v.dirty())}else"multipleOf"===g.kind?n.data%g.value!==BigInt(0)&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.not_multiple_of,multipleOf:g.value,message:g.message}),v.dirty()):ef.assertNever(g);return{status:v.value,value:n.data}}gte(n,a){return this.setLimit("min",n,!0,em.toString(a))}gt(n,a){return this.setLimit("min",n,!1,em.toString(a))}lte(n,a){return this.setLimit("max",n,!0,em.toString(a))}lt(n,a){return this.setLimit("max",n,!1,em.toString(a))}setLimit(n,a,g,v){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:n,value:a,inclusive:g,message:em.toString(v)}]})}_addCheck(n){return new ZodBigInt({...this._def,checks:[...this._def.checks,n]})}positive(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:em.toString(n)})}negative(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:em.toString(n)})}nonpositive(n){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:em.toString(n)})}nonnegative(n){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:em.toString(n)})}multipleOf(n,a){return this._addCheck({kind:"multipleOf",value:n,message:em.toString(a)})}get minValue(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return n}get maxValue(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.value{var a;return new ZodBigInt({checks:[],typeName:ev.ZodBigInt,coerce:null!==(a=null==n?void 0:n.coerce)&&void 0!==a&&a,...processCreateParams(n)})};let ZodBoolean=class ZodBoolean extends ZodType{_parse(n){this._def.coerce&&(n.data=!!n.data);let a=this._getType(n);if(a!==eO.boolean){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.boolean,received:a.parsedType}),eI}return OK(n.data)}};ZodBoolean.create=n=>new ZodBoolean({typeName:ev.ZodBoolean,coerce:(null==n?void 0:n.coerce)||!1,...processCreateParams(n)});let ZodDate=class ZodDate extends ZodType{_parse(n){let a;this._def.coerce&&(n.data=new Date(n.data));let g=this._getType(n);if(g!==eO.date){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.date,received:a.parsedType}),eI}if(isNaN(n.data.getTime())){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_date}),eI}let v=new ParseStatus;for(let g of this._def.checks)"min"===g.kind?n.data.getTime()g.value&&(addIssueToContext(a=this._getOrReturnCtx(n,a),{code:ej.too_big,message:g.message,inclusive:!0,exact:!1,maximum:g.value,type:"date"}),v.dirty()):ef.assertNever(g);return{status:v.value,value:new Date(n.data.getTime())}}_addCheck(n){return new ZodDate({...this._def,checks:[...this._def.checks,n]})}min(n,a){return this._addCheck({kind:"min",value:n.getTime(),message:em.toString(a)})}max(n,a){return this._addCheck({kind:"max",value:n.getTime(),message:em.toString(a)})}get minDate(){let n=null;for(let a of this._def.checks)"min"===a.kind&&(null===n||a.value>n)&&(n=a.value);return null!=n?new Date(n):null}get maxDate(){let n=null;for(let a of this._def.checks)"max"===a.kind&&(null===n||a.valuenew ZodDate({checks:[],coerce:(null==n?void 0:n.coerce)||!1,typeName:ev.ZodDate,...processCreateParams(n)});let ZodSymbol=class ZodSymbol extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.symbol){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.symbol,received:a.parsedType}),eI}return OK(n.data)}};ZodSymbol.create=n=>new ZodSymbol({typeName:ev.ZodSymbol,...processCreateParams(n)});let ZodUndefined=class ZodUndefined extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.undefined){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.undefined,received:a.parsedType}),eI}return OK(n.data)}};ZodUndefined.create=n=>new ZodUndefined({typeName:ev.ZodUndefined,...processCreateParams(n)});let ZodNull=class ZodNull extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.null){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.null,received:a.parsedType}),eI}return OK(n.data)}};ZodNull.create=n=>new ZodNull({typeName:ev.ZodNull,...processCreateParams(n)});let ZodAny=class ZodAny extends ZodType{constructor(){super(...arguments),this._any=!0}_parse(n){return OK(n.data)}};ZodAny.create=n=>new ZodAny({typeName:ev.ZodAny,...processCreateParams(n)});let ZodUnknown=class ZodUnknown extends ZodType{constructor(){super(...arguments),this._unknown=!0}_parse(n){return OK(n.data)}};ZodUnknown.create=n=>new ZodUnknown({typeName:ev.ZodUnknown,...processCreateParams(n)});let ZodNever=class ZodNever extends ZodType{_parse(n){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.never,received:a.parsedType}),eI}};ZodNever.create=n=>new ZodNever({typeName:ev.ZodNever,...processCreateParams(n)});let ZodVoid=class ZodVoid extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.undefined){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.void,received:a.parsedType}),eI}return OK(n.data)}};ZodVoid.create=n=>new ZodVoid({typeName:ev.ZodVoid,...processCreateParams(n)});let ZodArray=class ZodArray extends ZodType{_parse(n){let{ctx:a,status:g}=this._processInputParams(n),v=this._def;if(a.parsedType!==eO.array)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.array,received:a.parsedType}),eI;if(null!==v.exactLength){let n=a.data.length>v.exactLength.value,j=a.data.lengthv.maxLength.value&&(addIssueToContext(a,{code:ej.too_big,maximum:v.maxLength.value,type:"array",inclusive:!0,exact:!1,message:v.maxLength.message}),g.dirty()),a.common.async)return Promise.all([...a.data].map((n,g)=>v.type._parseAsync(new ParseInputLazyPath(a,n,a.path,g)))).then(n=>ParseStatus.mergeArray(g,n));let j=[...a.data].map((n,g)=>v.type._parseSync(new ParseInputLazyPath(a,n,a.path,g)));return ParseStatus.mergeArray(g,j)}get element(){return this._def.type}min(n,a){return new ZodArray({...this._def,minLength:{value:n,message:em.toString(a)}})}max(n,a){return new ZodArray({...this._def,maxLength:{value:n,message:em.toString(a)}})}length(n,a){return new ZodArray({...this._def,exactLength:{value:n,message:em.toString(a)}})}nonempty(n){return this.min(1,n)}};ZodArray.create=(n,a)=>new ZodArray({type:n,minLength:null,maxLength:null,exactLength:null,typeName:ev.ZodArray,...processCreateParams(a)});let ZodObject=class ZodObject extends ZodType{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let n=this._def.shape(),a=ef.objectKeys(n);return this._cached={shape:n,keys:a}}_parse(n){let a=this._getType(n);if(a!==eO.object){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.object,received:a.parsedType}),eI}let{status:g,ctx:v}=this._processInputParams(n),{shape:j,keys:z}=this._getCached(),H=[];if(!(this._def.catchall instanceof ZodNever&&"strip"===this._def.unknownKeys))for(let n in v.data)z.includes(n)||H.push(n);let W=[];for(let n of z){let a=j[n],g=v.data[n];W.push({key:{status:"valid",value:n},value:a._parse(new ParseInputLazyPath(v,g,v.path,n)),alwaysSet:n in v.data})}if(this._def.catchall instanceof ZodNever){let n=this._def.unknownKeys;if("passthrough"===n)for(let n of H)W.push({key:{status:"valid",value:n},value:{status:"valid",value:v.data[n]}});else if("strict"===n)H.length>0&&(addIssueToContext(v,{code:ej.unrecognized_keys,keys:H}),g.dirty());else if("strip"===n);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let n=this._def.catchall;for(let a of H){let g=v.data[a];W.push({key:{status:"valid",value:a},value:n._parse(new ParseInputLazyPath(v,g,v.path,a)),alwaysSet:a in v.data})}}return v.common.async?Promise.resolve().then(async()=>{let n=[];for(let a of W){let g=await a.key,v=await a.value;n.push({key:g,value:v,alwaysSet:a.alwaysSet})}return n}).then(n=>ParseStatus.mergeObjectSync(g,n)):ParseStatus.mergeObjectSync(g,W)}get shape(){return this._def.shape()}strict(n){return em.errToObj,new ZodObject({...this._def,unknownKeys:"strict",...void 0!==n?{errorMap:(a,g)=>{var v,j,z,H;let W=null!==(z=null===(j=(v=this._def).errorMap)||void 0===j?void 0:j.call(v,a,g).message)&&void 0!==z?z:g.defaultError;return"unrecognized_keys"===a.code?{message:null!==(H=em.errToObj(n).message)&&void 0!==H?H:W}:{message:W}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:"strip"})}passthrough(){return new ZodObject({...this._def,unknownKeys:"passthrough"})}extend(n){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...n})})}merge(n){let a=new ZodObject({unknownKeys:n._def.unknownKeys,catchall:n._def.catchall,shape:()=>({...this._def.shape(),...n._def.shape()}),typeName:ev.ZodObject});return a}setKey(n,a){return this.augment({[n]:a})}catchall(n){return new ZodObject({...this._def,catchall:n})}pick(n){let a={};return ef.objectKeys(n).forEach(g=>{n[g]&&this.shape[g]&&(a[g]=this.shape[g])}),new ZodObject({...this._def,shape:()=>a})}omit(n){let a={};return ef.objectKeys(this.shape).forEach(g=>{n[g]||(a[g]=this.shape[g])}),new ZodObject({...this._def,shape:()=>a})}deepPartial(){return function deepPartialify(n){if(n instanceof ZodObject){let a={};for(let g in n.shape){let v=n.shape[g];a[g]=ZodOptional.create(deepPartialify(v))}return new ZodObject({...n._def,shape:()=>a})}return n instanceof ZodArray?new ZodArray({...n._def,type:deepPartialify(n.element)}):n instanceof ZodOptional?ZodOptional.create(deepPartialify(n.unwrap())):n instanceof ZodNullable?ZodNullable.create(deepPartialify(n.unwrap())):n instanceof ZodTuple?ZodTuple.create(n.items.map(n=>deepPartialify(n))):n}(this)}partial(n){let a={};return ef.objectKeys(this.shape).forEach(g=>{let v=this.shape[g];n&&!n[g]?a[g]=v:a[g]=v.optional()}),new ZodObject({...this._def,shape:()=>a})}required(n){let a={};return ef.objectKeys(this.shape).forEach(g=>{if(n&&!n[g])a[g]=this.shape[g];else{let n=this.shape[g],v=n;for(;v instanceof ZodOptional;)v=v._def.innerType;a[g]=v}}),new ZodObject({...this._def,shape:()=>a})}keyof(){return createZodEnum(ef.objectKeys(this.shape))}};ZodObject.create=(n,a)=>new ZodObject({shape:()=>n,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ev.ZodObject,...processCreateParams(a)}),ZodObject.strictCreate=(n,a)=>new ZodObject({shape:()=>n,unknownKeys:"strict",catchall:ZodNever.create(),typeName:ev.ZodObject,...processCreateParams(a)}),ZodObject.lazycreate=(n,a)=>new ZodObject({shape:n,unknownKeys:"strip",catchall:ZodNever.create(),typeName:ev.ZodObject,...processCreateParams(a)});let ZodUnion=class ZodUnion extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g=this._def.options;if(a.common.async)return Promise.all(g.map(async n=>{let g={...a,common:{...a.common,issues:[]},parent:null};return{result:await n._parseAsync({data:a.data,path:a.path,parent:g}),ctx:g}})).then(function(n){for(let a of n)if("valid"===a.result.status)return a.result;for(let g of n)if("dirty"===g.result.status)return a.common.issues.push(...g.ctx.common.issues),g.result;let g=n.map(n=>new ZodError(n.ctx.common.issues));return addIssueToContext(a,{code:ej.invalid_union,unionErrors:g}),eI});{let n;let v=[];for(let j of g){let g={...a,common:{...a.common,issues:[]},parent:null},z=j._parseSync({data:a.data,path:a.path,parent:g});if("valid"===z.status)return z;"dirty"!==z.status||n||(n={result:z,ctx:g}),g.common.issues.length&&v.push(g.common.issues)}if(n)return a.common.issues.push(...n.ctx.common.issues),n.result;let j=v.map(n=>new ZodError(n));return addIssueToContext(a,{code:ej.invalid_union,unionErrors:j}),eI}}get options(){return this._def.options}};ZodUnion.create=(n,a)=>new ZodUnion({options:n,typeName:ev.ZodUnion,...processCreateParams(a)});let getDiscriminator=n=>{if(n instanceof ZodLazy)return getDiscriminator(n.schema);if(n instanceof ZodEffects)return getDiscriminator(n.innerType());if(n instanceof ZodLiteral)return[n.value];if(n instanceof ZodEnum)return n.options;if(n instanceof ZodNativeEnum)return ef.objectValues(n.enum);if(n instanceof ZodDefault)return getDiscriminator(n._def.innerType);if(n instanceof ZodUndefined)return[void 0];else if(n instanceof ZodNull)return[null];else if(n instanceof ZodOptional)return[void 0,...getDiscriminator(n.unwrap())];else if(n instanceof ZodNullable)return[null,...getDiscriminator(n.unwrap())];else if(n instanceof ZodBranded)return getDiscriminator(n.unwrap());else if(n instanceof ZodReadonly)return getDiscriminator(n.unwrap());else if(n instanceof ZodCatch)return getDiscriminator(n._def.innerType);else return[]};let ZodDiscriminatedUnion=class ZodDiscriminatedUnion extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n);if(a.parsedType!==eO.object)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.object,received:a.parsedType}),eI;let g=this.discriminator,v=a.data[g],j=this.optionsMap.get(v);return j?a.common.async?j._parseAsync({data:a.data,path:a.path,parent:a}):j._parseSync({data:a.data,path:a.path,parent:a}):(addIssueToContext(a,{code:ej.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[g]}),eI)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(n,a,g){let v=new Map;for(let g of a){let a=getDiscriminator(g.shape[n]);if(!a.length)throw Error(`A discriminator value for key \`${n}\` could not be extracted from all schema options`);for(let j of a){if(v.has(j))throw Error(`Discriminator property ${String(n)} has duplicate value ${String(j)}`);v.set(j,g)}}return new ZodDiscriminatedUnion({typeName:ev.ZodDiscriminatedUnion,discriminator:n,options:a,optionsMap:v,...processCreateParams(g)})}};let ZodIntersection=class ZodIntersection extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n),handleParsed=(n,v)=>{if(isAborted(n)||isAborted(v))return eI;let j=function mergeValues(n,a){let g=getParsedType(n),v=getParsedType(a);if(n===a)return{valid:!0,data:n};if(g===eO.object&&v===eO.object){let g=ef.objectKeys(a),v=ef.objectKeys(n).filter(n=>-1!==g.indexOf(n)),j={...n,...a};for(let g of v){let v=mergeValues(n[g],a[g]);if(!v.valid)return{valid:!1};j[g]=v.data}return{valid:!0,data:j}}if(g===eO.array&&v===eO.array){if(n.length!==a.length)return{valid:!1};let g=[];for(let v=0;vhandleParsed(n,a)):handleParsed(this._def.left._parseSync({data:g.data,path:g.path,parent:g}),this._def.right._parseSync({data:g.data,path:g.path,parent:g}))}};ZodIntersection.create=(n,a,g)=>new ZodIntersection({left:n,right:a,typeName:ev.ZodIntersection,...processCreateParams(g)});let ZodTuple=class ZodTuple extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.array)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.array,received:g.parsedType}),eI;if(g.data.lengththis._def.items.length&&(addIssueToContext(g,{code:ej.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),a.dirty());let j=[...g.data].map((n,a)=>{let v=this._def.items[a]||this._def.rest;return v?v._parse(new ParseInputLazyPath(g,n,g.path,a)):null}).filter(n=>!!n);return g.common.async?Promise.all(j).then(n=>ParseStatus.mergeArray(a,n)):ParseStatus.mergeArray(a,j)}get items(){return this._def.items}rest(n){return new ZodTuple({...this._def,rest:n})}};ZodTuple.create=(n,a)=>{if(!Array.isArray(n))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ZodTuple({items:n,typeName:ev.ZodTuple,rest:null,...processCreateParams(a)})};let ZodRecord=class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.object)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.object,received:g.parsedType}),eI;let v=[],j=this._def.keyType,z=this._def.valueType;for(let n in g.data)v.push({key:j._parse(new ParseInputLazyPath(g,n,g.path,n)),value:z._parse(new ParseInputLazyPath(g,g.data[n],g.path,n)),alwaysSet:n in g.data});return g.common.async?ParseStatus.mergeObjectAsync(a,v):ParseStatus.mergeObjectSync(a,v)}get element(){return this._def.valueType}static create(n,a,g){return new ZodRecord(a instanceof ZodType?{keyType:n,valueType:a,typeName:ev.ZodRecord,...processCreateParams(g)}:{keyType:ZodString.create(),valueType:n,typeName:ev.ZodRecord,...processCreateParams(a)})}};let ZodMap=class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.map)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.map,received:g.parsedType}),eI;let v=this._def.keyType,j=this._def.valueType,z=[...g.data.entries()].map(([n,a],z)=>({key:v._parse(new ParseInputLazyPath(g,n,g.path,[z,"key"])),value:j._parse(new ParseInputLazyPath(g,a,g.path,[z,"value"]))}));if(g.common.async){let n=new Map;return Promise.resolve().then(async()=>{for(let g of z){let v=await g.key,j=await g.value;if("aborted"===v.status||"aborted"===j.status)return eI;("dirty"===v.status||"dirty"===j.status)&&a.dirty(),n.set(v.value,j.value)}return{status:a.value,value:n}})}{let n=new Map;for(let g of z){let v=g.key,j=g.value;if("aborted"===v.status||"aborted"===j.status)return eI;("dirty"===v.status||"dirty"===j.status)&&a.dirty(),n.set(v.value,j.value)}return{status:a.value,value:n}}}};ZodMap.create=(n,a,g)=>new ZodMap({valueType:a,keyType:n,typeName:ev.ZodMap,...processCreateParams(g)});let ZodSet=class ZodSet extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.parsedType!==eO.set)return addIssueToContext(g,{code:ej.invalid_type,expected:eO.set,received:g.parsedType}),eI;let v=this._def;null!==v.minSize&&g.data.sizev.maxSize.value&&(addIssueToContext(g,{code:ej.too_big,maximum:v.maxSize.value,type:"set",inclusive:!0,exact:!1,message:v.maxSize.message}),a.dirty());let j=this._def.valueType;function finalizeSet(n){let g=new Set;for(let v of n){if("aborted"===v.status)return eI;"dirty"===v.status&&a.dirty(),g.add(v.value)}return{status:a.value,value:g}}let z=[...g.data.values()].map((n,a)=>j._parse(new ParseInputLazyPath(g,n,g.path,a)));return g.common.async?Promise.all(z).then(n=>finalizeSet(n)):finalizeSet(z)}min(n,a){return new ZodSet({...this._def,minSize:{value:n,message:em.toString(a)}})}max(n,a){return new ZodSet({...this._def,maxSize:{value:n,message:em.toString(a)}})}size(n,a){return this.min(n,a).max(n,a)}nonempty(n){return this.min(1,n)}};ZodSet.create=(n,a)=>new ZodSet({valueType:n,minSize:null,maxSize:null,typeName:ev.ZodSet,...processCreateParams(a)});let ZodFunction=class ZodFunction extends ZodType{constructor(){super(...arguments),this.validate=this.implement}_parse(n){let{ctx:a}=this._processInputParams(n);if(a.parsedType!==eO.function)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.function,received:a.parsedType}),eI;function makeArgsIssue(n,g){return makeIssue({data:n,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,getErrorMap(),errorMap].filter(n=>!!n),issueData:{code:ej.invalid_arguments,argumentsError:g}})}function makeReturnsIssue(n,g){return makeIssue({data:n,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,getErrorMap(),errorMap].filter(n=>!!n),issueData:{code:ej.invalid_return_type,returnTypeError:g}})}let g={errorMap:a.common.contextualErrorMap},v=a.data;if(this._def.returns instanceof ZodPromise){let n=this;return OK(async function(...a){let j=new ZodError([]),z=await n._def.args.parseAsync(a,g).catch(n=>{throw j.addIssue(makeArgsIssue(a,n)),j}),H=await Reflect.apply(v,this,z),W=await n._def.returns._def.type.parseAsync(H,g).catch(n=>{throw j.addIssue(makeReturnsIssue(H,n)),j});return W})}{let n=this;return OK(function(...a){let j=n._def.args.safeParse(a,g);if(!j.success)throw new ZodError([makeArgsIssue(a,j.error)]);let z=Reflect.apply(v,this,j.data),H=n._def.returns.safeParse(z,g);if(!H.success)throw new ZodError([makeReturnsIssue(z,H.error)]);return H.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...n){return new ZodFunction({...this._def,args:ZodTuple.create(n).rest(ZodUnknown.create())})}returns(n){return new ZodFunction({...this._def,returns:n})}implement(n){let a=this.parse(n);return a}strictImplement(n){let a=this.parse(n);return a}static create(n,a,g){return new ZodFunction({args:n||ZodTuple.create([]).rest(ZodUnknown.create()),returns:a||ZodUnknown.create(),typeName:ev.ZodFunction,...processCreateParams(g)})}};let ZodLazy=class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(n){let{ctx:a}=this._processInputParams(n),g=this._def.getter();return g._parse({data:a.data,path:a.path,parent:a})}};ZodLazy.create=(n,a)=>new ZodLazy({getter:n,typeName:ev.ZodLazy,...processCreateParams(a)});let ZodLiteral=class ZodLiteral extends ZodType{_parse(n){if(n.data!==this._def.value){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{received:a.data,code:ej.invalid_literal,expected:this._def.value}),eI}return{status:"valid",value:n.data}}get value(){return this._def.value}};function createZodEnum(n,a){return new ZodEnum({values:n,typeName:ev.ZodEnum,...processCreateParams(a)})}ZodLiteral.create=(n,a)=>new ZodLiteral({value:n,typeName:ev.ZodLiteral,...processCreateParams(a)});let ZodEnum=class ZodEnum extends ZodType{constructor(){super(...arguments),ex.set(this,void 0)}_parse(n){if("string"!=typeof n.data){let a=this._getOrReturnCtx(n),g=this._def.values;return addIssueToContext(a,{expected:ef.joinValues(g),received:a.parsedType,code:ej.invalid_type}),eI}if(__classPrivateFieldGet(this,ex,"f")||__classPrivateFieldSet(this,ex,new Set(this._def.values),"f"),!__classPrivateFieldGet(this,ex,"f").has(n.data)){let a=this._getOrReturnCtx(n),g=this._def.values;return addIssueToContext(a,{received:a.data,code:ej.invalid_enum_value,options:g}),eI}return OK(n.data)}get options(){return this._def.values}get enum(){let n={};for(let a of this._def.values)n[a]=a;return n}get Values(){let n={};for(let a of this._def.values)n[a]=a;return n}get Enum(){let n={};for(let a of this._def.values)n[a]=a;return n}extract(n,a=this._def){return ZodEnum.create(n,{...this._def,...a})}exclude(n,a=this._def){return ZodEnum.create(this.options.filter(a=>!n.includes(a)),{...this._def,...a})}};ex=new WeakMap,ZodEnum.create=createZodEnum;let ZodNativeEnum=class ZodNativeEnum extends ZodType{constructor(){super(...arguments),eg.set(this,void 0)}_parse(n){let a=ef.getValidEnumValues(this._def.values),g=this._getOrReturnCtx(n);if(g.parsedType!==eO.string&&g.parsedType!==eO.number){let n=ef.objectValues(a);return addIssueToContext(g,{expected:ef.joinValues(n),received:g.parsedType,code:ej.invalid_type}),eI}if(__classPrivateFieldGet(this,eg,"f")||__classPrivateFieldSet(this,eg,new Set(ef.getValidEnumValues(this._def.values)),"f"),!__classPrivateFieldGet(this,eg,"f").has(n.data)){let n=ef.objectValues(a);return addIssueToContext(g,{received:g.data,code:ej.invalid_enum_value,options:n}),eI}return OK(n.data)}get enum(){return this._def.values}};eg=new WeakMap,ZodNativeEnum.create=(n,a)=>new ZodNativeEnum({values:n,typeName:ev.ZodNativeEnum,...processCreateParams(a)});let ZodPromise=class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(n){let{ctx:a}=this._processInputParams(n);if(a.parsedType!==eO.promise&&!1===a.common.async)return addIssueToContext(a,{code:ej.invalid_type,expected:eO.promise,received:a.parsedType}),eI;let g=a.parsedType===eO.promise?a.data:Promise.resolve(a.data);return OK(g.then(n=>this._def.type.parseAsync(n,{path:a.path,errorMap:a.common.contextualErrorMap})))}};ZodPromise.create=(n,a)=>new ZodPromise({type:n,typeName:ev.ZodPromise,...processCreateParams(a)});let ZodEffects=class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ev.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(n){let{status:a,ctx:g}=this._processInputParams(n),v=this._def.effect||null,j={addIssue:n=>{addIssueToContext(g,n),n.fatal?a.abort():a.dirty()},get path(){return g.path}};if(j.addIssue=j.addIssue.bind(j),"preprocess"===v.type){let n=v.transform(g.data,j);if(g.common.async)return Promise.resolve(n).then(async n=>{if("aborted"===a.value)return eI;let v=await this._def.schema._parseAsync({data:n,path:g.path,parent:g});return"aborted"===v.status?eI:"dirty"===v.status||"dirty"===a.value?DIRTY(v.value):v});{if("aborted"===a.value)return eI;let v=this._def.schema._parseSync({data:n,path:g.path,parent:g});return"aborted"===v.status?eI:"dirty"===v.status||"dirty"===a.value?DIRTY(v.value):v}}if("refinement"===v.type){let executeRefinement=n=>{let a=v.refinement(n,j);if(g.common.async)return Promise.resolve(a);if(a instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return n};if(!1!==g.common.async)return this._def.schema._parseAsync({data:g.data,path:g.path,parent:g}).then(n=>"aborted"===n.status?eI:("dirty"===n.status&&a.dirty(),executeRefinement(n.value).then(()=>({status:a.value,value:n.value}))));{let n=this._def.schema._parseSync({data:g.data,path:g.path,parent:g});return"aborted"===n.status?eI:("dirty"===n.status&&a.dirty(),executeRefinement(n.value),{status:a.value,value:n.value})}}if("transform"===v.type){if(!1!==g.common.async)return this._def.schema._parseAsync({data:g.data,path:g.path,parent:g}).then(n=>isValid(n)?Promise.resolve(v.transform(n.value,j)).then(n=>({status:a.value,value:n})):n);{let n=this._def.schema._parseSync({data:g.data,path:g.path,parent:g});if(!isValid(n))return n;let z=v.transform(n.value,j);if(z instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:a.value,value:z}}}ef.assertNever(v)}};ZodEffects.create=(n,a,g)=>new ZodEffects({schema:n,typeName:ev.ZodEffects,effect:a,...processCreateParams(g)}),ZodEffects.createWithPreprocess=(n,a,g)=>new ZodEffects({schema:a,effect:{type:"preprocess",transform:n},typeName:ev.ZodEffects,...processCreateParams(g)});let ZodOptional=class ZodOptional extends ZodType{_parse(n){let a=this._getType(n);return a===eO.undefined?OK(void 0):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}};ZodOptional.create=(n,a)=>new ZodOptional({innerType:n,typeName:ev.ZodOptional,...processCreateParams(a)});let ZodNullable=class ZodNullable extends ZodType{_parse(n){let a=this._getType(n);return a===eO.null?OK(null):this._def.innerType._parse(n)}unwrap(){return this._def.innerType}};ZodNullable.create=(n,a)=>new ZodNullable({innerType:n,typeName:ev.ZodNullable,...processCreateParams(a)});let ZodDefault=class ZodDefault extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g=a.data;return a.parsedType===eO.undefined&&(g=this._def.defaultValue()),this._def.innerType._parse({data:g,path:a.path,parent:a})}removeDefault(){return this._def.innerType}};ZodDefault.create=(n,a)=>new ZodDefault({innerType:n,typeName:ev.ZodDefault,defaultValue:"function"==typeof a.default?a.default:()=>a.default,...processCreateParams(a)});let ZodCatch=class ZodCatch extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g={...a,common:{...a.common,issues:[]}},v=this._def.innerType._parse({data:g.data,path:g.path,parent:{...g}});return isAsync(v)?v.then(n=>({status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new ZodError(g.common.issues)},input:g.data})})):{status:"valid",value:"valid"===v.status?v.value:this._def.catchValue({get error(){return new ZodError(g.common.issues)},input:g.data})}}removeCatch(){return this._def.innerType}};ZodCatch.create=(n,a)=>new ZodCatch({innerType:n,typeName:ev.ZodCatch,catchValue:"function"==typeof a.catch?a.catch:()=>a.catch,...processCreateParams(a)});let ZodNaN=class ZodNaN extends ZodType{_parse(n){let a=this._getType(n);if(a!==eO.nan){let a=this._getOrReturnCtx(n);return addIssueToContext(a,{code:ej.invalid_type,expected:eO.nan,received:a.parsedType}),eI}return{status:"valid",value:n.data}}};ZodNaN.create=n=>new ZodNaN({typeName:ev.ZodNaN,...processCreateParams(n)});let e$=Symbol("zod_brand");let ZodBranded=class ZodBranded extends ZodType{_parse(n){let{ctx:a}=this._processInputParams(n),g=a.data;return this._def.type._parse({data:g,path:a.path,parent:a})}unwrap(){return this._def.type}};let ZodPipeline=class ZodPipeline extends ZodType{_parse(n){let{status:a,ctx:g}=this._processInputParams(n);if(g.common.async){let handleAsync=async()=>{let n=await this._def.in._parseAsync({data:g.data,path:g.path,parent:g});return"aborted"===n.status?eI:"dirty"===n.status?(a.dirty(),DIRTY(n.value)):this._def.out._parseAsync({data:n.value,path:g.path,parent:g})};return handleAsync()}{let n=this._def.in._parseSync({data:g.data,path:g.path,parent:g});return"aborted"===n.status?eI:"dirty"===n.status?(a.dirty(),{status:"dirty",value:n.value}):this._def.out._parseSync({data:n.value,path:g.path,parent:g})}}static create(n,a){return new ZodPipeline({in:n,out:a,typeName:ev.ZodPipeline})}};let ZodReadonly=class ZodReadonly extends ZodType{_parse(n){let a=this._def.innerType._parse(n),freeze=n=>(isValid(n)&&(n.value=Object.freeze(n.value)),n);return isAsync(a)?a.then(n=>freeze(n)):freeze(a)}unwrap(){return this._def.innerType}};function custom(n,a={},g){return n?ZodAny.create().superRefine((v,j)=>{var z,H;if(!n(v)){let n="function"==typeof a?a(v):"string"==typeof a?{message:a}:a,W=null===(H=null!==(z=n.fatal)&&void 0!==z?z:g)||void 0===H||H,B="string"==typeof n?{message:n}:n;j.addIssue({code:"custom",...B,fatal:W})}}):ZodAny.create()}ZodReadonly.create=(n,a)=>new ZodReadonly({innerType:n,typeName:ev.ZodReadonly,...processCreateParams(a)});let eH={object:ZodObject.lazycreate};(H=ev||(ev={})).ZodString="ZodString",H.ZodNumber="ZodNumber",H.ZodNaN="ZodNaN",H.ZodBigInt="ZodBigInt",H.ZodBoolean="ZodBoolean",H.ZodDate="ZodDate",H.ZodSymbol="ZodSymbol",H.ZodUndefined="ZodUndefined",H.ZodNull="ZodNull",H.ZodAny="ZodAny",H.ZodUnknown="ZodUnknown",H.ZodNever="ZodNever",H.ZodVoid="ZodVoid",H.ZodArray="ZodArray",H.ZodObject="ZodObject",H.ZodUnion="ZodUnion",H.ZodDiscriminatedUnion="ZodDiscriminatedUnion",H.ZodIntersection="ZodIntersection",H.ZodTuple="ZodTuple",H.ZodRecord="ZodRecord",H.ZodMap="ZodMap",H.ZodSet="ZodSet",H.ZodFunction="ZodFunction",H.ZodLazy="ZodLazy",H.ZodLiteral="ZodLiteral",H.ZodEnum="ZodEnum",H.ZodEffects="ZodEffects",H.ZodNativeEnum="ZodNativeEnum",H.ZodOptional="ZodOptional",H.ZodNullable="ZodNullable",H.ZodDefault="ZodDefault",H.ZodCatch="ZodCatch",H.ZodPromise="ZodPromise",H.ZodBranded="ZodBranded",H.ZodPipeline="ZodPipeline",H.ZodReadonly="ZodReadonly";let eW=ZodString.create,eB=ZodNumber.create,eG=ZodNaN.create,eq=ZodBigInt.create,eK=ZodBoolean.create,eJ=ZodDate.create,eY=ZodSymbol.create,eQ=ZodUndefined.create,eX=ZodNull.create,e0=ZodAny.create,e1=ZodUnknown.create,e2=ZodNever.create,e4=ZodVoid.create,e3=ZodArray.create,e5=ZodObject.create,e6=ZodObject.strictCreate,e7=ZodUnion.create,e9=ZodDiscriminatedUnion.create,e8=ZodIntersection.create,te=ZodTuple.create,tt=ZodRecord.create,tn=ZodMap.create,tr=ZodSet.create,to=ZodFunction.create,ta=ZodLazy.create,ti=ZodLiteral.create,ts=ZodEnum.create,tl=ZodNativeEnum.create,tu=ZodPromise.create,tc=ZodEffects.create,td=ZodOptional.create,tp=ZodNullable.create,tf=ZodEffects.createWithPreprocess,th=ZodPipeline.create;var tm=Object.freeze({__proto__:null,defaultErrorMap:errorMap,setErrorMap:function(n){eS=n},getErrorMap:getErrorMap,makeIssue:makeIssue,EMPTY_PATH:[],addIssueToContext:addIssueToContext,ParseStatus:ParseStatus,INVALID:eI,DIRTY:DIRTY,OK:OK,isAborted:isAborted,isDirty:isDirty,isValid:isValid,isAsync:isAsync,get util(){return ef},get objectUtil(){return eh},ZodParsedType:eO,getParsedType:getParsedType,ZodType:ZodType,datetimeRegex:datetimeRegex,ZodString:ZodString,ZodNumber:ZodNumber,ZodBigInt:ZodBigInt,ZodBoolean:ZodBoolean,ZodDate:ZodDate,ZodSymbol:ZodSymbol,ZodUndefined:ZodUndefined,ZodNull:ZodNull,ZodAny:ZodAny,ZodUnknown:ZodUnknown,ZodNever:ZodNever,ZodVoid:ZodVoid,ZodArray:ZodArray,ZodObject:ZodObject,ZodUnion:ZodUnion,ZodDiscriminatedUnion:ZodDiscriminatedUnion,ZodIntersection:ZodIntersection,ZodTuple:ZodTuple,ZodRecord:ZodRecord,ZodMap:ZodMap,ZodSet:ZodSet,ZodFunction:ZodFunction,ZodLazy:ZodLazy,ZodLiteral:ZodLiteral,ZodEnum:ZodEnum,ZodNativeEnum:ZodNativeEnum,ZodPromise:ZodPromise,ZodEffects:ZodEffects,ZodTransformer:ZodEffects,ZodOptional:ZodOptional,ZodNullable:ZodNullable,ZodDefault:ZodDefault,ZodCatch:ZodCatch,ZodNaN:ZodNaN,BRAND:e$,ZodBranded:ZodBranded,ZodPipeline:ZodPipeline,ZodReadonly:ZodReadonly,custom:custom,Schema:ZodType,ZodSchema:ZodType,late:eH,get ZodFirstPartyTypeKind(){return ev},coerce:{string:n=>ZodString.create({...n,coerce:!0}),number:n=>ZodNumber.create({...n,coerce:!0}),boolean:n=>ZodBoolean.create({...n,coerce:!0}),bigint:n=>ZodBigInt.create({...n,coerce:!0}),date:n=>ZodDate.create({...n,coerce:!0})},any:e0,array:e3,bigint:eq,boolean:eK,date:eJ,discriminatedUnion:e9,effect:tc,enum:ts,function:to,instanceof:(n,a={message:`Input not instance of ${n.name}`})=>custom(a=>a instanceof n,a),intersection:e8,lazy:ta,literal:ti,map:tn,nan:eG,nativeEnum:tl,never:e2,null:eX,nullable:tp,number:eB,object:e5,oboolean:()=>eK().optional(),onumber:()=>eB().optional(),optional:td,ostring:()=>eW().optional(),pipeline:th,preprocess:tf,promise:tu,record:tt,set:tr,strictObject:e6,string:eW,symbol:eY,transformer:tc,tuple:te,undefined:eQ,union:e7,unknown:e1,void:e4,NEVER:eI,ZodIssueCode:ej,quotelessJson:n=>{let a=JSON.stringify(n,null,2);return a.replace(/"([^"]+)":/g,"$1:")},ZodError:ZodError}),tx=g(1664),tg=g.n(tx);g(6337);var tv=g(5893);let ty=["light","dark"],tb="(prefers-color-scheme: dark)",t_="undefined"==typeof window,tw=(0,ew.createContext)(void 0),tk={setTheme:n=>{},themes:[]},y=()=>{var n;return null!==(n=(0,ew.useContext)(tw))&&void 0!==n?n:tk},$=n=>(0,ew.useContext)(tw)?ew.createElement(ew.Fragment,null,n.children):ew.createElement(f,n),tC=["light","dark"],f=({forcedTheme:n,disableTransitionOnChange:a=!1,enableSystem:g=!0,enableColorScheme:v=!0,storageKey:j="theme",themes:z=tC,defaultTheme:H=g?"system":"light",attribute:W="data-theme",value:B,children:K,nonce:ee})=>{let[et,en]=(0,ew.useState)(()=>S(j,H)),[er,eo]=(0,ew.useState)(()=>S(j)),ei=B?Object.values(B):z,es=(0,ew.useCallback)(n=>{let j=n;if(!j)return;"system"===n&&g&&(j=p());let z=B?B[j]:j,K=a?b():null,ee=document.documentElement;if("class"===W?(ee.classList.remove(...ei),z&&ee.classList.add(z)):z?ee.setAttribute(W,z):ee.removeAttribute(W),v){let n=ty.includes(H)?H:null,a=ty.includes(j)?j:n;ee.style.colorScheme=a}null==K||K()},[]),el=(0,ew.useCallback)(n=>{en(n);try{localStorage.setItem(j,n)}catch(n){}},[n]),eu=(0,ew.useCallback)(a=>{let v=p(a);eo(v),"system"===et&&g&&!n&&es("system")},[et,n]);(0,ew.useEffect)(()=>{let n=window.matchMedia(tb);return n.addListener(eu),eu(n),()=>n.removeListener(eu)},[eu]),(0,ew.useEffect)(()=>{let e=n=>{n.key===j&&el(n.newValue||H)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[el]),(0,ew.useEffect)(()=>{es(null!=n?n:et)},[n,et]);let ec=(0,ew.useMemo)(()=>({theme:et,setTheme:el,forcedTheme:n,resolvedTheme:"system"===et?er:et,themes:g?[...z,"system"]:z,systemTheme:g?er:void 0}),[et,el,n,er,g,z]);return ew.createElement(tw.Provider,{value:ec},ew.createElement(tE,{forcedTheme:n,disableTransitionOnChange:a,enableSystem:g,enableColorScheme:v,storageKey:j,themes:z,defaultTheme:H,attribute:W,value:B,children:K,attrs:ei,nonce:ee}),K)},tE=(0,ew.memo)(({forcedTheme:n,storageKey:a,attribute:g,enableSystem:v,enableColorScheme:j,defaultTheme:z,value:H,attrs:W,nonce:B})=>{let K="system"===z,ee="class"===g?`var d=document.documentElement,c=d.classList;c.remove(${W.map(n=>`'${n}'`).join(",")});`:`var d=document.documentElement,n='${g}',s='setAttribute';`,et=j?ty.includes(z)&&z?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${z}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",$=(n,a=!1,v=!0)=>{let z=H?H[n]:n,W=a?n+"|| ''":`'${z}'`,B="";return j&&v&&!a&&ty.includes(n)&&(B+=`d.style.colorScheme = '${n}';`),"class"===g?B+=a||z?`c.add(${W})`:"null":z&&(B+=`d[s](n,${W})`),B},en=n?`!function(){${ee}${$(n)}}()`:v?`!function(){try{${ee}var e=localStorage.getItem('${a}');if('system'===e||(!e&&${K})){var t='${tb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${$("dark")}}else{${$("light")}}}else if(e){${H?`var x=${JSON.stringify(H)};`:""}${$(H?"x[e]":"e",!0)}}${K?"":"else{"+$(z,!1,!1)+"}"}${et}}catch(e){}}()`:`!function(){try{${ee}var e=localStorage.getItem('${a}');if(e){${H?`var x=${JSON.stringify(H)};`:""}${$(H?"x[e]":"e",!0)}}else{${$(z,!1,!1)};}${et}}catch(t){}}();`;return ew.createElement("script",{nonce:B,dangerouslySetInnerHTML:{__html:en}})},()=>!0),S=(n,a)=>{let g;if(!t_){try{g=localStorage.getItem(n)||void 0}catch(n){}return g||a}},b=()=>{let n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(n)},1)}},p=n=>(n||(n=window.matchMedia(tb)),n.matches?"dark":"light");var tT={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tO=tm.strictObject({breadcrumb:tm.boolean(),collapsed:tm.boolean(),footer:tm.boolean(),layout:tm.enum(["default","full","raw"]),navbar:tm.boolean(),pagination:tm.boolean(),sidebar:tm.boolean(),timestamp:tm.boolean(),toc:tm.boolean(),typesetting:tm.enum(["default","article"])}),tj=tm.enum(["normal","hidden","children"]),tS=tm.string(),tI=tm.strictObject({href:tm.string(),newWindow:tm.boolean(),title:tS}),tP=tm.strictObject({display:tj.optional(),items:tm.record(tI.partial({href:!0,newWindow:!0})),title:tS,type:tm.literal("menu")}),tN=tm.strictObject({title:tS.optional(),type:tm.literal("separator")}),tZ=tI.extend({display:tj,theme:tO,title:tS,type:tm.enum(["page","doc"])}).deepPartial();tm.string().or(tP).or(tN).or(tZ);var tR=g(3458),tA=g.n(tR);function getWindow(n){if(null==n)return window;if("[object Window]"!==n.toString()){var a=n.ownerDocument;return a&&a.defaultView||window}return n}function isElement(n){var a=getWindow(n).Element;return n instanceof a||n instanceof Element}function isHTMLElement(n){var a=getWindow(n).HTMLElement;return n instanceof a||n instanceof HTMLElement}function isShadowRoot(n){if("undefined"==typeof ShadowRoot)return!1;var a=getWindow(n).ShadowRoot;return n instanceof a||n instanceof ShadowRoot}var tM=Math.max,tL=Math.min,tD=Math.round;function getUAString(){var n=navigator.userAgentData;return null!=n&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(n,a,g){void 0===a&&(a=!1),void 0===g&&(g=!1);var v=n.getBoundingClientRect(),j=1,z=1;a&&isHTMLElement(n)&&(j=n.offsetWidth>0&&tD(v.width)/n.offsetWidth||1,z=n.offsetHeight>0&&tD(v.height)/n.offsetHeight||1);var H=(isElement(n)?getWindow(n):window).visualViewport,W=!isLayoutViewport()&&g,B=(v.left+(W&&H?H.offsetLeft:0))/j,K=(v.top+(W&&H?H.offsetTop:0))/z,ee=v.width/j,et=v.height/z;return{width:ee,height:et,top:K,right:B+ee,bottom:K+et,left:B,x:B,y:K}}function getWindowScroll(n){var a=getWindow(n);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function getNodeName(n){return n?(n.nodeName||"").toLowerCase():null}function getDocumentElement(n){return((isElement(n)?n.ownerDocument:n.document)||window.document).documentElement}function getWindowScrollBarX(n){return getBoundingClientRect(getDocumentElement(n)).left+getWindowScroll(n).scrollLeft}function getComputedStyle_getComputedStyle(n){return getWindow(n).getComputedStyle(n)}function isScrollParent(n){var a=getComputedStyle_getComputedStyle(n),g=a.overflow,v=a.overflowX,j=a.overflowY;return/auto|scroll|overlay|hidden/.test(g+j+v)}function getLayoutRect(n){var a=getBoundingClientRect(n),g=n.offsetWidth,v=n.offsetHeight;return 1>=Math.abs(a.width-g)&&(g=a.width),1>=Math.abs(a.height-v)&&(v=a.height),{x:n.offsetLeft,y:n.offsetTop,width:g,height:v}}function getParentNode(n){return"html"===getNodeName(n)?n:n.assignedSlot||n.parentNode||(isShadowRoot(n)?n.host:null)||getDocumentElement(n)}function listScrollParents(n,a){void 0===a&&(a=[]);var g,v=function getScrollParent(n){return["html","body","#document"].indexOf(getNodeName(n))>=0?n.ownerDocument.body:isHTMLElement(n)&&isScrollParent(n)?n:getScrollParent(getParentNode(n))}(n),j=v===(null==(g=n.ownerDocument)?void 0:g.body),z=getWindow(v),H=j?[z].concat(z.visualViewport||[],isScrollParent(v)?v:[]):v,W=a.concat(H);return j?W:W.concat(listScrollParents(getParentNode(H)))}function getTrueOffsetParent(n){return isHTMLElement(n)&&"fixed"!==getComputedStyle_getComputedStyle(n).position?n.offsetParent:null}function getOffsetParent(n){for(var a=getWindow(n),g=getTrueOffsetParent(n);g&&["table","td","th"].indexOf(getNodeName(g))>=0&&"static"===getComputedStyle_getComputedStyle(g).position;)g=getTrueOffsetParent(g);return g&&("html"===getNodeName(g)||"body"===getNodeName(g)&&"static"===getComputedStyle_getComputedStyle(g).position)?a:g||function(n){var a=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(n)&&"fixed"===getComputedStyle_getComputedStyle(n).position)return null;var g=getParentNode(n);for(isShadowRoot(g)&&(g=g.host);isHTMLElement(g)&&0>["html","body"].indexOf(getNodeName(g));){var v=getComputedStyle_getComputedStyle(g);if("none"!==v.transform||"none"!==v.perspective||"paint"===v.contain||-1!==["transform","perspective"].indexOf(v.willChange)||a&&"filter"===v.willChange||a&&v.filter&&"none"!==v.filter)return g;g=g.parentNode}return null}(n)||a}var tF="bottom",tz="right",tU="left",tV="auto",t$=["top",tF,tz,tU],tH="start",tW="viewport",tB="popper",tG=t$.reduce(function(n,a){return n.concat([a+"-"+tH,a+"-end"])},[]),tq=[].concat(t$,[tV]).reduce(function(n,a){return n.concat([a,a+"-"+tH,a+"-end"])},[]),tK=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],tJ={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var n=arguments.length,a=Array(n),g=0;g=0?"x":"y"}function computeOffsets(n){var a,g=n.reference,v=n.element,j=n.placement,z=j?getBasePlacement(j):null,H=j?getVariation(j):null,W=g.x+g.width/2-v.width/2,B=g.y+g.height/2-v.height/2;switch(z){case"top":a={x:W,y:g.y-v.height};break;case tF:a={x:W,y:g.y+g.height};break;case tz:a={x:g.x+g.width,y:B};break;case tU:a={x:g.x-v.width,y:B};break;default:a={x:g.x,y:g.y}}var K=z?getMainAxisFromPlacement(z):null;if(null!=K){var ee="y"===K?"height":"width";switch(H){case tH:a[K]=a[K]-(g[ee]/2-v[ee]/2);break;case"end":a[K]=a[K]+(g[ee]/2-v[ee]/2)}}return a}var tQ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(n){var a,g,v,j,z,H,W,B=n.popper,K=n.popperRect,ee=n.placement,et=n.variation,en=n.offsets,er=n.position,eo=n.gpuAcceleration,ei=n.adaptive,es=n.roundOffsets,el=n.isFixed,eu=en.x,ec=void 0===eu?0:eu,ed=en.y,ep=void 0===ed?0:ed,ef="function"==typeof es?es({x:ec,y:ep}):{x:ec,y:ep};ec=ef.x,ep=ef.y;var eh=en.hasOwnProperty("x"),em=en.hasOwnProperty("y"),ex=tU,eg="top",ev=window;if(ei){var ey=getOffsetParent(B),eb="clientHeight",e_="clientWidth";ey===getWindow(B)&&"static"!==getComputedStyle_getComputedStyle(ey=getDocumentElement(B)).position&&"absolute"===er&&(eb="scrollHeight",e_="scrollWidth"),("top"===ee||(ee===tU||ee===tz)&&"end"===et)&&(eg=tF,ep-=(el&&ey===ev&&ev.visualViewport?ev.visualViewport.height:ey[eb])-K.height,ep*=eo?1:-1),(ee===tU||("top"===ee||ee===tF)&&"end"===et)&&(ex=tz,ec-=(el&&ey===ev&&ev.visualViewport?ev.visualViewport.width:ey[e_])-K.width,ec*=eo?1:-1)}var ew=Object.assign({position:er},ei&&tQ),ek=!0===es?(a={x:ec,y:ep},g=getWindow(B),v=a.x,j=a.y,{x:tD(v*(z=g.devicePixelRatio||1))/z||0,y:tD(j*z)/z||0}):{x:ec,y:ep};return(ec=ek.x,ep=ek.y,eo)?Object.assign({},ew,((W={})[eg]=em?"0":"",W[ex]=eh?"0":"",W.transform=1>=(ev.devicePixelRatio||1)?"translate("+ec+"px, "+ep+"px)":"translate3d("+ec+"px, "+ep+"px, 0)",W)):Object.assign({},ew,((H={})[eg]=em?ep+"px":"",H[ex]=eh?ec+"px":"",H.transform="",H))}var tX={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(n){return n.replace(/left|right|bottom|top/g,function(n){return tX[n]})}var t0={start:"end",end:"start"};function getOppositeVariationPlacement(n){return n.replace(/start|end/g,function(n){return t0[n]})}function contains(n,a){var g=a.getRootNode&&a.getRootNode();if(n.contains(a))return!0;if(g&&isShadowRoot(g)){var v=a;do{if(v&&n.isSameNode(v))return!0;v=v.parentNode||v.host}while(v)}return!1}function rectToClientRect(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function getClientRectFromMixedType(n,a,g){var v,j,z,H,W,B,K,ee,et,en;return a===tW?rectToClientRect(function(n,a){var g=getWindow(n),v=getDocumentElement(n),j=g.visualViewport,z=v.clientWidth,H=v.clientHeight,W=0,B=0;if(j){z=j.width,H=j.height;var K=isLayoutViewport();(K||!K&&"fixed"===a)&&(W=j.offsetLeft,B=j.offsetTop)}return{width:z,height:H,x:W+getWindowScrollBarX(n),y:B}}(n,g)):isElement(a)?((v=getBoundingClientRect(a,!1,"fixed"===g)).top=v.top+a.clientTop,v.left=v.left+a.clientLeft,v.bottom=v.top+a.clientHeight,v.right=v.left+a.clientWidth,v.width=a.clientWidth,v.height=a.clientHeight,v.x=v.left,v.y=v.top,v):rectToClientRect((j=getDocumentElement(n),H=getDocumentElement(j),W=getWindowScroll(j),B=null==(z=j.ownerDocument)?void 0:z.body,K=tM(H.scrollWidth,H.clientWidth,B?B.scrollWidth:0,B?B.clientWidth:0),ee=tM(H.scrollHeight,H.clientHeight,B?B.scrollHeight:0,B?B.clientHeight:0),et=-W.scrollLeft+getWindowScrollBarX(j),en=-W.scrollTop,"rtl"===getComputedStyle_getComputedStyle(B||H).direction&&(et+=tM(H.clientWidth,B?B.clientWidth:0)-K),{width:K,height:ee,x:et,y:en}))}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(n){return Object.assign({},getFreshSideObject(),n)}function expandToHashMap(n,a){return a.reduce(function(a,g){return a[g]=n,a},{})}function detectOverflow(n,a){void 0===a&&(a={});var g,v,j,z,H,W,B,K=a,ee=K.placement,et=void 0===ee?n.placement:ee,en=K.strategy,er=void 0===en?n.strategy:en,eo=K.boundary,ei=K.rootBoundary,es=K.elementContext,el=void 0===es?tB:es,eu=K.altBoundary,ec=K.padding,ed=void 0===ec?0:ec,ep=mergePaddingObject("number"!=typeof ed?ed:expandToHashMap(ed,t$)),ef=n.rects.popper,eh=n.elements[void 0!==eu&&eu?el===tB?"reference":tB:el],em=(g=isElement(eh)?eh:eh.contextElement||getDocumentElement(n.elements.popper),W=(H=[].concat("clippingParents"===(v=void 0===eo?"clippingParents":eo)?(j=listScrollParents(getParentNode(g)),isElement(z=["absolute","fixed"].indexOf(getComputedStyle_getComputedStyle(g).position)>=0&&isHTMLElement(g)?getOffsetParent(g):g)?j.filter(function(n){return isElement(n)&&contains(n,z)&&"body"!==getNodeName(n)}):[]):[].concat(v),[void 0===ei?tW:ei]))[0],(B=H.reduce(function(n,a){var v=getClientRectFromMixedType(g,a,er);return n.top=tM(v.top,n.top),n.right=tL(v.right,n.right),n.bottom=tL(v.bottom,n.bottom),n.left=tM(v.left,n.left),n},getClientRectFromMixedType(g,W,er))).width=B.right-B.left,B.height=B.bottom-B.top,B.x=B.left,B.y=B.top,B),ex=getBoundingClientRect(n.elements.reference),eg=computeOffsets({reference:ex,element:ef,strategy:"absolute",placement:et}),ev=rectToClientRect(Object.assign({},ef,eg)),ey=el===tB?ev:ex,eb={top:em.top-ey.top+ep.top,bottom:ey.bottom-em.bottom+ep.bottom,left:em.left-ey.left+ep.left,right:ey.right-em.right+ep.right},e_=n.modifiersData.offset;if(el===tB&&e_){var ew=e_[et];Object.keys(eb).forEach(function(n){var a=[tz,tF].indexOf(n)>=0?1:-1,g=["top",tF].indexOf(n)>=0?"y":"x";eb[n]+=ew[g]*a})}return eb}function within(n,a,g){return tM(n,tL(a,g))}function getSideOffsets(n,a,g){return void 0===g&&(g={x:0,y:0}),{top:n.top-a.height-g.y,right:n.right-a.width+g.x,bottom:n.bottom-a.height+g.y,left:n.left-a.width-g.x}}function isAnySideFullyClipped(n){return["top",tz,tF,tU].some(function(a){return n[a]>=0})}var t1=(K=void 0===(B=(W={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(n){var a=n.state,g=n.instance,v=n.options,j=v.scroll,z=void 0===j||j,H=v.resize,W=void 0===H||H,B=getWindow(a.elements.popper),K=[].concat(a.scrollParents.reference,a.scrollParents.popper);return z&&K.forEach(function(n){n.addEventListener("scroll",g.update,tY)}),W&&B.addEventListener("resize",g.update,tY),function(){z&&K.forEach(function(n){n.removeEventListener("scroll",g.update,tY)}),W&&B.removeEventListener("resize",g.update,tY)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(n){var a=n.state,g=n.name;a.modifiersData[g]=computeOffsets({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(n){var a=n.state,g=n.options,v=g.gpuAcceleration,j=g.adaptive,z=g.roundOffsets,H=void 0===z||z,W={placement:getBasePlacement(a.placement),variation:getVariation(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:void 0===v||v,isFixed:"fixed"===a.options.strategy};null!=a.modifiersData.popperOffsets&&(a.styles.popper=Object.assign({},a.styles.popper,mapToStyles(Object.assign({},W,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:void 0===j||j,roundOffsets:H})))),null!=a.modifiersData.arrow&&(a.styles.arrow=Object.assign({},a.styles.arrow,mapToStyles(Object.assign({},W,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:H})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(n){var a=n.state;Object.keys(a.elements).forEach(function(n){var g=a.styles[n]||{},v=a.attributes[n]||{},j=a.elements[n];isHTMLElement(j)&&getNodeName(j)&&(Object.assign(j.style,g),Object.keys(v).forEach(function(n){var a=v[n];!1===a?j.removeAttribute(n):j.setAttribute(n,!0===a?"":a)}))})},effect:function(n){var a=n.state,g={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,g.popper),a.styles=g,a.elements.arrow&&Object.assign(a.elements.arrow.style,g.arrow),function(){Object.keys(a.elements).forEach(function(n){var v=a.elements[n],j=a.attributes[n]||{},z=Object.keys(a.styles.hasOwnProperty(n)?a.styles[n]:g[n]).reduce(function(n,a){return n[a]="",n},{});isHTMLElement(v)&&getNodeName(v)&&(Object.assign(v.style,z),Object.keys(j).forEach(function(n){v.removeAttribute(n)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(n){var a=n.state,g=n.options,v=n.name,j=g.offset,z=void 0===j?[0,0]:j,H=tq.reduce(function(n,g){var v,j,H,W,B,K;return n[g]=(v=a.rects,H=[tU,"top"].indexOf(j=getBasePlacement(g))>=0?-1:1,B=(W="function"==typeof z?z(Object.assign({},v,{placement:g})):z)[0],K=W[1],B=B||0,K=(K||0)*H,[tU,tz].indexOf(j)>=0?{x:K,y:B}:{x:B,y:K}),n},{}),W=H[a.placement],B=W.x,K=W.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=B,a.modifiersData.popperOffsets.y+=K),a.modifiersData[v]=H}},{name:"flip",enabled:!0,phase:"main",fn:function(n){var a=n.state,g=n.options,v=n.name;if(!a.modifiersData[v]._skip){for(var j=g.mainAxis,z=void 0===j||j,H=g.altAxis,W=void 0===H||H,B=g.fallbackPlacements,K=g.padding,ee=g.boundary,et=g.rootBoundary,en=g.altBoundary,er=g.flipVariations,eo=void 0===er||er,ei=g.allowedAutoPlacements,es=a.options.placement,el=getBasePlacement(es)===es,eu=B||(el||!eo?[getOppositePlacement(es)]:function(n){if(getBasePlacement(n)===tV)return[];var a=getOppositePlacement(n);return[getOppositeVariationPlacement(n),a,getOppositeVariationPlacement(a)]}(es)),ec=[es].concat(eu).reduce(function(n,g){var v,j,z,H,W,B,en,er,es,el,eu,ec;return n.concat(getBasePlacement(g)===tV?(j=(v={placement:g,boundary:ee,rootBoundary:et,padding:K,flipVariations:eo,allowedAutoPlacements:ei}).placement,z=v.boundary,H=v.rootBoundary,W=v.padding,B=v.flipVariations,er=void 0===(en=v.allowedAutoPlacements)?tq:en,0===(eu=(el=(es=getVariation(j))?B?tG:tG.filter(function(n){return getVariation(n)===es}):t$).filter(function(n){return er.indexOf(n)>=0})).length&&(eu=el),Object.keys(ec=eu.reduce(function(n,g){return n[g]=detectOverflow(a,{placement:g,boundary:z,rootBoundary:H,padding:W})[getBasePlacement(g)],n},{})).sort(function(n,a){return ec[n]-ec[a]})):g)},[]),ed=a.rects.reference,ep=a.rects.popper,ef=new Map,eh=!0,em=ec[0],ex=0;ex=0,e_=eb?"width":"height",ew=detectOverflow(a,{placement:eg,boundary:ee,rootBoundary:et,altBoundary:en,padding:K}),ek=eb?ey?tz:tU:ey?tF:"top";ed[e_]>ep[e_]&&(ek=getOppositePlacement(ek));var eC=getOppositePlacement(ek),eE=[];if(z&&eE.push(ew[ev]<=0),W&&eE.push(ew[ek]<=0,ew[eC]<=0),eE.every(function(n){return n})){em=eg,eh=!1;break}ef.set(eg,eE)}if(eh)for(var eT=eo?3:1,_loop=function(n){var a=ec.find(function(a){var g=ef.get(a);if(g)return g.slice(0,n).every(function(n){return n})});if(a)return em=a,"break"},eO=eT;eO>0&&"break"!==_loop(eO);eO--);a.placement!==em&&(a.modifiersData[v]._skip=!0,a.placement=em,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(n){var a=n.state,g=n.options,v=n.name,j=g.mainAxis,z=g.altAxis,H=g.boundary,W=g.rootBoundary,B=g.altBoundary,K=g.padding,ee=g.tether,et=void 0===ee||ee,en=g.tetherOffset,er=void 0===en?0:en,eo=detectOverflow(a,{boundary:H,rootBoundary:W,padding:K,altBoundary:B}),ei=getBasePlacement(a.placement),es=getVariation(a.placement),el=!es,eu=getMainAxisFromPlacement(ei),ec="x"===eu?"y":"x",ed=a.modifiersData.popperOffsets,ep=a.rects.reference,ef=a.rects.popper,eh="function"==typeof er?er(Object.assign({},a.rects,{placement:a.placement})):er,em="number"==typeof eh?{mainAxis:eh,altAxis:eh}:Object.assign({mainAxis:0,altAxis:0},eh),ex=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,eg={x:0,y:0};if(ed){if(void 0===j||j){var ev,ey="y"===eu?"top":tU,eb="y"===eu?tF:tz,e_="y"===eu?"height":"width",ew=ed[eu],ek=ew+eo[ey],eC=ew-eo[eb],eE=et?-ef[e_]/2:0,eT=es===tH?ep[e_]:ef[e_],eO=es===tH?-ef[e_]:-ep[e_],ej=a.elements.arrow,eS=et&&ej?getLayoutRect(ej):{width:0,height:0},eI=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:getFreshSideObject(),eP=eI[ey],eN=eI[eb],eZ=within(0,ep[e_],eS[e_]),eR=el?ep[e_]/2-eE-eZ-eP-em.mainAxis:eT-eZ-eP-em.mainAxis,eA=el?-ep[e_]/2+eE+eZ+eN+em.mainAxis:eO+eZ+eN+em.mainAxis,eM=a.elements.arrow&&getOffsetParent(a.elements.arrow),eL=eM?"y"===eu?eM.clientTop||0:eM.clientLeft||0:0,eD=null!=(ev=null==ex?void 0:ex[eu])?ev:0,eF=ew+eR-eD-eL,ez=ew+eA-eD,eU=within(et?tL(ek,eF):ek,ew,et?tM(eC,ez):eC);ed[eu]=eU,eg[eu]=eU-ew}if(void 0!==z&&z){var eV,e$,eH="x"===eu?"top":tU,eW="x"===eu?tF:tz,eB=ed[ec],eG="y"===ec?"height":"width",eq=eB+eo[eH],eK=eB-eo[eW],eJ=-1!==["top",tU].indexOf(ei),eY=null!=(e$=null==ex?void 0:ex[ec])?e$:0,eQ=eJ?eq:eB-ep[eG]-ef[eG]-eY+em.altAxis,eX=eJ?eB+ep[eG]+ef[eG]-eY-em.altAxis:eK,e0=et&&eJ?(eV=within(eQ,eB,eX))>eX?eX:eV:within(et?eQ:eq,eB,et?eX:eK);ed[ec]=e0,eg[ec]=e0-eB}a.modifiersData[v]=eg}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(n){var a,g,v=n.state,j=n.name,z=n.options,H=v.elements.arrow,W=v.modifiersData.popperOffsets,B=getBasePlacement(v.placement),K=getMainAxisFromPlacement(B),ee=[tU,tz].indexOf(B)>=0?"height":"width";if(H&&W){var et=mergePaddingObject("number"!=typeof(a="function"==typeof(a=z.padding)?a(Object.assign({},v.rects,{placement:v.placement})):a)?a:expandToHashMap(a,t$)),en=getLayoutRect(H),er="y"===K?"top":tU,eo="y"===K?tF:tz,ei=v.rects.reference[ee]+v.rects.reference[K]-W[K]-v.rects.popper[ee],es=W[K]-v.rects.reference[K],el=getOffsetParent(H),eu=el?"y"===K?el.clientHeight||0:el.clientWidth||0:0,ec=et[er],ed=eu-en[ee]-et[eo],ep=eu/2-en[ee]/2+(ei/2-es/2),ef=within(ec,ep,ed);v.modifiersData[j]=((g={})[K]=ef,g.centerOffset=ef-ep,g)}},effect:function(n){var a=n.state,g=n.options.element,v=void 0===g?"[data-popper-arrow]":g;null!=v&&("string"!=typeof v||(v=a.elements.popper.querySelector(v)))&&contains(a.elements.popper,v)&&(a.elements.arrow=v)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(n){var a=n.state,g=n.name,v=a.rects.reference,j=a.rects.popper,z=a.modifiersData.preventOverflow,H=detectOverflow(a,{elementContext:"reference"}),W=detectOverflow(a,{altBoundary:!0}),B=getSideOffsets(H,v),K=getSideOffsets(W,j,z),ee=isAnySideFullyClipped(B),et=isAnySideFullyClipped(K);a.modifiersData[g]={referenceClippingOffsets:B,popperEscapeOffsets:K,isReferenceHidden:ee,hasPopperEscaped:et},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":ee,"data-popper-escaped":et})}}]}).defaultModifiers)?[]:B,et=void 0===(ee=W.defaultOptions)?tJ:ee,function(n,a,g){void 0===g&&(g=et);var v,j={placement:"bottom",orderedModifiers:[],options:Object.assign({},tJ,et),modifiersData:{},elements:{reference:n,popper:a},attributes:{},styles:{}},z=[],H=!1,W={state:j,setOptions:function(g){var v,H,B,ee,en,er="function"==typeof g?g(j.options):g;cleanupModifierEffects(),j.options=Object.assign({},et,j.options,er),j.scrollParents={reference:isElement(n)?listScrollParents(n):n.contextElement?listScrollParents(n.contextElement):[],popper:listScrollParents(a)};var eo=(H=Object.keys(v=[].concat(K,j.options.modifiers).reduce(function(n,a){var g=n[a.name];return n[a.name]=g?Object.assign({},g,a,{options:Object.assign({},g.options,a.options),data:Object.assign({},g.data,a.data)}):a,n},{})).map(function(n){return v[n]}),B=new Map,ee=new Set,en=[],H.forEach(function(n){B.set(n.name,n)}),H.forEach(function(n){ee.has(n.name)||function sort(n){ee.add(n.name),[].concat(n.requires||[],n.requiresIfExists||[]).forEach(function(n){if(!ee.has(n)){var a=B.get(n);a&&sort(a)}}),en.push(n)}(n)}),tK.reduce(function(n,a){return n.concat(en.filter(function(n){return n.phase===a}))},[]));return j.orderedModifiers=eo.filter(function(n){return n.enabled}),j.orderedModifiers.forEach(function(n){var a=n.name,g=n.options,v=n.effect;if("function"==typeof v){var H=v({state:j,name:a,instance:W,options:void 0===g?{}:g});z.push(H||function(){})}}),W.update()},forceUpdate:function(){if(!H){var n,a,g,v,z,B,K,ee,et,en,er,eo,ei=j.elements,es=ei.reference,el=ei.popper;if(areValidElements(es,el)){j.rects={reference:(a=getOffsetParent(el),g="fixed"===j.options.strategy,v=isHTMLElement(a),ee=isHTMLElement(a)&&(B=tD((z=a.getBoundingClientRect()).width)/a.offsetWidth||1,K=tD(z.height)/a.offsetHeight||1,1!==B||1!==K),et=getDocumentElement(a),en=getBoundingClientRect(es,ee,g),er={scrollLeft:0,scrollTop:0},eo={x:0,y:0},(v||!v&&!g)&&(("body"!==getNodeName(a)||isScrollParent(et))&&(er=(n=a)!==getWindow(n)&&isHTMLElement(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:getWindowScroll(n)),isHTMLElement(a)?(eo=getBoundingClientRect(a,!0),eo.x+=a.clientLeft,eo.y+=a.clientTop):et&&(eo.x=getWindowScrollBarX(et))),{x:en.left+er.scrollLeft-eo.x,y:en.top+er.scrollTop-eo.y,width:en.width,height:en.height}),popper:getLayoutRect(el)},j.reset=!1,j.placement=j.options.placement,j.orderedModifiers.forEach(function(n){return j.modifiersData[n.name]=Object.assign({},n.data)});for(var eu=0;eu=v))));a++);if(g)return z?qa(B,v,0):void(a[a.length]=B)}return!g&&B}function qa(n,a,g){return n=1===n.length?n[0]:[].concat.apply([],n),g||n.length>a?n.slice(g,g+a):n}function ra(n,a,g,v){return n=g?(n=n[(v=v&&a>g)?a:g])&&n[v?g:a]:n[a]}function Q(n,a,g,v,j){let z=0;if(n.constructor===Array){if(j)-1!==(a=n.indexOf(a))?1=this.B&&(et||!ee[eo])){var z=O(en,v,er),H="";switch(this.G){case"full":if(2z;W--)if(W-z>=this.B){var B=O(en,v,er,j,z);P(this,ee,H=eo.substring(z,W),B,n,g)}break}case"reverse":if(1=this.B&&P(this,ee,H,O(en,v,er,j,W),n,g);H=""}case"forward":if(1=this.B&&P(this,ee,H,z,n,g);break}default:if(this.C&&(z=Math.min(z/this.C(a,eo,er)|0,en-1)),P(this,ee,eo,z,n,g),et&&1=this.B&&!j[eo]){j[eo]=1;let a=this.l&&eo>z;P(this,K,a?z:eo,O(H+(v/2>H?0:1),v,er,W-1,B-1),n,g,a?eo:z)}}}}}this.m||(this.register[n]=1)}}return this},ey.search=function(n,a,g){let v,j,z;g||(!a&&D(n)?n=(g=n).query:D(a)&&(g=a));let H=[],W,B,K=0;if(g){n=g.query||n,a=g.limit,K=g.offset||0;var ee=g.context;B=g.suggest}if(n&&1<(W=(n=this.encode(""+n)).length)){g=x();var et=[];for(let a=0,v=0,j;a=this.B&&!g[j]){if(!this.s&&!B&&!this.map[j])return H;et[v++]=j,g[j]=1}W=(n=et).length}if(!W)return H;for(a||(a=100),ee=this.depth&&1{z=n})),j||(j=0)){case 0:if(H="reg",this.m)for(let n in W=x(),this.register)W[n]=1;else W=this.register;break;case 1:H="cfg",W={doc:0,opt:this.s?1:0};break;case 2:H="map",W=this.map;break;case 3:H="ctx",W=this.h;break;default:void 0===g&&z&&z();return}return oa(n,a||this,g,H,v,j,W,z),B},ey.import=function(n,a){if(a)switch(C(a)&&(a=JSON.parse(a)),n){case"cfg":this.s=!!a.opt;break;case"reg":this.m=!1,this.register=a;break;case"map":this.map=a;break;case"ctx":this.h=a}},ia(N.prototype);let t7=0;function flexsearch_bundle_module_min_S(n){var a;if(!(this instanceof flexsearch_bundle_module_min_S))return new flexsearch_bundle_module_min_S(n);n?E(a=n.encode)&&(n.encode=a.toString()):n={},(a=(self||window)._factory)&&(a=a.toString());let v="undefined"==typeof window&&self.exports,j=this;this.o=function(n,a,v){let j;try{j=a?new(g(5789)).Worker("//node/node.js"):n?new Worker(URL.createObjectURL(new Blob(["onmessage="+sa.toString()],{type:"text/javascript"}))):new Worker(C(v)?v:"worker/worker.js",{type:"module"})}catch(n){}return j}(a,v,n.worker),this.h=x(),this.o&&(v?this.o.on("message",function(n){j.h[n.id](n.msg),delete j.h[n.id]}):this.o.onmessage=function(n){n=n.data,j.h[n.id](n.msg),delete j.h[n.id]},this.o.postMessage({task:"init",factory:a,options:n}))}function T(n){flexsearch_bundle_module_min_S.prototype[n]=flexsearch_bundle_module_min_S.prototype[n+"Async"]=function(){let a;let g=this,v=[].slice.call(arguments);var j=v[v.length-1];return E(j)&&(a=j,v.splice(v.length-1,1)),j=new Promise(function(a){setTimeout(function(){g.h[++t7]=a,g.o.postMessage({task:n,id:t7,args:v})})}),a?(j.then(a),this):j}}function U(n){if(!(this instanceof U))return new U(n);var a,g=n.document||n.doc||n;this.K=[],this.h=[],this.A=[],this.register=x(),this.key=(a=g.key||g.id)&&V(a,this.A)||"id",this.m=flexsearch_bundle_module_min_u(n.fastupdate),this.C=(a=g.store)&&!0!==a&&[],this.store=a&&x(),this.I=(a=g.tag)&&V(a,this.A),this.l=a&&x(),this.cache=(a=n.cache)&&new M(a),n.cache=!1,this.o=n.worker,this.async=!1,a=x();let v=g.index||g.field||g;C(v)&&(v=[v]);for(let g=0,j,z;ga||g)&&(j=j.slice(g,g+a)),v&&(j=wa.call(this,j)),{tag:n,result:j}}function wa(n){let a=Array(n.length);for(let g=0,v;g{z=n})),j||(j=0),v||(v=0),v()=>n.dispose(),[n]),n}var na=g(3781),ni=g(4879),ns=g(6723),nl=g(3855),nu=g(2180),nc=g(3784),nd=g(2984);function transition_g(n,...a){n&&a.length>0&&n.classList.add(...a)}function transition_v(n,...a){n&&a.length>0&&n.classList.remove(...a)}let np=(0,ew.createContext)(null);np.displayName="OpenClosedContext";var nf=((en=nf||{})[en.Open=1]="Open",en[en.Closed=2]="Closed",en[en.Closing=4]="Closing",en[en.Opening=8]="Opening",en);function open_closed_u(){return(0,ew.useContext)(np)}function open_closed_s({value:n,children:a}){return ew.createElement(np.Provider,{value:n},a)}var nh=g(4067),nm=g(2351);function transition_S(n=""){return n.split(/\s+/).filter(n=>n.length>1)}let nx=(0,ew.createContext)(null);nx.displayName="TransitionContext";var ng=((er=ng||{}).Visible="visible",er.Hidden="hidden",er);let nv=(0,ew.createContext)(null);function transition_U(n){return"children"in n?transition_U(n.children):n.current.filter(({el:n})=>null!==n.current).filter(({state:n})=>"visible"===n).length>0}function se(n,a){let g=(0,nl.E)(n),v=(0,ew.useRef)([]),j=(0,ni.t)(),z=use_disposables_p(),H=(0,na.z)((n,a=nm.l4.Hidden)=>{let H=v.current.findIndex(({el:a})=>a===n);-1!==H&&((0,nd.E)(a,{[nm.l4.Unmount](){v.current.splice(H,1)},[nm.l4.Hidden](){v.current[H].state="hidden"}}),z.microTask(()=>{var n;!transition_U(v)&&j.current&&(null==(n=g.current)||n.call(g))}))}),W=(0,na.z)(n=>{let a=v.current.find(({el:a})=>a===n);return a?"visible"!==a.state&&(a.state="visible"):v.current.push({el:n,state:"visible"}),()=>H(n,nm.l4.Unmount)}),B=(0,ew.useRef)([]),K=(0,ew.useRef)(Promise.resolve()),ee=(0,ew.useRef)({enter:[],leave:[],idle:[]}),et=(0,na.z)((n,g,v)=>{B.current.splice(0),a&&(a.chains.current[g]=a.chains.current[g].filter(([a])=>a!==n)),null==a||a.chains.current[g].push([n,new Promise(n=>{B.current.push(n)})]),null==a||a.chains.current[g].push([n,new Promise(n=>{Promise.all(ee.current[g].map(([n,a])=>a)).then(()=>n())})]),"enter"===g?K.current=K.current.then(()=>null==a?void 0:a.wait.current).then(()=>v(g)):v(g)}),en=(0,na.z)((n,a,g)=>{Promise.all(ee.current[a].splice(0).map(([n,a])=>a)).then(()=>{var n;null==(n=B.current.shift())||n()}).then(()=>g(a))});return(0,ew.useMemo)(()=>({children:v,register:W,unregister:H,onStart:et,onStop:en,wait:K,chains:ee}),[W,H,v,et,en,ee,K])}function Ne(){}nv.displayName="NestingContext";let ny=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function ae(n){var a;let g={};for(let v of ny)g[v]=null!=(a=n[v])?a:Ne;return g}let nb=nm.AN.RenderStrategy,n_=(0,nm.yV)(function(n,a){let{show:g,appear:v=!1,unmount:j=!0,...z}=n,H=(0,ew.useRef)(null),W=(0,nc.T)(H,a);(0,nu.H)();let B=open_closed_u();if(void 0===g&&null!==B&&(g=(B&nf.Open)===nf.Open),![!0,!1].includes(g))throw Error("A is used but it is missing a `show={true | false}` prop.");let[K,ee]=(0,ew.useState)(g?"visible":"hidden"),et=se(()=>{ee("hidden")}),[en,er]=(0,ew.useState)(!0),eo=(0,ew.useRef)([g]);(0,ns.e)(()=>{!1!==en&&eo.current[eo.current.length-1]!==g&&(eo.current.push(g),er(!1))},[eo,g]);let ei=(0,ew.useMemo)(()=>({show:g,appear:v,initial:en}),[g,v,en]);(0,ew.useEffect)(()=>{if(g)ee("visible");else if(transition_U(et)){let n=H.current;if(!n)return;let a=n.getBoundingClientRect();0===a.x&&0===a.y&&0===a.width&&0===a.height&&ee("hidden")}else ee("hidden")},[g,et]);let es={unmount:j},el=(0,na.z)(()=>{var a;en&&er(!1),null==(a=n.beforeEnter)||a.call(n)}),eu=(0,na.z)(()=>{var a;en&&er(!1),null==(a=n.beforeLeave)||a.call(n)});return ew.createElement(nv.Provider,{value:et},ew.createElement(nx.Provider,{value:ei},(0,nm.sY)({ourProps:{...es,as:ew.Fragment,children:ew.createElement(nw,{ref:W,...es,...z,beforeEnter:el,beforeLeave:eu})},theirProps:{},defaultTag:ew.Fragment,features:nb,visible:"visible"===K,name:"Transition"})))}),nw=(0,nm.yV)(function(n,a){var g,v,j;let z;let{beforeEnter:H,afterEnter:W,beforeLeave:B,afterLeave:K,enter:ee,enterFrom:et,enterTo:en,entered:er,leave:eo,leaveFrom:ei,leaveTo:es,...el}=n,eu=(0,ew.useRef)(null),ec=(0,nc.T)(eu,a),ed=null==(g=el.unmount)||g?nm.l4.Unmount:nm.l4.Hidden,{show:ep,appear:ef,initial:eh}=function(){let n=(0,ew.useContext)(nx);if(null===n)throw Error("A is used but it is missing a parent or .");return n}(),[em,ex]=(0,ew.useState)(ep?"visible":"hidden"),eg=function(){let n=(0,ew.useContext)(nv);if(null===n)throw Error("A is used but it is missing a parent or .");return n}(),{register:ev,unregister:ey}=eg;(0,ew.useEffect)(()=>ev(eu),[ev,eu]),(0,ew.useEffect)(()=>{if(ed===nm.l4.Hidden&&eu.current){if(ep&&"visible"!==em){ex("visible");return}return(0,nd.E)(em,{hidden:()=>ey(eu),visible:()=>ev(eu)})}},[em,eu,ev,ey,ep,ed]);let eb=(0,nl.E)({base:transition_S(el.className),enter:transition_S(ee),enterFrom:transition_S(et),enterTo:transition_S(en),entered:transition_S(er),leave:transition_S(eo),leaveFrom:transition_S(ei),leaveTo:transition_S(es)}),e_=(j={beforeEnter:H,afterEnter:W,beforeLeave:B,afterLeave:K},z=(0,ew.useRef)(ae(j)),(0,ew.useEffect)(()=>{z.current=ae(j)},[j]),z),ek=(0,nu.H)();(0,ew.useEffect)(()=>{if(ek&&"visible"===em&&null===eu.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[eu,em,ek]);let eC=ef&&ep&&eh,eE=ek&&(!eh||ef)?ep?"enter":"leave":"idle",eT=function(n=0){let[a,g]=(0,ew.useState)(n),v=(0,ni.t)(),j=(0,ew.useCallback)(n=>{v.current&&g(a=>a|n)},[a,v]),z=(0,ew.useCallback)(n=>!!(a&n),[a]);return{flags:a,addFlag:j,hasFlag:z,removeFlag:(0,ew.useCallback)(n=>{v.current&&g(a=>a&~n)},[g,v]),toggleFlag:(0,ew.useCallback)(n=>{v.current&&g(a=>a^n)},[g])}}(0),eO=(0,na.z)(n=>(0,nd.E)(n,{enter:()=>{eT.addFlag(nf.Opening),e_.current.beforeEnter()},leave:()=>{eT.addFlag(nf.Closing),e_.current.beforeLeave()},idle:()=>{}})),ej=(0,na.z)(n=>(0,nd.E)(n,{enter:()=>{eT.removeFlag(nf.Opening),e_.current.afterEnter()},leave:()=>{eT.removeFlag(nf.Closing),e_.current.afterLeave()},idle:()=>{}})),eS=se(()=>{ex("hidden"),ey(eu)},eg),eI=(0,ew.useRef)(!1);!function({immediate:n,container:a,direction:g,classes:v,onStart:j,onStop:z}){let H=(0,ni.t)(),W=use_disposables_p(),B=(0,nl.E)(g);(0,ns.e)(()=>{n&&(B.current="enter")},[n]),(0,ns.e)(()=>{let n=(0,no.k)();W.add(n.dispose);let g=a.current;if(g&&"idle"!==B.current&&H.current){var K,ee,et;let a,H,W,en,er,eo,ei;return n.dispose(),j.current(B.current),n.add((K=v.current,ee="enter"===B.current,et=()=>{n.dispose(),z.current(B.current)},H=ee?"enter":"leave",W=(0,no.k)(),en=void 0!==et?(a={called:!1},(...n)=>{if(!a.called)return a.called=!0,et(...n)}):()=>{},"enter"===H&&(g.removeAttribute("hidden"),g.style.display=""),er=(0,nd.E)(H,{enter:()=>K.enter,leave:()=>K.leave}),eo=(0,nd.E)(H,{enter:()=>K.enterTo,leave:()=>K.leaveTo}),ei=(0,nd.E)(H,{enter:()=>K.enterFrom,leave:()=>K.leaveFrom}),transition_v(g,...K.base,...K.enter,...K.enterTo,...K.enterFrom,...K.leave,...K.leaveFrom,...K.leaveTo,...K.entered),transition_g(g,...K.base,...er,...ei),W.nextFrame(()=>{transition_v(g,...K.base,...er,...ei),transition_g(g,...K.base,...er,...eo),function(n,a){let g=(0,no.k)();if(!n)return g.dispose;let{transitionDuration:v,transitionDelay:j}=getComputedStyle(n),[z,H]=[v,j].map(n=>{let[a=0]=n.split(",").filter(Boolean).map(n=>n.includes("ms")?parseFloat(n):1e3*parseFloat(n)).sort((n,a)=>a-n);return a}),W=z+H;if(0!==W){g.group(g=>{g.setTimeout(()=>{a(),g.dispose()},W),g.addEventListener(n,"transitionrun",n=>{n.target===n.currentTarget&&g.dispose()})});let v=g.addEventListener(n,"transitionend",n=>{n.target===n.currentTarget&&(a(),v())})}else a();g.add(()=>a()),g.dispose}(g,()=>(transition_v(g,...K.base,...er),transition_g(g,...K.base,...K.entered),en()))}),W.dispose)),n.dispose}},[g])}({immediate:eC,container:eu,classes:eb,direction:eE,onStart:(0,nl.E)(n=>{eI.current=!0,eS.onStart(eu,n,eO)}),onStop:(0,nl.E)(n=>{eI.current=!1,eS.onStop(eu,n,ej),"leave"!==n||transition_U(eS)||(ex("hidden"),ey(eu))})});let eP=el;return eC?eP={...eP,className:(0,nh.A)(el.className,...eb.current.enter,...eb.current.enterFrom)}:eI.current&&(eP.className=(0,nh.A)(el.className,null==(v=eu.current)?void 0:v.className),""===eP.className&&delete eP.className),ew.createElement(nv.Provider,{value:eS},ew.createElement(open_closed_s,{value:(0,nd.E)(em,{visible:nf.Open,hidden:nf.Closed})|eT.flags},(0,nm.sY)({ourProps:{ref:ec},theirProps:eP,defaultTag:"div",features:nb,visible:"visible"===em,name:"Transition.Child"})))}),nk=(0,nm.yV)(function(n,a){let g=null!==(0,ew.useContext)(nx),v=null!==open_closed_u();return ew.createElement(ew.Fragment,null,!g&&v?ew.createElement(n_,{ref:a,...n}):ew.createElement(nw,{ref:a,...n}))}),nC=Object.assign(n_,{Child:nk,Root:n_});var nE=g(7192);function use_computed_i(n,a){let[g,v]=(0,ew.useState)(n),j=(0,nl.E)(n);return(0,ns.e)(()=>v(j.current),[j,v,...a]),g}var nT=g(9946),nO=g(4575);function use_document_event_d(n,a,g){let v=(0,nl.E)(a);(0,ew.useEffect)(()=>{function t(n){v.current(n)}return document.addEventListener(n,t,g),()=>document.removeEventListener(n,t,g)},[n,g])}function use_outside_click_y(n,a,g=!0){var v;let j,z=(0,ew.useRef)(!1);function c(g,v){if(!z.current||g.defaultPrevented)return;let j=v(g);if(null!==j&&j.getRootNode().contains(j)&&j.isConnected){for(let a of function u(n){return"function"==typeof n?u(n()):Array.isArray(n)||n instanceof Set?n:[n]}(n)){if(null===a)continue;let n=a instanceof HTMLElement?a:a.current;if(null!=n&&n.contains(j)||g.composed&&g.composedPath().includes(n))return}return(0,nO.sP)(j,nO.tJ.Loose)||-1===j.tabIndex||g.preventDefault(),a(g,j)}}(0,ew.useEffect)(()=>{requestAnimationFrame(()=>{z.current=g})},[g]);let H=(0,ew.useRef)(null);use_document_event_d("pointerdown",n=>{var a,g;z.current&&(H.current=(null==(g=null==(a=n.composedPath)?void 0:a.call(n))?void 0:g[0])||n.target)},!0),use_document_event_d("mousedown",n=>{var a,g;z.current&&(H.current=(null==(g=null==(a=n.composedPath)?void 0:a.call(n))?void 0:g[0])||n.target)},!0),use_document_event_d("click",n=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||H.current&&(c(n,()=>H.current),H.current=null)},!0),use_document_event_d("touchend",n=>c(n,()=>n.target instanceof HTMLElement?n.target:null),!0),v="blur",j=(0,nl.E)(n=>c(n,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null)),(0,ew.useEffect)(()=>{function t(n){j.current(n)}return window.addEventListener(v,t,!0),()=>window.removeEventListener(v,t,!0)},[v,!0])}var nj=g(4157);let nS=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o(n){var a,g;let v=null!=(a=n.innerText)?a:"",j=n.cloneNode(!0);if(!(j instanceof HTMLElement))return v;let z=!1;for(let n of j.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))n.remove(),z=!0;let H=z?null!=(g=j.innerText)?g:"":v;return nS.test(H)&&(H=H.replace(nS,"")),H}function use_text_value_s(n){let a=(0,ew.useRef)(""),g=(0,ew.useRef)("");return(0,na.z)(()=>{let v=n.current;if(!v)return"";let j=v.innerText;if(a.current===j)return g.current;let z=(function(n){let a=n.getAttribute("aria-label");if("string"==typeof a)return a.trim();let g=n.getAttribute("aria-labelledby");if(g){let n=g.split(" ").map(n=>{let a=document.getElementById(n);if(a){let n=a.getAttribute("aria-label");return"string"==typeof n?n.trim():o(a).trim()}return null}).filter(Boolean);if(n.length>0)return n.join(", ")}return o(n).trim()})(v).trim().toLowerCase();return a.current=j,g.current=z,z})}function use_tracked_pointer_t(n){return[n.screenX,n.screenY]}function use_tracked_pointer_u(){let n=(0,ew.useRef)([-1,-1]);return{wasMoved(a){let g=use_tracked_pointer_t(a);return(n.current[0]!==g[0]||n.current[1]!==g[1])&&(n.current=g,!0)},update(a){n.current=use_tracked_pointer_t(a)}}}var nI=g(6045);function bugs_r(n){let a=n.parentElement,g=null;for(;a&&!(a instanceof HTMLFieldSetElement);)a instanceof HTMLLegendElement&&(g=a),a=a.parentElement;let v=(null==a?void 0:a.getAttribute("disabled"))==="";return!(v&&function(n){if(!n)return!1;let a=n.previousElementSibling;for(;null!==a;){if(a instanceof HTMLLegendElement)return!1;a=a.previousElementSibling}return!0}(g))&&v}var nP=((eo=nP||{})[eo.First=0]="First",eo[eo.Previous=1]="Previous",eo[eo.Next=2]="Next",eo[eo.Last=3]="Last",eo[eo.Specific=4]="Specific",eo[eo.Nothing=5]="Nothing",eo);function calculate_active_index_f(n,a){let g=a.resolveItems();if(g.length<=0)return null;let v=a.resolveActiveIndex(),j=null!=v?v:-1;switch(n.focus){case 0:for(let n=0;n=0;--n)if(!a.resolveDisabled(g[n],n,g))return n;return v;case 2:for(let n=j+1;n=0;--n)if(!a.resolveDisabled(g[n],n,g))return n;return v;case 4:for(let v=0;vn){let g=null!==n.activeOptionIndex?n.options[n.activeOptionIndex]:null,v=(0,nO.z2)(a(n.options.slice()),n=>n.dataRef.current.domRef.current),j=g?v.indexOf(g):null;return -1===j&&(j=null),{options:v,activeOptionIndex:j}}let nD={1:n=>n.dataRef.current.disabled||1===n.listboxState?n:{...n,activeOptionIndex:null,listboxState:1},0(n){if(n.dataRef.current.disabled||0===n.listboxState)return n;let a=n.activeOptionIndex,{isSelected:g}=n.dataRef.current,v=n.options.findIndex(n=>g(n.dataRef.current.value));return -1!==v&&(a=v),{...n,listboxState:0,activeOptionIndex:a}},2(n,a){var g;if(n.dataRef.current.disabled||1===n.listboxState)return n;let v=listbox_z(n),j=calculate_active_index_f(a,{resolveItems:()=>v.options,resolveActiveIndex:()=>v.activeOptionIndex,resolveId:n=>n.id,resolveDisabled:n=>n.dataRef.current.disabled});return{...n,...v,searchQuery:"",activeOptionIndex:j,activationTrigger:null!=(g=a.trigger)?g:1}},3:(n,a)=>{if(n.dataRef.current.disabled||1===n.listboxState)return n;let g=""!==n.searchQuery?0:1,v=n.searchQuery+a.value.toLowerCase(),j=(null!==n.activeOptionIndex?n.options.slice(n.activeOptionIndex+g).concat(n.options.slice(0,n.activeOptionIndex+g)):n.options).find(n=>{var a;return!n.dataRef.current.disabled&&(null==(a=n.dataRef.current.textValue)?void 0:a.startsWith(v))}),z=j?n.options.indexOf(j):-1;return -1===z||z===n.activeOptionIndex?{...n,searchQuery:v}:{...n,searchQuery:v,activeOptionIndex:z,activationTrigger:1}},4:n=>n.dataRef.current.disabled||1===n.listboxState||""===n.searchQuery?n:{...n,searchQuery:""},5:(n,a)=>{let g={id:a.id,dataRef:a.dataRef},v=listbox_z(n,n=>[...n,g]);return null===n.activeOptionIndex&&n.dataRef.current.isSelected(a.dataRef.current.value)&&(v.activeOptionIndex=v.options.indexOf(g)),{...n,...v}},6:(n,a)=>{let g=listbox_z(n,n=>{let g=n.findIndex(n=>n.id===a.id);return -1!==g&&n.splice(g,1),n});return{...n,...g,activationTrigger:1}},7:(n,a)=>({...n,labelId:a.id})},nF=(0,ew.createContext)(null);function k(n){let a=(0,ew.useContext)(nF);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,k),a}return a}nF.displayName="ListboxActionsContext";let nz=(0,ew.createContext)(null);function w(n){let a=(0,ew.useContext)(nz);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,w),a}return a}function Ve(n,a){return(0,nd.E)(a.type,nD,n,a)}nz.displayName="ListboxDataContext";let nU=ew.Fragment,nV=nm.AN.RenderStrategy|nm.AN.Static,n$=Object.assign((0,nm.yV)(function(n,a){let{value:g,defaultValue:v,form:j,name:z,onChange:H,by:W=(n,a)=>n===a,disabled:B=!1,horizontal:K=!1,multiple:ee=!1,...et}=n,en=K?"horizontal":"vertical",er=(0,nc.T)(a),[eo=ee?[]:void 0,ei]=function(n,a,g){let[v,j]=(0,ew.useState)(g),z=void 0!==n,H=(0,ew.useRef)(z),W=(0,ew.useRef)(!1),B=(0,ew.useRef)(!1);return!z||H.current||W.current?z||!H.current||B.current||(B.current=!0,H.current=z,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(W.current=!0,H.current=z,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[z?n:v,(0,na.z)(n=>(z||j(n),null==a?void 0:a(n)))]}(g,H,v),[es,el]=(0,ew.useReducer)(Ve,{dataRef:(0,ew.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),eu=(0,ew.useRef)({static:!1,hold:!1}),ec=(0,ew.useRef)(null),ed=(0,ew.useRef)(null),ep=(0,ew.useRef)(null),ef=(0,na.z)("string"==typeof W?(n,a)=>(null==n?void 0:n[W])===(null==a?void 0:a[W]):W),eh=(0,ew.useCallback)(n=>(0,nd.E)(em.mode,{1:()=>eo.some(a=>ef(a,n)),0:()=>ef(eo,n)}),[eo]),em=(0,ew.useMemo)(()=>({...es,value:eo,disabled:B,mode:ee?1:0,orientation:en,compare:ef,isSelected:eh,optionsPropsRef:eu,labelRef:ec,buttonRef:ed,optionsRef:ep}),[eo,B,ee,es]);(0,ns.e)(()=>{es.dataRef.current=em},[em]),use_outside_click_y([em.buttonRef,em.optionsRef],(n,a)=>{var g;el({type:1}),(0,nO.sP)(a,nO.tJ.Loose)||(n.preventDefault(),null==(g=em.buttonRef.current)||g.focus())},0===em.listboxState);let ex=(0,ew.useMemo)(()=>({open:0===em.listboxState,disabled:B,value:eo}),[em,B,eo]),eg=(0,na.z)(n=>{let a=em.options.find(a=>a.id===n);a&&eE(a.dataRef.current.value)}),ev=(0,na.z)(()=>{if(null!==em.activeOptionIndex){let{dataRef:n,id:a}=em.options[em.activeOptionIndex];eE(n.current.value),el({type:2,focus:nP.Specific,id:a})}}),ey=(0,na.z)(()=>el({type:0})),eb=(0,na.z)(()=>el({type:1})),e_=(0,na.z)((n,a,g)=>n===nP.Specific?el({type:2,focus:nP.Specific,id:a,trigger:g}):el({type:2,focus:n,trigger:g})),ek=(0,na.z)((n,a)=>(el({type:5,id:n,dataRef:a}),()=>el({type:6,id:n}))),eC=(0,na.z)(n=>(el({type:7,id:n}),()=>el({type:7,id:null}))),eE=(0,na.z)(n=>(0,nd.E)(em.mode,{0:()=>null==ei?void 0:ei(n),1(){let a=em.value.slice(),g=a.findIndex(a=>ef(a,n));return -1===g?a.push(n):a.splice(g,1),null==ei?void 0:ei(a)}})),eT=(0,na.z)(n=>el({type:3,value:n})),eO=(0,na.z)(()=>el({type:4})),ej=(0,ew.useMemo)(()=>({onChange:eE,registerOption:ek,registerLabel:eC,goToOption:e_,closeListbox:eb,openListbox:ey,selectActiveOption:ev,selectOption:eg,search:eT,clearSearch:eO}),[]),eS=(0,ew.useRef)(null),eI=use_disposables_p();return(0,ew.useEffect)(()=>{eS.current&&void 0!==v&&eI.addEventListener(eS.current,"reset",()=>{null==ei||ei(v)})},[eS,ei]),ew.createElement(nF.Provider,{value:ej},ew.createElement(nz.Provider,{value:em},ew.createElement(open_closed_s,{value:(0,nd.E)(em.listboxState,{0:nf.Open,1:nf.Closed})},null!=z&&null!=eo&&(function form_e(n={},a=null,g=[]){for(let[v,j]of Object.entries(n))!function form_o(n,a,g){if(Array.isArray(g))for(let[v,j]of g.entries())form_o(n,form_f(a,v.toString()),j);else g instanceof Date?n.push([a,g.toISOString()]):"boolean"==typeof g?n.push([a,g?"1":"0"]):"string"==typeof g?n.push([a,g]):"number"==typeof g?n.push([a,`${g}`]):null==g?n.push([a,""]):form_e(g,a,n)}(g,form_f(a,v),j);return g})({[z]:eo}).map(([n,a],g)=>ew.createElement(nI._,{features:nI.A.Hidden,ref:0===g?n=>{var a;eS.current=null!=(a=null==n?void 0:n.closest("form"))?a:null}:void 0,...(0,nm.oA)({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:j,disabled:B,name:n,value:a})})),(0,nm.sY)({ourProps:{ref:er},theirProps:et,slot:ex,defaultTag:nU,name:"Listbox"}))))}),{Button:(0,nm.yV)(function(n,a){var g;let v=(0,nT.M)(),{id:j=`headlessui-listbox-button-${v}`,...z}=n,H=w("Listbox.Button"),W=k("Listbox.Button"),B=(0,nc.T)(H.buttonRef,a),K=use_disposables_p(),ee=(0,na.z)(n=>{switch(n.key){case nZ.R.Space:case nZ.R.Enter:case nZ.R.ArrowDown:n.preventDefault(),W.openListbox(),K.nextFrame(()=>{H.value||W.goToOption(nP.First)});break;case nZ.R.ArrowUp:n.preventDefault(),W.openListbox(),K.nextFrame(()=>{H.value||W.goToOption(nP.Last)})}}),et=(0,na.z)(n=>{n.key===nZ.R.Space&&n.preventDefault()}),en=(0,na.z)(n=>{if(bugs_r(n.currentTarget))return n.preventDefault();0===H.listboxState?(W.closeListbox(),K.nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})})):(n.preventDefault(),W.openListbox())}),er=use_computed_i(()=>{if(H.labelId)return[H.labelId,j].join(" ")},[H.labelId,j]),eo=(0,ew.useMemo)(()=>({open:0===H.listboxState,disabled:H.disabled,value:H.value}),[H]),ei={ref:B,id:j,type:(0,nj.f)(n,H.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(g=H.optionsRef.current)?void 0:g.id,"aria-expanded":0===H.listboxState,"aria-labelledby":er,disabled:H.disabled,onKeyDown:ee,onKeyUp:et,onClick:en};return(0,nm.sY)({ourProps:ei,theirProps:z,slot:eo,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,nm.yV)(function(n,a){let g=(0,nT.M)(),{id:v=`headlessui-listbox-label-${g}`,...j}=n,z=w("Listbox.Label"),H=k("Listbox.Label"),W=(0,nc.T)(z.labelRef,a);(0,ns.e)(()=>H.registerLabel(v),[v]);let B=(0,na.z)(()=>{var n;return null==(n=z.buttonRef.current)?void 0:n.focus({preventScroll:!0})}),K=(0,ew.useMemo)(()=>({open:0===z.listboxState,disabled:z.disabled}),[z]);return(0,nm.sY)({ourProps:{ref:W,id:v,onClick:B},theirProps:j,slot:K,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,nm.yV)(function(n,a){var g;let v=(0,nT.M)(),{id:j=`headlessui-listbox-options-${v}`,...z}=n,H=w("Listbox.Options"),W=k("Listbox.Options"),B=(0,nc.T)(H.optionsRef,a),K=use_disposables_p(),ee=use_disposables_p(),et=open_closed_u(),en=null!==et?(et&nf.Open)===nf.Open:0===H.listboxState;(0,ew.useEffect)(()=>{var n;let a=H.optionsRef.current;a&&0===H.listboxState&&a!==(null==(n=(0,nN.r)(a))?void 0:n.activeElement)&&a.focus({preventScroll:!0})},[H.listboxState,H.optionsRef]);let er=(0,na.z)(n=>{switch(ee.dispose(),n.key){case nZ.R.Space:if(""!==H.searchQuery)return n.preventDefault(),n.stopPropagation(),W.search(n.key);case nZ.R.Enter:if(n.preventDefault(),n.stopPropagation(),null!==H.activeOptionIndex){let{dataRef:n}=H.options[H.activeOptionIndex];W.onChange(n.current.value)}0===H.mode&&(W.closeListbox(),(0,no.k)().nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})}));break;case(0,nd.E)(H.orientation,{vertical:nZ.R.ArrowDown,horizontal:nZ.R.ArrowRight}):return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.Next);case(0,nd.E)(H.orientation,{vertical:nZ.R.ArrowUp,horizontal:nZ.R.ArrowLeft}):return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.Previous);case nZ.R.Home:case nZ.R.PageUp:return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.First);case nZ.R.End:case nZ.R.PageDown:return n.preventDefault(),n.stopPropagation(),W.goToOption(nP.Last);case nZ.R.Escape:return n.preventDefault(),n.stopPropagation(),W.closeListbox(),K.nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})});case nZ.R.Tab:n.preventDefault(),n.stopPropagation();break;default:1===n.key.length&&(W.search(n.key),ee.setTimeout(()=>W.clearSearch(),350))}}),eo=use_computed_i(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.id},[H.buttonRef.current]),ei=(0,ew.useMemo)(()=>({open:0===H.listboxState}),[H]),es={"aria-activedescendant":null===H.activeOptionIndex||null==(g=H.options[H.activeOptionIndex])?void 0:g.id,"aria-multiselectable":1===H.mode||void 0,"aria-labelledby":eo,"aria-orientation":H.orientation,id:j,onKeyDown:er,role:"listbox",tabIndex:0,ref:B};return(0,nm.sY)({ourProps:es,theirProps:z,slot:ei,defaultTag:"ul",features:nV,visible:en,name:"Listbox.Options"})}),Option:(0,nm.yV)(function(n,a){let g=(0,nT.M)(),{id:v=`headlessui-listbox-option-${g}`,disabled:j=!1,value:z,...H}=n,W=w("Listbox.Option"),B=k("Listbox.Option"),K=null!==W.activeOptionIndex&&W.options[W.activeOptionIndex].id===v,ee=W.isSelected(z),et=(0,ew.useRef)(null),en=use_text_value_s(et),er=(0,nl.E)({disabled:j,value:z,domRef:et,get textValue(){return en()}}),eo=(0,nc.T)(a,et);(0,ns.e)(()=>{if(0!==W.listboxState||!K||0===W.activationTrigger)return;let n=(0,no.k)();return n.requestAnimationFrame(()=>{var n,a;null==(a=null==(n=et.current)?void 0:n.scrollIntoView)||a.call(n,{block:"nearest"})}),n.dispose},[et,K,W.listboxState,W.activationTrigger,W.activeOptionIndex]),(0,ns.e)(()=>B.registerOption(v,er),[er,v]);let ei=(0,na.z)(n=>{if(j)return n.preventDefault();B.onChange(z),0===W.mode&&(B.closeListbox(),(0,no.k)().nextFrame(()=>{var n;return null==(n=W.buttonRef.current)?void 0:n.focus({preventScroll:!0})}))}),es=(0,na.z)(()=>{if(j)return B.goToOption(nP.Nothing);B.goToOption(nP.Specific,v)}),el=use_tracked_pointer_u(),eu=(0,na.z)(n=>el.update(n)),ec=(0,na.z)(n=>{el.wasMoved(n)&&(j||K||B.goToOption(nP.Specific,v,0))}),ed=(0,na.z)(n=>{el.wasMoved(n)&&(j||K&&B.goToOption(nP.Nothing))}),ep=(0,ew.useMemo)(()=>({active:K,selected:ee,disabled:j}),[K,ee,j]);return(0,nm.sY)({ourProps:{id:v,ref:eo,role:"option",tabIndex:!0===j?void 0:-1,"aria-disabled":!0===j||void 0,"aria-selected":ee,disabled:void 0,onClick:ei,onFocus:es,onPointerEnter:eu,onMouseEnter:eu,onPointerMove:ec,onMouseMove:ec,onPointerLeave:ed,onMouseLeave:ed},theirProps:H,slot:ep,defaultTag:"li",name:"Listbox.Option"})})});var nH=g(3935),nW=g(9008),nB=g.n(nW);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(n){for(var a=1;a=0||(j[g]=n[g]);return j}var nG=["keyOverride"],nq=["crossOrigin"],nK={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},buildOpenGraphMediaTags=function(n,a,g){void 0===a&&(a=[]);var v=void 0===g?{}:g,j=v.defaultWidth,z=v.defaultHeight;return a.reduce(function(a,g,v){return a.push(ew.createElement("meta",{key:"og:"+n+":0"+v,property:"og:"+n,content:g.url})),g.alt&&a.push(ew.createElement("meta",{key:"og:"+n+":alt0"+v,property:"og:"+n+":alt",content:g.alt})),g.secureUrl&&a.push(ew.createElement("meta",{key:"og:"+n+":secure_url0"+v,property:"og:"+n+":secure_url",content:g.secureUrl.toString()})),g.type&&a.push(ew.createElement("meta",{key:"og:"+n+":type0"+v,property:"og:"+n+":type",content:g.type.toString()})),g.width?a.push(ew.createElement("meta",{key:"og:"+n+":width0"+v,property:"og:"+n+":width",content:g.width.toString()})):j&&a.push(ew.createElement("meta",{key:"og:"+n+":width0"+v,property:"og:"+n+":width",content:j.toString()})),g.height?a.push(ew.createElement("meta",{key:"og:"+n+":height"+v,property:"og:"+n+":height",content:g.height.toString()})):z&&a.push(ew.createElement("meta",{key:"og:"+n+":height"+v,property:"og:"+n+":height",content:z.toString()})),a},[])},buildTags=function(n){var a,g,v,j,z,H=[];n.titleTemplate&&(nK.templateTitle=n.titleTemplate);var W="";n.title?(W=n.title,nK.templateTitle&&(W=nK.templateTitle.replace(/%s/g,function(){return W}))):n.defaultTitle&&(W=n.defaultTitle),W&&H.push(ew.createElement("title",{key:"title"},W));var B=void 0===n.noindex?nK.noindex||n.dangerouslySetAllPagesToNoIndex:n.noindex,K=void 0===n.nofollow?nK.nofollow||n.dangerouslySetAllPagesToNoFollow:n.nofollow,ee=n.norobots||nK.norobots,et="";if(n.robotsProps){var en=n.robotsProps,er=en.nosnippet,eo=en.maxSnippet,ei=en.maxImagePreview,es=en.maxVideoPreview,el=en.noarchive,eu=en.noimageindex,ec=en.notranslate,ed=en.unavailableAfter;et=(er?",nosnippet":"")+(eo?",max-snippet:"+eo:"")+(ei?",max-image-preview:"+ei:"")+(el?",noarchive":"")+(ed?",unavailable_after:"+ed:"")+(eu?",noimageindex":"")+(es?",max-video-preview:"+es:"")+(ec?",notranslate":"")}if(n.norobots&&(nK.norobots=!0),B||K?(n.dangerouslySetAllPagesToNoIndex&&(nK.noindex=!0),n.dangerouslySetAllPagesToNoFollow&&(nK.nofollow=!0),H.push(ew.createElement("meta",{key:"robots",name:"robots",content:(B?"noindex":"index")+","+(K?"nofollow":"follow")+et}))):(!ee||et)&&H.push(ew.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+et})),n.description&&H.push(ew.createElement("meta",{key:"description",name:"description",content:n.description})),n.themeColor&&H.push(ew.createElement("meta",{key:"theme-color",name:"theme-color",content:n.themeColor})),n.mobileAlternate&&H.push(ew.createElement("link",{rel:"alternate",key:"mobileAlternate",media:n.mobileAlternate.media,href:n.mobileAlternate.href})),n.languageAlternates&&n.languageAlternates.length>0&&n.languageAlternates.forEach(function(n){H.push(ew.createElement("link",{rel:"alternate",key:"languageAlternate-"+n.hrefLang,hrefLang:n.hrefLang,href:n.href}))}),n.twitter&&(n.twitter.cardType&&H.push(ew.createElement("meta",{key:"twitter:card",name:"twitter:card",content:n.twitter.cardType})),n.twitter.site&&H.push(ew.createElement("meta",{key:"twitter:site",name:"twitter:site",content:n.twitter.site})),n.twitter.handle&&H.push(ew.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:n.twitter.handle}))),n.facebook&&n.facebook.appId&&H.push(ew.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:n.facebook.appId})),(null!=(a=n.openGraph)&&a.title||W)&&H.push(ew.createElement("meta",{key:"og:title",property:"og:title",content:(null==(j=n.openGraph)?void 0:j.title)||W})),(null!=(g=n.openGraph)&&g.description||n.description)&&H.push(ew.createElement("meta",{key:"og:description",property:"og:description",content:(null==(z=n.openGraph)?void 0:z.description)||n.description})),n.openGraph){if((n.openGraph.url||n.canonical)&&H.push(ew.createElement("meta",{key:"og:url",property:"og:url",content:n.openGraph.url||n.canonical})),n.openGraph.type){var ep=n.openGraph.type.toLowerCase();H.push(ew.createElement("meta",{key:"og:type",property:"og:type",content:ep})),"profile"===ep&&n.openGraph.profile?(n.openGraph.profile.firstName&&H.push(ew.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:n.openGraph.profile.firstName})),n.openGraph.profile.lastName&&H.push(ew.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:n.openGraph.profile.lastName})),n.openGraph.profile.username&&H.push(ew.createElement("meta",{key:"profile:username",property:"profile:username",content:n.openGraph.profile.username})),n.openGraph.profile.gender&&H.push(ew.createElement("meta",{key:"profile:gender",property:"profile:gender",content:n.openGraph.profile.gender}))):"book"===ep&&n.openGraph.book?(n.openGraph.book.authors&&n.openGraph.book.authors.length&&n.openGraph.book.authors.forEach(function(n,a){H.push(ew.createElement("meta",{key:"book:author:0"+a,property:"book:author",content:n}))}),n.openGraph.book.isbn&&H.push(ew.createElement("meta",{key:"book:isbn",property:"book:isbn",content:n.openGraph.book.isbn})),n.openGraph.book.releaseDate&&H.push(ew.createElement("meta",{key:"book:release_date",property:"book:release_date",content:n.openGraph.book.releaseDate})),n.openGraph.book.tags&&n.openGraph.book.tags.length&&n.openGraph.book.tags.forEach(function(n,a){H.push(ew.createElement("meta",{key:"book:tag:0"+a,property:"book:tag",content:n}))})):"article"===ep&&n.openGraph.article?(n.openGraph.article.publishedTime&&H.push(ew.createElement("meta",{key:"article:published_time",property:"article:published_time",content:n.openGraph.article.publishedTime})),n.openGraph.article.modifiedTime&&H.push(ew.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:n.openGraph.article.modifiedTime})),n.openGraph.article.expirationTime&&H.push(ew.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:n.openGraph.article.expirationTime})),n.openGraph.article.authors&&n.openGraph.article.authors.length&&n.openGraph.article.authors.forEach(function(n,a){H.push(ew.createElement("meta",{key:"article:author:0"+a,property:"article:author",content:n}))}),n.openGraph.article.section&&H.push(ew.createElement("meta",{key:"article:section",property:"article:section",content:n.openGraph.article.section})),n.openGraph.article.tags&&n.openGraph.article.tags.length&&n.openGraph.article.tags.forEach(function(n,a){H.push(ew.createElement("meta",{key:"article:tag:0"+a,property:"article:tag",content:n}))})):("video.movie"===ep||"video.episode"===ep||"video.tv_show"===ep||"video.other"===ep)&&n.openGraph.video&&(n.openGraph.video.actors&&n.openGraph.video.actors.length&&n.openGraph.video.actors.forEach(function(n,a){n.profile&&H.push(ew.createElement("meta",{key:"video:actor:0"+a,property:"video:actor",content:n.profile})),n.role&&H.push(ew.createElement("meta",{key:"video:actor:role:0"+a,property:"video:actor:role",content:n.role}))}),n.openGraph.video.directors&&n.openGraph.video.directors.length&&n.openGraph.video.directors.forEach(function(n,a){H.push(ew.createElement("meta",{key:"video:director:0"+a,property:"video:director",content:n}))}),n.openGraph.video.writers&&n.openGraph.video.writers.length&&n.openGraph.video.writers.forEach(function(n,a){H.push(ew.createElement("meta",{key:"video:writer:0"+a,property:"video:writer",content:n}))}),n.openGraph.video.duration&&H.push(ew.createElement("meta",{key:"video:duration",property:"video:duration",content:n.openGraph.video.duration.toString()})),n.openGraph.video.releaseDate&&H.push(ew.createElement("meta",{key:"video:release_date",property:"video:release_date",content:n.openGraph.video.releaseDate})),n.openGraph.video.tags&&n.openGraph.video.tags.length&&n.openGraph.video.tags.forEach(function(n,a){H.push(ew.createElement("meta",{key:"video:tag:0"+a,property:"video:tag",content:n}))}),n.openGraph.video.series&&H.push(ew.createElement("meta",{key:"video:series",property:"video:series",content:n.openGraph.video.series})))}n.defaultOpenGraphImageWidth&&(nK.defaultOpenGraphImageWidth=n.defaultOpenGraphImageWidth),n.defaultOpenGraphImageHeight&&(nK.defaultOpenGraphImageHeight=n.defaultOpenGraphImageHeight),n.openGraph.images&&n.openGraph.images.length&&H.push.apply(H,buildOpenGraphMediaTags("image",n.openGraph.images,{defaultWidth:nK.defaultOpenGraphImageWidth,defaultHeight:nK.defaultOpenGraphImageHeight})),n.defaultOpenGraphVideoWidth&&(nK.defaultOpenGraphVideoWidth=n.defaultOpenGraphVideoWidth),n.defaultOpenGraphVideoHeight&&(nK.defaultOpenGraphVideoHeight=n.defaultOpenGraphVideoHeight),n.openGraph.videos&&n.openGraph.videos.length&&H.push.apply(H,buildOpenGraphMediaTags("video",n.openGraph.videos,{defaultWidth:nK.defaultOpenGraphVideoWidth,defaultHeight:nK.defaultOpenGraphVideoHeight})),n.openGraph.audio&&H.push.apply(H,buildOpenGraphMediaTags("audio",n.openGraph.audio)),n.openGraph.locale&&H.push(ew.createElement("meta",{key:"og:locale",property:"og:locale",content:n.openGraph.locale})),(n.openGraph.siteName||n.openGraph.site_name)&&H.push(ew.createElement("meta",{key:"og:site_name",property:"og:site_name",content:n.openGraph.siteName||n.openGraph.site_name}))}return n.canonical&&H.push(ew.createElement("link",{rel:"canonical",href:n.canonical,key:"canonical"})),n.additionalMetaTags&&n.additionalMetaTags.length>0&&n.additionalMetaTags.forEach(function(n){var a,g,v=n.keyOverride,j=_objectWithoutPropertiesLoose(n,nG);H.push(ew.createElement("meta",_extends({key:"meta:"+(null!=(a=null!=(g=null!=v?v:j.name)?g:j.property)?a:j.httpEquiv)},j)))}),null!=(v=n.additionalLinkTags)&&v.length&&n.additionalLinkTags.forEach(function(n){var a,g=n.crossOrigin,v=_objectWithoutPropertiesLoose(n,nq);H.push(ew.createElement("link",_extends({key:"link"+(null!=(a=v.keyOverride)?a:v.href)+v.rel},v,{crossOrigin:"anonymous"===g||"use-credentials"===g||""===g?g:void 0})))}),H},WithHead=function(n){return ew.createElement(nB(),null,buildTags(n))},NextSeo=function(n){var a=n.title,g=n.themeColor,v=n.noindex,j=n.nofollow,z=n.robotsProps,H=n.description,W=n.canonical,B=n.openGraph,K=n.facebook,ee=n.twitter,et=n.additionalMetaTags,en=n.titleTemplate,er=n.defaultTitle,eo=n.mobileAlternate,ei=n.languageAlternates,es=n.additionalLinkTags;return ew.createElement(ew.Fragment,null,ew.createElement(WithHead,{title:a,themeColor:g,noindex:v,nofollow:j,robotsProps:z,description:H,canonical:W,facebook:K,openGraph:B,additionalMetaTags:et,twitter:ee,titleTemplate:en,defaultTitle:er,mobileAlternate:eo,languageAlternates:ei,additionalLinkTags:es}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var nJ=((ec=nJ||{})[ec.Open=0]="Open",ec[ec.Closed=1]="Closed",ec),nY=((ed=nY||{})[ed.Pointer=0]="Pointer",ed[ed.Other=1]="Other",ed),nQ=((ep=nQ||{})[ep.OpenMenu=0]="OpenMenu",ep[ep.CloseMenu=1]="CloseMenu",ep[ep.GoToItem=2]="GoToItem",ep[ep.Search=3]="Search",ep[ep.ClearSearch=4]="ClearSearch",ep[ep.RegisterItem=5]="RegisterItem",ep[ep.UnregisterItem=6]="UnregisterItem",ep);function menu_w(n,a=n=>n){let g=null!==n.activeItemIndex?n.items[n.activeItemIndex]:null,v=(0,nO.z2)(a(n.items.slice()),n=>n.dataRef.current.domRef.current),j=g?v.indexOf(g):null;return -1===j&&(j=null),{items:v,activeItemIndex:j}}let nX={1:n=>1===n.menuState?n:{...n,activeItemIndex:null,menuState:1},0:n=>0===n.menuState?n:{...n,__demoMode:!1,menuState:0},2:(n,a)=>{var g;let v=menu_w(n),j=calculate_active_index_f(a,{resolveItems:()=>v.items,resolveActiveIndex:()=>v.activeItemIndex,resolveId:n=>n.id,resolveDisabled:n=>n.dataRef.current.disabled});return{...n,...v,searchQuery:"",activeItemIndex:j,activationTrigger:null!=(g=a.trigger)?g:1}},3:(n,a)=>{let g=""!==n.searchQuery?0:1,v=n.searchQuery+a.value.toLowerCase(),j=(null!==n.activeItemIndex?n.items.slice(n.activeItemIndex+g).concat(n.items.slice(0,n.activeItemIndex+g)):n.items).find(n=>{var a;return(null==(a=n.dataRef.current.textValue)?void 0:a.startsWith(v))&&!n.dataRef.current.disabled}),z=j?n.items.indexOf(j):-1;return -1===z||z===n.activeItemIndex?{...n,searchQuery:v}:{...n,searchQuery:v,activeItemIndex:z,activationTrigger:1}},4:n=>""===n.searchQuery?n:{...n,searchQuery:"",searchActiveItemIndex:null},5:(n,a)=>{let g=menu_w(n,n=>[...n,{id:a.id,dataRef:a.dataRef}]);return{...n,...g}},6:(n,a)=>{let g=menu_w(n,n=>{let g=n.findIndex(n=>n.id===a.id);return -1!==g&&n.splice(g,1),n});return{...n,...g,activationTrigger:1}}},n0=(0,ew.createContext)(null);function menu_C(n){let a=(0,ew.useContext)(n0);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,menu_C),a}return a}function menu_ye(n,a){return(0,nd.E)(a.type,nX,n,a)}n0.displayName="MenuContext";let n1=ew.Fragment,n2=nm.AN.RenderStrategy|nm.AN.Static,n4=ew.Fragment,n3=Object.assign((0,nm.yV)(function(n,a){let{__demoMode:g=!1,...v}=n,j=(0,ew.useReducer)(menu_ye,{__demoMode:g,menuState:g?0:1,buttonRef:(0,ew.createRef)(),itemsRef:(0,ew.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:z,itemsRef:H,buttonRef:W},B]=j,K=(0,nc.T)(a);use_outside_click_y([W,H],(n,a)=>{var g;B({type:1}),(0,nO.sP)(a,nO.tJ.Loose)||(n.preventDefault(),null==(g=W.current)||g.focus())},0===z);let ee=(0,na.z)(()=>{B({type:1})}),et=(0,ew.useMemo)(()=>({open:0===z,close:ee}),[z,ee]);return ew.createElement(n0.Provider,{value:j},ew.createElement(open_closed_s,{value:(0,nd.E)(z,{0:nf.Open,1:nf.Closed})},(0,nm.sY)({ourProps:{ref:K},theirProps:v,slot:et,defaultTag:n1,name:"Menu"})))}),{Button:(0,nm.yV)(function(n,a){var g;let v=(0,nT.M)(),{id:j=`headlessui-menu-button-${v}`,...z}=n,[H,W]=menu_C("Menu.Button"),B=(0,nc.T)(H.buttonRef,a),K=use_disposables_p(),ee=(0,na.z)(n=>{switch(n.key){case nZ.R.Space:case nZ.R.Enter:case nZ.R.ArrowDown:n.preventDefault(),n.stopPropagation(),W({type:0}),K.nextFrame(()=>W({type:2,focus:nP.First}));break;case nZ.R.ArrowUp:n.preventDefault(),n.stopPropagation(),W({type:0}),K.nextFrame(()=>W({type:2,focus:nP.Last}))}}),et=(0,na.z)(n=>{n.key===nZ.R.Space&&n.preventDefault()}),en=(0,na.z)(a=>{if(bugs_r(a.currentTarget))return a.preventDefault();n.disabled||(0===H.menuState?(W({type:1}),K.nextFrame(()=>{var n;return null==(n=H.buttonRef.current)?void 0:n.focus({preventScroll:!0})})):(a.preventDefault(),W({type:0})))}),er=(0,ew.useMemo)(()=>({open:0===H.menuState}),[H]),eo={ref:B,id:j,type:(0,nj.f)(n,H.buttonRef),"aria-haspopup":"menu","aria-controls":null==(g=H.itemsRef.current)?void 0:g.id,"aria-expanded":0===H.menuState,onKeyDown:ee,onKeyUp:et,onClick:en};return(0,nm.sY)({ourProps:eo,theirProps:z,slot:er,defaultTag:"button",name:"Menu.Button"})}),Items:(0,nm.yV)(function(n,a){var g,v;let j=(0,nT.M)(),{id:z=`headlessui-menu-items-${j}`,...H}=n,[W,B]=menu_C("Menu.Items"),K=(0,nc.T)(W.itemsRef,a),ee=function(...n){return(0,ew.useMemo)(()=>(0,nN.r)(...n),[...n])}(W.itemsRef),et=use_disposables_p(),en=open_closed_u(),er=null!==en?(en&nf.Open)===nf.Open:0===W.menuState;(0,ew.useEffect)(()=>{let n=W.itemsRef.current;n&&0===W.menuState&&n!==(null==ee?void 0:ee.activeElement)&&n.focus({preventScroll:!0})},[W.menuState,W.itemsRef,ee]),function({container:n,accept:a,walk:g,enabled:v=!0}){let j=(0,ew.useRef)(a),z=(0,ew.useRef)(g);(0,ew.useEffect)(()=>{j.current=a,z.current=g},[a,g]),(0,ns.e)(()=>{if(!n||!v)return;let a=(0,nN.r)(n);if(!a)return;let g=j.current,H=z.current,W=Object.assign(n=>g(n),{acceptNode:g}),B=a.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,W,!1);for(;B.nextNode();)H(B.currentNode)},[n,v,j,z])}({container:W.itemsRef.current,enabled:0===W.menuState,accept:n=>"menuitem"===n.getAttribute("role")?NodeFilter.FILTER_REJECT:n.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(n){n.setAttribute("role","none")}});let eo=(0,na.z)(n=>{var a,g;switch(et.dispose(),n.key){case nZ.R.Space:if(""!==W.searchQuery)return n.preventDefault(),n.stopPropagation(),B({type:3,value:n.key});case nZ.R.Enter:if(n.preventDefault(),n.stopPropagation(),B({type:1}),null!==W.activeItemIndex){let{dataRef:n}=W.items[W.activeItemIndex];null==(g=null==(a=n.current)?void 0:a.domRef.current)||g.click()}(0,nO.wI)(W.buttonRef.current);break;case nZ.R.ArrowDown:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.Next});case nZ.R.ArrowUp:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.Previous});case nZ.R.Home:case nZ.R.PageUp:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.First});case nZ.R.End:case nZ.R.PageDown:return n.preventDefault(),n.stopPropagation(),B({type:2,focus:nP.Last});case nZ.R.Escape:n.preventDefault(),n.stopPropagation(),B({type:1}),(0,no.k)().nextFrame(()=>{var n;return null==(n=W.buttonRef.current)?void 0:n.focus({preventScroll:!0})});break;case nZ.R.Tab:n.preventDefault(),n.stopPropagation(),B({type:1}),(0,no.k)().nextFrame(()=>{(0,nO.EO)(W.buttonRef.current,n.shiftKey?nO.TO.Previous:nO.TO.Next)});break;default:1===n.key.length&&(B({type:3,value:n.key}),et.setTimeout(()=>B({type:4}),350))}}),ei=(0,na.z)(n=>{n.key===nZ.R.Space&&n.preventDefault()}),es=(0,ew.useMemo)(()=>({open:0===W.menuState}),[W]),el={"aria-activedescendant":null===W.activeItemIndex||null==(g=W.items[W.activeItemIndex])?void 0:g.id,"aria-labelledby":null==(v=W.buttonRef.current)?void 0:v.id,id:z,onKeyDown:eo,onKeyUp:ei,role:"menu",tabIndex:0,ref:K};return(0,nm.sY)({ourProps:el,theirProps:H,slot:es,defaultTag:"div",features:n2,visible:er,name:"Menu.Items"})}),Item:(0,nm.yV)(function(n,a){let g=(0,nT.M)(),{id:v=`headlessui-menu-item-${g}`,disabled:j=!1,...z}=n,[H,W]=menu_C("Menu.Item"),B=null!==H.activeItemIndex&&H.items[H.activeItemIndex].id===v,K=(0,ew.useRef)(null),ee=(0,nc.T)(a,K);(0,ns.e)(()=>{if(H.__demoMode||0!==H.menuState||!B||0===H.activationTrigger)return;let n=(0,no.k)();return n.requestAnimationFrame(()=>{var n,a;null==(a=null==(n=K.current)?void 0:n.scrollIntoView)||a.call(n,{block:"nearest"})}),n.dispose},[H.__demoMode,K,B,H.menuState,H.activationTrigger,H.activeItemIndex]);let et=use_text_value_s(K),en=(0,ew.useRef)({disabled:j,domRef:K,get textValue(){return et()}});(0,ns.e)(()=>{en.current.disabled=j},[en,j]),(0,ns.e)(()=>(W({type:5,id:v,dataRef:en}),()=>W({type:6,id:v})),[en,v]);let er=(0,na.z)(()=>{W({type:1})}),eo=(0,na.z)(n=>{if(j)return n.preventDefault();W({type:1}),(0,nO.wI)(H.buttonRef.current)}),ei=(0,na.z)(()=>{if(j)return W({type:2,focus:nP.Nothing});W({type:2,focus:nP.Specific,id:v})}),es=use_tracked_pointer_u(),el=(0,na.z)(n=>es.update(n)),eu=(0,na.z)(n=>{es.wasMoved(n)&&(j||B||W({type:2,focus:nP.Specific,id:v,trigger:0}))}),ec=(0,na.z)(n=>{es.wasMoved(n)&&(j||B&&W({type:2,focus:nP.Nothing}))}),ed=(0,ew.useMemo)(()=>({active:B,disabled:j,close:er}),[B,j,er]);return(0,nm.sY)({ourProps:{id:v,ref:ee,role:"menuitem",tabIndex:!0===j?void 0:-1,"aria-disabled":!0===j||void 0,disabled:void 0,onClick:eo,onFocus:ei,onPointerEnter:el,onMouseEnter:el,onPointerMove:eu,onMouseMove:eu,onPointerLeave:ec,onMouseLeave:ec},theirProps:z,slot:ed,defaultTag:n4,name:"Menu.Item"})})}),dist_t=n=>"object"==typeof n&&null!=n&&1===n.nodeType,e=(n,a)=>(!a||"hidden"!==n)&&"visible"!==n&&"clip"!==n,dist_n=(n,a)=>{if(n.clientHeight{let a=(n=>{if(!n.ownerDocument||!n.ownerDocument.defaultView)return null;try{return n.ownerDocument.defaultView.frameElement}catch(n){return null}})(n);return!!a&&(a.clientHeightza||z>n&&H=a&&W>=g?z-n-v:H>a&&Wg?H-a+j:0,l=n=>{let a=n.parentElement;return null==a?n.getRootNode().host||null:a},dist_r=(n,a)=>{var g,v,j,z;if("undefined"==typeof document)return[];let{scrollMode:H,block:W,inline:B,boundary:K,skipOverflowHiddenElements:ee}=a,et="function"==typeof K?K:n=>n!==K;if(!dist_t(n))throw TypeError("Invalid target");let en=document.scrollingElement||document.documentElement,er=[],eo=n;for(;dist_t(eo)&&et(eo);){if((eo=l(eo))===en){er.push(eo);break}null!=eo&&eo===document.body&&dist_n(eo)&&!dist_n(document.documentElement)||null!=eo&&dist_n(eo,ee)&&er.push(eo)}let ei=null!=(v=null==(g=window.visualViewport)?void 0:g.width)?v:innerWidth,es=null!=(z=null==(j=window.visualViewport)?void 0:j.height)?z:innerHeight,{scrollX:el,scrollY:eu}=window,{height:ec,width:ed,top:ep,right:ef,bottom:eh,left:em}=n.getBoundingClientRect(),{top:ex,right:eg,bottom:ev,left:ey}=(n=>{let a=window.getComputedStyle(n);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(n),eb="start"===W||"nearest"===W?ep-ex:"end"===W?eh+ev:ep+ec/2-ex+ev,e_="center"===B?em+ed/2-ey+eg:"end"===B?ef+eg:em-ey,ew=[];for(let n=0;n=0&&em>=0&&eh<=es&&ef<=ei&&ep>=j&&eh<=K&&em>=ee&&ef<=z)break;let et=getComputedStyle(a),eo=parseInt(et.borderLeftWidth,10),ex=parseInt(et.borderTopWidth,10),eg=parseInt(et.borderRightWidth,10),ev=parseInt(et.borderBottomWidth,10),ey=0,ek=0,eC="offsetWidth"in a?a.offsetWidth-a.clientWidth-eo-eg:0,eE="offsetHeight"in a?a.offsetHeight-a.clientHeight-ex-ev:0,eT="offsetWidth"in a?0===a.offsetWidth?0:v/a.offsetWidth:0,eO="offsetHeight"in a?0===a.offsetHeight?0:g/a.offsetHeight:0;if(en===a)ey="start"===W?eb:"end"===W?eb-es:"nearest"===W?dist_o(eu,eu+es,es,ex,ev,eu+eb,eu+eb+ec,ec):eb-es/2,ek="start"===B?e_:"center"===B?e_-ei/2:"end"===B?e_-ei:dist_o(el,el+ei,ei,eo,eg,el+e_,el+e_+ed,ed),ey=Math.max(0,ey+eu),ek=Math.max(0,ek+el);else{ey="start"===W?eb-j-ex:"end"===W?eb-K+ev+eE:"nearest"===W?dist_o(j,K,g,ex,ev+eE,eb,eb+ec,ec):eb-(j+g/2)+eE/2,ek="start"===B?e_-ee-eo:"center"===B?e_-(ee+v/2)+eC/2:"end"===B?e_-z+eg+eC:dist_o(ee,z,v,eo,eg+eC,e_,e_+ed,ed);let{scrollLeft:n,scrollTop:H}=a;ey=0===eO?0:Math.max(0,Math.min(H+ey/eO,a.scrollHeight-g/eO+eE)),ek=0===eT?0:Math.max(0,Math.min(n+ek/eT,a.scrollWidth-v/eT+eC)),eb+=H-ey,e_+=n-ek}ew.push({el:a,top:ey,left:ek})}return ew},scroll_into_view_if_needed_dist_o=n=>!1===n?{block:"end",inline:"nearest"}:n===Object(n)&&0!==Object.keys(n).length?n:{block:"start",inline:"nearest"};function dist_e(n,a){if(!n.isConnected||!(n=>{let a=n;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(n))return;let g=(n=>{let a=window.getComputedStyle(n);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(n);if("object"==typeof a&&"function"==typeof a.behavior)return a.behavior(dist_r(n,a));let v="boolean"==typeof a||null==a?void 0:a.behavior;for(let{el:j,top:z,left:H}of dist_r(n,scroll_into_view_if_needed_dist_o(a))){let n=z-g.top+g.bottom,a=H-g.left+g.right;j.scroll({top:n,left:a,behavior:v})}}var n5=g(6826),n6=g.n(n5);/** + * @name match-sorter + * @license MIT license. + * @copyright (c) 2020 Kent C. Dodds + * @author Kent C. Dodds (https://kentcdodds.com) + */let n7={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},defaultBaseSortFn=(n,a)=>String(n.rankedValue).localeCompare(String(a.rankedValue));function matchSorter(n,a,g){void 0===g&&(g={});let{keys:v,threshold:j=n7.MATCHES,baseSort:z=defaultBaseSortFn,sorter:H=n=>n.sort((n,a)=>(function(n,a,g){let{rank:v,keyIndex:j}=n,{rank:z,keyIndex:H}=a;return v!==z?v>z?-1:1:j===H?g(n,a):j{let{rank:z,rankedValue:H,keyIndex:W,keyThreshold:B}=n,{itemValue:K,attributes:ee}=a,et=getMatchRanking(K,g,v),en=H,{minRanking:er,maxRanking:eo,threshold:ei}=ee;return et=n7.MATCHES?et=er:et>eo&&(et=eo),et>z&&(z=et,W=j,B=ei,en=K),{rankedValue:en,rank:z,keyIndex:W,keyThreshold:B}},{rankedValue:n,rank:n7.NO_MATCH,keyIndex:-1,keyThreshold:v.threshold})}(z,v,a,g),{rank:B,keyThreshold:K=j}=W;return B>=K&&n.push({...W,item:z,index:H}),n},[]);return H(W).map(n=>{let{item:a}=n;return a})}function getMatchRanking(n,a,g){return(n=prepareValueForComparison(n,g),(a=prepareValueForComparison(a,g)).length>n.length)?n7.NO_MATCH:n===a?n7.CASE_SENSITIVE_EQUAL:(n=n.toLowerCase())===(a=a.toLowerCase())?n7.EQUAL:n.startsWith(a)?n7.STARTS_WITH:n.includes(` ${a}`)?n7.WORD_STARTS_WITH:n.includes(a)?n7.CONTAINS:1===a.length?n7.NO_MATCH:(function(n){let a="",g=n.split(" ");return g.forEach(n=>{let g=n.split("-");g.forEach(n=>{a+=n.substr(0,1)})}),a})(n).includes(a)?n7.ACRONYM:function(n,a){let g=0,v=0;function findMatchingCharacter(n,a,v){for(let j=v,z=a.length;j-1;if(!z)return n7.NO_MATCH}let z=v-j;return function(n){let v=g/a.length,j=n7.MATCHES+v*(1/n);return j}(z)}(n,a)}function prepareValueForComparison(n,a){let{keepDiacritics:g}=a;return n=`${n}`,g||(n=n6()(n)),n}matchSorter.rankings=n7;let n9={maxRanking:1/0,minRanking:-1/0};var n8=g(9013),re=Object.defineProperty,rt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,ri=Object.prototype.propertyIsEnumerable,__defNormalProp=(n,a,g)=>a in n?re(n,a,{enumerable:!0,configurable:!0,writable:!0,value:g}):n[a]=g,__spreadValues=(n,a)=>{for(var g in a||(a={}))ro.call(a,g)&&__defNormalProp(n,g,a[g]);if(rr)for(var g of rr(a))ri.call(a,g)&&__defNormalProp(n,g,a[g]);return n},__spreadProps=(n,a)=>rt(n,rn(a)),__objRest=(n,a)=>{var g={};for(var v in n)ro.call(n,v)&&0>a.indexOf(v)&&(g[v]=n[v]);if(null!=n&&rr)for(var v of rr(n))0>a.indexOf(v)&&ri.call(n,v)&&(g[v]=n[v]);return g},__async=(n,a,g)=>new Promise((v,j)=>{var fulfilled=n=>{try{step(g.next(n))}catch(n){j(n)}},rejected=n=>{try{step(g.throw(n))}catch(n){j(n)}},step=n=>n.done?v(n.value):Promise.resolve(n.value).then(fulfilled,rejected);step((g=g.apply(n,a)).next())}),rs=(0,ew.createContext)({}),rl=(0,ew.createContext)(n=>n),ru=(0,ew.createContext)(null),rc=new WeakMap,rd=(0,ew.createContext)(rc),useActiveAnchor=()=>(0,ew.useContext)(rs),useSetActiveAnchor=()=>(0,ew.useContext)(rl),useIntersectionObserver=()=>(0,ew.useContext)(ru),useSlugs=()=>(0,ew.useContext)(rd),ActiveAnchorProvider=({children:n})=>{let[a,g]=(0,ew.useState)({}),v=(0,ew.useRef)(null);return rL&&!v.current&&(v.current=new IntersectionObserver(n=>{g(a=>{let g=__spreadValues({},a);for(let a of n)if((null==a?void 0:a.rootBounds)&&rc.has(a.target)){let[n,v]=rc.get(a.target),j=a.boundingClientRect.y+a.boundingClientRect.height<=a.rootBounds.y+a.rootBounds.height,z=a.intersectionRatio>0;g[n]={index:v,aboveHalfViewport:j,insideHalfViewport:z}}let v="",j=1/0,z=-1;for(let n in g)g[n].isActive=!1,g[n].insideHalfViewport&&g[n].indexz&&(z=g[n].index,v=n);return g[v]&&(g[v].isActive=!0),g})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tv.jsx)(rs.Provider,{value:a,children:(0,tv.jsx)(rl.Provider,{value:g,children:(0,tv.jsx)(rd.Provider,{value:rc,children:(0,tv.jsx)(ru.Provider,{value:v.current,children:n})})})})},rp=(0,ew.createContext)({menu:!1,setMenu:()=>!1}),useMenu=()=>(0,ew.useContext)(rp),rf=rp.Provider,rh=(0,ew.createContext)(__spreadValues({title:"",frontMatter:{}},r$));function useConfig(){return(0,ew.useContext)(rh)}var ConfigProvider=({children:n,value:{themeConfig:a,pageOpts:g}})=>{let[v,j]=(0,ew.useState)(!1);eb||(eb=__spreadValues(__spreadValues({},r$),Object.fromEntries(Object.entries(a).map(([n,a])=>[n,a&&"object"==typeof a&&rH.includes(n)?__spreadValues(__spreadValues({},r$[n]),a):a]))));let z=__spreadProps(__spreadValues(__spreadProps(__spreadValues({},eb),{flexsearch:g.flexsearch}),"boolean"==typeof g.newNextLinkBehavior&&{newNextLinkBehavior:g.newNextLinkBehavior}),{title:g.title,frontMatter:g.frontMatter}),{nextThemes:H}=z;return(0,tv.jsx)($,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:H.defaultTheme,storageKey:H.storageKey,forcedTheme:H.forcedTheme,children:(0,tv.jsx)(rh.Provider,{value:z,children:(0,tv.jsx)(rf,{value:{menu:v,setMenu:j},children:n})})})},rm=(0,ew.createContext)(n=>n),useDetails=()=>(0,ew.useContext)(rm),rx=rm.Provider,rg=Number("13.5.6".split(".")[0]),rv=(0,ew.forwardRef)(function(n,a){var{href:g="",children:v,newWindow:j}=n,z=__objRest(n,["href","children","newWindow"]);let H=useConfig();return j?(0,tv.jsxs)("a",__spreadProps(__spreadValues({ref:a,href:g,target:"_blank",rel:"noreferrer"},z),{children:[v,(0,tv.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):g?rg>12||H.newNextLinkBehavior?(0,tv.jsx)(tg(),__spreadProps(__spreadValues({ref:a,href:g},z),{children:v})):(0,tv.jsx)(tg(),{href:g,passHref:!0,children:(0,tv.jsx)("a",__spreadProps(__spreadValues({ref:a},z),{children:v}))}):(0,tv.jsx)("a",__spreadProps(__spreadValues({ref:a},z),{children:v}))});rv.displayName="Anchor";var getGitIssueUrl=({repository:n="",title:a,labels:g})=>{let v=tA()(n);if(!v)throw Error("Invalid `docsRepositoryBase` URL!");return v.resource.includes("gitlab")?`${v.protocol}://${v.resource}/${v.owner}/${v.name}/-/issues/new?issue[title]=${encodeURIComponent(a)}${g?`&issue[description]=/label${encodeURIComponent(` ~${g} +`)}`:""}`:v.resource.includes("github")?`${v.protocol}://${v.resource}/${v.owner}/${v.name}/issues/new?title=${encodeURIComponent(a)}&labels=${g||""}`:"#"};function renderComponent(n,a){return n?"function"!=typeof n?n:(0,tv.jsx)(n,__spreadValues({},a)):null}function renderString(n,a={}){let g="function"==typeof n?n(a):n;return g||""}function Banner(){let{banner:n}=useConfig();if(!n.text)return null;let a=`try{if(localStorage.getItem(${JSON.stringify(n.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("script",{dangerouslySetInnerHTML:{__html:a}}),(0,tv.jsxs)("div",{className:(0,ek.Z)("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,tv.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:renderComponent(n.text)}),n.dismissible&&(0,tv.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(n.key,"0")}catch(n){}document.body.classList.add("nextra-banner-hidden")},children:(0,tv.jsx)(eT.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function Breadcrumb({activePath:n}){return(0,tv.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:n.map((a,g)=>{let v=!a.children||a.withIndexPage,j=g===n.length-1;return(0,tv.jsxs)(ew.Fragment,{children:[g>0&&(0,tv.jsx)(eT.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tv.jsx)("div",{className:(0,ek.Z)("nx-whitespace-nowrap nx-transition-colors",j?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",v&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:a.title,children:v&&!j?(0,tv.jsx)(rv,{href:a.route,children:a.title}):a.title})]},a.route+a.name)})})}function Collapse({children:n,className:a,isOpen:g,horizontal:v=!1}){let j=(0,ew.useRef)(null),z=(0,ew.useRef)(null),H=(0,ew.useRef)(0),W=(0,ew.useRef)(g),B=(0,ew.useRef)(!0);return(0,ew.useEffect)(()=>{let n=j.current,a=z.current,W=H.current;W&&clearTimeout(W),!B.current&&n&&a&&(n.classList.toggle("nx-duration-500",!g),n.classList.toggle("nx-duration-300",g),v?(a.style.width=`${a.clientWidth}px`,n.style.width=`${a.clientWidth}px`):n.style.height=`${a.clientHeight}px`,g?H.current=window.setTimeout(()=>{n.style.removeProperty("height")},300):setTimeout(()=>{v?n.style.width="0px":n.style.height="0px"},0))},[v,g]),(0,ew.useEffect)(()=>{B.current=!1},[]),(0,tv.jsx)("div",{ref:j,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:W.current||v?void 0:{height:0},children:(0,tv.jsx)("div",{ref:z,className:(0,ek.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",g?"nx-opacity-100":"nx-opacity-0",a),children:n})})}var ry=(0,ew.memo)(function({value:n,match:a}){let g;if(!n)return null;let v=n.split(""),j=function(n){if("string"!=typeof n)throw TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(a.trim()),z=RegExp(j.replaceAll(/\s+/g,"|"),"ig"),H=0,W=[];for(;g=z.exec(n);)if(g.index===z.lastIndex)z.lastIndex++;else{let n=v.splice(0,g.index-H).join(""),a=v.splice(0,z.lastIndex-g.index).join("");W.push(n,(0,tv.jsx)("span",{className:"nx-text-primary-600",children:a},g.index)),H=z.lastIndex}return(0,tv.jsxs)(tv.Fragment,{children:[W,v.join("")]})}),rb=(0,ew.forwardRef)((n,a)=>{var{className:g,suffix:v}=n,j=__objRest(n,["className","suffix"]);return(0,tv.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,tv.jsx)("input",__spreadValues({ref:a,spellCheck:!1,className:(0,ek.Z)(g,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},j)),v]})});rb.displayName="Input";var r_=["input","select","button","textarea"];function Search({className:n,overlayClassName:a,value:g,onChange:v,onActive:j,loading:z,error:H,results:W}){let[B,K]=(0,ew.useState)(!1),ee=useConfig(),[et,en]=(0,ew.useState)(0),er=(0,e_.useRouter)(),{setMenu:eo}=useMenu(),ei=(0,ew.useRef)(null),es=(0,ew.useRef)(null),[el,eu]=(0,ew.useState)(!1),[ec,ed]=(0,ew.useState)(!0);(0,ew.useEffect)(()=>{en(0)},[g]),(0,ew.useEffect)(()=>{let down=n=>{let a=document.activeElement,g=null==a?void 0:a.tagName.toLowerCase();!ei.current||!g||r_.includes(g)||null!=a&&a.isContentEditable||("/"===n.key||"k"===n.key&&(n.metaKey||n.ctrlKey)?(n.preventDefault(),ei.current.focus({preventScroll:!0})):"Escape"===n.key&&(K(!1),ei.current.blur()))};return window.addEventListener("keydown",down),()=>{window.removeEventListener("keydown",down)}},[]);let ep=(0,ew.useCallback)(()=>{var n;null==(n=ei.current)||n.blur(),v(""),K(!1),eo(!1)},[v,eo]),ef=(0,ew.useCallback)(n=>{let{index:a}=n.currentTarget.dataset;en(Number(a))},[]),eh=(0,ew.useCallback)(function(n){var a,g,v;switch(n.key){case"ArrowDown":if(et+1 a`);g&&(n.preventDefault(),ef({currentTarget:g}),g.focus())}break;case"ArrowUp":if(et-1>=0){let a=null==(g=es.current)?void 0:g.querySelector(`li:nth-of-type(${et}) > a`);a&&(n.preventDefault(),ef({currentTarget:a}),a.focus())}break;case"Enter":{let n=W[et];n&&ec&&(er.push(n.route),ep());break}case"Escape":K(!1),null==(v=ei.current)||v.blur()}},[et,W,er,ep,ef,ec]),em=useMounted(),ex=B&&!!g,eg=(0,tv.jsx)(nC,{show:em&&(!B||!!g),as:ew.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tv.jsx)("kbd",{className:(0,ek.Z)("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",g?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:g?"Clear":void 0,onClick:()=>{v("")},children:g&&el?"ESC":em&&(navigator.userAgent.includes("Macintosh")?(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),ev=(0,ew.useCallback)(n=>{ed("compositionend"===n.type)},[]);return(0,tv.jsxs)("div",{className:(0,ek.Z)("nextra-search nx-relative md:nx-w-64",n),children:[ex&&(0,tv.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>K(!1)}),(0,tv.jsx)(rb,{ref:ei,value:g,onChange:n=>{let{value:a}=n.target;v(a),K(!!a)},onFocus:()=>{null==j||j(!0),eu(!0)},onBlur:()=>{eu(!1)},onCompositionStart:ev,onCompositionEnd:ev,type:"search",placeholder:renderString(ee.search.placeholder),onKeyDown:eh,suffix:eg}),(0,tv.jsx)(nC,{show:ex,as:nC.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tv.jsx)("ul",{className:(0,ek.Z)("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",a),ref:es,style:{transition:"max-height .2s ease"},children:H?(0,tv.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,tv.jsx)(eT.AV,{className:"nx-h-5 nx-w-5"}),renderString(ee.search.error)]}):z?(0,tv.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,tv.jsx)(eT.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),renderComponent(ee.search.loading)]}):W.length>0?W.map(({route:n,prefix:a,children:g,id:v},j)=>(0,tv.jsxs)(ew.Fragment,{children:[a,(0,tv.jsx)("li",{className:(0,ek.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",j===et?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,tv.jsx)(rv,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:n,"data-index":j,onFocus:ef,onMouseMove:ef,onClick:ep,onKeyDown:eh,children:g})})]},v)):renderComponent(ee.search.emptyResult)})})]})}var rw={},rk=new Map,loadIndexes=(n,a)=>{let g=n+"@"+a;if(rk.has(g))return rk.get(g);let v=loadIndexesImpl(n,a);return rk.set(g,v),v},loadIndexesImpl=(n,a)=>__async(void 0,null,function*(){let g=yield fetch(`${n}/_next/static/chunks/nextra-data-${a}.json`),v=yield g.json(),j=new nr.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),z=new nr.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),H=0;for(let[n,a]of Object.entries(v)){let g="";for(let[v,j]of(++H,Object.entries(a.data))){let[W,B]=v.split("#"),K=n+(W?"#"+W:""),ee=B||a.title,et=j.split("\n");z.add(__spreadValues({id:K,url:K,title:ee,pageId:`page_${H}`,content:ee},et[0]&&{display:et[0]}));for(let n=0;n{var g,v;if(!n)return;let[j,z]=rw[a],H=(null==(g=j.search(n,5,{enrich:!0,suggest:!0})[0])?void 0:g.result)||[],W=[],K={};for(let a=0;an._page_rk===a._page_rk?n._section_rk-a._section_rk:K[n._page_rk]!==K[a._page_rk]?K[a._page_rk]-K[n._page_rk]:n._page_rk-a._page_rk).map(n=>({id:`${n._page_rk}_${n._section_rk}`,route:n.route,prefix:n.prefix,children:n.children})))},et=(0,ew.useCallback)(n=>__async(this,null,function*(){if(n&&!rw[a]){j(!0);try{yield loadIndexes(g,a)}catch(n){H(!0)}j(!1)}}),[a,g]);return(0,tv.jsx)(Search,{loading:v,error:z,value:K,onChange:n=>__async(this,null,function*(){if(ee(n),!v){if(!rw[a]){j(!0);try{yield loadIndexes(g,a)}catch(n){H(!0)}j(!1)}doSearch(n)}}),onActive:et,className:n,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:W})}function Select({options:n,selected:a,onChange:g,title:v,className:j}){let[z,H]=function(n){let a=(0,ew.useRef)(null),g=(0,ew.useRef)(null),v=(0,ew.useRef)(),j=(0,ew.useCallback)(()=>{var j;a.current&&g.current&&(null==(j=v.current)||j.call(v),v.current=t1(a.current,g.current,n).destroy)},[a,g,v,n]);return(0,ew.useMemo)(()=>[n=>{a.current=n,j()},n=>{g.current=n,j()}],[a,g,j])}({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:n}){n.styles.popper.minWidth=`${n.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,tv.jsx)(n$,{value:a,onChange:g,children:({open:g})=>(0,tv.jsxs)(n$.Button,{ref:z,title:v,className:(0,ek.Z)("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",g?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",j),children:[a.name,(0,tv.jsx)(Portal,{children:(0,tv.jsx)(nC,{ref:H,show:g,as:n$.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:n.map(n=>(0,tv.jsxs)(n$.Option,{value:n,className:({active:n})=>(0,ek.Z)(n?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[n.name,n.key===a.key&&(0,tv.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tv.jsx)(eT.nQ,{})})]},n.key))})})]})})}function Portal(n){let a=useMounted();return a?(0,nH.createPortal)(n.children,document.body):null}function LocaleSwitch({lite:n,className:a}){let g=useConfig(),{locale:v,asPath:j}=(0,e_.useRouter)(),z=g.i18n;if(!z.length)return null;let H=z.find(n=>v===n.locale);return(0,tv.jsx)(Select,{title:"Change language",className:a,onChange:n=>{let a=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${n.key}; expires=${a.toUTCString()}; path=/`,location.href=(0,nE.addBasePath)(j)},selected:{key:(null==H?void 0:H.locale)||"",name:(0,tv.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tv.jsx)(eT.n9,{}),(0,tv.jsx)("span",{className:n?"nx-hidden":"",children:null==H?void 0:H.text})]})},options:z.map(n=>({key:n.locale,name:n.text}))})}function dist_Head(){var n;let a=useConfig(),{resolvedTheme:g}=y(),v=useMounted(),j="function"==typeof a.head?a.head({}):a.head,{primaryHue:z,primarySaturation:H}=a,{dark:W,light:B}="number"==typeof z?{dark:z,light:z}:z,{dark:K,light:ee}="number"==typeof H?{dark:H,light:H}:H,et=a.frontMatter;return(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)(NextSeo,__spreadValues({title:a.title,description:et.description,canonical:et.canonical,openGraph:et.openGraph},null==(n=a.useNextSeoProps)?void 0:n.call(a))),(0,tv.jsxs)(nB(),{children:[a.faviconGlyph?(0,tv.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${a.faviconGlyph}`}):null,v?(0,tv.jsx)("meta",{name:"theme-color",content:"dark"===g?"#111":"#fff"}):(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tv.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tv.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tv.jsx)("style",{children:` + :root { + --nextra-primary-hue: ${B}deg; + --nextra-primary-saturation: ${ee}%; + --nextra-navbar-height: 4rem; + --nextra-menu-height: 3.75rem; + --nextra-banner-height: 2.5rem; + } + + .dark { + --nextra-primary-hue: ${W}deg; + --nextra-primary-saturation: ${K}%; + } + `}),j]})]})}var rC={link:(0,ek.Z)("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:(0,ek.Z)("nx-inline nx-h-5 nx-shrink-0")},NavLinks=({flatDirectories:n,currentIndex:a})=>{let g=useConfig(),v=g.navigation,j="boolean"==typeof v?{prev:v,next:v}:v,z=j.prev&&n[a-1],H=j.next&&n[a+1];return(z&&!z.isUnderCurrentDocsTree&&(z=!1),H&&!H.isUnderCurrentDocsTree&&(H=!1),z||H)?(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[z&&(0,tv.jsxs)(rv,{href:z.route,title:z.title,className:(0,ek.Z)(rC.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tv.jsx)(eT.LZ,{className:(0,ek.Z)(rC.icon,"ltr:nx-rotate-180")}),z.title]}),H&&(0,tv.jsxs)(rv,{href:H.route,title:H.title,className:(0,ek.Z)(rC.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[H.title,(0,tv.jsx)(eT.LZ,{className:(0,ek.Z)(rC.icon,"rtl:nx-rotate-180")})]})]}):null},rE={link:(0,ek.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,ek.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,ek.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function NavbarMenu({className:n,menu:a,children:g}){let{items:v}=a,j=Object.fromEntries((a.children||[]).map(n=>[n.name,n]));return(0,tv.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tv.jsxs)(n3,{children:[(0,tv.jsx)(n3.Button,{className:(0,ek.Z)(n,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",rE.inactive),children:g}),(0,tv.jsx)(nC,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tv.jsx)(n3.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",children:Object.entries(v||{}).map(([n,g])=>{var v;return(0,tv.jsx)(n3.Item,{children:(0,tv.jsx)(rv,{href:g.href||(null==(v=j[n])?void 0:v.route)||a.route+"/"+n,className:(0,ek.Z)("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:g.newWindow,children:g.title||n})},n)})})})]})})}var rT=Object.create(null),rO=(0,ew.createContext)(null),rj=(0,ew.createContext)(null),rS=(0,ew.createContext)(0),rI=(0,ew.memo)(function(n){let a=(0,ew.useContext)(rS);return(0,tv.jsx)(rS.Provider,{value:a+1,children:(0,tv.jsx)(FolderImpl,__spreadValues({},n))})}),rP={link:(0,ek.Z)("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:(0,ek.Z)("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:(0,ek.Z)("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:(0,ek.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,ek.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function FolderImpl({item:n,anchors:a}){let g=useFSRoute(),[v]=g.split("#"),j=[v,v+"/"].includes(n.route+"/"),z=j||v.startsWith(n.route+"/"),H=(0,ew.useContext)(rO),W=!!(null==H?void 0:H.startsWith(n.route+"/")),B=(0,ew.useContext)(rS),{setMenu:K}=useMenu(),ee=useConfig(),{theme:et}=n,en=void 0===rT[n.route]?j||z||W||(et&&"collapsed"in et?!et.collapsed:B{ee.sidebar.autoCollapse?z&&W?rT[n.route]=!0:delete rT[n.route]:(z||W)&&(rT[n.route]=!0)},[z,W,n.route,ee.sidebar.autoCollapse]),"menu"===n.type){let a=Object.fromEntries((n.children||[]).map(n=>[n.name,n]));n.children=Object.entries(n.items||{}).map(([g,v])=>{let j=a[g]||__spreadProps(__spreadValues({name:g},"locale"in n&&{locale:n.locale}),{route:n.route+"/"+g});return __spreadValues(__spreadValues({},j),v)})}let eo="withIndexPage"in n&&n.withIndexPage,ei=eo?rv:"button";return(0,tv.jsxs)("li",{className:(0,ek.Z)({open:en,active:j}),children:[(0,tv.jsxs)(ei,{href:eo?n.route:void 0,className:(0,ek.Z)("nx-items-center nx-justify-between nx-gap-2",!eo&&"nx-text-left nx-w-full",rP.link,j?rP.active:rP.inactive),onClick:a=>{let g=["svg","path"].includes(a.target.tagName.toLowerCase());if(g&&a.preventDefault(),eo){j||g?rT[n.route]=!en:(rT[n.route]=!0,K(!1)),er({});return}j||(rT[n.route]=!en,er({}))},children:[renderComponent(ee.sidebar.titleComponent,{title:n.title,type:n.type,route:n.route}),(0,tv.jsx)(eT.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:(0,ek.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",en&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tv.jsx)(Collapse,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:en,children:Array.isArray(n.children)?(0,tv.jsx)(Menu2,{className:(0,ek.Z)(rP.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:n.children,base:n.route,anchors:a}):null})]})}function Separator({title:n}){let a=useConfig();return(0,tv.jsx)("li",{className:(0,ek.Z)("[word-break:break-word]",n?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:n?renderComponent(a.sidebar.titleComponent,{title:n,type:"separator",route:""}):(0,tv.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function File({item:n,anchors:a}){let g=useFSRoute(),v=(0,ew.useContext)(rj),j=n.route&&[g,g+"/"].includes(n.route+"/"),z=useActiveAnchor(),{setMenu:H}=useMenu(),W=useConfig();return"separator"===n.type?(0,tv.jsx)(Separator,{title:n.title}):(0,tv.jsxs)("li",{className:(0,ek.Z)(rP.list,{active:j}),children:[(0,tv.jsx)(rv,{href:n.href||n.route,newWindow:n.newWindow,className:(0,ek.Z)(rP.link,j?rP.active:rP.inactive),onClick:()=>{H(!1)},onFocus:()=>{null==v||v(n.route)},onBlur:()=>{null==v||v(null)},children:renderComponent(W.sidebar.titleComponent,{title:n.title,type:n.type,route:n.route})}),j&&a.length>0&&(0,tv.jsx)("ul",{className:(0,ek.Z)(rP.list,rP.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:a.map(({id:n,value:a})=>{var g;return(0,tv.jsx)("li",{children:(0,tv.jsx)("a",{href:`#${n}`,className:(0,ek.Z)(rP.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(g=z[n])?void 0:g.isActive)?rP.active:rP.inactive),onClick:()=>{H(!1)},children:a})},n)})})]})}function Menu2({directories:n,anchors:a,className:g,onlyCurrentDocs:v}){return(0,tv.jsx)("ul",{className:(0,ek.Z)(rP.list,g),children:n.map(n=>!v||n.isUnderCurrentDocsTree?"menu"===n.type||n.children&&(n.children.length||!n.withIndexPage)?(0,tv.jsx)(rI,{item:n,anchors:a},n.name):(0,tv.jsx)(File,{item:n,anchors:a},n.name):null)})}function Sidebar({docsDirectories:n,flatDirectories:a,fullDirectories:g,asPopover:v=!1,headings:j,includePlaceholder:z}){let H=useConfig(),{menu:W,setMenu:B}=useMenu(),K=(0,e_.useRouter)(),[ee,et]=(0,ew.useState)(null),[en,er]=(0,ew.useState)(!0),[eo,ei]=(0,ew.useState)(!1),es=(0,ew.useMemo)(()=>j.filter(n=>2===n.depth),[j]),el=(0,ew.useRef)(null),eu=(0,ew.useRef)(null),ec=useMounted();(0,ew.useEffect)(()=>{W?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[W]),(0,ew.useEffect)(()=>{var n;let a=null==(n=el.current)?void 0:n.querySelector("li.active");if(a&&(window.innerWidth>767||W)){let scroll=()=>{dist_e(a,{block:"center",inline:"center",scrollMode:"always",boundary:eu.current})};W?setTimeout(scroll,300):scroll()}},[W]),(0,ew.useEffect)(()=>{B(!1)},[K.asPath,B]);let ed=H.i18n.length>0,ep=H.darkMode||ed||H.sidebar.toggleButton;return(0,tv.jsxs)(tv.Fragment,{children:[z&&v?(0,tv.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tv.jsx)("div",{className:(0,ek.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",W?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>B(!1)}),(0,tv.jsxs)("aside",{className:(0,ek.Z)("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",en?"md:nx-w-64":"md:nx-w-20",v?"md:nx-hidden":"md:nx-sticky md:nx-self-start",W?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:eu,children:[(0,tv.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:renderComponent(H.search.component,{directories:a})}),(0,tv.jsx)(rO.Provider,{value:ee,children:(0,tv.jsx)(rj.Provider,{value:n=>{et(n)},children:(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",en?"nextra-scrollbar":"no-scrollbar"),ref:el,children:[(!v||!en)&&(0,tv.jsx)(Collapse,{isOpen:en,horizontal:!0,children:(0,tv.jsx)(Menu2,{className:"nextra-menu-desktop max-md:nx-hidden",directories:n,anchors:H.toc.float?[]:es,onlyCurrentDocs:!0})}),ec&&window.innerWidth<768&&(0,tv.jsx)(Menu2,{className:"nextra-menu-mobile md:nx-hidden",directories:g,anchors:es})]})})}),ep&&(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",en?(0,ek.Z)(ed&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":eo?en?"show":"hide":"off",children:[(0,tv.jsx)(LocaleSwitch,{lite:!en,className:(0,ek.Z)(en?"nx-grow":"max-md:nx-grow")}),H.darkMode&&(0,tv.jsx)("div",{className:en&&!ed?"nx-grow nx-flex nx-flex-col":"",children:renderComponent(H.themeSwitch.component,{lite:!en||ed})}),H.sidebar.toggleButton&&(0,tv.jsx)("button",{title:en?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{er(!en),ei(!0)},children:(0,tv.jsx)(eT.Qq,{isOpen:en})})]})]})]})}var rN="reach-skip-nav";(0,ew.forwardRef)(function(n,a){var{className:g,id:v,label:j="Skip to content",styled:z}=n,H=__objRest(n,["className","id","label","styled"]);let W=void 0===g?z?(0,ek.Z)("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":g;return(0,tv.jsx)("a",__spreadProps(__spreadValues({},H),{ref:a,href:`#${v||rN}`,className:W,"data-reach-skip-link":"",children:j}))}).displayName="SkipNavLink";var rZ=(0,ew.forwardRef)(function(n,a){var{id:g}=n,v=__objRest(n,["id"]);return(0,tv.jsx)("div",__spreadProps(__spreadValues({},v),{ref:a,id:g||rN}))});rZ.displayName="SkipNavContent";var rR=tm.strictObject({light:tm.string(),dark:tm.string(),system:tm.string()});function scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}function BackToTop({className:n}){let a=(0,ew.useRef)(null);return(0,ew.useEffect)(()=>{function toggleVisible(){var n;let{scrollTop:g}=document.documentElement;null==(n=a.current)||n.classList.toggle("nx-opacity-0",g<300)}return window.addEventListener("scroll",toggleVisible),()=>{window.removeEventListener("scroll",toggleVisible)}},[]),(0,tv.jsxs)("button",{ref:a,"aria-hidden":"true",onClick:scrollToTop,className:(0,ek.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",n),children:["Scroll to top",(0,tv.jsx)(eT.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var rA=(0,ek.Z)("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function MatchSorterSearch({className:n,directories:a}){let[g,v]=(0,ew.useState)(""),j=(0,ew.useMemo)(()=>g?matchSorter(a,g,{keys:["title"]}).map(({route:n,title:a})=>({id:n+a,route:n,children:(0,tv.jsx)(ry,{value:a,match:g})})):[],[g,a]);return(0,tv.jsx)(Search,{value:g,onChange:v,className:n,overlayClassName:"nx-w-full",results:j})}var rM="en-US",rL="undefined"!=typeof window;function isFunction(n){return"function"==typeof n}var rD=tm.array(tm.strictObject({direction:tm.enum(["ltr","rtl"]).optional(),locale:tm.string(),text:tm.string()})),rF=[function(n){return null==n||"string"==typeof n||isFunction(n)||(0,ew.isValidElement)(n)},{message:"Must be React.ReactNode or React.FC"}],rz=[isFunction,{message:"Must be React.FC"}];tm.strictObject({banner:tm.strictObject({dismissible:tm.boolean(),key:tm.string(),text:tm.custom(...rF).optional()}),chat:tm.strictObject({icon:tm.custom(...rF),link:tm.string().startsWith("https://").optional()}),components:tm.record(tm.custom(...rz)).optional(),darkMode:tm.boolean(),direction:tm.enum(["ltr","rtl"]),docsRepositoryBase:tm.string().startsWith("https://"),editLink:tm.strictObject({component:tm.custom(...rz).or(tm.null()),text:tm.custom(...rF)}),faviconGlyph:tm.string().optional(),feedback:tm.strictObject({content:tm.custom(...rF),labels:tm.string(),useLink:tm.function().returns(tm.string())}),footer:tm.strictObject({component:tm.custom(...rF),text:tm.custom(...rF)}),gitTimestamp:tm.custom(...rF),head:tm.custom(...rF),i18n:rD,logo:tm.custom(...rF),logoLink:tm.boolean().or(tm.string()),main:tm.custom(...rz).optional(),navbar:tm.strictObject({component:tm.custom(...rF),extraContent:tm.custom(...rF).optional()}),navigation:tm.boolean().or(tm.strictObject({next:tm.boolean(),prev:tm.boolean()})),nextThemes:tm.strictObject({defaultTheme:tm.string(),forcedTheme:tm.string().optional(),storageKey:tm.string()}),notFound:tm.strictObject({content:tm.custom(...rF),labels:tm.string()}),primaryHue:tm.number().or(tm.strictObject({dark:tm.number(),light:tm.number()})),primarySaturation:tm.number().or(tm.strictObject({dark:tm.number(),light:tm.number()})),project:tm.strictObject({icon:tm.custom(...rF),link:tm.string().startsWith("https://").optional()}),search:tm.strictObject({component:tm.custom(...rF),emptyResult:tm.custom(...rF),error:tm.string().or(tm.function().returns(tm.string())),loading:tm.custom(...rF),placeholder:tm.string().or(tm.function().returns(tm.string()))}),serverSideError:tm.strictObject({content:tm.custom(...rF),labels:tm.string()}),sidebar:tm.strictObject({autoCollapse:tm.boolean().optional(),defaultMenuCollapseLevel:tm.number().min(1).int(),titleComponent:tm.custom(...rF),toggleButton:tm.boolean()}),themeSwitch:tm.strictObject({component:tm.custom(...rF),useOptions:rR.or(tm.function().returns(rR))}),toc:tm.strictObject({backToTop:tm.boolean(),component:tm.custom(...rF),extraContent:tm.custom(...rF),float:tm.boolean(),headingComponent:tm.custom(...rz).optional(),title:tm.custom(...rF)}),useNextSeoProps:tm.custom(isFunction)}).deepPartial().extend({i18n:rD.optional()});var rU={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},rV={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},r$={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)(eT.D7,{}),(0,tv.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:n,filePath:a,children:g}){let v=function(n=""){let a=useConfig(),g=tA()(a.docsRepositoryBase||"");if(!g)throw Error("Invalid `docsRepositoryBase` URL!");return`${g.href}/${n}`}(a);return v?(0,tv.jsx)(rv,{className:n,href:v,children:g}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let n=useConfig();return getGitIssueUrl({labels:n.feedback.labels,repository:n.docsRepositoryBase,title:`Feedback for \u201C${n.title}\u201D`})}},footer:{component:function({menu:n}){let a=useConfig();return(0,tv.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,tv.jsxs)("div",{className:(0,ek.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",n&&(a.i18n.length>0||a.darkMode)?"nx-flex":"nx-hidden"),children:[(0,tv.jsx)(LocaleSwitch,{}),a.darkMode&&renderComponent(a.themeSwitch.component)]}),(0,tv.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tv.jsx)("div",{className:(0,ek.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:renderComponent(a.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:n}){let{locale:a=rM}=(0,e_.useRouter)();return(0,tv.jsxs)(tv.Fragment,{children:["Last updated on"," ",(0,tv.jsx)("time",{dateTime:n.toISOString(),children:n.toLocaleDateString(a,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tv.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tv.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tv.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tv.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tv.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tv.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tv.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tv.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:function({flatDirectories:n,items:a}){let g=useConfig(),v=useFSRoute(),{menu:j,setMenu:z}=useMenu();return(0,tv.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,tv.jsx)("div",{className:(0,ek.Z)("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,tv.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[g.logoLink?(0,tv.jsx)(rv,{href:"string"==typeof g.logoLink?g.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:renderComponent(g.logo)}):(0,tv.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:renderComponent(g.logo)}),a.map(n=>{if("hidden"===n.display)return null;if("menu"===n.type)return(0,tv.jsxs)(NavbarMenu,{className:(0,ek.Z)(rE.link,"nx-flex nx-gap-1",rE.inactive),menu:n,children:[n.title,(0,tv.jsx)(eT.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},n.title);let a=n.href||n.route||"#";n.children&&(a=(n.withIndexPage?n.route:n.firstChildRoute)||a);let g=n.route===v||v.startsWith(n.route+"/");return(0,tv.jsxs)(rv,{href:a,className:(0,ek.Z)(rE.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!g||n.newWindow?rE.inactive:rE.active),newWindow:n.newWindow,"aria-current":!n.newWindow&&g,children:[(0,tv.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:n.title}),(0,tv.jsx)("span",{className:"nx-invisible nx-font-medium",children:n.title})]},a)}),renderComponent(g.search.component,{directories:n,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),g.project.link?(0,tv.jsx)(rv,{className:"nx-p-2 nx-text-current",href:g.project.link,newWindow:!0,children:renderComponent(g.project.icon)}):null,g.chat.link?(0,tv.jsx)(rv,{className:"nx-p-2 nx-text-current",href:g.chat.link,newWindow:!0,children:renderComponent(g.chat.icon)}):null,renderComponent(g.navbar.extraContent),(0,tv.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>z(!j),children:(0,tv.jsx)(eT.Oq,{className:(0,ek.Z)({open:j})})})]})]})}},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)(eT.fy,{}),(0,tv.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:n,directories:a}){let g=useConfig();return g.flexsearch?(0,tv.jsx)(Flexsearch,{className:n}):(0,tv.jsx)(MatchSorterSearch,{className:n,directories:a})},emptyResult:(0,tv.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:n,defaultLocale:a=rM}=(0,e_.useRouter)(),g=n&&rU[n]||rU[a];return(0,tv.jsxs)(tv.Fragment,{children:[g,"…"]})},placeholder:function(){let{locale:n,defaultLocale:a=rM}=(0,e_.useRouter)(),g=n&&rV[n]||rV[a];return`${g}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:n})=>(0,tv.jsx)(tv.Fragment,{children:n}),toggleButton:!1},themeSwitch:{component:function({lite:n,className:a}){let{setTheme:g,resolvedTheme:v,theme:j=""}=y(),z=useMounted(),H=useConfig().themeSwitch,W=z&&"dark"===v?eT.kL:eT.NW,B="function"==typeof H.useOptions?H.useOptions():H.useOptions;return(0,tv.jsx)(Select,{className:a,title:"Change theme",options:[{key:"light",name:B.light},{key:"dark",name:B.dark},{key:"system",name:B.system}],onChange:n=>{g(n.key)},selected:{key:j,name:(0,tv.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tv.jsx)(W,{}),(0,tv.jsx)("span",{className:n?"md:nx-hidden":"",children:z?B[j]:B.light})]})}})},useOptions(){let{locale:n}=(0,e_.useRouter)();return"zh-CN"===n?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:function({headings:n,filePath:a}){var g;let v=useActiveAnchor(),j=useConfig(),z=(0,ew.useRef)(null),H=(0,ew.useMemo)(()=>n.filter(n=>n.depth>1),[n]),W=H.length>0,B=!!(j.feedback.content||j.editLink.component||j.toc.extraContent),K=null==(g=Object.entries(v).find(([,{isActive:n}])=>n))?void 0:g[0];return(0,ew.useEffect)(()=>{var n;if(!K)return;let a=null==(n=z.current)?void 0:n.querySelector(`li > a[href="#${K}"]`);a&&dist_e(a,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:z.current})},[K]),(0,tv.jsxs)("div",{ref:z,className:(0,ek.Z)("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[W&&(0,tv.jsxs)(tv.Fragment,{children:[(0,tv.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:renderComponent(j.toc.title)}),(0,tv.jsx)("ul",{children:H.map(({id:n,value:a,depth:g})=>{var z,H,W,B;return(0,tv.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tv.jsx)("a",{href:`#${n}`,className:(0,ek.Z)({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[g],"nx-inline-block",(null==(z=v[n])?void 0:z.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(B=null==(W=(H=j.toc).headingComponent)?void 0:W.call(H,{id:n,children:a}))?B:a})},n)})})]}),B&&(0,tv.jsxs)("div",{className:(0,ek.Z)(W&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[j.feedback.content?(0,tv.jsx)(rv,{className:rA,href:j.feedback.useLink(),newWindow:!0,children:renderComponent(j.feedback.content)}):null,renderComponent(j.editLink.component,{filePath:a,className:rA,children:renderComponent(j.editLink.text)}),renderComponent(j.toc.extraContent),j.toc.backToTop&&(0,tv.jsx)(BackToTop,{className:rA})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},rH=Object.entries(r$).map(([n,a])=>{let g=a&&"object"==typeof a&&!Array.isArray(a)&&!(0,ew.isValidElement)(a);if(g)return n}).filter(Boolean);if(rL){let n;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(n),n=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function HeadingLink(n){var{tag:a,context:g,children:v,id:j,className:z}=n,H=__objRest(n,["tag","context","children","id","className"]);let W=useSetActiveAnchor(),B=useSlugs(),K=useIntersectionObserver(),ee=(0,ew.useRef)(null);return(0,ew.useEffect)(()=>{if(!j)return;let n=ee.current;if(n)return B.set(n,[j,g.index+=1]),null==K||K.observe(n),()=>{null==K||K.disconnect(),B.delete(n),W(n=>{let a=__spreadValues({},n);return delete a[j],a})}},[j,g,B,K,W]),(0,tv.jsxs)(a,__spreadProps(__spreadValues({className:"sr-only"===z?"nx-sr-only":(0,ek.Z)("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[a])},H),{children:[v,j&&(0,tv.jsx)("a",{href:`#${j}`,id:j,className:"subheading-anchor","aria-label":"Permalink for this section",ref:ee})]}))}var findSummary=n=>{let a=null,g=[];return ew.Children.forEach(n,(n,v)=>{var j;if(n&&n.type===Summary){a||(a=n);return}let z=n;if(!a&&n&&"object"==typeof n&&n.type!==Details&&"props"in n&&n.props){let g=findSummary(n.props.children);a=g[0],z=(0,ew.cloneElement)(n,__spreadProps(__spreadValues({},n.props),{children:(null==(j=g[1])?void 0:j.length)?g[1]:void 0,key:v}))}g.push(z)}),[a,g]},Details=n=>{var{children:a,open:g}=n,v=__objRest(n,["children","open"]);let[j,z]=(0,ew.useState)(!!g),[H,W]=findSummary(a),[B,K]=(0,ew.useState)(j);return(0,ew.useEffect)(()=>{if(j)K(!0);else{let n=setTimeout(()=>K(j),500);return()=>clearTimeout(n)}},[j]),(0,tv.jsxs)("details",__spreadProps(__spreadValues(__spreadProps(__spreadValues({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},v),{open:B}),j&&{"data-expanded":!0}),{children:[(0,tv.jsx)(rx,{value:z,children:H}),(0,tv.jsx)(Collapse,{isOpen:j,children:W})]}))},Summary=n=>{let a=useDetails();return(0,tv.jsx)("summary",__spreadProps(__spreadValues({className:(0,ek.Z)("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},n),{onClick:n=>{n.preventDefault(),a(n=>!n)}}))},rW=/https?:\/\//,Link=n=>{var{href:a="",className:g}=n,v=__objRest(n,["href","className"]);return(0,tv.jsx)(rv,__spreadValues({href:a,newWindow:rW.test(a),className:(0,ek.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",g)},v))},A=n=>{var{href:a=""}=n,g=__objRest(n,["href"]);return(0,tv.jsx)(rv,__spreadValues({href:a,newWindow:rW.test(a)},g))},getComponents=({isRawLayout:n,components:a})=>{if(n)return{a:A};let g={index:0};return __spreadValues({h1:n=>(0,tv.jsx)("h1",__spreadValues({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},n)),h2:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h2",context:g},n)),h3:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h3",context:g},n)),h4:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h4",context:g},n)),h5:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h5",context:g},n)),h6:n=>(0,tv.jsx)(HeadingLink,__spreadValues({tag:"h6",context:g},n)),ul:n=>(0,tv.jsx)("ul",__spreadValues({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},n)),ol:n=>(0,tv.jsx)("ol",__spreadValues({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},n)),li:n=>(0,tv.jsx)("li",__spreadValues({className:"nx-my-2"},n)),blockquote:n=>(0,tv.jsx)("blockquote",__spreadValues({className:(0,ek.Z)("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},n)),hr:n=>(0,tv.jsx)("hr",__spreadValues({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},n)),a:Link,table:n=>(0,tv.jsx)(n8.iA,__spreadValues({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},n)),p:n=>(0,tv.jsx)("p",__spreadValues({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},n)),tr:n8.Tr,th:n8.Th,td:n8.Td,details:Details,summary:Summary,pre:n8.SU,code:n8.EK},a)},rB={toc:(0,ek.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,ek.Z)("nx-w-full nx-break-words")},Body=({themeContext:n,breadcrumb:a,timestamp:g,navigation:v,children:j})=>{var z;let H=useConfig(),W=useMounted();if("raw"===n.layout)return(0,tv.jsx)("div",{className:rB.main,children:j});let B=n.timestamp&&H.gitTimestamp&&g?new Date(g):null,K=W&&B?(0,tv.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:renderComponent(H.gitTimestamp,{timestamp:B})}):(0,tv.jsx)("div",{className:"nx-mt-16"}),ee=(0,tv.jsxs)(tv.Fragment,{children:[j,K,v]}),et=(null==(z=H.main)?void 0:z.call(H,{children:ee}))||ee;return"full"===n.layout?(0,tv.jsx)("article",{className:(0,ek.Z)(rB.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:et}):(0,tv.jsx)("article",{className:(0,ek.Z)(rB.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===n.typesetting&&"nextra-body-typesetting-article"),children:(0,tv.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[a,et]})})},InnerLayout=({filePath:n,pageMap:a,frontMatter:g,headings:v,timestamp:j,children:z})=>{let H=useConfig(),{locale:W=rM,defaultLocale:B}=(0,e_.useRouter)(),K=useFSRoute(),{activeType:ee,activeIndex:et,activeThemeContext:en,activePath:er,topLevelNavbarItems:eo,docsDirectories:ei,flatDirectories:es,flatDocsDirectories:el,directories:eu}=(0,ew.useMemo)(()=>(function normalizePages({list:n,locale:a,defaultLocale:g,route:v,docsRoot:j="",underCurrentDocsRoot:z=!1,pageThemeContext:H=tT}){let W,B;for(let g of n)if("Meta"===g.kind){if(g.locale===a){W=g.data;break}W||(W=g.data)}let K=W||{},ee=Object.keys(K);for(let n of ee)"string"==typeof K[n]&&(K[n]={title:K[n]});let et=[],en=[],er=[],eo=[],ei=[],es=0,el=H,eu=[],ec=-1,ed=K["*"]||{};delete ed.title,delete ed.href;let ep=n.filter(n=>"Meta"!==n.kind&&!n.name.startsWith("_")&&(!("locale"in n)||!n.locale||[a,g].includes(n.locale))).sort((n,a)=>{let g=ee.indexOf(n.name),v=ee.indexOf(a.name);return -1===g&&-1===v?n.name{let a;let g=[],v=ee.indexOf(n.name);if(-1!==v){for(let n=ec+1;n({...W,type:ef,...eg&&{title:eg},...ec&&{display:ec},...ex&&{children:[]}}),ev=getItem(),ey=getItem(),eb=getItem();if(ey.isUnderCurrentDocsTree=em,"separator"===ef&&(ev.isUnderCurrentDocsTree=em),W.route===v)switch(eu=[ev],B=ef,el={...el,...eh},ef){case"page":case"menu":es=ei.length;break;case"doc":es=eo.length}if(!("hidden"===ec&&"Folder"!==ev.kind||eC.hV.has(W.route))){if(ex){if(void 0!==ex.activeIndex&&void 0!==ex.activeType){switch(el=ex.activeThemeContext,B=ex.activeType,eu=[ev,...ex.activePath],B){case"page":case"menu":es=ei.length+ex.activeIndex;break;case"doc":es=eo.length+ex.activeIndex}W.withIndexPage&&"doc"===ef&&es++}switch(ef){case"page":case"menu":eb.children.push(...ex.directories),er.push(...ex.docsDirectories),ex.flatDirectories.length?(eb.firstChildRoute=function findFirstRoute(n){for(let a of n){if(a.route)return a.route;if(a.children){let n=findFirstRoute(a.children);if(n)return n}}}(ex.flatDirectories),ei.push(eb)):eb.withIndexPage&&ei.push(eb);break;case"doc":Array.isArray(ey.children)&&ey.children.push(...ex.docsDirectories),ev.withIndexPage&&"children"!==ec&&eo.push(ey)}en.push(...ex.flatDirectories),eo.push(...ex.flatDocsDirectories),Array.isArray(ev.children)&&ev.children.push(...ex.directories)}else switch(en.push(ev),ef){case"page":case"menu":ei.push(eb);break;case"doc":eo.push(ey)}switch("doc"===ef&&"children"===ec?ey.children&&(et.push(...ey.children),er.push(...ey.children)):et.push(ev),ef){case"page":case"menu":er.push(eb);break;case"doc":"children"!==ec&&er.push(ey);break;case"separator":er.push(ev)}}}return{activeType:B,activeIndex:es,activeThemeContext:el,activePath:eu,directories:et,flatDirectories:en,docsDirectories:er,flatDocsDirectories:eo,topLevelNavbarItems:ei}})({list:a,locale:W,defaultLocale:B,route:K}),[a,W,B,K]),ec=__spreadValues(__spreadValues({},en),g),ed=!ec.sidebar||"raw"===ec.layout||"page"===ee,ep="page"!==ee&&ec.toc&&"default"===ec.layout?(0,tv.jsx)("nav",{className:(0,ek.Z)(rB.toc,"nx-px-4"),"aria-label":"table of contents",children:renderComponent(H.toc.component,{headings:H.toc.float?v:[],filePath:n})}):"full"!==ec.layout&&"raw"!==ec.layout&&(0,tv.jsx)("nav",{className:rB.toc,"aria-label":"table of contents"}),ef=H.i18n.find(n=>n.locale===W),eh=ef?"rtl"===ef.direction:"rtl"===H.direction,em=eh?"rtl":"ltr";return(0,tv.jsxs)("div",{dir:em,children:[(0,tv.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${em}')`}}),(0,tv.jsx)(dist_Head,{}),(0,tv.jsx)(Banner,{}),ec.navbar&&renderComponent(H.navbar.component,{flatDirectories:es,items:eo}),(0,tv.jsx)("div",{className:(0,ek.Z)("nx-mx-auto nx-flex","raw"!==ec.layout&&"nx-max-w-[90rem]"),children:(0,tv.jsxs)(ActiveAnchorProvider,{children:[(0,tv.jsx)(Sidebar,{docsDirectories:ei,flatDirectories:es,fullDirectories:eu,headings:v,asPopover:ed,includePlaceholder:"default"===ec.layout}),ep,(0,tv.jsx)(rZ,{}),(0,tv.jsx)(Body,{themeContext:ec,breadcrumb:"page"!==ee&&ec.breadcrumb?(0,tv.jsx)(Breadcrumb,{activePath:er}):null,timestamp:j,navigation:"page"!==ee&&ec.pagination?(0,tv.jsx)(NavLinks,{flatDirectories:el,currentIndex:et}):null,children:(0,tv.jsx)(eE.Z,{components:getComponents({isRawLayout:"raw"===ec.layout,components:H.components}),children:z})})]})}),ec.footer&&renderComponent(H.footer.component,{menu:ed})]})};function Layout(n){var{children:a}=n,g=__objRest(n,["children"]);return(0,tv.jsx)(ConfigProvider,{value:g,children:(0,tv.jsx)(InnerLayout,__spreadProps(__spreadValues({},g.pageOpts),{children:a}))})}},9013:function(n,a,g){"use strict";g.d(a,{UW:function(){return Callout},EK:function(){return Code},SU:function(){return Pre},OK:function(){return Tab},iA:function(){return Table},mQ:function(){return eO},Td:function(){return Td},Th:function(){return Th},Tr:function(){return Tr}});var v,j,z,H=g(512),W=g(5893),Button=({children:n,className:a,...g})=>(0,W.jsx)("button",{className:(0,H.Z)("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",a),...g,children:n}),B=g(4861),K={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,W.jsx)(B.AV,{className:"nx-mt-1"}),warning:"⚠️"},ee={default:(0,H.Z)("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),error:(0,H.Z)("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),info:(0,H.Z)("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),warning:(0,H.Z)("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200")};function Callout({children:n,type:a="default",emoji:g=K[a]}){return(0,W.jsxs)("div",{className:(0,H.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",ee[a]),children:[(0,W.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:g}),(0,W.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:n})]})}var et=g(7294),CopyToClipboard=({getValue:n,...a})=>{let[g,v]=(0,et.useState)(!1);(0,et.useEffect)(()=>{if(!g)return;let n=setTimeout(()=>{v(!1)},2e3);return()=>{clearTimeout(n)}},[g]);let j=(0,et.useCallback)(async()=>{v(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(n())}catch{console.error("Failed to copy!")}},[n]),z=g?B.nQ:B.TI;return(0,W.jsx)(Button,{onClick:j,title:"Copy code",tabIndex:0,...a,children:(0,W.jsx)(z,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},Code=({children:n,className:a,...g})=>{let v="data-line-numbers"in g;return(0,W.jsx)("code",{className:(0,H.Z)("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",v&&"[counter-reset:line]",a),dir:"ltr",...g,children:n})},Pre=({children:n,className:a,hasCopyCode:g,filename:v,...j})=>{let z=(0,et.useRef)(null),K=(0,et.useCallback)(()=>{let n=document.documentElement.dataset,a="nextraWordWrap"in n;a?delete n.nextraWordWrap:n.nextraWordWrap=""},[]);return(0,W.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[v&&(0,W.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:v}),(0,W.jsx)("pre",{className:(0,H.Z)("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",v?"nx-pt-12 nx-pb-4":"nx-py-4",a),ref:z,...j,children:n}),(0,W.jsxs)("div",{className:(0,H.Z)("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",v?"nx-top-8":"nx-top-0"),children:[(0,W.jsx)(Button,{onClick:K,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,W.jsx)(B.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),g&&(0,W.jsx)(CopyToClipboard,{getValue:()=>z.current?.querySelector("code")?.textContent||""})]})]})},en=g(1363),er=g(3781),eo=g(9946),ei=g(6723),es=g(3855),el=g(4157),eu=g(3784),ec=g(4879),ed=g(6045);function focus_sentinel_b({onFocus:n}){let[a,g]=(0,et.useState)(!0),v=(0,ec.t)();return a?et.createElement(ed._,{as:"button",type:"button",features:ed.A.Focusable,onFocus:a=>{a.preventDefault();let j,z=50;j=requestAnimationFrame(function t(){if(z--<=0){j&&cancelAnimationFrame(j);return}if(n()){if(cancelAnimationFrame(j),!v.current)return;g(!1);return}j=requestAnimationFrame(t)})}}):null}var ep=g(4575),ef=g(2984),eh=g(1021),em=g(5466),ex=g(2351);let eg=et.createContext(null);function C({children:n}){let a=et.useRef({groups:new Map,get(n,a){var g;let v=this.groups.get(n);v||(v=new Map,this.groups.set(n,v));let j=null!=(g=v.get(a))?g:0;return v.set(a,j+1),[Array.from(v.keys()).indexOf(a),function(){let n=v.get(a);n>1?v.set(a,n-1):v.delete(a)}]}});return et.createElement(eg.Provider,{value:a},n)}function d(n){let a=et.useContext(eg);if(!a)throw Error("You must wrap your component in a ");let g=function(){var n,a,g;let v=null!=(g=null==(a=null==(n=et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:n.ReactCurrentOwner)?void 0:a.current)?g:null;if(!v)return Symbol();let j=[],z=v;for(;z;)j.push(z.index),z=z.return;return"$."+j.join(".")}(),[v,j]=a.current.get(n,g);return et.useEffect(()=>j,[]),v}var ev=((v=ev||{})[v.Forwards=0]="Forwards",v[v.Backwards=1]="Backwards",v),ey=((j=ey||{})[j.Less=-1]="Less",j[j.Equal=0]="Equal",j[j.Greater=1]="Greater",j),eb=((z=eb||{})[z.SetSelectedIndex=0]="SetSelectedIndex",z[z.RegisterTab=1]="RegisterTab",z[z.UnregisterTab=2]="UnregisterTab",z[z.RegisterPanel=3]="RegisterPanel",z[z.UnregisterPanel=4]="UnregisterPanel",z);let e_={0(n,a){var g;let v=(0,ep.z2)(n.tabs,n=>n.current),j=(0,ep.z2)(n.panels,n=>n.current),z=v.filter(n=>{var a;return!(null!=(a=n.current)&&a.hasAttribute("disabled"))}),H={...n,tabs:v,panels:j};if(a.index<0||a.index>v.length-1){let g=(0,ef.E)(Math.sign(a.index-n.selectedIndex),{[-1]:()=>1,0:()=>(0,ef.E)(Math.sign(a.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===z.length)return H;let j=(0,ef.E)(g,{0:()=>v.indexOf(z[0]),1:()=>v.indexOf(z[z.length-1])});return{...H,selectedIndex:-1===j?n.selectedIndex:j}}let W=v.slice(0,a.index),B=[...v.slice(a.index),...W].find(n=>z.includes(n));if(!B)return H;let K=null!=(g=v.indexOf(B))?g:n.selectedIndex;return -1===K&&(K=n.selectedIndex),{...H,selectedIndex:K}},1(n,a){if(n.tabs.includes(a.tab))return n;let g=n.tabs[n.selectedIndex],v=(0,ep.z2)([...n.tabs,a.tab],n=>n.current),j=n.selectedIndex;return n.info.current.isControlled||-1===(j=v.indexOf(g))&&(j=n.selectedIndex),{...n,tabs:v,selectedIndex:j}},2:(n,a)=>({...n,tabs:n.tabs.filter(n=>n!==a.tab)}),3:(n,a)=>n.panels.includes(a.panel)?n:{...n,panels:(0,ep.z2)([...n.panels,a.panel],n=>n.current)},4:(n,a)=>({...n,panels:n.panels.filter(n=>n!==a.panel)})},ew=(0,et.createContext)(null);function F(n){let a=(0,et.useContext)(ew);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,F),a}return a}ew.displayName="TabsDataContext";let ek=(0,et.createContext)(null);function q(n){let a=(0,et.useContext)(ek);if(null===a){let a=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,q),a}return a}function fe(n,a){return(0,ef.E)(a.type,e_,n,a)}ek.displayName="TabsActionsContext";let eC=et.Fragment,eE=ex.AN.RenderStrategy|ex.AN.Static,eT=Object.assign((0,ex.yV)(function(n,a){var g,v;let j=(0,eo.M)(),{id:z=`headlessui-tabs-tab-${j}`,...H}=n,{orientation:W,activation:B,selectedIndex:K,tabs:ee,panels:es}=F("Tab"),ec=q("Tab"),ed=F("Tab"),eg=(0,et.useRef)(null),ev=(0,eu.T)(eg,a);(0,ei.e)(()=>ec.registerTab(eg),[ec,eg]);let ey=d("tabs"),eb=ee.indexOf(eg);-1===eb&&(eb=ey);let e_=eb===K,ew=(0,er.z)(n=>{var a;let g=n();if(g===ep.fE.Success&&"auto"===B){let n=null==(a=(0,em.r)(eg))?void 0:a.activeElement,g=ed.tabs.findIndex(a=>a.current===n);-1!==g&&ec.change(g)}return g}),ek=(0,er.z)(n=>{let a=ee.map(n=>n.current).filter(Boolean);if(n.key===en.R.Space||n.key===en.R.Enter){n.preventDefault(),n.stopPropagation(),ec.change(eb);return}switch(n.key){case en.R.Home:case en.R.PageUp:return n.preventDefault(),n.stopPropagation(),ew(()=>(0,ep.jA)(a,ep.TO.First));case en.R.End:case en.R.PageDown:return n.preventDefault(),n.stopPropagation(),ew(()=>(0,ep.jA)(a,ep.TO.Last))}if(ew(()=>(0,ef.E)(W,{vertical:()=>n.key===en.R.ArrowUp?(0,ep.jA)(a,ep.TO.Previous|ep.TO.WrapAround):n.key===en.R.ArrowDown?(0,ep.jA)(a,ep.TO.Next|ep.TO.WrapAround):ep.fE.Error,horizontal:()=>n.key===en.R.ArrowLeft?(0,ep.jA)(a,ep.TO.Previous|ep.TO.WrapAround):n.key===en.R.ArrowRight?(0,ep.jA)(a,ep.TO.Next|ep.TO.WrapAround):ep.fE.Error}))===ep.fE.Success)return n.preventDefault()}),eC=(0,et.useRef)(!1),eE=(0,er.z)(()=>{var n;eC.current||(eC.current=!0,null==(n=eg.current)||n.focus({preventScroll:!0}),ec.change(eb),(0,eh.Y)(()=>{eC.current=!1}))}),eT=(0,er.z)(n=>{n.preventDefault()}),eO=(0,et.useMemo)(()=>{var a;return{selected:e_,disabled:null!=(a=n.disabled)&&a}},[e_,n.disabled]),ej={ref:ev,onKeyDown:ek,onMouseDown:eT,onClick:eE,id:z,role:"tab",type:(0,el.f)(n,eg),"aria-controls":null==(v=null==(g=es[eb])?void 0:g.current)?void 0:v.id,"aria-selected":e_,tabIndex:e_?0:-1};return(0,ex.sY)({ourProps:ej,theirProps:H,slot:eO,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,ex.yV)(function(n,a){let{defaultIndex:g=0,vertical:v=!1,manual:j=!1,onChange:z,selectedIndex:H=null,...W}=n,B=v?"vertical":"horizontal",K=j?"manual":"auto",ee=null!==H,en=(0,es.E)({isControlled:ee}),eo=(0,eu.T)(a),[el,ec]=(0,et.useReducer)(fe,{info:en,selectedIndex:null!=H?H:g,tabs:[],panels:[]}),ed=(0,et.useMemo)(()=>({selectedIndex:el.selectedIndex}),[el.selectedIndex]),ef=(0,es.E)(z||(()=>{})),eh=(0,es.E)(el.tabs),em=(0,et.useMemo)(()=>({orientation:B,activation:K,...el}),[B,K,el]),eg=(0,er.z)(n=>(ec({type:1,tab:n}),()=>ec({type:2,tab:n}))),ev=(0,er.z)(n=>(ec({type:3,panel:n}),()=>ec({type:4,panel:n}))),ey=(0,er.z)(n=>{eb.current!==n&&ef.current(n),ee||ec({type:0,index:n})}),eb=(0,es.E)(ee?n.selectedIndex:el.selectedIndex),e_=(0,et.useMemo)(()=>({registerTab:eg,registerPanel:ev,change:ey}),[]);return(0,ei.e)(()=>{ec({type:0,index:null!=H?H:g})},[H]),(0,ei.e)(()=>{if(void 0===eb.current||el.tabs.length<=0)return;let n=(0,ep.z2)(el.tabs,n=>n.current);n.some((n,a)=>el.tabs[a]!==n)&&ey(n.indexOf(el.tabs[eb.current]))}),et.createElement(C,null,et.createElement(ek.Provider,{value:e_},et.createElement(ew.Provider,{value:em},em.tabs.length<=0&&et.createElement(focus_sentinel_b,{onFocus:()=>{var n,a;for(let g of eh.current)if((null==(n=g.current)?void 0:n.tabIndex)===0)return null==(a=g.current)||a.focus(),!0;return!1}}),(0,ex.sY)({ourProps:{ref:eo},theirProps:W,slot:ed,defaultTag:eC,name:"Tabs"}))))}),List:(0,ex.yV)(function(n,a){let{orientation:g,selectedIndex:v}=F("Tab.List"),j=(0,eu.T)(a);return(0,ex.sY)({ourProps:{ref:j,role:"tablist","aria-orientation":g},theirProps:n,slot:{selectedIndex:v},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,ex.yV)(function(n,a){let{selectedIndex:g}=F("Tab.Panels"),v=(0,eu.T)(a),j=(0,et.useMemo)(()=>({selectedIndex:g}),[g]);return(0,ex.sY)({ourProps:{ref:v},theirProps:n,slot:j,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,ex.yV)(function(n,a){var g,v,j,z;let H=(0,eo.M)(),{id:W=`headlessui-tabs-panel-${H}`,tabIndex:B=0,...K}=n,{selectedIndex:ee,tabs:en,panels:er}=F("Tab.Panel"),es=q("Tab.Panel"),el=(0,et.useRef)(null),ec=(0,eu.T)(el,a);(0,ei.e)(()=>es.registerPanel(el),[es,el,W]);let ep=d("panels"),ef=er.indexOf(el);-1===ef&&(ef=ep);let eh=ef===ee,em=(0,et.useMemo)(()=>({selected:eh}),[eh]),eg={ref:ec,id:W,role:"tabpanel","aria-labelledby":null==(v=null==(g=en[ef])?void 0:g.current)?void 0:v.id,tabIndex:eh?B:-1};return eh||null!=(j=K.unmount)&&!j||null!=(z=K.static)&&z?(0,ex.sY)({ourProps:eg,theirProps:K,slot:em,defaultTag:"div",features:eE,visible:eh,name:"Tabs.Panel"}):et.createElement(ed._,{as:"span","aria-hidden":"true",...eg})})});function isTabObjectItem(n){return!!n&&"object"==typeof n&&"label"in n}function Tab({children:n,...a}){return(0,W.jsx)(eT.Panel,{...a,className:"nx-rounded nx-pt-6",children:n})}var eO=Object.assign(function({items:n,selectedIndex:a,defaultIndex:g=0,onChange:v,children:j,storageKey:z}){let[B,K]=(0,et.useState)(g);(0,et.useEffect)(()=>{void 0!==a&&K(a)},[a]),(0,et.useEffect)(()=>{if(!z)return;function fn(n){n.key===z&&K(Number(n.newValue))}let n=Number(localStorage.getItem(z));return K(Number.isNaN(n)?0:n),window.addEventListener("storage",fn),()=>{window.removeEventListener("storage",fn)}},[]);let ee=(0,et.useCallback)(n=>{if(z){let a=String(n);localStorage.setItem(z,a),window.dispatchEvent(new StorageEvent("storage",{key:z,newValue:a}));return}K(n),v?.(n)},[]);return(0,W.jsxs)(eT.Group,{selectedIndex:B,defaultIndex:g,onChange:ee,children:[(0,W.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,W.jsx)(eT.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:n.map((n,a)=>{let g=isTabObjectItem(n)&&n.disabled;return(0,W.jsx)(eT,{disabled:g,className:({selected:n})=>(0,H.Z)("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",n?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",g&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:isTabObjectItem(n)?n.label:n},a)})})}),(0,W.jsx)(eT.Panels,{children:j})]})},{displayName:"Tabs",Tab}),Td=({className:n="",...a})=>(0,W.jsx)("td",{className:(0,H.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",n),...a}),Table=({className:n="",...a})=>(0,W.jsx)("table",{className:(0,H.Z)("nx-block nx-overflow-x-scroll",n),...a}),Th=({className:n="",...a})=>(0,W.jsx)("th",{className:(0,H.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",n),...a}),Tr=({className:n="",...a})=>(0,W.jsx)("tr",{className:(0,H.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",n),...a}),ej=g(1664),eS=g.n(ej),eI={cards:(0,H.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,H.Z)("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:(0,H.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},eP=(0,W.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:n,num:a=3,className:g,style:v,...j}){return(0,W.jsx)("div",{className:(0,H.Z)(eI.cards,g),...j,style:{...v,"--rows":a},children:n})},{displayName:"Cards",Card:function({children:n,title:a,icon:g,image:v,arrow:j,href:z,...B}){let K=j?eP:null;return v?(0,W.jsxs)(eS(),{href:z,className:(0,H.Z)(eI.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...B,children:[n,(0,W.jsxs)("span",{className:(0,H.Z)(eI.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[g,(0,W.jsxs)("span",{className:"nx-flex nx-gap-1",children:[a,K]})]})]}):(0,W.jsx)(eS(),{href:z,className:(0,H.Z)(eI.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...B,children:(0,W.jsxs)("span",{className:(0,H.Z)(eI.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[g,a,K]})})}});var eN=(0,et.createContext)(0);function useIndent(){return(0,et.useContext)(eN)}function Ident(){let n=useIndent();return(0,W.jsx)(W.Fragment,{children:Array.from({length:n},(n,a)=>(0,W.jsx)("span",{className:"nx-w-5"},a))})}var eZ=(0,et.memo)(({label:n,name:a,open:g,children:v,defaultOpen:j=!1,onToggle:z})=>{let H=useIndent(),[B,K]=(0,et.useState)(j),ee=(0,et.useCallback)(()=>{z?.(!B),K(!B)},[B,z]),en=void 0===g?B:g;return(0,W.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,W.jsxs)("button",{onClick:ee,title:a,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,W.jsx)(Ident,{}),(0,W.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,W.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:en?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,W.jsx)("span",{className:"nx-ml-1",children:n??a})]}),en&&(0,W.jsx)("ul",{children:(0,W.jsx)(eN.Provider,{value:H+1,children:v})})]})});eZ.displayName="Folder";var eR=(0,et.memo)(({label:n,name:a,active:g})=>(0,W.jsx)("li",{className:(0,H.Z)("nx-flex nx-list-none",g&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,W.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,W.jsx)(Ident,{}),(0,W.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,W.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,W.jsx)("span",{className:"nx-ml-1",children:n??a})]})}));eR.displayName="File",Object.assign(function({children:n}){return(0,W.jsx)("div",{className:(0,H.Z)("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,W.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:n})})},{Folder:eZ,File:eR})},4861:function(n,a,g){"use strict";g.d(a,{LZ:function(){return ArrowRightIcon},nQ:function(){return CheckIcon},TI:function(){return CopyIcon},D7:function(){return DiscordIcon},Qq:function(){return ExpandIcon},fy:function(){return GitHubIcon},n9:function(){return GlobeIcon},AV:function(){return InformationCircleIcon},Oq:function(){return MenuIcon},kL:function(){return MoonIcon},L4:function(){return SpinnerIcon},NW:function(){return SunIcon},NK:function(){return WordWrapIcon},b0:function(){return XIcon}});var v=g(5893);function ArrowRightIcon({pathClassName:n,...a}){return(0,v.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...a,children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:n})})}function CheckIcon(n){return(0,v.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function CopyIcon(n){return(0,v.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...n,children:[(0,v.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,v.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function DiscordIcon(n){return(0,v.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...n,children:[(0,v.jsx)("title",{children:"Discord"}),(0,v.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function ExpandIcon({isOpen:n,...a}){return(0,v.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...a,children:[(0,v.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:n?"":"nx-origin-[35%] nx-rotate-180"}),(0,v.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function GitHubIcon(n){return(0,v.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...n,children:[(0,v.jsx)("title",{children:"GitHub"}),(0,v.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function GlobeIcon(n){return(0,v.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function InformationCircleIcon(n){return(0,v.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function MenuIcon(n){return(0,v.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...n,children:[(0,v.jsx)("g",{children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,v.jsx)("g",{children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function MoonIcon(n){return(0,v.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...n,children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function SpinnerIcon(n){return(0,v.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...n,children:[(0,v.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,v.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function SunIcon(n){return(0,v.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...n,children:(0,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function WordWrapIcon(n){return(0,v.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...n,children:(0,v.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function XIcon(n){return(0,v.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...n,children:(0,v.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}},2643:function(n,a,g){"use strict";g.d(a,{Z:function(){return MDXProvider},a:function(){return mdx_useMDXComponents}});var v=g(7294);let j=v.createContext({});function useMDXComponents(n){let a=v.useContext(j);return v.useMemo(()=>"function"==typeof n?n(a):{...a,...n},[a,n])}let z={};function MDXProvider({components:n,children:a,disableParentContext:g}){let H;return H=g?"function"==typeof n?n({}):n||z:useMDXComponents(n),v.createElement(j.Provider,{value:H},a)}var H=g(5675),W=g.n(H),B={img:n=>(0,v.createElement)("object"==typeof n.src?W():"img",n)},mdx_useMDXComponents=n=>useMDXComponents({...B,...n})},2673:function(n,a,g){"use strict";g.d(a,{j:function(){return setupNextraPage}});var v,j=g(9208),z=g.n(j),H=g(7222),W=g(7294);g(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(n){var a=Date.now();return setTimeout(function(){n({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-a))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(n){clearTimeout(n)}),g(2643);var B=g(5893),K=(0,W.createContext)(!1),ee=g(1163);function Nextra({__nextra_pageMap:n,__nextra_dynamic_opts:a,...g}){let{context:v,Layout:j}=function(){let n=globalThis[H.eZ],{route:a}=(0,ee.useRouter)();(0,W.useState)({})[1];let g=n.context[a];if(!g)throw Error("No content found for the current route. This is a Nextra bug.");return{context:g,Layout:n.Layout}}(),{Content:z,...et}=v;if(n&&(et.pageOpts={...et.pageOpts,pageMap:n}),a){let{headings:n,title:g,frontMatter:v}=JSON.parse(a);et.pageOpts={...et.pageOpts,headings:n,title:g,frontMatter:v}}return(0,B.jsx)(j,{...et,pageProps:g,children:(0,B.jsx)(K.Provider,{value:g,children:(0,B.jsx)(z,{...g})})})}var et=g(2520),en=g(3859),er=g(6107);function pageTitleFromFilename(n){return er(n.replaceAll(/[-_]/g," "))}function isFolder(n){return!!n&&"object"==typeof n&&"folder"===n.type}function normalizeMetaData(n){return Object.fromEntries(Object.entries(n).map(([n,a])=>{if(isFolder(a)){let g=n.replace("/","");return[g,a.title||pageTitleFromFilename(g)]}return[n,a||pageTitleFromFilename(n)]}))}function setupNextraPage({pageNextRoute:n,pageOpts:a,nextraLayout:g,themeConfig:j,MDXContent:W,hot:B,pageOptsChecksum:K,dynamicMetaModules:ee=[]}){var er;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(v)return v;let n=JSON.parse(JSON.stringify(eo.pageMap));return await Promise.all(ee.map(async([a,{metaObjectKeyPath:g,metaParentKeyPath:v}])=>{let j=await a,H=await j.default(),W=z()(n,g);W.data=H;let B=z()(n,v);!function collectCatchAllRoutes(n,a,g=!0){if(g){collectCatchAllRoutes(n,{kind:"Meta",data:a.data,locale:a.locale},!1),a.data=normalizeMetaData(a.data);return}for(let[g,j]of Object.entries(a.data)){if(!isFolder(j)){var v;if("*"===g)continue;n.children.push({kind:"MdxPage",...a.locale&&{locale:a.locale},name:g,route:(v=n.route,en(et.join(v,g.replace(/^index$/,""))))});continue}let z=g.replace("/",""),H={kind:"Folder",name:z,route:`${n.route}/${z}`,children:[{kind:"Meta",...a.locale&&{locale:a.locale},data:normalizeMetaData(j.items)}]};n.children.push(H),collectCatchAllRoutes(H,{kind:"Meta",data:j.items,locale:a.locale},!1)}}(B,W)})),v=n});let eo=globalThis[er=H.eZ]||(globalThis[er]=Object.create(null));return a.pageMap?(eo.pageMap=a.pageMap,eo.Layout=g):(a={...a,pageMap:eo.pageMap,flexsearch:eo.flexsearch},j=eo.themeConfig),a={frontMatter:{},...a},eo.route=a.route,eo.context||(eo.context=Object.create(null)),eo.context[n]={Content:W,pageOpts:a,themeConfig:j},Nextra}},6008:function(n,a,g){"use strict";var v=g(2337);n.exports=function(n){var a={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:n,query:{},parse_failed:!1};try{var g=new URL(n);a.protocols=v(g),a.protocol=a.protocols[0],a.port=g.port,a.resource=g.hostname,a.host=g.host,a.user=g.username||"",a.password=g.password||"",a.pathname=g.pathname,a.hash=g.hash.slice(1),a.search=g.search.slice(1),a.href=g.href,a.query=Object.fromEntries(g.searchParams)}catch(g){a.protocols=["file"],a.protocol=a.protocols[0],a.port="",a.resource="",a.user="",a.pathname="",a.hash="",a.search="",a.href=n,a.query={},a.parse_failed=!0}return a}},3905:function(n,a,g){"use strict";var v=g(6008),j=v&&"object"==typeof v&&"default"in v?v:{default:v};let testParameter=(n,a)=>a.some(a=>a instanceof RegExp?a.test(n):a===n),normalizeDataURL=(n,{stripHash:a})=>{let g=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(n);if(!g)throw Error(`Invalid URL: ${n}`);let{type:v,data:j,hash:z}=g.groups,H=v.split(";");z=a?"":z;let W=!1;"base64"===H[H.length-1]&&(H.pop(),W=!0);let B=(H.shift()||"").toLowerCase(),K=H.map(n=>{let[a,g=""]=n.split("=").map(n=>n.trim());return"charset"===a&&"us-ascii"===(g=g.toLowerCase())?"":`${a}${g?`=${g}`:""}`}).filter(Boolean),ee=[...K];return W&&ee.push("base64"),(ee.length>0||B&&"text/plain"!==B)&&ee.unshift(B),`data:${ee.join(";")},${W?j.trim():j}${z?`#${z}`:""}`},parseUrl=(n,a=!1)=>{let throwErr=a=>{let g=Error(a);throw g.subject_url=n,g};"string"==typeof n&&n.trim()||throwErr("Invalid url."),n.length>parseUrl.MAX_INPUT_LENGTH&&throwErr("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),a&&("object"!=typeof a&&(a={stripHash:!1}),n=function(n,a){if(a={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...a},n=n.trim(),/^data:/i.test(n))return normalizeDataURL(n,a);if(/^view-source:/i.test(n))throw Error("`view-source:` is not supported as it is a non-standard protocol");let g=n.startsWith("//"),v=!g&&/^\.*\//.test(n);v||(n=n.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,a.defaultProtocol));let j=new URL(n);if(a.forceHttp&&a.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(a.forceHttp&&"https:"===j.protocol&&(j.protocol="http:"),a.forceHttps&&"http:"===j.protocol&&(j.protocol="https:"),a.stripAuthentication&&(j.username="",j.password=""),a.stripHash?j.hash="":a.stripTextFragment&&(j.hash=j.hash.replace(/#?:~:text.*?$/i,"")),j.pathname){let n=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,a=0,g="";for(;;){let v=n.exec(j.pathname);if(!v)break;let z=v[0],H=v.index,W=j.pathname.slice(a,H);g+=W.replace(/\/{2,}/g,"/")+z,a=H+z.length}let v=j.pathname.slice(a,j.pathname.length);g+=v.replace(/\/{2,}/g,"/"),j.pathname=g}if(j.pathname)try{j.pathname=decodeURI(j.pathname)}catch{}if(!0===a.removeDirectoryIndex&&(a.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(a.removeDirectoryIndex)&&a.removeDirectoryIndex.length>0){let n=j.pathname.split("/"),g=n[n.length-1];testParameter(g,a.removeDirectoryIndex)&&(n=n.slice(0,-1),j.pathname=n.slice(1).join("/")+"/")}if(j.hostname&&(j.hostname=j.hostname.replace(/\.$/,""),a.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(j.hostname)&&(j.hostname=j.hostname.replace(/^www\./,""))),Array.isArray(a.removeQueryParameters))for(let n of[...j.searchParams.keys()])testParameter(n,a.removeQueryParameters)&&j.searchParams.delete(n);if(!0===a.removeQueryParameters&&(j.search=""),a.sortQueryParameters){j.searchParams.sort();try{j.search=decodeURIComponent(j.search)}catch{}}a.removeTrailingSlash&&(j.pathname=j.pathname.replace(/\/$/,""));let z=n;return n=j.toString(),a.removeSingleSlash||"/"!==j.pathname||z.endsWith("/")||""!==j.hash||(n=n.replace(/\/$/,"")),(a.removeTrailingSlash||"/"===j.pathname)&&""===j.hash&&a.removeSingleSlash&&(n=n.replace(/\/$/,"")),g&&!a.normalizeProtocol&&(n=n.replace(/^http:\/\//,"//")),a.stripProtocol&&(n=n.replace(/^(?:https?:)?\/\//,"")),n}(n,a));let g=j.default(n);if(g.parse_failed){let n=g.href.match(/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/);n?(g.protocols=["ssh"],g.protocol="ssh",g.resource=n[2],g.host=n[2],g.user=n[1],g.pathname=`/${n[3]}`,g.parse_failed=!1):throwErr("URL parsing failed.")}return g};parseUrl.MAX_INPUT_LENGTH=2048,n.exports=parseUrl},2520:function(n,a,g){"use strict";var v=g(4155),j="win32"===v.platform,z=g(9539);function normalizeArray(n,a){for(var g=[],v=0;v=0&&!n[v];v--);return 0===g&&v===a?n:g>v?[]:n.slice(g,v+1)}var H=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,W=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,B={};function win32SplitPath(n){var a=H.exec(n),g=(a[1]||"")+(a[2]||""),v=a[3]||"",j=W.exec(v);return[g,j[1],j[2],j[3]]}function win32StatPath(n){var a=H.exec(n),g=a[1]||"",v=!!g&&":"!==g[1];return{device:g,isUnc:v,isAbsolute:v||!!a[2],tail:a[3]}}function normalizeUNCRoot(n){return"\\\\"+n.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}B.resolve=function(){for(var n="",a="",g=!1,j=arguments.length-1;j>=-1;j--){if(j>=0?H=arguments[j]:n?(H=v.env["="+n])&&H.substr(0,3).toLowerCase()===n.toLowerCase()+"\\"||(H=n+"\\"):H=v.cwd(),z.isString(H)){if(!H)continue}else throw TypeError("Arguments to path.resolve must be strings");var H,W=win32StatPath(H),B=W.device,K=W.isUnc,ee=W.isAbsolute,et=W.tail;if((!B||!n||B.toLowerCase()===n.toLowerCase())&&(n||(n=B),g||(a=et+"\\"+a,g=ee),n&&g))break}return K&&(n=normalizeUNCRoot(n)),a=normalizeArray(a.split(/[\\\/]+/),!g).join("\\"),n+(g?"\\":"")+a||"."},B.normalize=function(n){var a=win32StatPath(n),g=a.device,v=a.isUnc,j=a.isAbsolute,z=a.tail,H=/[\\\/]$/.test(z);return(z=normalizeArray(z.split(/[\\\/]+/),!j).join("\\"))||j||(z="."),z&&H&&(z+="\\"),v&&(g=normalizeUNCRoot(g)),g+(j?"\\":"")+z},B.isAbsolute=function(n){return win32StatPath(n).isAbsolute},B.join=function(){for(var n=[],a=0;a=-1&&!a;g--){var j=g>=0?arguments[g]:v.cwd();if(z.isString(j)){if(!j)continue}else throw TypeError("Arguments to path.resolve must be strings");n=j+"/"+n,a="/"===j[0]}return n=normalizeArray(n.split("/"),!a).join("/"),(a?"/":"")+n||"."},ee.normalize=function(n){var a=ee.isAbsolute(n),g=n&&"/"===n[n.length-1];return(n=normalizeArray(n.split("/"),!a).join("/"))||a||(n="."),n&&g&&(n+="/"),(a?"/":"")+n},ee.isAbsolute=function(n){return"/"===n.charAt(0)},ee.join=function(){for(var n="",a=0;a1)for(var g=1;g{let a=/^\\\\\?\\/.test(n),g=/[^\u0000-\u0080]+/.test(n);return a||g?n:n.replace(/\\/g,"/")}},6107:function(n,a,g){let v=g(1439),j=g(7224),z="[^\\s'’\\(\\)!?;:\"-]",H=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${z}))|(${z}))(${z}*[’']*${z}*)`,"g"),convertToRegExp=n=>n.map(n=>[RegExp(`\\b${n}\\b`,"gi"),n]);n.exports=(n,a={})=>{n=n.toLowerCase().replace(H,(n,a="",g,j,z,H,W)=>{let B=n.length+H>=W.length,K=function(n){let a=n[0];return/\s/.test(a)?n.slice(1):/[\(\)]/.test(a)?null:n}(n);return K?!g&&v.has(j+z)&&!B?K:a+(j||g).toUpperCase()+z:n});let g=a.special||[],z=[...j,...g],W=convertToRegExp(z);return W.forEach(([a,g])=>{n=n.replace(a,g)}),n}},1439:function(n){n.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},7224:function(n){n.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},1496:function(n){"function"==typeof Object.create?n.exports=function(n,a){n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(n,a){n.super_=a;var TempCtor=function(){};TempCtor.prototype=a.prototype,n.prototype=new TempCtor,n.prototype.constructor=n}},384:function(n){n.exports=function(n){return n&&"object"==typeof n&&"function"==typeof n.copy&&"function"==typeof n.fill&&"function"==typeof n.readUInt8}},9539:function(n,a,g){var v,j=g(4155),z=/%[sdj%]/g;a.format=function(n){if(!isString(n)){for(var a=[],g=0;g=j)return n;switch(n){case"%s":return String(v[g++]);case"%d":return Number(v[g++]);case"%j":try{return JSON.stringify(v[g++])}catch(n){return"[Circular]"}default:return n}}),W=v[g];g=3&&(v.depth=arguments[2]),arguments.length>=4&&(v.colors=arguments[3]),isBoolean(g)?v.showHidden=g:g&&a._extend(v,g),isUndefined(v.showHidden)&&(v.showHidden=!1),isUndefined(v.depth)&&(v.depth=2),isUndefined(v.colors)&&(v.colors=!1),isUndefined(v.customInspect)&&(v.customInspect=!0),v.colors&&(v.stylize=stylizeWithColor),formatValue(v,n,v.depth)}function stylizeWithColor(n,a){var g=inspect.styles[a];return g?"\x1b["+inspect.colors[g][0]+"m"+n+"\x1b["+inspect.colors[g][1]+"m":n}function stylizeNoColor(n,a){return n}function formatValue(n,g,v){if(n.customInspect&&g&&isFunction(g.inspect)&&g.inspect!==a.inspect&&!(g.constructor&&g.constructor.prototype===g)){var j,z,H,W,B,K=g.inspect(v,n);return isString(K)||(K=formatValue(n,K,v)),K}var ee=function(n,a){if(isUndefined(a))return n.stylize("undefined","undefined");if(isString(a)){var g="'"+JSON.stringify(a).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(g,"string")}return isNumber(a)?n.stylize(""+a,"number"):isBoolean(a)?n.stylize(""+a,"boolean"):isNull(a)?n.stylize("null","null"):void 0}(n,g);if(ee)return ee;var et=Object.keys(g),en=(W={},et.forEach(function(n,a){W[n]=!0}),W);if(n.showHidden&&(et=Object.getOwnPropertyNames(g)),isError(g)&&(et.indexOf("message")>=0||et.indexOf("description")>=0))return formatError(g);if(0===et.length){if(isFunction(g)){var er=g.name?": "+g.name:"";return n.stylize("[Function"+er+"]","special")}if(isRegExp(g))return n.stylize(RegExp.prototype.toString.call(g),"regexp");if(isDate(g))return n.stylize(Date.prototype.toString.call(g),"date");if(isError(g))return formatError(g)}var eo="",ei=!1,es=["{","}"];return(isArray(g)&&(ei=!0,es=["[","]"]),isFunction(g)&&(eo=" [Function"+(g.name?": "+g.name:"")+"]"),isRegExp(g)&&(eo=" "+RegExp.prototype.toString.call(g)),isDate(g)&&(eo=" "+Date.prototype.toUTCString.call(g)),isError(g)&&(eo=" "+formatError(g)),0!==et.length||ei&&0!=g.length)?v<0?isRegExp(g)?n.stylize(RegExp.prototype.toString.call(g),"regexp"):n.stylize("[Object]","special"):(n.seen.push(g),B=ei?function(n,a,g,v,j){for(var z=[],H=0,W=a.length;H=0&&H++,n+a.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?z[0]+(""===j?"":j+"\n ")+" "+B.join(",\n ")+" "+z[1]:z[0]+j+" "+B.join(", ")+" "+z[1]):es[0]+eo+es[1]}function formatError(n){return"["+Error.prototype.toString.call(n)+"]"}function formatProperty(n,a,g,v,j,z){var H,W,B;if((B=Object.getOwnPropertyDescriptor(a,j)||{value:a[j]}).get?W=B.set?n.stylize("[Getter/Setter]","special"):n.stylize("[Getter]","special"):B.set&&(W=n.stylize("[Setter]","special")),hasOwnProperty(v,j)||(H="["+j+"]"),!W&&(0>n.seen.indexOf(B.value)?(W=isNull(g)?formatValue(n,B.value,null):formatValue(n,B.value,g-1)).indexOf("\n")>-1&&(W=z?W.split("\n").map(function(n){return" "+n}).join("\n").substr(2):"\n"+W.split("\n").map(function(n){return" "+n}).join("\n")):W=n.stylize("[Circular]","special")),isUndefined(H)){if(z&&j.match(/^\d+$/))return W;(H=JSON.stringify(""+j)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(H=H.substr(1,H.length-2),H=n.stylize(H,"name")):(H=H.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),H=n.stylize(H,"string"))}return H+": "+W}function isArray(n){return Array.isArray(n)}function isBoolean(n){return"boolean"==typeof n}function isNull(n){return null===n}function isNumber(n){return"number"==typeof n}function isString(n){return"string"==typeof n}function isUndefined(n){return void 0===n}function isRegExp(n){return isObject(n)&&"[object RegExp]"===objectToString(n)}function isObject(n){return"object"==typeof n&&null!==n}function isDate(n){return isObject(n)&&"[object Date]"===objectToString(n)}function isError(n){return isObject(n)&&("[object Error]"===objectToString(n)||n instanceof Error)}function isFunction(n){return"function"==typeof n}function objectToString(n){return Object.prototype.toString.call(n)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}a.debuglog=function(n){if(isUndefined(v)&&(v=j.env.NODE_DEBUG||""),!H[n=n.toUpperCase()]){if(RegExp("\\b"+n+"\\b","i").test(v)){var g=j.pid;H[n]=function(){var v=a.format.apply(a,arguments);console.error("%s %d: %s",n,g,v)}}else H[n]=function(){}}return H[n]},a.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},a.isArray=isArray,a.isBoolean=isBoolean,a.isNull=isNull,a.isNullOrUndefined=function(n){return null==n},a.isNumber=isNumber,a.isString=isString,a.isSymbol=function(n){return"symbol"==typeof n},a.isUndefined=isUndefined,a.isRegExp=isRegExp,a.isObject=isObject,a.isDate=isDate,a.isError=isError,a.isFunction=isFunction,a.isPrimitive=function(n){return null===n||"boolean"==typeof n||"number"==typeof n||"string"==typeof n||"symbol"==typeof n||void 0===n},a.isBuffer=g(384);var W=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(n,a){return Object.prototype.hasOwnProperty.call(n,a)}a.log=function(){var n,g;console.log("%s - %s",(g=[pad((n=new Date).getHours()),pad(n.getMinutes()),pad(n.getSeconds())].join(":"),[n.getDate(),W[n.getMonth()],g].join(" ")),a.format.apply(a,arguments))},a.inherits=g(1496),a._extend=function(n,a){if(!a||!isObject(a))return n;for(var g=Object.keys(a),v=g.length;v--;)n[g[v]]=a[g[v]];return n}},2746:function(n,a,g){g(5893)},1363:function(n,a,g){"use strict";g.d(a,{R:function(){return j}});var v,j=((v=j||{}).Space=" ",v.Enter="Enter",v.Escape="Escape",v.Backspace="Backspace",v.Delete="Delete",v.ArrowLeft="ArrowLeft",v.ArrowUp="ArrowUp",v.ArrowRight="ArrowRight",v.ArrowDown="ArrowDown",v.Home="Home",v.End="End",v.PageUp="PageUp",v.PageDown="PageDown",v.Tab="Tab",v)},3781:function(n,a,g){"use strict";g.d(a,{z:function(){return o}});var v=g(7294),j=g(3855);let o=function(n){let a=(0,j.E)(n);return v.useCallback((...n)=>a.current(...n),[a])}},9946:function(n,a,g){"use strict";g.d(a,{M:function(){return B}});var v,j=g(7294),z=g(7896),H=g(6723),W=g(2180);let B=null!=(v=j.useId)?v:function(){let n=(0,W.H)(),[a,g]=j.useState(n?()=>z.O.nextId():null);return(0,H.e)(()=>{null===a&&g(z.O.nextId())},[a]),null!=a?""+a:void 0}},4879:function(n,a,g){"use strict";g.d(a,{t:function(){return f}});var v=g(7294),j=g(6723);function f(){let n=(0,v.useRef)(!1);return(0,j.e)(()=>(n.current=!0,()=>{n.current=!1}),[]),n}},6723:function(n,a,g){"use strict";g.d(a,{e:function(){return l}});var v=g(7294),j=g(7896);let l=(n,a)=>{j.O.isServer?(0,v.useEffect)(n,a):(0,v.useLayoutEffect)(n,a)}},3855:function(n,a,g){"use strict";g.d(a,{E:function(){return s}});var v=g(7294),j=g(6723);function s(n){let a=(0,v.useRef)(n);return(0,j.e)(()=>{a.current=n},[n]),a}},4157:function(n,a,g){"use strict";g.d(a,{f:function(){return T}});var v=g(7294),j=g(6723);function i(n){var a;if(n.type)return n.type;let g=null!=(a=n.as)?a:"button";if("string"==typeof g&&"button"===g.toLowerCase())return"button"}function T(n,a){let[g,z]=(0,v.useState)(()=>i(n));return(0,j.e)(()=>{z(i(n))},[n.type,n.as]),(0,j.e)(()=>{g||a.current&&a.current instanceof HTMLButtonElement&&!a.current.hasAttribute("type")&&z("button")},[g,a]),g}},2180:function(n,a,g){"use strict";g.d(a,{H:function(){return l}});var v,j=g(7294),z=g(7896);function l(){let n;let a=(n="undefined"==typeof document,(0,(v||(v=g.t(j,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!n)),[H,W]=j.useState(z.O.isHandoffComplete);return H&&!1===z.O.isHandoffComplete&&W(!1),j.useEffect(()=>{!0!==H&&W(!0)},[H]),j.useEffect(()=>z.O.handoff(),[]),!a&&H}},3784:function(n,a,g){"use strict";g.d(a,{T:function(){return y}});var v=g(7294),j=g(3781);let z=Symbol();function y(...n){let a=(0,v.useRef)(n);(0,v.useEffect)(()=>{a.current=n},[n]);let g=(0,j.z)(n=>{for(let g of a.current)null!=g&&("function"==typeof g?g(n):g.current=n)});return n.every(n=>null==n||(null==n?void 0:n[z]))?void 0:g}},6045:function(n,a,g){"use strict";g.d(a,{A:function(){return z},_:function(){return H}});var v,j=g(2351),z=((v=z||{})[v.None=1]="None",v[v.Focusable=2]="Focusable",v[v.Hidden=4]="Hidden",v);let H=(0,j.yV)(function(n,a){var g;let{features:v=1,...z}=n,H={ref:a,"aria-hidden":(2&v)==2||(null!=(g=z["aria-hidden"])?g:void 0),hidden:(4&v)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&v)==4&&(2&v)!=2&&{display:"none"}}};return(0,j.sY)({ourProps:H,theirProps:z,slot:{},defaultTag:"div",name:"Hidden"})})},4067:function(n,a,g){"use strict";function t(...n){return Array.from(new Set(n.flatMap(n=>"string"==typeof n?n.split(" "):[]))).filter(Boolean).join(" ")}g.d(a,{A:function(){return t}})},9362:function(n,a,g){"use strict";g.d(a,{k:function(){return function o(){let n=[],a={addEventListener:(n,g,v,j)=>(n.addEventListener(g,v,j),a.add(()=>n.removeEventListener(g,v,j))),requestAnimationFrame(...n){let g=requestAnimationFrame(...n);return a.add(()=>cancelAnimationFrame(g))},nextFrame:(...n)=>a.requestAnimationFrame(()=>a.requestAnimationFrame(...n)),setTimeout(...n){let g=setTimeout(...n);return a.add(()=>clearTimeout(g))},microTask(...n){let g={current:!0};return(0,v.Y)(()=>{g.current&&n[0]()}),a.add(()=>{g.current=!1})},style(n,a,g){let v=n.style.getPropertyValue(a);return Object.assign(n.style,{[a]:g}),this.add(()=>{Object.assign(n.style,{[a]:v})})},group(n){let a=o();return n(a),this.add(()=>a.dispose())},add:a=>(n.push(a),()=>{let g=n.indexOf(a);if(g>=0)for(let a of n.splice(g,1))a()}),dispose(){for(let a of n.splice(0))a()}};return a}}});var v=g(1021)},7896:function(n,a,g){"use strict";g.d(a,{O:function(){return j}});var v=Object.defineProperty,d=(n,a,g)=>a in n?v(n,a,{enumerable:!0,configurable:!0,writable:!0,value:g}):n[a]=g,r=(n,a,g)=>(d(n,"symbol"!=typeof a?a+"":a,g),g);let j=new class{constructor(){r(this,"current",this.detect()),r(this,"handoffState","pending"),r(this,"currentId",0)}set(n){this.current!==n&&(this.handoffState="pending",this.currentId=0,this.current=n)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},4575:function(n,a,g){"use strict";g.d(a,{EO:function(){return _},TO:function(){return en},fE:function(){return er},jA:function(){return O},sP:function(){return h},tJ:function(){return ei},wI:function(){return D},z2:function(){return I}});var v,j,z,H,W,B=g(9362),K=g(2984),ee=g(5466);let et=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(n=>`${n}:not([tabindex='-1'])`).join(",");var en=((v=en||{})[v.First=1]="First",v[v.Previous=2]="Previous",v[v.Next=4]="Next",v[v.Last=8]="Last",v[v.WrapAround=16]="WrapAround",v[v.NoScroll=32]="NoScroll",v),er=((j=er||{})[j.Error=0]="Error",j[j.Overflow=1]="Overflow",j[j.Success=2]="Success",j[j.Underflow=3]="Underflow",j),eo=((z=eo||{})[z.Previous=-1]="Previous",z[z.Next=1]="Next",z);function f(n=document.body){return null==n?[]:Array.from(n.querySelectorAll(et)).sort((n,a)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(a.tabIndex||Number.MAX_SAFE_INTEGER)))}var ei=((H=ei||{})[H.Strict=0]="Strict",H[H.Loose=1]="Loose",H);function h(n,a=0){var g;return n!==(null==(g=(0,ee.r)(n))?void 0:g.body)&&(0,K.E)(a,{0:()=>n.matches(et),1(){let a=n;for(;null!==a;){if(a.matches(et))return!0;a=a.parentElement}return!1}})}function D(n){let a=(0,ee.r)(n);(0,B.k)().nextFrame(()=>{a&&!h(a.activeElement,0)&&(null==n||n.focus({preventScroll:!0}))})}var es=((W=es||{})[W.Keyboard=0]="Keyboard",W[W.Mouse=1]="Mouse",W);function I(n,a=n=>n){return n.slice().sort((n,g)=>{let v=a(n),j=a(g);if(null===v||null===j)return 0;let z=v.compareDocumentPosition(j);return z&Node.DOCUMENT_POSITION_FOLLOWING?-1:z&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _(n,a){return O(f(),a,{relativeTo:n})}function O(n,a,{sorted:g=!0,relativeTo:v=null,skipElements:j=[]}={}){var z,H,W;let B=Array.isArray(n)?n.length>0?n[0].ownerDocument:document:n.ownerDocument,K=Array.isArray(n)?g?I(n):n:f(n);j.length>0&&K.length>1&&(K=K.filter(n=>!j.includes(n))),v=null!=v?v:B.activeElement;let ee=(()=>{if(5&a)return 1;if(10&a)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),et=(()=>{if(1&a)return 0;if(2&a)return Math.max(0,K.indexOf(v))-1;if(4&a)return Math.max(0,K.indexOf(v))+1;if(8&a)return K.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),en=32&a?{preventScroll:!0}:{},er=0,eo=K.length,ei;do{if(er>=eo||er+eo<=0)return 0;let n=et+er;if(16&a)n=(n+eo)%eo;else{if(n<0)return 3;if(n>=eo)return 1}null==(ei=K[n])||ei.focus(en),er+=ee}while(ei!==B.activeElement);return 6&a&&null!=(W=null==(H=null==(z=ei)?void 0:z.matches)?void 0:H.call(z,"textarea,input"))&&W&&ei.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",n=>{n.metaKey||n.altKey||n.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",n=>{1===n.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===n.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},2984:function(n,a,g){"use strict";function u(n,a,...g){if(n in a){let v=a[n];return"function"==typeof v?v(...g):v}let v=Error(`Tried to handle "${n}" but there is no handler defined. Only defined handlers are: ${Object.keys(a).map(n=>`"${n}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(v,u),v}g.d(a,{E:function(){return u}})},1021:function(n,a,g){"use strict";function t(n){"function"==typeof queueMicrotask?queueMicrotask(n):Promise.resolve().then(n).catch(n=>setTimeout(()=>{throw n}))}g.d(a,{Y:function(){return t}})},5466:function(n,a,g){"use strict";g.d(a,{r:function(){return o}});var v=g(7896);function o(n){return v.O.isServer?null:n instanceof Node?n.ownerDocument:null!=n&&n.hasOwnProperty("current")&&n.current instanceof Node?n.current.ownerDocument:document}},2351:function(n,a,g){"use strict";g.d(a,{AN:function(){return B},l4:function(){return K},oA:function(){return x},sY:function(){return C},yV:function(){return U}});var v,j,z=g(7294),H=g(4067),W=g(2984),B=((v=B||{})[v.None=0]="None",v[v.RenderStrategy=1]="RenderStrategy",v[v.Static=2]="Static",v),K=((j=K||{})[j.Unmount=0]="Unmount",j[j.Hidden=1]="Hidden",j);function C({ourProps:n,theirProps:a,slot:g,defaultTag:v,features:j,visible:z=!0,name:H,mergeRefs:B}){B=null!=B?B:k;let K=R(a,n);if(z)return m(K,g,v,H,B);let ee=null!=j?j:0;if(2&ee){let{static:n=!1,...a}=K;if(n)return m(a,g,v,H,B)}if(1&ee){let{unmount:n=!0,...a}=K;return(0,W.E)(n?0:1,{0:()=>null,1:()=>m({...a,hidden:!0,style:{display:"none"}},g,v,H,B)})}return m(K,g,v,H,B)}function m(n,a={},g,v,j){let{as:W=g,children:B,refName:K="ref",...ee}=F(n,["unmount","static"]),et=void 0!==n.ref?{[K]:n.ref}:{},en="function"==typeof B?B(a):B;"className"in ee&&ee.className&&"function"==typeof ee.className&&(ee.className=ee.className(a));let er={};if(a){let n=!1,g=[];for(let[v,j]of Object.entries(a))"boolean"==typeof j&&(n=!0),!0===j&&g.push(v);n&&(er["data-headlessui-state"]=g.join(" "))}if(W===z.Fragment&&Object.keys(x(ee)).length>0){if(!(0,z.isValidElement)(en)||Array.isArray(en)&&en.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${v} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ee).map(n=>` - ${n}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(n=>` - ${n}`).join(` +`)].join(` +`));let n=en.props,a="function"==typeof(null==n?void 0:n.className)?(...a)=>(0,H.A)(null==n?void 0:n.className(...a),ee.className):(0,H.A)(null==n?void 0:n.className,ee.className),g=a?{className:a}:{};return(0,z.cloneElement)(en,Object.assign({},R(en.props,x(F(ee,["ref"]))),er,et,{ref:j(en.ref,et.ref)},g))}return(0,z.createElement)(W,Object.assign({},F(ee,["ref"]),W!==z.Fragment&&et,W!==z.Fragment&&er),en)}function k(...n){return n.every(n=>null==n)?void 0:a=>{for(let g of n)null!=g&&("function"==typeof g?g(a):g.current=a)}}function R(...n){if(0===n.length)return{};if(1===n.length)return n[0];let a={},g={};for(let v of n)for(let n in v)n.startsWith("on")&&"function"==typeof v[n]?(null!=g[n]||(g[n]=[]),g[n].push(v[n])):a[n]=v[n];if(a.disabled||a["aria-disabled"])return Object.assign(a,Object.fromEntries(Object.keys(g).map(n=>[n,void 0])));for(let n in g)Object.assign(a,{[n](a,...v){for(let j of g[n]){if((a instanceof Event||(null==a?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;j(a,...v)}}});return a}function U(n){var a;return Object.assign((0,z.forwardRef)(n),{displayName:null!=(a=n.displayName)?a:n.name})}function x(n){let a=Object.assign({},n);for(let n in a)void 0===a[n]&&delete a[n];return a}function F(n,a=[]){let g=Object.assign({},n);for(let n of a)n in g&&delete g[n];return g}},512:function(n,a,g){"use strict";a.Z=function(){for(var n,a,g=0,v="",j=arguments.length;g