From 028b6a417c96e332d17804219a0c3d745bf398d8 Mon Sep 17 00:00:00 2001 From: samchon Date: Tue, 25 Jun 2024 15:50:37 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20samchon/?= =?UTF-8?q?tgrid@1482c9c55375f794cef67be3f15702861ee305c7=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- 404/index.html | 2 +- .../9IgcG9do3_cwxpDGw5359/_buildManifest.js | 1 - _next/static/chunks/150-94f7ac6572db6a51.js | 89 ------------------- _next/static/chunks/235-45cfd8dac781d887.js | 20 +++++ _next/static/chunks/528-58aa8d04a1d8af04.js | 16 ++++ _next/static/chunks/718-add7984c140a9b83.js | 23 ----- ...4cd66.js => framework-ecc4130bc7a58a64.js} | 2 +- _next/static/chunks/main-1c29ea127b6e522d.js | 6 ++ _next/static/chunks/main-e7f677954ac819e2.js | 6 -- _next/static/chunks/nextra-data-en-US.json | 2 +- ...ada9d31c64.js => _app-66f3d8d03a439937.js} | 2 +- ...d5f4b49e.js => _error-77823ddac6993d35.js} | 2 +- ...90366395b3.js => docs-b1731fbf42f83f3b.js} | 2 +- ...s => nestjs-websocket-f18d0b714959210c.js} | 2 +- ...ject-oriented-network-54a781412a63b4c4.js} | 2 +- ... remote-function-call-c3af045daa97a04d.js} | 2 +- ...=> remote-object-call-e421f7c71339473d.js} | 2 +- ...5bbc.js => components-59ffdbc404b410a7.js} | 2 +- ...e4cc8.js => websocket-2a6abd9ce88fc256.js} | 2 +- ...116fe883.js => worker-3c6fd937db218411.js} | 2 +- ...121751ba17.js => chat-3b0d83c918716627.js} | 2 +- ...332e96bb.js => market-564e97ead36c7ef6.js} | 2 +- ...dbb04cb42.js => mutex-183c0de9d4ad4ea4.js} | 2 +- ...remote-procedure-call-4f6a4161dc507d75.js} | 2 +- ...f2429a958.js => setup-ce7e62b8a04f6986.js} | 2 +- .../chunks/pages/index-0efe52ae1b46134a.js | 1 + .../chunks/pages/index-8328c4e70d9bbf16.js | 1 - .../chunks/polyfills-78c92fac7aa8fdd8.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 - .../z880NSPQVXDzucL2QI2tw/_buildManifest.js | 1 + .../_ssgManifest.js | 0 api/assets/icons.js | 31 ++++--- api/assets/icons.svg | 2 +- api/assets/main.js | 9 +- api/assets/search.js | 2 +- api/assets/style.css | 88 +++++++++++------- api/classes/Communicator.html | 34 +++---- api/classes/SharedWorkerAcceptor-1.html | 42 ++++----- api/classes/SharedWorkerConnector-1.html | 44 ++++----- api/classes/SharedWorkerServer-1.html | 24 ++--- api/classes/WebSocketAcceptor-1.html | 54 +++++------ api/classes/WebSocketConnector-1.html | 46 +++++----- api/classes/WebSocketError.html | 18 ++-- api/classes/WebSocketServer-1.html | 28 +++--- api/classes/WorkerConnector-1.html | 58 ++++++------ api/classes/WorkerServer-1.html | 38 ++++---- api/enums/WebSocketAcceptor.State.html | 6 +- api/enums/WebSocketConnector.State.html | 6 +- api/enums/WebSocketServer.State.html | 4 +- .../SharedWorkerConnector.compile.html | 4 +- .../SharedWorkerConnector.remove.html | 4 +- api/hierarchy.html | 2 +- api/index.html | 54 ++++++----- api/interfaces/Invoke.IFunction.html | 12 +-- api/interfaces/Invoke.IParameter.html | 4 +- api/interfaces/Invoke.IReturn.html | 12 +-- ...SharedWorkerConnector.IConnectOptions.html | 8 +- .../WebSocketConnector.IConnectOptions.html | 8 +- .../WorkerConnector.IConnectOptions.html | 13 +-- api/modules.html | 4 +- api/modules/Invoke.html | 4 +- api/modules/SharedWorkerAcceptor.html | 4 +- api/modules/SharedWorkerConnector.html | 4 +- api/modules/SharedWorkerServer.html | 4 +- api/modules/WebSocketAcceptor.html | 4 +- api/modules/WebSocketConnector.html | 4 +- api/modules/WebSocketServer.html | 4 +- api/modules/WorkerConnector.html | 4 +- api/modules/WorkerServer.html | 4 +- api/modules/default.html | 4 +- api/types/Driver.html | 10 +-- api/types/Invoke-1.html | 6 +- api/types/Primitive.html | 16 ++-- api/types/Promisive.html | 4 +- api/variables/Driver-1.html | 2 +- docs/examples/nestjs-websocket/index.html | 4 +- .../object-oriented-network/index.html | 4 +- docs/examples/remote-function-call/index.html | 4 +- docs/examples/remote-object-call/index.html | 4 +- docs/features/components/index.html | 4 +- docs/features/websocket/index.html | 4 +- docs/features/worker/index.html | 4 +- docs/index.html | 4 +- docs/projects/chat/index.html | 4 +- docs/projects/market/index.html | 4 +- docs/projects/mutex/index.html | 4 +- docs/remote-procedure-call/index.html | 4 +- docs/setup/index.html | 4 +- index.html | 4 +- 90 files changed, 481 insertions(+), 516 deletions(-) delete mode 100644 _next/static/9IgcG9do3_cwxpDGw5359/_buildManifest.js delete mode 100644 _next/static/chunks/150-94f7ac6572db6a51.js create mode 100644 _next/static/chunks/235-45cfd8dac781d887.js create mode 100644 _next/static/chunks/528-58aa8d04a1d8af04.js delete mode 100644 _next/static/chunks/718-add7984c140a9b83.js rename _next/static/chunks/{framework-03cd576e71e4cd66.js => framework-ecc4130bc7a58a64.js} (98%) create mode 100644 _next/static/chunks/main-1c29ea127b6e522d.js delete mode 100644 _next/static/chunks/main-e7f677954ac819e2.js rename _next/static/chunks/pages/{_app-545b1dada9d31c64.js => _app-66f3d8d03a439937.js} (74%) rename _next/static/chunks/pages/{_error-5a00309fd5f4b49e.js => _error-77823ddac6993d35.js} (74%) rename _next/static/chunks/pages/{docs-3b6c9890366395b3.js => docs-b1731fbf42f83f3b.js} (98%) rename _next/static/chunks/pages/docs/examples/{nestjs-websocket-66e135d7fd9f61c1.js => nestjs-websocket-f18d0b714959210c.js} (99%) rename _next/static/chunks/pages/docs/examples/{object-oriented-network-e4063e6c0e70d856.js => object-oriented-network-54a781412a63b4c4.js} (99%) rename _next/static/chunks/pages/docs/examples/{remote-function-call-43b2dd33ed1d77a0.js => remote-function-call-c3af045daa97a04d.js} (99%) rename _next/static/chunks/pages/docs/examples/{remote-object-call-281df5e47d639f67.js => remote-object-call-e421f7c71339473d.js} (99%) rename _next/static/chunks/pages/docs/features/{components-eb29e08f683f5bbc.js => components-59ffdbc404b410a7.js} (99%) rename _next/static/chunks/pages/docs/features/{websocket-a19a48228b0e4cc8.js => websocket-2a6abd9ce88fc256.js} (99%) rename _next/static/chunks/pages/docs/features/{worker-e0927ad2116fe883.js => worker-3c6fd937db218411.js} (99%) rename _next/static/chunks/pages/docs/projects/{chat-f6ebe7121751ba17.js => chat-3b0d83c918716627.js} (95%) rename _next/static/chunks/pages/docs/projects/{market-caf28b83332e96bb.js => market-564e97ead36c7ef6.js} (95%) rename _next/static/chunks/pages/docs/projects/{mutex-b8649dfdbb04cb42.js => mutex-183c0de9d4ad4ea4.js} (95%) rename _next/static/chunks/pages/docs/{remote-procedure-call-ead0d449f374e251.js => remote-procedure-call-4f6a4161dc507d75.js} (99%) rename _next/static/chunks/pages/docs/{setup-50f4acbf2429a958.js => setup-ce7e62b8a04f6986.js} (97%) create mode 100644 _next/static/chunks/pages/index-0efe52ae1b46134a.js delete mode 100644 _next/static/chunks/pages/index-8328c4e70d9bbf16.js create mode 100644 _next/static/chunks/polyfills-78c92fac7aa8fdd8.js delete mode 100644 _next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 _next/static/z880NSPQVXDzucL2QI2tw/_buildManifest.js rename _next/static/{9IgcG9do3_cwxpDGw5359 => z880NSPQVXDzucL2QI2tw}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index 205528e..e04c6d0 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/404/index.html b/404/index.html index 205528e..e04c6d0 100644 --- a/404/index.html +++ b/404/index.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/9IgcG9do3_cwxpDGw5359/_buildManifest.js b/_next/static/9IgcG9do3_cwxpDGw5359/_buildManifest.js deleted file mode 100644 index 07bff74..0000000 --- a/_next/static/9IgcG9do3_cwxpDGw5359/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -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-94f7ac6572db6a51.js","static/chunks/pages/index-8328c4e70d9bbf16.js"],"/_error":["static/chunks/pages/_error-5a00309fd5f4b49e.js"],"/docs":[e,s,"static/chunks/pages/docs-3b6c9890366395b3.js"],"/docs/examples/nestjs-websocket":[e,s,"static/chunks/pages/docs/examples/nestjs-websocket-66e135d7fd9f61c1.js"],"/docs/examples/object-oriented-network":[e,s,"static/chunks/pages/docs/examples/object-oriented-network-e4063e6c0e70d856.js"],"/docs/examples/remote-function-call":[e,s,"static/chunks/pages/docs/examples/remote-function-call-43b2dd33ed1d77a0.js"],"/docs/examples/remote-object-call":[e,s,"static/chunks/pages/docs/examples/remote-object-call-281df5e47d639f67.js"],"/docs/features/components":[e,s,"static/chunks/pages/docs/features/components-eb29e08f683f5bbc.js"],"/docs/features/websocket":[e,s,"static/chunks/pages/docs/features/websocket-a19a48228b0e4cc8.js"],"/docs/features/worker":[e,s,"static/chunks/pages/docs/features/worker-e0927ad2116fe883.js"],"/docs/projects/chat":[e,s,"static/chunks/pages/docs/projects/chat-f6ebe7121751ba17.js"],"/docs/projects/market":[e,s,"static/chunks/pages/docs/projects/market-caf28b83332e96bb.js"],"/docs/projects/mutex":[e,s,"static/chunks/pages/docs/projects/mutex-b8649dfdbb04cb42.js"],"/docs/remote-procedure-call":[e,s,"static/chunks/pages/docs/remote-procedure-call-ead0d449f374e251.js"],"/docs/setup":[e,s,"static/chunks/pages/docs/setup-50f4acbf2429a958.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/718-add7984c140a9b83.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/150-94f7ac6572db6a51.js b/_next/static/chunks/150-94f7ac6572db6a51.js deleted file mode 100644 index 90b0d2d..0000000 --- a/_next/static/chunks/150-94f7ac6572db6a51.js +++ /dev/null @@ -1,89 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=function(){function e(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 t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.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?h[Z]+" "+k:l(k,/&\f/g,h[Z])).trim())&&(f[x++]=w);return b(e,t,r,0===i?R:u,f,d,p)}function z(e,t,r,n){return b(e,t,r,M,c(e,0,n),c(e,n+1,-1),n)}var I=function(e,t,r){for(var n=0,o=0;n=o,o=k(),38===n&&12===o&&(t[r]=1),!w(o);)Z();return c(v,e,g)},N=function(e,t){var r=-1,n=44;do switch(w(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=I(g-1,t,r);break;case 2:e[r]+=$(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=Z());return e},W=function(e,t){var r;return r=N(S(e),t),v="",r},B=new WeakMap,L=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)||B.get(r))&&!n){B.set(e,!0);for(var o=[],i=W(t,o),a=r.props,l=0,s=0;l-1&&!e.return)switch(e.type){case M:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return O+"print-"+t+t;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 O+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return O+t+P+t+C+t+t;case 6828:case 4268:return O+t+C+t+t;case 6165:return O+t+C+"flex-"+t+t;case 5187:return O+t+l(t,/(\w+).+(:[^]+)/,O+"box-$1$2"+C+"flex-$1$2")+t;case 5443:return O+t+C+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return O+t+C+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return O+t+C+l(t,"shrink","negative")+t;case 5292:return O+t+C+l(t,"basis","preferred-size")+t;case 6060:return O+"box-"+l(t,"-grow","")+O+t+C+l(t,"grow","positive")+t;case 4554:return O+l(t,/([^-])(transform)/g,"$1"+O+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,O+"$1$2")+t;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(f(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+P+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~s(t,"stretch")?e(l(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,f(t)-3-(~s(t,"!important")&&10))){case 107:return l(t,":",":"+O)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(45===u(t,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+C+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return O+t+C+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return O+t+C+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return O+t+C+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return O+t+C+t+t}return t}(e.value,e.length);break;case E:return _([x(e,{value:l(e.value,"@","@"+O)})],n);case R: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 _([x(e,{props:[l(t,/:(read-\w+)/,":"+P+"$1")]})],n);case"::placeholder":return _([x(e,{props:[l(t,/:(plac\w+)/,":"+O+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":"+P+"$1")]}),x(e,{props:[l(t,/:(plac\w+)/,C+"input-$1")]})],n)}return""}).join("")}}],D=function(e){var t,r,o,a,h,x=e.key;if("css"===x){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var P=e.stylisPlugins||V,O={},R=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||w(y)>3?"":" "}(j);break;case 92:G+=function(e,t){for(var r;--t&&Z()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==k()&&32==Z()),c(v,e,r)}(g-1,7);continue;case 47:switch(k()){case 42:case 47:d(b(P=function(e,t){for(;Z();)if(e+y===57)break;else if(e+y===84&&47===k())break;return"/*"+c(v,t,g-1)+"*"+i(47===e?e:Z())}(Z(),g),r,n,A,i(y),c(P,2,-2),0),C);break;default:G+="/"}break;case 123*I:S[O++]=f(G)*W;case 125*I:case 59:case 0:switch(B){case 0:case 125:N=0;case 59+R:-1==W&&(G=l(G,/\f/g,"")),_>0&&f(G)-M&&d(_>32?z(G+";",o,n,M-1):z(l(G," ","")+";",o,n,M-2),C);break;case 59:G+=";";default:if(d(D=T(G,r,n,O,R,a,S,L,F=[],V=[],M),h),123===B){if(0===R)e(G,r,D,D,F,h,M,S,V);else switch(99===E&&110===u(G,3)?100:E){case 100:case 108:case 109:case 115:e(t,D,D,o&&d(T(t,D,D,0,0,a,S,L,a,F=[],M),V),a,V,M,S,o?F:V);break;default:e(G,D,D,D,[""],V,0,S,V)}}}O=R=_=0,I=W=1,L=G="",M=x;break;case 58:M=1+f(G),_=j;default:if(I<1){if(123==B)--I;else if(125==B&&0==I++&&125==(y=g>0?u(v,--g):0,m--,10===y&&(m=1,p--),y))continue}switch(G+=i(B),B*I){case 38:W=R>0?1:(G+="\f",-1);break;case 44:S[O++]=(f(G)-1)*W,W=1;break;case 64:45===k()&&(G+=$(Z())),E=k(),R=M=f(L=G+=function(e){for(;!w(k());)Z();return c(v,e,g)}(g)),B++;break;case 45:45===j&&2==f(G)&&(I=0)}}return h}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",r),M)},I={key:x,sheet:new n({key:x,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:O,registered:{},insert:function(e,t,r,n){h=r,E(e?e+"{"+t.styles+"}":t.styles),n&&(I.inserted[t.name]=!0)}};return I.sheet.hydrate(R),I}},5042:function(e,t,r){"use strict";function n(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 n}})},6498:function(e,t,r){"use strict";r.d(t,{C:function(){return l},T:function(){return u},i:function(){return i},w:function(){return s}});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,s=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(a),r)})};i||(s=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 u=n.createContext({})},917:function(e,t,r){"use strict";r.d(t,{F4:function(){return c},iv:function(){return u},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,f=s.styles,d=s.next;void 0!==d;)c+=" "+d.name,f+=d.styles,d=d.next;var p=!0===t.compat,m=t.insert("",{name:c,styles:f},t.sheet,p);return p?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:m},u.nonce=t.sheet.nonce,u))}var h=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])),h.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=h.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 u(){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)+u,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 n(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 i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},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=a(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 l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}n.default=e,r&&r.set(e,n)}}(r(7294));var o=n(r(4938)),i=r(5893);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=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 v}});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),f=r(5893);let d=["className","component"];var p=r(1983),m=r(1265),h=r(606);let g=(0,r(1977).Z)("MuiBox",["root"]),y=(0,m.Z)();var v=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:p="MuiBox-root",generateClassName:m}=e,h=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z);return i.forwardRef(function(e,i){let l=(0,c.Z)(r),s=(0,u.Z)(e),{className:g,component:y="div"}=s,v=(0,o.Z)(s,d);return(0,f.jsx)(h,(0,n.Z)({as:y,ref:i,className:(0,a.Z)(g,m?m(p):p),theme:t&&l[t]||l},v))})}({themeId:h.Z,defaultTheme:y,defaultClassName:g.root,generateClassName:p.Z.generate})},9417:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});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),f=r(6206),d=r(1657),p=r(8183),m=r(8216),h=r(1977),g=r(5463);function y(e){return(0,g.ZP)("MuiButton",e)}let v=(0,h.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"]),b=i.createContext({}),x=i.createContext(void 0);var Z=r(5893);let k=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],w=e=>{let{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,classes:l}=e,u={root:["root",a,`${a}${(0,m.Z)(t)}`,`size${(0,m.Z)(i)}`,`${a}Size${(0,m.Z)(i)}`,`color${(0,m.Z)(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,m.Z)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,m.Z)(i)}`]},c=(0,s.Z)(u,y,l);return(0,o.Z)({},l,c)},S=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}}),$=(0,c.ZP)(p.Z,{shouldForwardProp:e=>(0,f.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,m.Z)(r.color)}`],t[`size${(0,m.Z)(r.size)}`],t[`${r.variant}Size${(0,m.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]}),[`&.${v.focusVisible}`]:(0,o.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${v.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"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}}),C=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t[`iconSize${(0,m.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},S(e))),P=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t[`iconSize${(0,m.Z)(r.size)}`]]}})(({ownerState:e})=>(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},S(e)));var O=i.forwardRef(function(e,t){let r=i.useContext(b),s=i.useContext(x),u=(0,l.Z)(r,e),c=(0,d.Z)({props:u,name:"MuiButton"}),{children:f,color:p="primary",component:m="button",className:h,disabled:g=!1,disableElevation:y=!1,disableFocusRipple:v=!1,endIcon:S,focusVisibleClassName:O,fullWidth:A=!1,size:R="medium",startIcon:M,type:E,variant:_="text"}=c,j=(0,n.Z)(c,k),T=(0,o.Z)({},c,{color:p,component:m,disabled:g,disableElevation:y,disableFocusRipple:v,fullWidth:A,size:R,type:E,variant:_}),z=w(T),I=M&&(0,Z.jsx)(C,{className:z.startIcon,ownerState:T,children:M}),N=S&&(0,Z.jsx)(P,{className:z.endIcon,ownerState:T,children:S});return(0,Z.jsxs)($,(0,o.Z)({ownerState:T,className:(0,a.Z)(r.className,z.root,h,s||""),component:m,disabled:g,focusRipple:!v,focusVisibleClassName:(0,a.Z)(z.focusVisible,O),ref:t,type:E},j,{classes:z,children:[I,f,N]}))})},8183:function(e,t,r){"use strict";r.d(t,{Z:function(){return F}});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),f=r(275),d=r(9632);function p(e,t){return(p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var m=i.createContext(null);function h(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 g(e,t,r){return null!=r[t]?r[t]:e.props[t]}var y=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},v=function(e){function t(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}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,a=t.handleExited;return{children:t.firstRender?h(e.children,function(t){return(0,i.cloneElement)(t,{onExited:a.bind(null,t),in:!0,appear:g(t,"appear",e),enter:g(t,"enter",e),exit:g(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(n=0;ne,C,P,O,A,R=(0,b.F4)(C||(C=$` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),M=(0,b.F4)(P||(P=$` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),E=(0,b.F4)(O||(O=$` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),_=(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"}),j=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:f}=e,[d,p]=i.useState(!1),m=(0,a.Z)(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h=(0,a.Z)(r.child,d&&r.childLeaving,n&&r.childPulsate);return u||d||p(!0),i.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,f);return()=>{clearTimeout(e)}}},[c,u,f]),(0,Z.jsx)("span",{className:m,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+o},children:(0,Z.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})(A||(A=$` - 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; - } -`),w.rippleVisible,R,550,({theme:e})=>e.transitions.easing.easeInOut,w.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,w.child,w.childLeaving,M,550,({theme:e})=>e.transitions.easing.easeInOut,w.childPulsate,E,({theme:e})=>e.transitions.easing.easeInOut),T=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=r,f=(0,o.Z)(r,S),[d,p]=i.useState([]),m=i.useRef(0),h=i.useRef(null);i.useEffect(()=>{h.current&&(h.current(),h.current=null)},[d]);let g=i.useRef(!1),y=(0,x.Z)(),b=i.useRef(null),k=i.useRef(null),$=i.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:i}=e;p(e=>[...e,(0,Z.jsx)(j,{classes:{ripple:(0,a.Z)(s.ripple,w.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,w.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,w.ripplePulsate),child:(0,a.Z)(s.child,w.child),childLeaving:(0,a.Z)(s.childLeaving,w.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,w.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},m.current)]),m.current+=1,h.current=i},[s]),C=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"&&g.current){g.current=!1;return}(null==e?void 0:e.type)==="touchstart"&&(g.current=!0);let c=u?null:k.current,f=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-f.left),o=Math.round(r-f.top)}else n=Math.round(f.width/2),o=Math.round(f.height/2);s?(i=Math.sqrt((2*f.width**2+f.height**2)/3))%2==0&&(i+=1):i=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-n),n)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2)**2),null!=e&&e.touches?null===b.current&&(b.current=()=>{$({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},y.start(80,()=>{b.current&&(b.current(),b.current=null)})):$({pulsate:a,rippleX:n,rippleY:o,rippleSize:i,cb:r})},[l,$,y]),P=i.useCallback(()=>{C({},{pulsate:!0})},[C]),O=i.useCallback((e,t)=>{if(y.clear(),(null==e?void 0:e.type)==="touchend"&&b.current){b.current(),b.current=null,y.start(0,()=>{O(e,t)});return}b.current=null,p(e=>e.length>0?e.slice(1):e),h.current=t},[y]);return i.useImperativeHandle(t,()=>({pulsate:P,start:C,stop:O}),[P,C,O]),(0,Z.jsx)(_,(0,n.Z)({className:(0,a.Z)(w.root,s.root,c),ref:k},f,{children:(0,Z.jsx)(v,{component:null,exit:!0,children:d})}))});var z=r(5463);function I(e){return(0,z.ZP)("MuiButtonBase",e)}let N=(0,k.Z)("MuiButtonBase",["root","disabled","focusVisible"]),W=["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"],B=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=(0,l.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},I,o);return r&&n&&(i.root+=` ${n}`),i},L=(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"},[`&.${N.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var F=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:s=!1,children:p,className:m,component:h="button",disabled:g=!1,disableRipple:y=!1,disableTouchRipple:v=!1,focusRipple:b=!1,LinkComponent:x="a",onBlur:k,onClick:w,onContextMenu:S,onDragLeave:$,onFocus:C,onFocusVisible:P,onKeyDown:O,onKeyUp:A,onMouseDown:R,onMouseLeave:M,onMouseUp:E,onTouchEnd:_,onTouchMove:j,onTouchStart:z,tabIndex:I=0,TouchRippleProps:N,touchRippleRef:F,type:V}=r,D=(0,o.Z)(r,W),G=i.useRef(null),H=i.useRef(null),K=(0,c.Z)(H,F),{isFocusVisibleRef:q,onFocus:U,onBlur:X,ref:Y}=(0,d.Z)(),[J,Q]=i.useState(!1);g&&J&&Q(!1),i.useImperativeHandle(l,()=>({focusVisible:()=>{Q(!0),G.current.focus()}}),[]);let[ee,et]=i.useState(!1);i.useEffect(()=>{et(!0)},[]);let er=ee&&!y&&!g;function en(e,t,r=v){return(0,f.Z)(n=>(t&&t(n),!r&&H.current&&H.current[e](n),!0))}i.useEffect(()=>{J&&b&&!y&&ee&&H.current.pulsate()},[y,b,J,ee]);let eo=en("start",R),ei=en("stop",S),ea=en("stop",$),el=en("stop",E),es=en("stop",e=>{J&&e.preventDefault(),M&&M(e)}),eu=en("start",z),ec=en("stop",_),ef=en("stop",j),ed=en("stop",e=>{X(e),!1===q.current&&Q(!1),k&&k(e)},!1),ep=(0,f.Z)(e=>{G.current||(G.current=e.currentTarget),U(e),!0===q.current&&(Q(!0),P&&P(e)),C&&C(e)}),em=()=>{let e=G.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},eh=i.useRef(!1),eg=(0,f.Z)(e=>{b&&!eh.current&&J&&H.current&&" "===e.key&&(eh.current=!0,H.current.stop(e,()=>{H.current.start(e)})),e.target===e.currentTarget&&em()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&em()&&"Enter"===e.key&&!g&&(e.preventDefault(),w&&w(e))}),ey=(0,f.Z)(e=>{b&&" "===e.key&&H.current&&J&&!e.defaultPrevented&&(eh.current=!1,H.current.stop(e,()=>{H.current.pulsate(e)})),A&&A(e),w&&e.target===e.currentTarget&&em()&&" "===e.key&&!e.defaultPrevented&&w(e)}),ev=h;"button"===ev&&(D.href||D.to)&&(ev=x);let eb={};"button"===ev?(eb.type=void 0===V?"button":V,eb.disabled=g):(D.href||D.to||(eb.role="button"),g&&(eb["aria-disabled"]=g));let ex=(0,c.Z)(t,Y,G),eZ=(0,n.Z)({},r,{centerRipple:s,component:h,disabled:g,disableRipple:y,disableTouchRipple:v,focusRipple:b,tabIndex:I,focusVisible:J}),ek=B(eZ);return(0,Z.jsxs)(L,(0,n.Z)({as:ev,className:(0,a.Z)(ek.root,m),ownerState:eZ,onBlur:ed,onClick:w,onContextMenu:ei,onFocus:ep,onKeyDown:eg,onKeyUp:ey,onMouseDown:eo,onMouseLeave:es,onMouseUp:el,onDragLeave:ea,onTouchEnd:ec,onTouchMove:ef,onTouchStart:eu,ref:ex,tabIndex:g?-1:I,type:V},eb,D,{children:[p,er?(0,Z.jsx)(T,(0,n.Z)({ref:K,center:s},N)):null]}))})},9974: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),f=r(5463);function d(e){return(0,f.ZP)("MuiCardActionArea",e)}let p=(0,c.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var m=r(8183),h=r(5893);let g=["children","className","focusVisibleClassName"],y=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"],focusHighlight:["focusHighlight"]},d,t)},v=(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})}));var x=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,g),f=y(r);return(0,h.jsxs)(v,(0,n.Z)({className:(0,a.Z)(f.root,l),focusVisibleClassName:(0,a.Z)(u,f.focusVisible),ref:t,ownerState:r},c,{children:[i,(0,h.jsx)(b,{className:f.focusHighlight,ownerState:r})]}))})},4267:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});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),f=r(5463);function d(e){return(0,f.ZP)("MuiCardContent",e)}(0,c.Z)("MuiCardContent",["root"]);var p=r(5893);let m=["className","component"],h=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"]},d,t)},g=(0,s.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}}));var 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}),f=h(c);return(0,p.jsx)(g,(0,n.Z)({as:l,className:(0,a.Z)(f.root,i),ownerState:c,ref:t},s))})},8236: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(5463),s=r(8510),u=r(2908),c=r(5149),f=r(3534),d=r(8027),p=r(7172),m=r(6523);let h=["ownerState"],g=["variants"],y=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let b=(0,p.Z)(),x=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Z({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function k(e,t){let{ownerState:r}=t,i=(0,n.Z)(t,h),a="function"==typeof e?e((0,o.Z)({ownerState:r},i)):e;if(Array.isArray(a))return a.flatMap(e=>k(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);return e.forEach(e=>{let n=!0;"function"==typeof e.props?n=e.props((0,o.Z)({ownerState:r},i,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&i[t]!==e.props[t]&&(n=!1)}),n&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.Z)({ownerState:r},i,r)):e.style))}),t}return a}let w=function(e={}){let{themeId:t,defaultTheme:r=b,rootShouldForwardProp:i=v,slotShouldForwardProp:a=v}=e,l=e=>(0,m.Z)((0,o.Z)({},e,{theme:Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return l.__mui_systemSx=!0,(e,s={})=>{var u;let c;(0,f.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:p,slot:m,skipVariantsResolver:h,skipSx:g,overridesResolver:b=(u=x(m))?(e,t)=>t[u]:null}=s,w=(0,n.Z)(s,y),S=void 0!==h?h:m&&"Root"!==m&&"root"!==m||!1,$=g||!1,C=v;"Root"===m||"root"===m?C=i:m?C=a:"string"==typeof e&&e.charCodeAt(0)>96&&(C=void 0);let P=(0,f.default)(e,(0,o.Z)({shouldForwardProp:C,label:c},w)),O=e=>"function"==typeof e&&e.__emotion_real!==e||(0,d.P)(e)?n=>k(e,(0,o.Z)({},n,{theme:Z({theme:n.theme,defaultTheme:r,themeId:t})})):e,A=(n,...i)=>{let a=O(n),s=i?i.map(O):[];p&&b&&s.push(e=>{let n=Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;let i=n.components[p].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=k(r,(0,o.Z)({},e,{theme:n}))}),b(e,a)}),p&&!S&&s.push(e=>{var n;let i=Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return k({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.Z)({},e,{theme:i}))}),$||s.push(l);let u=s.length-i.length;if(Array.isArray(n)&&u>0){let e=Array(u).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let c=P(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return P.withConfig&&(A.withConfig=P.withConfig),A}}();var S=r(5893);let $=["className","component","disableGutters","fixed","maxWidth","classes"],C=(0,p.Z)(),P=w("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]}}),O=e=>(0,c.Z)({props:e,name:"MuiContainer",defaultTheme:C}),A=(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 R=r(8216),M=r(948),E=r(1657),_=function(e={}){let{createStyledComponent:t=P,useThemeProps:r=O,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}`}}));return i.forwardRef(function(e,t){let i=r(e),{className:u,component:c="div",disableGutters:f=!1,fixed:d=!1,maxWidth:p="lg"}=i,m=(0,n.Z)(i,$),h=(0,o.Z)({},i,{component:c,disableGutters:f,fixed:d,maxWidth:p}),g=A(h,l);return(0,S.jsx)(s,(0,o.Z)({as:c,ownerState:h,className:(0,a.Z)(g.root,u),ref:t},m))})}({createStyledComponent:(0,M.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,R.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,E.Z)({props:e,name:"MuiContainer"})})},1519:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});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),f=r(1977),d=r(5463);function p(e){return(0,d.ZP)("MuiDivider",e)}(0,f.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"],g=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"]},p,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%"}})),v=(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:f=!1,light:d=!1,orientation:p="horizontal",role:b="hr"!==u?"separator":void 0,textAlign:x="center",variant:Z="fullWidth"}=r,k=(0,n.Z)(r,h),w=(0,o.Z)({},r,{absolute:i,component:u,flexItem:f,light:d,orientation:p,role:b,textAlign:x,variant:Z}),S=g(w);return(0,m.jsx)(y,(0,o.Z)({as:u,className:(0,a.Z)(S.root,s),role:b,ref:t,ownerState:w},k,{children:l?(0,m.jsx)(v,{className:S.wrapper,ownerState:w,children:l}):null}))});b.muiSkipListHighlight=!0;var x=b},1181:function(e,t,r){"use strict";r.d(t,{ZP:function(){return P}});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),f=r(1657),d=r(9718),p=r(247),m=r(606);let h=i.createContext();var g=r(1977),y=r(5463);function v(e){return(0,y.ZP)("MuiGrid",e)}let b=["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}`),...b.map(e=>`grid-xs-${e}`),...b.map(e=>`grid-sm-${e}`),...b.map(e=>`grid-md-${e}`),...b.map(e=>`grid-lg-${e}`),...b.map(e=>`grid-xl-${e}`)]);var Z=r(5893);let k=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function w(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function S({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 $=(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 f=[];return u.forEach(e=>{let n=r[e];n&&f.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)}`],...f]}})(({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=S({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:`-${w(i)}`,[`& > .${x.item}`]:{paddingTop:w(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=S({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% + ${w(i)})`,marginLeft:`-${w(i)}`,[`& > .${x.item}`]:{paddingLeft:w(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}%`,f={};if(t.container&&t.item&&0!==t.columnSpacing){let r=e.spacing(t.columnSpacing);if("0px"!==r){let e=`calc(${c} + ${w(r)})`;f={flexBasis:e,maxWidth:e}}}a=(0,o.Z)({flexBasis:c,flexGrow:0,maxWidth:c},f)}return 0===e.breakpoints.values[i]?Object.assign(n,a):n[e.breakpoints.up(i)]=a,n},{})}),C=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 f=[];s.forEach(t=>{let r=e[t];r&&f.push(`grid-${t}-${String(r)}`)});let d={root:["root",r&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...f]};return(0,u.Z)(d,v,t)};var P=i.forwardRef(function(e,t){let r=(0,f.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,d.Z)(p.Z);return e[m.Z]||e}(),u=(0,s.Z)(r),{className:c,columns:g,columnSpacing:y,component:v="div",container:b=!1,direction:x="row",item:w=!1,rowSpacing:S,spacing:P=0,wrap:O="wrap",zeroMinWidth:A=!1}=u,R=(0,n.Z)(u,k),M=S||P,E=y||P,_=i.useContext(h),j=b?g||12:_,T={},z=(0,o.Z)({},R);l.keys.forEach(e=>{null!=R[e]&&(T[e]=R[e],delete z[e])});let I=(0,o.Z)({},u,{columns:j,container:b,direction:x,item:w,rowSpacing:M,columnSpacing:E,wrap:O,zeroMinWidth:A,spacing:P},T,{breakpoints:l.keys}),N=C(I);return(0,Z.jsx)(h.Provider,{value:j,children:(0,Z.jsx)($,(0,o.Z)({ownerState:I,className:(0,a.Z)(N.root,c),as:v,ref:t},z))})})},5861:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});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),f=r(8216),d=r(1977),p=r(5463);function m(e){return(0,p.ZP)("MuiTypography",e)}(0,d.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 g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],y=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&`align${(0,f.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,s.Z)(l,m,a)},v=(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,f.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"},x={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Z=e=>x[e]||e;var k=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiTypography"}),i=Z(r.color),s=(0,l.Z)((0,o.Z)({},r,{color:i})),{align:u="inherit",className:f,component:d,gutterBottom:p=!1,noWrap:m=!1,paragraph:x=!1,variant:k="body1",variantMapping:w=b}=s,S=(0,n.Z)(s,g),$=(0,o.Z)({},s,{align:u,color:i,className:f,component:d,gutterBottom:p,noWrap:m,paragraph:x,variant:k,variantMapping:w}),C=d||(x?"p":w[k]||b[k])||"span",P=y($);return(0,h.jsx)(v,(0,o.Z)({as:C,ref:t,ownerState:$,className:(0,a.Z)(P.root,f)},S))})},1265:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});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),f={black:"#000",white:"#fff"},d={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"},p={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"},m={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"},h={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"},y={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 b=["mode","contrastThreshold","tonalOffset"],x={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:f.white,default:f.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}},Z={text:{primary:f.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:f.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 k(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 w=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],S={textTransform:"uppercase"},$='"Roboto", "Helvetica", "Arial", sans-serif';function C(...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",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],O=["duration","easing","delay"],A={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 M(e){return`${Math.round(e)}ms`}function E(e){if(!e)return 0;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}var _={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};let j=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];var T=function(e={},...t){var r;let{mixins:C={},palette:T={},transitions:z={},typography:I={}}=e,N=(0,o.Z)(e,j);if(e.vars)throw Error((0,i.Z)(18));let W=function(e){let{mode:t="light",contrastThreshold:r=3,tonalOffset:l=.2}=e,s=(0,o.Z)(e,b),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),w=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),S=e.error||function(e="light"){return"dark"===e?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),$=e.info||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),C=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),P=e.warning||function(e="light"){return"dark"===e?{main:h[400],light:h[300],dark:h[700]}:{main:"#ed6c02",light:h[500],dark:h[900]}}(t);function O(e){return(0,c.mi)(e,Z.text.primary)>=r?Z.text.primary:x.text.primary}let A=({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 k(e,"light",o,l),k(e,"dark",a,l),e.contrastText||(e.contrastText=O(e.main)),e};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},f),mode:t,primary:A({color:u,name:"primary"}),secondary:A({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:S,name:"error"}),warning:A({color:P,name:"warning"}),info:A({color:$,name:"info"}),success:A({color:C,name:"success"}),grey:d,contrastThreshold:r,getContrastText:O,augmentColor:A,tonalOffset:l},{dark:Z,light:x}[t]),s)}(T),B=(0,u.Z)(e),L=(0,a.Z)(B,{mixins:(r=B.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}}},C)),palette:W,shadows:P.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:i=$,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:m}=r,h=(0,o.Z)(r,w),g=l/14,y=m||(e=>`${e/d*g}rem`),v=(e,t,r,o,a)=>(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:r},i===$?{letterSpacing:`${Math.round(o/t*1e5)/1e5}em`}:{},a,p),b={h1:v(s,96,1.167,-1.5),h2:v(s,60,1.2,-.5),h3:v(u,48,1.167,0),h4:v(u,34,1.235,.25),h5:v(u,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(u,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(u,16,1.5,.15),body2:v(u,14,1.43,.15),button:v(c,14,1.75,.4,S),caption:v(u,12,1.66,.4),overline:v(u,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:d,pxToRem:y,fontFamily:i,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:f},b),h,{clone:!1})}(W,I),transitions:function(e){let t=(0,n.Z)({},A,e.easing),r=(0,n.Z)({},R,e.duration);return(0,n.Z)({getAutoHeightDuration:E,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0}=n;return(0,o.Z)(n,O),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:M(i)} ${a} ${"string"==typeof l?l:M(l)}`).join(",")}},e,{easing:t,duration:r})}(z),zIndex:(0,n.Z)({},_)});return L=(0,a.Z)(L,N),(L=t.reduce((e,t)=>(0,a.Z)(e,t),L)).unstable_sxConfig=(0,n.Z)({},l.Z,null==N?void 0:N.unstable_sxConfig),L.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},L}},247:function(e,t,r){"use strict";let n=(0,r(1265).Z)();t.Z=n},606:function(e,t){"use strict";t.Z="$$material"},6206:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=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 a}});var n=r(5149),o=r(247),i=r(606);function a({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 i},createSvgIcon:function(){return k},debounce:function(){return w},deprecatedPropType:function(){return S},isMuiElement:function(){return $},ownerDocument:function(){return P},ownerWindow:function(){return O},requirePropFactory:function(){return A},setRef:function(){return R},unstable_ClassNameGenerator:function(){return B},unstable_useEnhancedEffect:function(){return M},unstable_useId:function(){return j},unsupportedProp:function(){return T},useControlled:function(){return z},useEventCallback:function(){return I.Z},useForkRef:function(){return N.Z},useIsFocusVisible:function(){return W.Z}});var n=r(1983),o=r(8216),i=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})},a=r(7462),l=r(7294),s=r.t(l,2),u=r(3366),c=r(512),f=r(8510),d=r(1657),p=r(948),m=r(1977),h=r(5463);function g(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 v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],b=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,f.Z)(i,g,n)},x=(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,f,d,p,m;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!=(f=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?f:({action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0})[t.color]}}),Z=l.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:s="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:m=!1,titleAccess:h,viewBox:g="0 0 24 24"}=r,Z=(0,u.Z)(r,v),k=l.isValidElement(n)&&"svg"===n.type,w=(0,a.Z)({},r,{color:i,component:s,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:g,hasSvgAsChild:k}),S={};m||(S.viewBox=g);let $=b(w);return(0,y.jsxs)(x,(0,a.Z)({as:s,className:(0,c.Z)($.root,o),focusable:"false",color:p,"aria-hidden":!h||void 0,role:h?"img":void 0,ref:t},S,Z,k&&n.props,{ownerState:w,children:[k?n.props.children:n,h?(0,y.jsx)("title",{children:h}):null]}))});function k(e,t){function r(r,n){return(0,y.jsx)(Z,(0,a.Z)({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=Z.muiName,l.memo(l.forwardRef(r))}Z.muiName="SvgIcon";var w=function(e,t=166){let r;function n(...o){clearTimeout(r),r=setTimeout(()=>{e.apply(this,o)},t)}return n.clear=()=>{clearTimeout(r)},n},S=function(e,t){return()=>null},$=function(e,t){var r,n;return l.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 C(e){return e&&e.ownerDocument||document}var P=C,O=function(e){return C(e).defaultView||window},A=function(e,t){return()=>null},R=r(5091).Z,M=r(4895).Z;let E=0,_=s["useId".toString()];var j=function(e){if(void 0!==_){let t=_();return null!=e?e:t}return function(e){let[t,r]=l.useState(e),n=e||t;return l.useEffect(()=>{null==t&&(E+=1,r(`mui-${E}`))},[t]),n}(e)},T=function(e,t,r,n,o){return null},z=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=l.useRef(void 0!==e),[i,a]=l.useState(t),s=l.useCallback(e=>{o||a(e)},[]);return[o?e:i,s]},I=r(275),N=r(20),W=r(9632);let B={configure:e=>{n.Z.configure(e)}}},275:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7294),o=r(4895),i=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 i}});var n=r(7294),o=r(5091),i=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 d}});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 u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}var d=function(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!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 k},StyledEngineProvider:function(){return Z},ThemeContext:function(){return u.T},css:function(){return v.iv},default:function(){return w},internal_processStyles:function(){return S},keyframes:function(){return v.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),f=r(8137),d=r(7278),p=function(e){return"theme"!==e},m=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?s:p},h=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},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,d.L)(function(){return(0,c.My)(t,r,n)}),null},y=(function e(t,r){var n,a,l=t.__emotion_real===t,s=l&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var d=h(t,r,l),p=d||m(s),y=!p("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,Z=1;Zt(null==e||0===Object.keys(e).length?r:e):t;return(0,x.jsx)(v.xB,{styles:n})}function w(e,t){return y(e,t)}"object"==typeof document&&(n=(0,b.Z)({key:"css",prepend:!0}));let S=(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=l(e),t=a(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)},t._j=function(e,t){if(e=l(e),t=a(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 s(e)},t.mi=function(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=l(e),t=a(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 s(e)};var o=n(r(743)),i=n(r(9425));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function l(e){let t;if(e.type)return e;if("#"===e.charAt(0))return l(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 s(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 u(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(function(e){let{values:t}=e=l(e),r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),s({type:u,values:c})}(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=h,rootShouldForwardProp:n=m,slotShouldForwardProp:s=m}=e,c=e=>(0,u.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(e,u={})=>{var f;let p;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:h,slot:b,skipVariantsResolver:x,skipSx:Z,overridesResolver:k=(f=g(b))?(e,t)=>t[f]:null}=u,w=(0,i.default)(u,d),S=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,$=Z||!1,C=m;"Root"===b||"root"===b?C=n:b?C=s:"string"==typeof e&&e.charCodeAt(0)>96&&(C=void 0);let P=(0,a.default)(e,(0,o.default)({shouldForwardProp:C,label:p},w)),O=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,A=(n,...i)=>{let a=O(n),l=i?i.map(O):[];h&&k&&l.push(e=>{let n=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[h]||!n.components[h].styleOverrides)return null;let i=n.components[h].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=v(r,(0,o.default)({},e,{theme:n}))}),k(e,a)}),h&&!S&&l.push(e=>{var n;let i=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[h])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),$||l.push(c);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=P(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return P.withConfig&&(A.withConfig=P.withConfig),A}};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=p(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"],f=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let h=(0,s.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function v(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=>v(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,f);return e.forEach(e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)}),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),t}return a}},5408:function(e,t,r){"use strict";r.d(t,{L7:function(){return l},P$:function(){return s},VO:function(){return n},W8:function(){return a},k9:function(){return i}});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 i(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)=>(-1!==Object.keys(e.values||n).indexOf(i)?o[e.up(i)]=r(t[i],i):o[i]=t[i],o),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function l(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function s({values:e,breakpoints:t,base:r}){let n;let o=Object.keys(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));return 0===o.length?e:o.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 n(e,t){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:this.palette.mode===e?t:{}}r.d(t,{Z:function(){return n}})},1512:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(3366),o=r(7462);let i=["values","unit","step"],a=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 l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:l=5}=e,s=(0,n.Z)(e,i),u=a(t),c=Object.keys(u);function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function d(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-l/100}${r})`}function p(e,n){let o=c.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[c[o]]?t[c[o]]:n)-l/100}${r})`}return(0,o.Z)({keys:c,values:u,up:f,down:d,between:p,only:function(e){return c.indexOf(e)+1(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(m),b=(0,i.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},p),spacing:v,shape:(0,n.Z)({},l,h)},g);return b.applyStyles=f.Z,(b=t.reduce((e,t)=>(0,i.Z)(e,t),b)).unstable_sxConfig=(0,n.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},b}},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 m},eI:function(){return p},NA:function(){return h},e6:function(){return y},o3:function(){return v}});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"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...c,...f];function p(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 m(e){return p(e,"spacing",8,"spacing")}function h(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 g(e,t){let r=m(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(-1===t.indexOf(r))return null;let a=(i=u(r),e=>i.reduce((t,r)=>(t[r]=h(o,e),t),{})),l=e[r];return(0,n.k9)(e,l,a)})(e,t,o,r)).reduce(i.Z,{})}function y(e){return g(e,c)}function v(e){return g(e,f)}function b(e){return g(e,d)}y.propTypes={},y.filterProps=c,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=d},4844:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(2908),o=r(5408);function i(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 a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=i(e.theme,l)||{};return(0,o.k9)(e,u,e=>{let o=a(c,s,e);return(e===o&&"string"==typeof e&&(o=a(c,s,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return u.propTypes={},u.filterProps=[t],u}},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return B}});var n=r(8700),o=r(4844),i=r(7730),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},l=r(5408);function s(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let c=u("border",s),f=u("borderTop",s),d=u("borderRight",s),p=u("borderBottom",s),m=u("borderLeft",s),h=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),v=u("borderBottomColor"),b=u("borderLeftColor"),x=u("outline",s),Z=u("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["borderRadius"],a(c,f,d,p,m,h,g,y,v,b,k,x,Z);let w=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["gap"];let S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["columnGap"];let $=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};$.propTypes={},$.filterProps=["rowGap"];let C=(0,o.ZP)({prop:"gridColumn"}),P=(0,o.ZP)({prop:"gridRow"}),O=(0,o.ZP)({prop:"gridAutoFlow"}),A=(0,o.ZP)({prop:"gridAutoColumns"}),R=(0,o.ZP)({prop:"gridAutoRows"}),M=(0,o.ZP)({prop:"gridTemplateColumns"});function E(e,t){return"grey"===t?t:e}function _(e){return e<=1&&0!==e?`${100*e}%`:e}a(w,S,$,C,P,O,A,R,M,(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"})),a((0,o.ZP)({prop:"color",themeKey:"palette",transform:E}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:E}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:E}));let j=(0,o.ZP)({prop:"width",transform:_}),T=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.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])||l.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:_(t)}}):null;T.filterProps=["maxWidth"];let z=(0,o.ZP)({prop:"minWidth",transform:_}),I=(0,o.ZP)({prop:"height",transform:_}),N=(0,o.ZP)({prop:"maxHeight",transform:_}),W=(0,o.ZP)({prop:"minHeight",transform:_});(0,o.ZP)({prop:"size",cssProperty:"width",transform:_}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:_}),a(j,T,z,I,N,W,(0,o.ZP)({prop:"boxSizing"}));var B={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:E},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:E},backgroundColor:{themeKey:"palette",transform:E},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:w},rowGap:{style:$},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:T},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},9707:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(7462),o=r(3366),i=r(8027),a=r(4920);let l=["sx"],s=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 u(e){let t;let{sx:r}=e,{systemProps:a,otherProps:u}=s((0,o.Z)(e,l));return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},a,t):a}:(0,n.Z)({},a,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 s}});var n=r(2908),o=r(7730),i=r(4844),a=r(5408),l=r(4920);function s(){function e(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:f,style:d}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,c)||{};return d?d(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){var n;let{sx:i,theme:s={}}=r||{};if(!i)return null;let u=null!=(n=s.unstable_sxConfig)?n:l.Z;function c(r){let n=r;if("function"==typeof r)n=r(s);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(s.breakpoints),l=Object.keys(i),c=i;return Object.keys(n).forEach(r=>{var i;let l="function"==typeof(i=n[r])?i(s):i;if(null!=l){if("object"==typeof l){if(u[r])c=(0,o.Z)(c,e(r,l,s,u));else{let e=(0,a.k9)({theme:s},l,e=>({[r]:e}));(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)})(e,l)?c[r]=t({sx:l,theme:s}):c=(0,o.Z)(c,e)}}else c=(0,o.Z)(c,e(r,l,s,u))}}),(0,a.L7)(l,c)}return Array.isArray(i)?i.map(c):c(i)}}let u=s();u.filterProps=["sx"],t.Z=u},9718:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(7172),o=r(7294),i=r(6498),a=function(e=null){let t=o.useContext(i.T);return t&&0!==Object.keys(t).length?t:e};let l=(0,n.Z)();var s=function(e=l){return a(e)}},5149:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(2236),o=r(9718);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);return i&&(a=a[i]||a),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})}},1983:function(e,t){"use strict";let r;let n=e=>e,o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=o},2908:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(8758);function o(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 n}});var n=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 n(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 n}})},8027:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{"__proto__"!==n&&(o(r[n])&&n in t&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n])}),a}}});var n=r(7462);function o(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 n(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 s},getFunctionName:function(){return i}});var n=r(9864);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function l(e,t,r){let n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function s(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return l(e,e.render,"ForwardRef");case n.Memo:return l(e,e.type,"memo")}}}},2236:function(e,t,r){"use strict";r.d(t,{Z:function(){return function e(t,r){let o=(0,n.Z)({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,n.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},l=r[i];o[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(o[i]=(0,n.Z)({},l),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],l[t])})):o[i]=l:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}}});var n=r(7462)},5091:function(e,t,r){"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return n}})},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 a},Z:function(){return l}});var n=r(7294);let o={},i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function l(){var e;let t=function(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(void 0)),r}(a.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 s(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 u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=p(r);o&&o!==m&&e(t,o,n)}var a=c(r);f&&(a=a.concat(f(r)));for(var l=s(t),h=s(r),g=0;g=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 n(){return(n=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 n}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/235-45cfd8dac781d887.js b/_next/static/chunks/235-45cfd8dac781d887.js new file mode 100644 index 0000000..ae5913a --- /dev/null +++ b/_next/static/chunks/235-45cfd8dac781d887.js @@ -0,0 +1,20 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[235],{5202:function(){!function(){"use strict";function e(e){var t=!0,n=!1,r=null,i={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 a(e){return!!e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList}function o(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function s(e){t=!1}function l(){document.addEventListener("mousemove",u),document.addEventListener("mousedown",u),document.addEventListener("mouseup",u),document.addEventListener("pointermove",u),document.addEventListener("pointerdown",u),document.addEventListener("pointerup",u),document.addEventListener("touchmove",u),document.addEventListener("touchstart",u),document.addEventListener("touchend",u)}function u(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",u),document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",u),document.removeEventListener("pointermove",u),document.removeEventListener("pointerdown",u),document.removeEventListener("pointerup",u),document.removeEventListener("touchmove",u),document.removeEventListener("touchstart",u),document.removeEventListener("touchend",u))}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(a(e.activeElement)&&o(e.activeElement),t=!0)},!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=!0),l())},!0),l(),e.addEventListener("focus",function(e){var n,r,s;a(e.target)&&(t||(r=(n=e.target).type,"INPUT"===(s=n.tagName)&&i[r]&&!n.readOnly||"TEXTAREA"===s&&!n.readOnly||n.isContentEditable))&&o(e.target)},!0),e.addEventListener("blur",function(e){if(a(e.target)){var t;(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout(function(){n=!1},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.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 t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}()},9266:function(e,t,n){"use strict";var r=n(3905),i=n(9073);e.exports=function(e){var t=r(e);return t.token="","x-oauth-basic"===t.password?t.token=t.user:"x-token-auth"===t.user&&(t.token=t.password),i(t.protocols)||0===t.protocols.length&&i(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}},3458:function(e,t,n){"use strict";var r=n(9266);function i(e){if("string"!=typeof e)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(e)&&(e="https://github.com/"+e);var t=r(e),n=t.resource.split("."),a=null;switch(t.toString=function(e){return i.stringify(this,e)},t.source=n.length>2?n.slice(1-n.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent((t.pathname||t.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=n[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3],t.full_name=a[2]+"/"+a[3]);break}2===(a=t.name.split("/")).length?(t.owner=a[1],t.name=a[1],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3]);break}5===(a=t.name.split("/")).length?(t.organization=a[0],t.owner=a[1],t.name=a[4],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:var o=(a=t.name.split("/")).length-1;if(a.length>=2){var s=a.indexOf("-",2),l=a.indexOf("blob",2),u=a.indexOf("tree",2),c=a.indexOf("commit",2),d=a.indexOf("src",2),f=a.indexOf("raw",2),h=a.indexOf("edit",2);o=s>0?s-1:l>0?l-1:u>0?u-1:c>0?c-1:d>0?d-1:f>0?f-1:h>0?h-1:o,t.owner=a.slice(0,o).join("/"),t.name=a[o],c&&(t.commit=a[o+2])}t.ref="",t.filepathtype="",t.filepath="";var p=a.length>o&&"-"===a[o+1]?o+1:o;a.length>p+2&&["raw","src","blob","tree","edit"].indexOf(a[p+1])>=0&&(t.filepathtype=a[p+1],t.ref=a[p+2],a.length>p+3&&(t.filepath=a.slice(p+3).join("/"))),t.organization=t.owner}!t.full_name&&(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=t.owner+"/"+t.name);var m=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=m&&(t.source="bitbucket-server","users"===m[1]?t.owner="~"+m[2]:t.owner=m[2],t.organization=t.owner,t.name=m[3],(a=m[4].split("/")).length>1&&(["raw","browse"].indexOf(a[1])>=0?(t.filepathtype=a[1],a.length>2&&(t.filepath=a.slice(2).join("/"))):"commits"===a[1]&&a.length>2&&(t.commit=a[2])),t.full_name=t.owner+"/"+t.name,t.query.at?t.ref=t.query.at:t.ref=""),t}i.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var n=e.port?":"+e.port:"",r=e.user||"git",i=e.git_suffix?".git":"";switch(t){case"ssh":if(n)return"ssh://"+r+"@"+e.resource+n+"/"+e.full_name+i;return r+"@"+e.resource+":"+e.full_name+i;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+r+"@"+e.resource+n+"/"+e.full_name+i;case"http":case"https":return t+"://"+(e.token?"bitbucket.org"===e.source?"x-token-auth:"+e.token+"@":e.token+"@":e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"")+e.resource+n+"/"+("bitbucket-server"===e.source?"scm/"+e.full_name:""+e.full_name)+i;default:return e.href}},e.exports=i},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 e=function(e){for(var t=e,n=i(t);n;)n=i(t=n.ownerDocument);return t}(window.document),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):c(),t.forEach(function(e){e._checkForIntersections()})}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",r,!0)),l(t,"scroll",r,!0),o&&o.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1})){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}||null}(c,o)),!o)break;s=s&&p(s)}return o}},o.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;it.indexOf(this)&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||c()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(e,t){var n,r,i,a=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(a.root&&1!=a.root.nodeType&&9!=a.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function h(e,t){for(var n=t;n;){if(n==e)return!0;n=p(n)}return!1}function p(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host)?n.host:n}function m(e){return e&&9===e.nodeType}}()},9073:function(e,t,n){"use strict";var r=n(2337);e.exports=function e(t){if(Array.isArray(t))return -1!==t.indexOf("ssh")||-1!==t.indexOf("rsync");if("string"!=typeof t)return!1;var n=r(t);if(t=t.substring(t.indexOf("://")+3),e(n))return!0;var i=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!t.match(i)&&t.indexOf("@")-1},R.prototype.set=function(e,t){var n=this.__data__,r=A(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new N,map:new(O||R),string:new N}},I.prototype.delete=function(e){return L(this,e).delete(e)},I.prototype.get=function(e){return L(this,e).get(e)},I.prototype.has=function(e){return L(this,e).has(e)},I.prototype.set=function(e,t){return L(this,e).set(e,t),this};var M=Z(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(z(e))return S?S.call(e):"";var t=e+"";return"0"==t&&1/e==-a?"-0":t}(t);var t,n=[];return l.test(e)&&n.push(""),e.replace(u,function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)}),n});function Z(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(Z.Cache||I),n}Z.Cache=I;var D=Array.isArray;function F(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function z(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==k.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(D(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||z(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}(t,e)?D(n=t)?n:M(n):[t];for(var r=0,i=t.length;null!=e&&r{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function x(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let g=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:g,fill:v,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:k,sizesInput:_,onLoad:j,onError:E,...O}=e;return(0,a.jsx)("img",{...O,...x(f),loading:p,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(E&&(e.src=e.src),e.complete&&m(e,h,y,b,w,g,_))},[n,h,y,b,w,E,g,_,t]),onLoad:e=>{m(e.currentTarget,h,y,b,w,g,_)},onError:e=>{k(!0),"empty"!==h&&w(!0),E&&E(e)}})});function v(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...x(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let y=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=p||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let x=(0,o.useRef)(l);(0,o.useEffect)(()=>{x.current=l},[l]);let[y,b]=(0,o.useState)(!1),[w,k]=(0,o.useState)(!1),{props:_,meta:j}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{..._,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:k,sizesInput:e.sizes,ref:t}),j.priority?(0,a.jsx)(v,{isAppRouter:!n,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9577:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let r=n(8754),i=n(5893),a=r._(n(7294)),o=n(1401),s=n(2045),l=n(7420),u=n(7201),c=n(1443),d=n(9953),f=n(5320),h=n(2905),p=n(4318),m=n(953),x=n(6691),g=new Set;function v(e,t,n,r,i,a){if(a||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}(async()=>a?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=a.default.forwardRef(function(e,t){let n,r;let{href:l,as:g,children:b,prefetch:w=null,passHref:k,replace:_,shallow:j,scroll:E,locale:O,onClick:T,onMouseEnter:C,onTouchStart:S,legacyBehavior:N=!1,...R}=e;n=b,N&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let I=a.default.useContext(d.RouterContext),A=a.default.useContext(f.AppRouterContext),L=null!=I?I:A,P=!I,M=!1!==w,Z=null===w?x.PrefetchKind.AUTO:x.PrefetchKind.FULL,{href:D,as:F}=a.default.useMemo(()=>{if(!I){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,o.resolveHref)(I,l,!0);return{href:e,as:g?(0,o.resolveHref)(I,g):t||e}},[I,l,g]),z=a.default.useRef(D),$=a.default.useRef(F);N&&(r=a.default.Children.only(n));let U=N?r&&"object"==typeof r&&r.ref:t,[W,H,G]=(0,h.useIntersection)({rootMargin:"200px"}),V=a.default.useCallback(e=>{($.current!==F||z.current!==D)&&(G(),$.current=F,z.current=D),W(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[F,U,D,G,W]);a.default.useEffect(()=>{L&&H&&M&&v(L,D,F,{locale:O},{kind:Z},P)},[F,D,H,O,M,null==I?void 0:I.locale,L,P,Z]);let B={ref:V,onClick(e){N||"function"!=typeof T||T(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,n,r,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(f):f()}(e,L,D,F,_,j,E,O,P)},onMouseEnter(e){N||"function"!=typeof C||C(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&(M||!P)&&v(L,D,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)},onTouchStart:function(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&(M||!P)&&v(L,D,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)}};if((0,u.isAbsoluteUrl)(F))B.href=F;else if(!N||k||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,p.getDomainLocale)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);B.href=t||(0,m.addBasePath)((0,c.addLocale)(F,e,null==I?void 0:I.defaultLocale))}return N?a.default.cloneElement(r,B):(0,i.jsx)("a",{...R,...B,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(7294),i=n(3815),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!a,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),h=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:a}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),o.set(n,t),t}(n);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,f.current]),[h,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(1997);let r=n(9919),i=n(7903);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:h=!1,loading:p,className:m,quality:x,width:g,height:v,fill:y=!1,style:b,overrideSrc:w,onLoad:k,onLoadingComplete:_,placeholder:j="empty",blurDataURL:E,fetchPriority:O,layout:T,objectFit:C,objectPosition:S,lazyBoundary:N,lazyRoot:R,...I}=e,{imgConf:A,showAltText:L,blurComplete:P,defaultLoader:M}=t,Z=A||i.imageConfigDefault;if("allSizes"in Z)s=Z;else{let e=[...Z.deviceSizes,...Z.imageSizes].sort((e,t)=>e-t),t=Z.deviceSizes.sort((e,t)=>e-t);s={...Z,allSizes:e,deviceSizes:t}}if(void 0===M)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let D=I.loader||M;delete I.loader,delete I.srcSet;let F="__next_img_default"in D;if(F){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=D;D=t=>{let{config:n,...r}=t;return e(r)}}if(T){"fill"===T&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(b={...b,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!d&&(d=t)}let z="",$=o(g),U=o(v);if("object"==typeof(n=c)&&(a(n)||void 0!==n.src)){let e=a(c)?c.default:c;if(!e.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(e));if(!e.height||!e.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(e));if(l=e.blurWidth,u=e.blurHeight,E=E||e.blurDataURL,z=e.src,!y){if($||U){if($&&!U){let t=$/e.width;U=Math.round(e.height*t)}else if(!$&&U){let t=U/e.height;$=Math.round(e.width*t)}}else $=e.width,U=e.height}}let W=!h&&("lazy"===p||void 0===p);(!(c="string"==typeof c?c:z)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,W=!1),s.unoptimized&&(f=!0),F&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),h&&(O="high");let H=o(x),G=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:S}:{},L?{}:{color:"transparent"},b),V=P||"empty"===j?null:"blur"===j?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:$,heightInt:U,blurWidth:l,blurHeight:u,blurDataURL:E||"",objectFit:G.objectFit})+'")':'url("'+j+'")',B=V?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},q=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:a,sizes:o,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:a,width:l[c]})}}({config:s,src:c,unoptimized:f,width:$,quality:H,sizes:d,loader:D});return{props:{...I,loading:W?"lazy":p,fetchPriority:O,width:$,height:U,decoding:"async",className:m,style:{...G,...B},sizes:q.sizes,srcSet:q.srcSet,src:w||q.src},meta:{unoptimized:f,priority:h,placeholder:j,fill:y}}}},9919:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%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='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},5666:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(8754),i=n(7367),a=n(6541),o=r._(n(6663));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.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[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=a.Image},6663:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},9488:function(){},1864:function(e){!function(){"use strict";var t={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),a=s,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,a=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r,i="",a=!1,o=arguments.length-1;o>=-1&&!a;o--)o>=0?r=arguments[o]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(i=r+"/"+i,a=47===r.charCodeAt(0));return(i=n(i,!a),a)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;iu){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else o>u&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var h="";for(d=i+c+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===h.length?h+="..":h+="/..");return h.length>0?h+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){i=o;break}}else a=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===a&&(o=!1,a=r+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!a){r=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===l?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var o=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1)}return -1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(0===s&&a?r.base=r.name=e.slice(1,l):r.base=r.name=e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i=r(114);e.exports=i}()},9008:function(e,t,n){e.exports=n(7828)},5675:function(e,t,n){e.exports=n(5666)},1664:function(e,t,n){e.exports=n(9577)},1163:function(e,t,n){e.exports=n(9090)},1334:function(e,t,n){"use strict";let r,i,a,o,s,l,u,c,d,f,h;n.d(t,{ZP:function(){return oH}});var p,m,x,g,v,y,b,w,k,_,j,E,O,T,C,S,N=n(1163),R=n(7294);n(5202);var I=n(512);function A(){let[e,t]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{t(!0)},[]),e}var L=n(7222),P=()=>{let{locale:e=L.ZW,asPath:t,route:n}=(0,N.useRouter)();return(0,R.useMemo)(()=>{let{pathname:r}=new URL(L.hV.has(n)?n:t,"https://nextra.vercel.app");return(e?r.replace(RegExp(`\\.${e}(\\/|$)`),"$1"):r).replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[t,e,n])},M=n(2643),Z=n(4861);(p=k||(k={})).assertEqual=e=>e,p.assertIs=function(e){},p.assertNever=function(e){throw Error()},p.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},p.getValidEnumValues=e=>{let t=p.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let r of t)n[r]=e[r];return p.objectValues(n)},p.objectValues=e=>p.objectKeys(e).map(function(t){return e[t]}),p.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},p.find=(e,t)=>{for(let n of e)if(t(n))return n},p.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,p.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},p.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(_||(_={})).mergeShapes=(e,t)=>({...e,...t});let D=k.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),F=e=>{switch(typeof e){case"undefined":return D.undefined;case"string":return D.string;case"number":return isNaN(e)?D.nan:D.number;case"boolean":return D.boolean;case"function":return D.function;case"bigint":return D.bigint;case"symbol":return D.symbol;case"object":if(Array.isArray(e))return D.array;if(null===e)return D.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return D.promise;if("undefined"!=typeof Map&&e instanceof Map)return D.map;if("undefined"!=typeof Set&&e instanceof Set)return D.set;if("undefined"!=typeof Date&&e instanceof Date)return D.date;return D.object;default:return D.unknown}},z=k.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"]);class $ extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;re.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}$.create=e=>new $(e);let U=(e,t)=>{let n;switch(e.code){case z.invalid_type:n=e.received===D.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case z.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,k.jsonStringifyReplacer)}`;break;case z.unrecognized_keys:n=`Unrecognized key(s) in object: ${k.joinValues(e.keys,", ")}`;break;case z.invalid_union:n="Invalid input";break;case z.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${k.joinValues(e.options)}`;break;case z.invalid_enum_value:n=`Invalid enum value. Expected ${k.joinValues(e.options)}, received '${e.received}'`;break;case z.invalid_arguments:n="Invalid function arguments";break;case z.invalid_return_type:n="Invalid function return type";break;case z.invalid_date:n="Invalid date";break;case z.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:k.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case z.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case z.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case z.custom:n="Invalid input";break;case z.invalid_intersection_types:n="Intersection results could not be merged";break;case z.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case z.not_finite:n="Number must be finite";break;default:n=t.defaultError,k.assertNever(e)}return{message:n}},W=U;function H(){return W}let G=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function V(e,t){let n=H(),r=G({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===U?void 0:U].filter(e=>!!e)});e.common.issues.push(r)}class B{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return q;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,r=await e.value;n.push({key:t,value:r})}return B.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return q;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let q=Object.freeze({status:"aborted"}),K=e=>({status:"dirty",value:e}),Y=e=>({status:"valid",value:e}),Q=e=>"aborted"===e.status,J=e=>"dirty"===e.status,X=e=>"valid"===e.status,ee=e=>"undefined"!=typeof Promise&&e instanceof Promise;function et(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function en(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}"function"==typeof SuppressedError&&SuppressedError,(m=j||(j={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},m.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class er{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}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 ei=(e,t)=>{if(X(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new $(e.common.issues);return this._error=t,this._error}}};function ea(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{var a,o;let{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:i.defaultError}:void 0===i.data?{message:null!==(a=null!=s?s:r)&&void 0!==a?a:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!==(o=null!=s?s:n)&&void 0!==o?o:i.defaultError}},description:i}}class eo{constructor(e){this.spa=this.safeParseAsync,this._def=e,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(e){return F(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:F(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new B,ctx:{common:e.parent.common,data:e.data,parsedType:F(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(ee(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:F(e)},i=this._parseSync({data:e,path:r.path,parent:r});return ei(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:F(e)},r=this._parse({data:e,path:n.path,parent:n});return ei(n,await (ee(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:z.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new eY({schema:this,typeName:T.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return eQ.create(this,this._def)}nullable(){return eJ.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return eA.create(this,this._def)}promise(){return eK.create(this,this._def)}or(e){return eP.create([this,e],this._def)}and(e){return eD.create(this,e,this._def)}transform(e){return new eY({...ea(this._def),schema:this,typeName:T.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eX({...ea(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:T.ZodDefault})}brand(){return new e4({typeName:T.ZodBranded,type:this,...ea(this._def)})}catch(e){return new e0({...ea(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:T.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return e5.create(this,e)}readonly(){return e3.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let es=/^c[^\s-]{8,}$/i,el=/^[0-9a-z]+$/,eu=/^[0-9A-HJKMNP-TV-Z]{26}$/,ec=/^[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,ed=/^[a-z0-9_-]{21}$/i,ef=/^[-+]?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)?)??$/,eh=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,ep=/^(?:(?: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])$/,em=/^(([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})))$/,ex=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eg="((\\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(`^${eg}$`);function ey(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function eb(e){let t=`${eg}T${ey(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class ew extends eo{_parse(e){var t,n;let i;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==D.string){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.string,received:t.parsedType}),q}let a=new B;for(let o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(V(i=this._getOrReturnCtx(e,i),{code:z.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),a.dirty());else if("length"===o.kind){let t=e.data.length>o.value,n=e.data.lengthe.test(t),{validation:t,code:z.invalid_string,...j.errToObj(n)})}_addCheck(e){return new ew({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...j.errToObj(e)})}url(e){return this._addCheck({kind:"url",...j.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...j.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...j.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...j.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...j.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...j.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...j.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...j.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...j.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,...j.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...j.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...j.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...j.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...j.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...j.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...j.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...j.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...j.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...j.errToObj(t)})}nonempty(e){return this.min(1,j.errToObj(e))}trim(){return new ew({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ew({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ew({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new ew({checks:[],typeName:T.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...ea(e)})};class ek extends eo{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==D.number){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.number,received:t.parsedType}),q}let n=new B;for(let r of this._def.checks)"int"===r.kind?k.isInteger(e.data)||(V(t=this._getOrReturnCtx(e,t),{code:z.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:z.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:z.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(V(t=this._getOrReturnCtx(e,t),{code:z.not_finite,message:r.message}),n.dirty()):k.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,j.toString(t))}gt(e,t){return this.setLimit("min",e,!1,j.toString(t))}lte(e,t){return this.setLimit("max",e,!0,j.toString(t))}lt(e,t){return this.setLimit("max",e,!1,j.toString(t))}setLimit(e,t,n,r){return new ek({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ek({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:j.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:j.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:j.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:j.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:j.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:j.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:j.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:j.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:j.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&k.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.valuenew ek({checks:[],typeName:T.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...ea(e)});class e_ extends eo{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==D.bigint){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.bigint,received:t.parsedType}),q}let n=new B;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:z.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(V(t=this._getOrReturnCtx(e,t),{code:z.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):k.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,j.toString(t))}gt(e,t){return this.setLimit("min",e,!1,j.toString(t))}lte(e,t){return this.setLimit("max",e,!0,j.toString(t))}lt(e,t){return this.setLimit("max",e,!1,j.toString(t))}setLimit(e,t,n,r){return new e_({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new e_({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:j.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:j.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:j.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:j.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:j.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new e_({checks:[],typeName:T.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...ea(e)})};class ej extends eo{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==D.boolean){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.boolean,received:t.parsedType}),q}return Y(e.data)}}ej.create=e=>new ej({typeName:T.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...ea(e)});class eE extends eo{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==D.date){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.date,received:t.parsedType}),q}if(isNaN(e.data.getTime()))return V(this._getOrReturnCtx(e),{code:z.invalid_date}),q;let n=new B;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(V(t=this._getOrReturnCtx(e,t),{code:z.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):k.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new eE({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:j.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:j.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew eE({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:T.ZodDate,...ea(e)});class eO extends eo{_parse(e){if(this._getType(e)!==D.symbol){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.symbol,received:t.parsedType}),q}return Y(e.data)}}eO.create=e=>new eO({typeName:T.ZodSymbol,...ea(e)});class eT extends eo{_parse(e){if(this._getType(e)!==D.undefined){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.undefined,received:t.parsedType}),q}return Y(e.data)}}eT.create=e=>new eT({typeName:T.ZodUndefined,...ea(e)});class eC extends eo{_parse(e){if(this._getType(e)!==D.null){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.null,received:t.parsedType}),q}return Y(e.data)}}eC.create=e=>new eC({typeName:T.ZodNull,...ea(e)});class eS extends eo{constructor(){super(...arguments),this._any=!0}_parse(e){return Y(e.data)}}eS.create=e=>new eS({typeName:T.ZodAny,...ea(e)});class eN extends eo{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Y(e.data)}}eN.create=e=>new eN({typeName:T.ZodUnknown,...ea(e)});class eR extends eo{_parse(e){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.never,received:t.parsedType}),q}}eR.create=e=>new eR({typeName:T.ZodNever,...ea(e)});class eI extends eo{_parse(e){if(this._getType(e)!==D.undefined){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.void,received:t.parsedType}),q}return Y(e.data)}}eI.create=e=>new eI({typeName:T.ZodVoid,...ea(e)});class eA extends eo{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==D.array)return V(t,{code:z.invalid_type,expected:D.array,received:t.parsedType}),q;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(V(t,{code:z.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new er(t,e,t.path,n)))).then(e=>B.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new er(t,e,t.path,n)));return B.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new eA({...this._def,minLength:{value:e,message:j.toString(t)}})}max(e,t){return new eA({...this._def,maxLength:{value:e,message:j.toString(t)}})}length(e,t){return new eA({...this._def,exactLength:{value:e,message:j.toString(t)}})}nonempty(e){return this.min(1,e)}}eA.create=(e,t)=>new eA({type:e,minLength:null,maxLength:null,exactLength:null,typeName:T.ZodArray,...ea(t)});class eL extends eo{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=k.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==D.object){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.object,received:t.parsedType}),q}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof eR&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new er(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof eR){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&(V(n,{code:z.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new er(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>B.mergeObjectSync(t,e)):B.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return j.errToObj,new eL({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,a,o;let s=null!==(a=null===(i=(r=this._def).errorMap)||void 0===i?void 0:i.call(r,t,n).message)&&void 0!==a?a:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=j.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new eL({...this._def,unknownKeys:"strip"})}passthrough(){return new eL({...this._def,unknownKeys:"passthrough"})}extend(e){return new eL({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new eL({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:T.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new eL({...this._def,catchall:e})}pick(e){let t={};return k.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new eL({...this._def,shape:()=>t})}omit(e){let t={};return k.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new eL({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof eL){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=eQ.create(e(i))}return new eL({...t._def,shape:()=>n})}return t instanceof eA?new eA({...t._def,type:e(t.element)}):t instanceof eQ?eQ.create(e(t.unwrap())):t instanceof eJ?eJ.create(e(t.unwrap())):t instanceof eF?eF.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return k.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new eL({...this._def,shape:()=>t})}required(e){let t={};return k.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof eQ;)e=e._def.innerType;t[n]=e}}),new eL({...this._def,shape:()=>t})}keyof(){return eV(k.objectKeys(this.shape))}}eL.create=(e,t)=>new eL({shape:()=>e,unknownKeys:"strip",catchall:eR.create(),typeName:T.ZodObject,...ea(t)}),eL.strictCreate=(e,t)=>new eL({shape:()=>e,unknownKeys:"strict",catchall:eR.create(),typeName:T.ZodObject,...ea(t)}),eL.lazycreate=(e,t)=>new eL({shape:e,unknownKeys:"strip",catchall:eR.create(),typeName:T.ZodObject,...ea(t)});class eP extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new $(e.ctx.common.issues));return V(t,{code:z.invalid_union,unionErrors:n}),q});{let e;let r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new $(e));return V(t,{code:z.invalid_union,unionErrors:i}),q}}get options(){return this._def.options}}eP.create=(e,t)=>new eP({options:e,typeName:T.ZodUnion,...ea(t)});let eM=e=>{if(e instanceof eH)return eM(e.schema);if(e instanceof eY)return eM(e.innerType());if(e instanceof eG)return[e.value];if(e instanceof eB)return e.options;if(e instanceof eq)return k.objectValues(e.enum);if(e instanceof eX)return eM(e._def.innerType);if(e instanceof eT)return[void 0];else if(e instanceof eC)return[null];else if(e instanceof eQ)return[void 0,...eM(e.unwrap())];else if(e instanceof eJ)return[null,...eM(e.unwrap())];else if(e instanceof e4)return eM(e.unwrap());else if(e instanceof e3)return eM(e.unwrap());else if(e instanceof e0)return eM(e._def.innerType);else return[]};class eZ extends eo{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.object)return V(t,{code:z.invalid_type,expected:D.object,received:t.parsedType}),q;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(V(t,{code:z.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),q)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=eM(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(r.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new eZ({typeName:T.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...ea(n)})}}class eD extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(Q(e)||Q(r))return q;let i=function e(t,n){let r=F(t),i=F(n);if(t===n)return{valid:!0,data:t};if(r===D.object&&i===D.object){let r=k.objectKeys(n),i=k.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of i){let i=e(t[r],n[r]);if(!i.valid)return{valid:!1};a[r]=i.data}return{valid:!0,data:a}}if(r===D.array&&i===D.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let i=0;ir(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}eD.create=(e,t,n)=>new eD({left:e,right:t,typeName:T.ZodIntersection,...ea(n)});class eF extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.array)return V(n,{code:z.invalid_type,expected:D.array,received:n.parsedType}),q;if(n.data.lengththis._def.items.length&&(V(n,{code:z.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new er(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>B.mergeArray(t,e)):B.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new eF({...this._def,rest:e})}}eF.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eF({items:e,typeName:T.ZodTuple,rest:null,...ea(t)})};class ez extends eo{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.object)return V(n,{code:z.invalid_type,expected:D.object,received:n.parsedType}),q;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new er(n,e,n.path,e)),value:a._parse(new er(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?B.mergeObjectAsync(t,r):B.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new ez(t instanceof eo?{keyType:e,valueType:t,typeName:T.ZodRecord,...ea(n)}:{keyType:ew.create(),valueType:e,typeName:T.ZodRecord,...ea(t)})}}class e$ extends eo{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.map)return V(n,{code:z.invalid_type,expected:D.map,received:n.parsedType}),q;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new er(n,e,n.path,[a,"key"])),value:i._parse(new er(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return q;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return q;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}e$.create=(e,t,n)=>new e$({valueType:t,keyType:e,typeName:T.ZodMap,...ea(n)});class eU extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.set)return V(n,{code:z.invalid_type,expected:D.set,received:n.parsedType}),q;let r=this._def;null!==r.minSize&&n.data.sizer.maxSize.value&&(V(n,{code:z.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return q;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new er(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eU({...this._def,minSize:{value:e,message:j.toString(t)}})}max(e,t){return new eU({...this._def,maxSize:{value:e,message:j.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eU.create=(e,t)=>new eU({valueType:e,minSize:null,maxSize:null,typeName:T.ZodSet,...ea(t)});class eW extends eo{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.function)return V(t,{code:z.invalid_type,expected:D.function,received:t.parsedType}),q;function n(e,n){return G({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,H(),U].filter(e=>!!e),issueData:{code:z.invalid_arguments,argumentsError:n}})}function r(e,n){return G({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,H(),U].filter(e=>!!e),issueData:{code:z.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eK){let e=this;return Y(async function(...t){let o=new $([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),l=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw o.addIssue(r(l,e)),o})})}{let e=this;return Y(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new $([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new $([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eW({...this._def,args:eF.create(e).rest(eN.create())})}returns(e){return new eW({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eW({args:e||eF.create([]).rest(eN.create()),returns:t||eN.create(),typeName:T.ZodFunction,...ea(n)})}}class eH extends eo{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eH.create=(e,t)=>new eH({getter:e,typeName:T.ZodLazy,...ea(t)});class eG extends eo{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return V(t,{received:t.data,code:z.invalid_literal,expected:this._def.value}),q}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eV(e,t){return new eB({values:e,typeName:T.ZodEnum,...ea(t)})}eG.create=(e,t)=>new eG({value:e,typeName:T.ZodLiteral,...ea(t)});class eB extends eo{constructor(){super(...arguments),E.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return V(t,{expected:k.joinValues(n),received:t.parsedType,code:z.invalid_type}),q}if(et(this,E,"f")||en(this,E,new Set(this._def.values),"f"),!et(this,E,"f").has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return V(t,{received:t.data,code:z.invalid_enum_value,options:n}),q}return Y(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return eB.create(e,{...this._def,...t})}exclude(e,t=this._def){return eB.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}E=new WeakMap,eB.create=eV;class eq extends eo{constructor(){super(...arguments),O.set(this,void 0)}_parse(e){let t=k.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==D.string&&n.parsedType!==D.number){let e=k.objectValues(t);return V(n,{expected:k.joinValues(e),received:n.parsedType,code:z.invalid_type}),q}if(et(this,O,"f")||en(this,O,new Set(k.getValidEnumValues(this._def.values)),"f"),!et(this,O,"f").has(e.data)){let e=k.objectValues(t);return V(n,{received:n.data,code:z.invalid_enum_value,options:e}),q}return Y(e.data)}get enum(){return this._def.values}}O=new WeakMap,eq.create=(e,t)=>new eq({values:e,typeName:T.ZodNativeEnum,...ea(t)});class eK extends eo{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==D.promise&&!1===t.common.async?(V(t,{code:z.invalid_type,expected:D.promise,received:t.parsedType}),q):Y((t.parsedType===D.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eK.create=(e,t)=>new eK({type:e,typeName:T.ZodPromise,...ea(t)});class eY extends eo{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===T.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{V(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return q;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?q:"dirty"===r.status||"dirty"===t.value?K(r.value):r});{if("aborted"===t.value)return q;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?q:"dirty"===r.status||"dirty"===t.value?K(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?q:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?q:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>X(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!X(e))return e;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}k.assertNever(r)}}eY.create=(e,t,n)=>new eY({schema:e,typeName:T.ZodEffects,effect:t,...ea(n)}),eY.createWithPreprocess=(e,t,n)=>new eY({schema:t,effect:{type:"preprocess",transform:e},typeName:T.ZodEffects,...ea(n)});class eQ extends eo{_parse(e){return this._getType(e)===D.undefined?Y(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eQ.create=(e,t)=>new eQ({innerType:e,typeName:T.ZodOptional,...ea(t)});class eJ extends eo{_parse(e){return this._getType(e)===D.null?Y(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eJ.create=(e,t)=>new eJ({innerType:e,typeName:T.ZodNullable,...ea(t)});class eX extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===D.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eX.create=(e,t)=>new eX({innerType:e,typeName:T.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...ea(t)});class e0 extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ee(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new $(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new $(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}e0.create=(e,t)=>new e0({innerType:e,typeName:T.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...ea(t)});class e1 extends eo{_parse(e){if(this._getType(e)!==D.nan){let t=this._getOrReturnCtx(e);return V(t,{code:z.invalid_type,expected:D.nan,received:t.parsedType}),q}return{status:"valid",value:e.data}}}e1.create=e=>new e1({typeName:T.ZodNaN,...ea(e)});let e2=Symbol("zod_brand");class e4 extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class e5 extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?q:"dirty"===e.status?(t.dirty(),K(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?q:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new e5({in:e,out:t,typeName:T.ZodPipeline})}}class e3 extends eo{_parse(e){let t=this._def.innerType._parse(e),n=e=>(X(e)&&(e.value=Object.freeze(e.value)),e);return ee(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function e6(e,t={},n){return e?eS.create().superRefine((r,i)=>{var a,o;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(o=null!==(a=e.fatal)&&void 0!==a?a:n)||void 0===o||o;i.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:s})}}):eS.create()}e3.create=(e,t)=>new e3({innerType:e,typeName:T.ZodReadonly,...ea(t)});let e7={object:eL.lazycreate};(x=T||(T={})).ZodString="ZodString",x.ZodNumber="ZodNumber",x.ZodNaN="ZodNaN",x.ZodBigInt="ZodBigInt",x.ZodBoolean="ZodBoolean",x.ZodDate="ZodDate",x.ZodSymbol="ZodSymbol",x.ZodUndefined="ZodUndefined",x.ZodNull="ZodNull",x.ZodAny="ZodAny",x.ZodUnknown="ZodUnknown",x.ZodNever="ZodNever",x.ZodVoid="ZodVoid",x.ZodArray="ZodArray",x.ZodObject="ZodObject",x.ZodUnion="ZodUnion",x.ZodDiscriminatedUnion="ZodDiscriminatedUnion",x.ZodIntersection="ZodIntersection",x.ZodTuple="ZodTuple",x.ZodRecord="ZodRecord",x.ZodMap="ZodMap",x.ZodSet="ZodSet",x.ZodFunction="ZodFunction",x.ZodLazy="ZodLazy",x.ZodLiteral="ZodLiteral",x.ZodEnum="ZodEnum",x.ZodEffects="ZodEffects",x.ZodNativeEnum="ZodNativeEnum",x.ZodOptional="ZodOptional",x.ZodNullable="ZodNullable",x.ZodDefault="ZodDefault",x.ZodCatch="ZodCatch",x.ZodPromise="ZodPromise",x.ZodBranded="ZodBranded",x.ZodPipeline="ZodPipeline",x.ZodReadonly="ZodReadonly";let e9=ew.create,e8=ek.create,te=e1.create,tt=e_.create,tn=ej.create,tr=eE.create,ti=eO.create,ta=eT.create,to=eC.create,ts=eS.create,tl=eN.create,tu=eR.create,tc=eI.create,td=eA.create,tf=eL.create,th=eL.strictCreate,tp=eP.create,tm=eZ.create,tx=eD.create,tg=eF.create,tv=ez.create,ty=e$.create,tb=eU.create,tw=eW.create,tk=eH.create,t_=eG.create,tj=eB.create,tE=eq.create,tO=eK.create,tT=eY.create,tC=eQ.create,tS=eJ.create,tN=eY.createWithPreprocess,tR=e5.create;var tI=Object.freeze({__proto__:null,defaultErrorMap:U,setErrorMap:function(e){W=e},getErrorMap:H,makeIssue:G,EMPTY_PATH:[],addIssueToContext:V,ParseStatus:B,INVALID:q,DIRTY:K,OK:Y,isAborted:Q,isDirty:J,isValid:X,isAsync:ee,get util(){return k},get objectUtil(){return _},ZodParsedType:D,getParsedType:F,ZodType:eo,datetimeRegex:eb,ZodString:ew,ZodNumber:ek,ZodBigInt:e_,ZodBoolean:ej,ZodDate:eE,ZodSymbol:eO,ZodUndefined:eT,ZodNull:eC,ZodAny:eS,ZodUnknown:eN,ZodNever:eR,ZodVoid:eI,ZodArray:eA,ZodObject:eL,ZodUnion:eP,ZodDiscriminatedUnion:eZ,ZodIntersection:eD,ZodTuple:eF,ZodRecord:ez,ZodMap:e$,ZodSet:eU,ZodFunction:eW,ZodLazy:eH,ZodLiteral:eG,ZodEnum:eB,ZodNativeEnum:eq,ZodPromise:eK,ZodEffects:eY,ZodTransformer:eY,ZodOptional:eQ,ZodNullable:eJ,ZodDefault:eX,ZodCatch:e0,ZodNaN:e1,BRAND:e2,ZodBranded:e4,ZodPipeline:e5,ZodReadonly:e3,custom:e6,Schema:eo,ZodSchema:eo,late:e7,get ZodFirstPartyTypeKind(){return T},coerce:{string:e=>ew.create({...e,coerce:!0}),number:e=>ek.create({...e,coerce:!0}),boolean:e=>ej.create({...e,coerce:!0}),bigint:e=>e_.create({...e,coerce:!0}),date:e=>eE.create({...e,coerce:!0})},any:ts,array:td,bigint:tt,boolean:tn,date:tr,discriminatedUnion:tm,effect:tT,enum:tj,function:tw,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>e6(t=>t instanceof e,t),intersection:tx,lazy:tk,literal:t_,map:ty,nan:te,nativeEnum:tE,never:tu,null:to,nullable:tS,number:e8,object:tf,oboolean:()=>tn().optional(),onumber:()=>e8().optional(),optional:tC,ostring:()=>e9().optional(),pipeline:tR,preprocess:tN,promise:tO,record:tv,set:tb,strictObject:th,string:e9,symbol:ti,transformer:tT,tuple:tg,undefined:ta,union:tp,unknown:tl,void:tc,NEVER:q,ZodIssueCode:z,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:$}),tA=n(1664),tL=n.n(tA);n(6337);var tP=n(5893);let tM=["light","dark"],tZ="(prefers-color-scheme: dark)",tD="undefined"==typeof window,tF=(0,R.createContext)(void 0),tz={setTheme:e=>{},themes:[]},t$=()=>{var e;return null!==(e=(0,R.useContext)(tF))&&void 0!==e?e:tz},tU=e=>(0,R.useContext)(tF)?R.createElement(R.Fragment,null,e.children):R.createElement(tH,e),tW=["light","dark"],tH=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:a=tW,defaultTheme:o=n?"system":"light",attribute:s="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=(0,R.useState)(()=>tV(i,o)),[h,p]=(0,R.useState)(()=>tV(i)),m=l?Object.values(l):a,x=(0,R.useCallback)(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=tq());let a=l?l[i]:i,u=t?tB():null,c=document.documentElement;if("class"===s?(c.classList.remove(...m),a&&c.classList.add(a)):a?c.setAttribute(s,a):c.removeAttribute(s),r){let e=tM.includes(o)?o:null,t=tM.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),g=(0,R.useCallback)(e=>{f(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),v=(0,R.useCallback)(t=>{p(tq(t)),"system"===d&&n&&!e&&x("system")},[d,e]);(0,R.useEffect)(()=>{let e=window.matchMedia(tZ);return e.addListener(v),v(e),()=>e.removeListener(v)},[v]),(0,R.useEffect)(()=>{let e=e=>{e.key===i&&g(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[g]),(0,R.useEffect)(()=>{x(null!=e?e:d)},[e,d]);let y=(0,R.useMemo)(()=>({theme:d,setTheme:g,forcedTheme:e,resolvedTheme:"system"===d?h:d,themes:n?[...a,"system"]:a,systemTheme:n?h:void 0}),[d,g,e,h,n,a]);return R.createElement(tF.Provider,{value:y},R.createElement(tG,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:i,themes:a,defaultTheme:o,attribute:s,value:l,children:u,attrs:m,nonce:c}),u)},tG=(0,R.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,attrs:s,nonce:l})=>{let u="system"===a,c="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?tM.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(e,t=!1,r=!0)=>{let a=o?o[e]:e,s=t?e+"|| ''":`'${a}'`,l="";return i&&r&&!t&&tM.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${s})`:"null":a&&(l+=`d[s](n,${s})`),l},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${tZ}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(a,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(a,!1,!1)};}${d}}catch(t){}}();`;return R.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})},()=>!0),tV=(e,t)=>{let n;if(!tD){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},tB=()=>{let e=document.createElement("style");return e.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(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},tq=e=>(e||(e=window.matchMedia(tZ)),e.matches?"dark":"light");var tK={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tY=tI.strictObject({breadcrumb:tI.boolean(),collapsed:tI.boolean(),footer:tI.boolean(),layout:tI.enum(["default","full","raw"]),navbar:tI.boolean(),pagination:tI.boolean(),sidebar:tI.boolean(),timestamp:tI.boolean(),toc:tI.boolean(),typesetting:tI.enum(["default","article"])}),tQ=tI.enum(["normal","hidden","children"]),tJ=tI.string(),tX=tI.strictObject({href:tI.string(),newWindow:tI.boolean(),title:tJ}),t0=tI.strictObject({display:tQ.optional(),items:tI.record(tX.partial({href:!0,newWindow:!0})),title:tJ,type:tI.literal("menu")}),t1=tI.strictObject({title:tJ.optional(),type:tI.literal("separator")}),t2=tX.extend({display:tQ,theme:tY,title:tJ,type:tI.enum(["page","doc"])}).deepPartial();tI.string().or(t0).or(t1).or(t2);var t4=n(3458),t5=n.n(t4);function t3(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function t6(e){var t=t3(e).Element;return e instanceof t||e instanceof Element}function t7(e){var t=t3(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function t9(e){if("undefined"==typeof ShadowRoot)return!1;var t=t3(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t8=Math.max,ne=Math.min,nt=Math.round;function nn(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function nr(){return!/^((?!chrome|android).)*safari/i.test(nn())}function ni(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&t7(e)&&(i=e.offsetWidth>0&&nt(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&nt(r.height)/e.offsetHeight||1);var o=(t6(e)?t3(e):window).visualViewport,s=!nr()&&n,l=(r.left+(s&&o?o.offsetLeft:0))/i,u=(r.top+(s&&o?o.offsetTop:0))/a,c=r.width/i,d=r.height/a;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function na(e){var t=t3(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function no(e){return e?(e.nodeName||"").toLowerCase():null}function ns(e){return((t6(e)?e.ownerDocument:e.document)||window.document).documentElement}function nl(e){return ni(ns(e)).left+na(e).scrollLeft}function nu(e){return t3(e).getComputedStyle(e)}function nc(e){var t=nu(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function nd(e){var t=ni(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nf(e){return"html"===no(e)?e:e.assignedSlot||e.parentNode||(t9(e)?e.host:null)||ns(e)}function nh(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(no(t))>=0?t.ownerDocument.body:t7(t)&&nc(t)?t:e(nf(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=t3(r),o=i?[a].concat(a.visualViewport||[],nc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(nh(nf(o)))}function np(e){return t7(e)&&"fixed"!==nu(e).position?e.offsetParent:null}function nm(e){for(var t=t3(e),n=np(e);n&&["table","td","th"].indexOf(no(n))>=0&&"static"===nu(n).position;)n=np(n);return n&&("html"===no(n)||"body"===no(n)&&"static"===nu(n).position)?t:n||function(e){var t=/firefox/i.test(nn());if(/Trident/i.test(nn())&&t7(e)&&"fixed"===nu(e).position)return null;var n=nf(e);for(t9(n)&&(n=n.host);t7(n)&&0>["html","body"].indexOf(no(n));){var r=nu(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var nx="bottom",ng="right",nv="left",ny="auto",nb=["top",nx,ng,nv],nw="start",nk="viewport",n_="popper",nj=nb.reduce(function(e,t){return e.concat([t+"-"+nw,t+"-end"])},[]),nE=[].concat(nb,[ny]).reduce(function(e,t){return e.concat([t,t+"-"+nw,t+"-end"])},[]),nO=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],nT={placement:"bottom",modifiers:[],strategy:"absolute"};function nC(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function nA(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nN(i):null,o=i?nR(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case"top":t={x:s,y:n.y-r.height};break;case nx:t={x:s,y:n.y+n.height};break;case ng:t={x:n.x+n.width,y:l};break;case nv:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nI(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case nw:t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var nL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nP(e){var t,n,r,i,a,o,s,l=e.popper,u=e.popperRect,c=e.placement,d=e.variation,f=e.offsets,h=e.position,p=e.gpuAcceleration,m=e.adaptive,x=e.roundOffsets,g=e.isFixed,v=f.x,y=void 0===v?0:v,b=f.y,w=void 0===b?0:b,k="function"==typeof x?x({x:y,y:w}):{x:y,y:w};y=k.x,w=k.y;var _=f.hasOwnProperty("x"),j=f.hasOwnProperty("y"),E=nv,O="top",T=window;if(m){var C=nm(l),S="clientHeight",N="clientWidth";C===t3(l)&&"static"!==nu(C=ns(l)).position&&"absolute"===h&&(S="scrollHeight",N="scrollWidth"),("top"===c||(c===nv||c===ng)&&"end"===d)&&(O=nx,w-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-u.height,w*=p?1:-1),(c===nv||("top"===c||c===nx)&&"end"===d)&&(E=ng,y-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[N])-u.width,y*=p?1:-1)}var R=Object.assign({position:h},m&&nL),I=!0===x?(t={x:y,y:w},n=t3(l),r=t.x,i=t.y,{x:nt(r*(a=n.devicePixelRatio||1))/a||0,y:nt(i*a)/a||0}):{x:y,y:w};return(y=I.x,w=I.y,p)?Object.assign({},R,((s={})[O]=j?"0":"",s[E]=_?"0":"",s.transform=1>=(T.devicePixelRatio||1)?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",s)):Object.assign({},R,((o={})[O]=j?w+"px":"",o[E]=_?y+"px":"",o.transform="",o))}var nM={left:"right",right:"left",bottom:"top",top:"bottom"};function nZ(e){return e.replace(/left|right|bottom|top/g,function(e){return nM[e]})}var nD={start:"end",end:"start"};function nF(e){return e.replace(/start|end/g,function(e){return nD[e]})}function nz(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&t9(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function n$(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nU(e,t,n){var r,i,a,o,s,l,u,c,d,f;return t===nk?n$(function(e,t){var n=t3(e),r=ns(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=nr();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+nl(e),y:l}}(e,n)):t6(t)?((r=ni(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):n$((i=ns(e),o=ns(i),s=na(i),l=null==(a=i.ownerDocument)?void 0:a.body,u=t8(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=t8(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-s.scrollLeft+nl(i),f=-s.scrollTop,"rtl"===nu(l||o).direction&&(d+=t8(o.clientWidth,l?l.clientWidth:0)-u),{width:u,height:c,x:d,y:f}))}function nW(){return{top:0,right:0,bottom:0,left:0}}function nH(e){return Object.assign({},nW(),e)}function nG(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function nV(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u,c=t,d=c.placement,f=void 0===d?e.placement:d,h=c.strategy,p=void 0===h?e.strategy:h,m=c.boundary,x=c.rootBoundary,g=c.elementContext,v=void 0===g?n_:g,y=c.altBoundary,b=c.padding,w=void 0===b?0:b,k=nH("number"!=typeof w?w:nG(w,nb)),_=e.rects.popper,j=e.elements[void 0!==y&&y?v===n_?"reference":n_:v],E=(n=t6(j)?j:j.contextElement||ns(e.elements.popper),r=void 0===m?"clippingParents":m,i=void 0===x?nk:x,l=(s=[].concat("clippingParents"===r?(a=nh(nf(n)),t6(o=["absolute","fixed"].indexOf(nu(n).position)>=0&&t7(n)?nm(n):n)?a.filter(function(e){return t6(e)&&nz(e,o)&&"body"!==no(e)}):[]):[].concat(r),[i]))[0],(u=s.reduce(function(e,t){var r=nU(n,t,p);return e.top=t8(r.top,e.top),e.right=ne(r.right,e.right),e.bottom=ne(r.bottom,e.bottom),e.left=t8(r.left,e.left),e},nU(n,l,p))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),O=ni(e.elements.reference),T=nA({reference:O,element:_,strategy:"absolute",placement:f}),C=n$(Object.assign({},_,T)),S=v===n_?C:O,N={top:E.top-S.top+k.top,bottom:S.bottom-E.bottom+k.bottom,left:E.left-S.left+k.left,right:S.right-E.right+k.right},R=e.modifiersData.offset;if(v===n_&&R){var I=R[f];Object.keys(N).forEach(function(e){var t=[ng,nx].indexOf(e)>=0?1:-1,n=["top",nx].indexOf(e)>=0?"y":"x";N[e]+=I[n]*t})}return N}function nB(e,t,n){return t8(e,ne(t,n))}function nq(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function nK(e){return["top",ng,nx,nv].some(function(t){return e[t]>=0})}var nY=(y=void 0===(v=(g={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,o=r.resize,s=void 0===o||o,l=t3(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",n.update,nS)}),s&&l.addEventListener("resize",n.update,nS),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,nS)}),s&&l.removeEventListener("resize",n.update,nS)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=nA({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=n.adaptive,a=n.roundOffsets,o=void 0===a||a,s={placement:nN(t.placement),variation:nR(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nP(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:o})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nP(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];t7(i)&&no(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});t7(r)&&no(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,o=nE.reduce(function(e,n){var r,i,o,s,l,u;return e[n]=(r=t.rects,o=[nv,"top"].indexOf(i=nN(n))>=0?-1:1,l=(s="function"==typeof a?a(Object.assign({},r,{placement:n})):a)[0],u=s[1],l=l||0,u=(u||0)*o,[nv,ng].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=o[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,x=t.options.placement,g=nN(x)===x,v=l||(g||!p?[nZ(x)]:function(e){if(nN(e)===ny)return[];var t=nZ(e);return[nF(e),t,nF(t)]}(x)),y=[x].concat(v).reduce(function(e,n){var r,i,a,o,s,l,f,h,x,g,v,y;return e.concat(nN(n)===ny?(i=(r={placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:p,allowedAutoPlacements:m}).placement,a=r.boundary,o=r.rootBoundary,s=r.padding,l=r.flipVariations,h=void 0===(f=r.allowedAutoPlacements)?nE:f,0===(v=(g=(x=nR(i))?l?nj:nj.filter(function(e){return nR(e)===x}):nb).filter(function(e){return h.indexOf(e)>=0})).length&&(v=g),Object.keys(y=v.reduce(function(e,n){return e[n]=nV(t,{placement:n,boundary:a,rootBoundary:o,padding:s})[nN(n)],e},{})).sort(function(e,t){return y[e]-y[t]})):n)},[]),b=t.rects.reference,w=t.rects.popper,k=new Map,_=!0,j=y[0],E=0;E=0,N=S?"width":"height",R=nV(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?ng:nv:C?nx:"top";b[N]>w[N]&&(I=nZ(I));var A=nZ(I),L=[];if(a&&L.push(R[T]<=0),s&&L.push(R[I]<=0,R[A]<=0),L.every(function(e){return e})){j=O,_=!1;break}k.set(O,L)}if(_)for(var P=p?3:1,M=function(e){var t=y.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return j=t,"break"},Z=P;Z>0&&"break"!==M(Z);Z--);t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=n.altAxis,o=n.boundary,s=n.rootBoundary,l=n.altBoundary,u=n.padding,c=n.tether,d=void 0===c||c,f=n.tetherOffset,h=void 0===f?0:f,p=nV(t,{boundary:o,rootBoundary:s,padding:u,altBoundary:l}),m=nN(t.placement),x=nR(t.placement),g=!x,v=nI(m),y="x"===v?"y":"x",b=t.modifiersData.popperOffsets,w=t.rects.reference,k=t.rects.popper,_="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,j="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(b){if(void 0===i||i){var T,C="y"===v?"top":nv,S="y"===v?nx:ng,N="y"===v?"height":"width",R=b[v],I=R+p[C],A=R-p[S],L=d?-k[N]/2:0,P=x===nw?w[N]:k[N],M=x===nw?-k[N]:-w[N],Z=t.elements.arrow,D=d&&Z?nd(Z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nW(),z=F[C],$=F[S],U=nB(0,w[N],D[N]),W=g?w[N]/2-L-U-z-j.mainAxis:P-U-z-j.mainAxis,H=g?-w[N]/2+L+U+$+j.mainAxis:M+U+$+j.mainAxis,G=t.elements.arrow&&nm(t.elements.arrow),V=G?"y"===v?G.clientTop||0:G.clientLeft||0:0,B=null!=(T=null==E?void 0:E[v])?T:0,q=nB(d?ne(I,R+W-B-V):I,R,d?t8(A,R+H-B):A);b[v]=q,O[v]=q-R}if(void 0!==a&&a){var K,Y,Q="x"===v?"top":nv,J="x"===v?nx:ng,X=b[y],ee="y"===y?"height":"width",et=X+p[Q],en=X-p[J],er=-1!==["top",nv].indexOf(m),ei=null!=(Y=null==E?void 0:E[y])?Y:0,ea=er?et:X-w[ee]-k[ee]-ei+j.altAxis,eo=er?X+w[ee]+k[ee]-ei-j.altAxis:en,es=d&&er?(K=nB(ea,X,eo))>eo?eo:K:nB(d?ea:et,X,d?eo:en);b[y]=es,O[y]=es-X}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,i=e.name,a=e.options,o=r.elements.arrow,s=r.modifiersData.popperOffsets,l=nN(r.placement),u=nI(l),c=[nv,ng].indexOf(l)>=0?"height":"width";if(o&&s){var d=nH("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:nG(t,nb)),f=nd(o),h="y"===u?"top":nv,p="y"===u?nx:ng,m=r.rects.reference[c]+r.rects.reference[u]-s[u]-r.rects.popper[c],x=s[u]-r.rects.reference[u],g=nm(o),v=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,y=d[h],b=v-f[c]-d[p],w=v/2-f[c]/2+(m/2-x/2),k=nB(y,w,b);r.modifiersData[i]=((n={})[u]=k,n.centerOffset=k-w,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&nz(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=nV(t,{elementContext:"reference"}),s=nV(t,{altBoundary:!0}),l=nq(o,r),u=nq(s,i,a),c=nK(l),d=nK(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:v,w=void 0===(b=g.defaultOptions)?nT:b,function(e,t,n){void 0===n&&(n=w);var r,i,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},nT,w),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,l={state:a,setOptions:function(n){var r,i,s,c,d,f="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},w,a.options,f),a.scrollParents={reference:t6(e)?nh(e):e.contextElement?nh(e.contextElement):[],popper:nh(t)};var h=(i=Object.keys(r=[].concat(y,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),s=new Map,c=new Set,d=[],i.forEach(function(e){s.set(e.name,e)}),i.forEach(function(e){c.has(e.name)||function e(t){c.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!c.has(t)){var n=s.get(t);n&&e(n)}}),d.push(t)}(e)}),nO.reduce(function(e,t){return e.concat(d.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=h.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:l,options:void 0===n?{}:n});o.push(i||function(){})}}),l.update()},forceUpdate:function(){if(!s){var e,t,n,r,i,o,u,c,d,f,h,p,m=a.elements,x=m.reference,g=m.popper;if(nC(x,g)){a.rects={reference:(t=nm(g),n="fixed"===a.options.strategy,r=t7(t),c=t7(t)&&(o=nt((i=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=nt(i.height)/t.offsetHeight||1,1!==o||1!==u),d=ns(t),f=ni(x,c,n),h={scrollLeft:0,scrollTop:0},p={x:0,y:0},(r||!r&&!n)&&(("body"!==no(t)||nc(d))&&(h=(e=t)!==t3(e)&&t7(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:na(e)),t7(t)?(p=ni(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):d&&(p.x=nl(d))),{x:f.left+h.scrollLeft-p.x,y:f.top+h.scrollTop-p.y,width:f.width,height:f.height}),popper:nd(g)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v=r))));t++);if(n)return a?rm(l,r,0):void(t[t.length]=l)}return!n&&l}function rm(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function rx(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function rg(e,t,n,r,i){let a=0;if(e.constructor===Array){if(i)-1!==(t=e.indexOf(t))?1=this.B&&(d||!c[p])){var a=rf(f,r,h),o="";switch(this.G){case"full":if(2a;s--)if(s-a>=this.B){var l=rf(f,r,h,i,a);rh(this,c,o=p.substring(a,s),l,e,n)}break}case"reverse":if(1=this.B&&rh(this,c,o,rf(f,r,h,i,s),e,n);o=""}case"forward":if(1=this.B&&rh(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,p,h)|0,f-1)),rh(this,c,p,a,e,n),d&&1=this.B&&!i[p]){i[p]=1;let t=this.l&&p>a;rh(this,u,t?a:p,rf(o+(r/2>o?0:1),r,h,s-1,l-1),e,n,t?p:a)}}}}}this.m||(this.register[e]=1)}}return this},C.search=function(e,t,n){let r,i,a;n||(!t&&n2(e)?e=(n=e).query:n2(t)&&(n=t));let o=[],s,l,u=0;if(n){e=n.query||e,t=n.limit,u=n.offset||0;var c=n.context;l=n.suggest}if(e&&1<(s=(e=this.encode(""+e)).length)){n=nX();var d=[];for(let t=0,r=0,i;t=this.B&&!n[i]){if(!this.s&&!l&&!this.map[i])return o;d[r++]=i,n[i]=1}s=(e=d).length}if(!s)return o;for(t||(t=100),c=this.depth&&1{a=e})),i||(i=0)){case 0:if(o="reg",this.m)for(let e in s=nX(),this.register)s[e]=1;else s=this.register;break;case 1:o="cfg",s={doc:0,opt:this.s?1:0};break;case 2:o="map",s=this.map;break;case 3:o="ctx",s=this.h;break;default:void 0===n&&a&&a();return}return rc(e,t||this,n,o,r,i,s,a),l},C.import=function(e,t){if(t)switch(n1(t)&&(t=JSON.parse(t)),e){case"cfg":this.s=!!t.opt;break;case"reg":this.m=!1,this.register=t;break;case"map":this.map=t;break;case"ctx":this.h=t}},ri(rd.prototype);let ry=0;function rb(e){var t;if(!(this instanceof rb))return new rb(e);e?n4(t=e.encode)&&(e.encode=t.toString()):e={},(t=(self||window)._factory)&&(t=t.toString());let r="undefined"==typeof window&&self.exports,i=this;this.o=function(e,t,r){let i;try{i=t?new(n(5789)).Worker("//node/node.js"):e?new Worker(URL.createObjectURL(new Blob(["onmessage="+rv.toString()],{type:"text/javascript"}))):new Worker(n1(r)?r:"worker/worker.js",{type:"module"})}catch(e){}return i}(t,r,e.worker),this.h=nX(),this.o&&(r?this.o.on("message",function(e){i.h[e.id](e.msg),delete i.h[e.id]}):this.o.onmessage=function(e){e=e.data,i.h[e.id](e.msg),delete i.h[e.id]},this.o.postMessage({task:"init",factory:t,options:e}))}function rw(e){rb.prototype[e]=rb.prototype[e+"Async"]=function(){let t;let n=this,r=[].slice.call(arguments);var i=r[r.length-1];return n4(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++ry]=t,n.o.postMessage({task:e,id:ry,args:r})})}),t?(i.then(t),this):i}}function rk(e){if(!(this instanceof rk))return new rk(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=nX(),this.key=(t=n.key||n.id)&&r_(t,this.A)||"id",this.m=nQ(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&nX(),this.I=(t=n.tag)&&r_(t,this.A),this.l=t&&nX(),this.cache=(t=e.cache)&&new rs(t),e.cache=!1,this.o=e.worker,this.async=!1,t=nX();let r=n.index||n.field||n;n1(r)&&(r=[r]);for(let n=0,i,a;nt||n)&&(i=i.slice(n,n+t)),r&&(i=rO.call(this,i)),{tag:e,result:i}}function rO(e){let t=Array(e.length);for(let n=0,r;n{a=e})),i||(i=0),r||(r=0),r()=>e.dispose(),[e]),e}var rZ=n(3),rD=n(2308),rF=n(1378),rz=n(5508),r$=n(2047),rU=n(1813),rW=n(8844);function rH(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&e.classList.add(...n)}function rG(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r0&&e.classList.remove(...n)}let rV=(0,R.createContext)(null);rV.displayName="OpenClosedContext";var rB=((i=rB||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i);function rq(){return(0,R.useContext)(rV)}function rK(e){let{value:t,children:n}=e;return R.createElement(rV.Provider,{value:t},n)}var rY=n(5602),rQ=n(8287);function rJ(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/\s+/).filter(e=>e.length>1)}let rX=(0,R.createContext)(null);rX.displayName="TransitionContext";var r0=((a=r0||{}).Visible="visible",a.Hidden="hidden",a);let r1=(0,R.createContext)(null);function r2(e){return"children"in e?r2(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function r4(e,t){let n=(0,rz.E)(e),r=(0,R.useRef)([]),i=(0,rD.t)(),a=rM(),o=(0,rZ.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rQ.l4.Hidden,o=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==o&&((0,rW.E)(t,{[rQ.l4.Unmount](){r.current.splice(o,1)},[rQ.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!r2(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rZ.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>o(e,rQ.l4.Unmount)}),l=(0,R.useRef)([]),u=(0,R.useRef)(Promise.resolve()),c=(0,R.useRef)({enter:[],leave:[],idle:[]}),d=(0,rZ.z)((e,n,r)=>{l.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{l.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,rZ.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>n(t))});return(0,R.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function r5(){}r1.displayName="NestingContext";let r3=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function r6(e){var t;let n={};for(let r of r3)n[r]=null!=(t=e[r])?t:r5;return n}let r7=rQ.AN.RenderStrategy,r9=(0,rQ.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,R.useRef)(null),s=(0,rU.T)(o,t);(0,r$.H)();let l=rq();if(void 0===n&&null!==l&&(n=(l&rB.Open)===rB.Open),![!0,!1].includes(n))throw Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,R.useState)(n?"visible":"hidden"),d=r4(()=>{c("hidden")}),[f,h]=(0,R.useState)(!0),p=(0,R.useRef)([n]);(0,rF.e)(()=>{!1!==f&&p.current[p.current.length-1]!==n&&(p.current.push(n),h(!1))},[p,n]);let m=(0,R.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,R.useEffect)(()=>{if(n)c("visible");else if(r2(d)){let e=o.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")},[n,d]);let x={unmount:i},g=(0,rZ.z)(()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rZ.z)(()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)});return R.createElement(r1.Provider,{value:d},R.createElement(rX.Provider,{value:m},(0,rQ.sY)({ourProps:{...x,as:R.Fragment,children:R.createElement(r8,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:R.Fragment,features:r7,visible:"visible"===u,name:"Transition"})))}),r8=(0,rQ.yV)(function(e,t){var n,r,i;let a;let{beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u,enter:c,enterFrom:d,enterTo:f,entered:h,leave:p,leaveFrom:m,leaveTo:x,...g}=e,v=(0,R.useRef)(null),y=(0,rU.T)(v,t),b=null==(n=g.unmount)||n?rQ.l4.Unmount:rQ.l4.Hidden,{show:w,appear:k,initial:_}=function(){let e=(0,R.useContext)(rX);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[j,E]=(0,R.useState)(w?"visible":"hidden"),O=function(){let e=(0,R.useContext)(r1);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:T,unregister:C}=O;(0,R.useEffect)(()=>T(v),[T,v]),(0,R.useEffect)(()=>{if(b===rQ.l4.Hidden&&v.current){if(w&&"visible"!==j){E("visible");return}return(0,rW.E)(j,{hidden:()=>C(v),visible:()=>T(v)})}},[j,v,T,C,w,b]);let S=(0,rz.E)({base:rJ(g.className),enter:rJ(c),enterFrom:rJ(d),enterTo:rJ(f),entered:rJ(h),leave:rJ(p),leaveFrom:rJ(m),leaveTo:rJ(x)}),N=(i={beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u},a=(0,R.useRef)(r6(i)),(0,R.useEffect)(()=>{a.current=r6(i)},[i]),a),I=(0,r$.H)();(0,R.useEffect)(()=>{if(I&&"visible"===j&&null===v.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[v,j,I]);let A=k&&w&&_,L=I&&(!_||k)?w?"enter":"leave":"idle",P=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,R.useState)(e),r=(0,rD.t)(),i=(0,R.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,R.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,R.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,R.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),M=(0,rZ.z)(e=>(0,rW.E)(e,{enter:()=>{P.addFlag(rB.Opening),N.current.beforeEnter()},leave:()=>{P.addFlag(rB.Closing),N.current.beforeLeave()},idle:()=>{}})),Z=(0,rZ.z)(e=>(0,rW.E)(e,{enter:()=>{P.removeFlag(rB.Opening),N.current.afterEnter()},leave:()=>{P.removeFlag(rB.Closing),N.current.afterLeave()},idle:()=>{}})),D=r4(()=>{E("hidden"),C(v)},O),F=(0,R.useRef)(!1);!function(e){let{immediate:t,container:n,direction:r,classes:i,onStart:a,onStop:o}=e,s=(0,rD.t)(),l=rM(),u=(0,rz.E)(r);(0,rF.e)(()=>{t&&(u.current="enter")},[t]),(0,rF.e)(()=>{let e=(0,rP.k)();l.add(e.dispose);let t=n.current;if(t&&"idle"!==u.current&&s.current){var r,c,d;let n,s,l,f,h,p,m;return e.dispose(),a.current(u.current),e.add((r=i.current,c="enter"===u.current,d=()=>{e.dispose(),o.current(u.current)},s=c?"enter":"leave",l=(0,rP.k)(),f=void 0!==d?(n={called:!1},function(){for(var e=arguments.length,t=Array(e),r=0;r{},"enter"===s&&(t.removeAttribute("hidden"),t.style.display=""),h=(0,rW.E)(s,{enter:()=>r.enter,leave:()=>r.leave}),p=(0,rW.E)(s,{enter:()=>r.enterTo,leave:()=>r.leaveTo}),m=(0,rW.E)(s,{enter:()=>r.enterFrom,leave:()=>r.leaveFrom}),rG(t,...r.base,...r.enter,...r.enterTo,...r.enterFrom,...r.leave,...r.leaveFrom,...r.leaveTo,...r.entered),rH(t,...r.base,...h,...m),l.nextFrame(()=>{rG(t,...r.base,...h,...m),rH(t,...r.base,...h,...p),function(e,t){let n=(0,rP.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=a+o;if(0!==s){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},s),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(t,()=>(rG(t,...r.base,...h),rH(t,...r.base,...r.entered),f()))}),l.dispose)),e.dispose}},[r])}({immediate:A,container:v,classes:S,direction:L,onStart:(0,rz.E)(e=>{F.current=!0,D.onStart(v,e,M)}),onStop:(0,rz.E)(e=>{F.current=!1,D.onStop(v,e,Z),"leave"!==e||r2(D)||(E("hidden"),C(v))})});let z=g;return A?z={...z,className:(0,rY.A)(g.className,...S.current.enter,...S.current.enterFrom)}:F.current&&(z.className=(0,rY.A)(g.className,null==(r=v.current)?void 0:r.className),""===z.className&&delete z.className),R.createElement(r1.Provider,{value:D},R.createElement(rK,{value:(0,rW.E)(j,{visible:rB.Open,hidden:rB.Closed})|P.flags},(0,rQ.sY)({ourProps:{ref:y},theirProps:z,defaultTag:"div",features:r7,visible:"visible"===j,name:"Transition.Child"})))}),ie=(0,rQ.yV)(function(e,t){let n=null!==(0,R.useContext)(rX),r=null!==rq();return R.createElement(R.Fragment,null,!n&&r?R.createElement(r9,{ref:t,...e}):R.createElement(r8,{ref:t,...e}))}),it=Object.assign(r9,{Child:ie,Root:r9});var ir=n(953);function ii(e,t){let[n,r]=(0,R.useState)(e),i=(0,rz.E)(e);return(0,rF.e)(()=>r(i.current),[i,r,...t]),n}var ia=n(4924),io=n(8657);function is(e,t,n){let r=(0,rz.E)(t);(0,R.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function il(e,t){var n,r;let i,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=(0,R.useRef)(!1);function s(n,r){if(!o.current||n.defaultPrevented)return;let i=r(n);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(i)||n.composed&&n.composedPath().includes(e))return}return(0,io.sP)(i,io.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,R.useEffect)(()=>{requestAnimationFrame(()=>{o.current=a})},[a]);let l=(0,R.useRef)(null);is("pointerdown",e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),is("mousedown",e=>{var t,n;o.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),is("click",e=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||l.current&&(s(e,()=>l.current),l.current=null)},!0),is("touchend",e=>s(e,()=>e.target instanceof HTMLElement?e.target:null),!0),n="blur",r=e=>s(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),i=(0,rz.E)(r),(0,R.useEffect)(()=>{function e(e){i.current(e)}return window.addEventListener(n,e,!0),()=>window.removeEventListener(n,e,!0)},[n,!0])}var iu=n(961);let ic=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function id(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let o=a?null!=(n=i.innerText)?n:"":r;return ic.test(o)&&(o=o.replace(ic,"")),o}function ih(e){let t=(0,R.useRef)(""),n=(0,R.useRef)("");return(0,rZ.z)(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():id(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return id(e).trim()})(r).trim().toLowerCase();return t.current=i,n.current=a,a})}function ip(e){return[e.screenX,e.screenY]}function im(){let e=(0,R.useRef)([-1,-1]);return{wasMoved(t){let n=ip(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=ip(t)}}}var ix=n(7524);function ig(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}var iv=((o=iv||{})[o.First=0]="First",o[o.Previous=1]="Previous",o[o.Next=2]="Next",o[o.Last=3]="Last",o[o.Specific=4]="Specific",o[o.Nothing=5]="Nothing",o);function iy(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,io.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let iC={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=iT(e),i=iy(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),a=i?e.options.indexOf(i):-1;return -1===a||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=iT(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=iT(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},iS=(0,R.createContext)(null);function iN(e){let t=(0,R.useContext)(iS);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,iN),t}return t}iS.displayName="ListboxActionsContext";let iR=(0,R.createContext)(null);function iI(e){let t=(0,R.useContext)(iR);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,iI),t}return t}function iA(e,t){return(0,rW.E)(t.type,iC,e,t)}iR.displayName="ListboxDataContext";let iL=R.Fragment,iP=rQ.AN.RenderStrategy|rQ.AN.Static,iM=Object.assign((0,rQ.yV)(function(e,t){let{value:n,defaultValue:r,form:i,name:a,onChange:o,by:s=(e,t)=>e===t,disabled:l=!1,horizontal:u=!1,multiple:c=!1,...d}=e,f=u?"horizontal":"vertical",h=(0,rU.T)(t),[p=c?[]:void 0,m]=function(e,t,n){let[r,i]=(0,R.useState)(n),a=void 0!==e,o=(0,R.useRef)(a),s=(0,R.useRef)(!1),l=(0,R.useRef)(!1);return!a||o.current||s.current?a||!o.current||l.current||(l.current=!0,o.current=a,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.")):(s.current=!0,o.current=a,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.")),[a?e:r,(0,rZ.z)(e=>(a||i(e),null==t?void 0:t(e)))]}(n,o,r),[x,g]=(0,R.useReducer)(iA,{dataRef:(0,R.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,R.useRef)({static:!1,hold:!1}),y=(0,R.useRef)(null),b=(0,R.useRef)(null),w=(0,R.useRef)(null),k=(0,rZ.z)("string"==typeof s?(e,t)=>(null==e?void 0:e[s])===(null==t?void 0:t[s]):s),_=(0,R.useCallback)(e=>(0,rW.E)(j.mode,{1:()=>p.some(t=>k(t,e)),0:()=>k(p,e)}),[p]),j=(0,R.useMemo)(()=>({...x,value:p,disabled:l,mode:c?1:0,orientation:f,compare:k,isSelected:_,optionsPropsRef:v,labelRef:y,buttonRef:b,optionsRef:w}),[p,l,c,x]);(0,rF.e)(()=>{x.dataRef.current=j},[j]),il([j.buttonRef,j.optionsRef],(e,t)=>{var n;g({type:1}),(0,io.sP)(t,io.tJ.Loose)||(e.preventDefault(),null==(n=j.buttonRef.current)||n.focus())},0===j.listboxState);let E=(0,R.useMemo)(()=>({open:0===j.listboxState,disabled:l,value:p}),[j,l,p]),O=(0,rZ.z)(e=>{let t=j.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),T=(0,rZ.z)(()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];L(e.current.value),g({type:2,focus:iv.Specific,id:t})}}),C=(0,rZ.z)(()=>g({type:0})),S=(0,rZ.z)(()=>g({type:1})),N=(0,rZ.z)((e,t,n)=>e===iv.Specific?g({type:2,focus:iv.Specific,id:t,trigger:n}):g({type:2,focus:e,trigger:n})),I=(0,rZ.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rZ.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rZ.z)(e=>(0,rW.E)(j.mode,{0:()=>null==m?void 0:m(e),1(){let t=j.value.slice(),n=t.findIndex(t=>k(t,e));return -1===n?t.push(e):t.splice(n,1),null==m?void 0:m(t)}})),P=(0,rZ.z)(e=>g({type:3,value:e})),M=(0,rZ.z)(()=>g({type:4})),Z=(0,R.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:N,closeListbox:S,openListbox:C,selectActiveOption:T,selectOption:O,search:P,clearSearch:M}),[]),D=(0,R.useRef)(null),F=rM();return(0,R.useEffect)(()=>{D.current&&void 0!==r&&F.addEventListener(D.current,"reset",()=>{null==m||m(r)})},[D,m]),R.createElement(iS.Provider,{value:Z},R.createElement(iR.Provider,{value:j},R.createElement(rK,{value:(0,rW.E)(j.listboxState,{0:rB.Open,1:rB.Closed})},null!=a&&null!=p&&(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[i,a]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,a]of i.entries())t(n,ib(r,e.toString()),a);else i instanceof Date?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,"".concat(i)]):null==i?n.push([r,""]):e(i,r,n)}(r,ib(n,i),a);return r})({[a]:p}).map((e,t)=>{let[n,r]=e;return R.createElement(ix._,{features:ix.A.Hidden,ref:0===t?e=>{var t;D.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rQ.oA)({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,disabled:l,name:n,value:r})})}),(0,rQ.sY)({ourProps:{ref:h},theirProps:d,slot:E,defaultTag:iL,name:"Listbox"}))))}),{Button:(0,rQ.yV)(function(e,t){var n;let r=(0,ia.M)(),{id:i="headlessui-listbox-button-".concat(r),...a}=e,o=iI("Listbox.Button"),s=iN("Listbox.Button"),l=(0,rU.T)(o.buttonRef,t),u=rM(),c=(0,rZ.z)(e=>{switch(e.key){case ik.R.Space:case ik.R.Enter:case ik.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iv.First)});break;case ik.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iv.Last)})}}),d=(0,rZ.z)(e=>{e.key===ik.R.Space&&e.preventDefault()}),f=(0,rZ.z)(e=>{if(ig(e.currentTarget))return e.preventDefault();0===o.listboxState?(s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(e.preventDefault(),s.openListbox())}),h=ii(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),p=(0,R.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,iu.f)(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":0===o.listboxState,"aria-labelledby":h,disabled:o.disabled,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rQ.sY)({ourProps:m,theirProps:a,slot:p,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,rQ.yV)(function(e,t){let n=(0,ia.M)(),{id:r="headlessui-listbox-label-".concat(n),...i}=e,a=iI("Listbox.Label"),o=iN("Listbox.Label"),s=(0,rU.T)(a.labelRef,t);(0,rF.e)(()=>o.registerLabel(r),[r]);let l=(0,rZ.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,R.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rQ.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,rQ.yV)(function(e,t){var n;let r=(0,ia.M)(),{id:i="headlessui-listbox-options-".concat(r),...a}=e,o=iI("Listbox.Options"),s=iN("Listbox.Options"),l=(0,rU.T)(o.optionsRef,t),u=rM(),c=rM(),d=rq(),f=null!==d?(d&rB.Open)===rB.Open:0===o.listboxState;(0,R.useEffect)(()=>{var e;let t=o.optionsRef.current;t&&0===o.listboxState&&t!==(null==(e=(0,iw.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let h=(0,rZ.z)(e=>{switch(c.dispose(),e.key){case ik.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case ik.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];s.onChange(e.current.value)}0===o.mode&&(s.closeListbox(),(0,rP.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case(0,rW.E)(o.orientation,{vertical:ik.R.ArrowDown,horizontal:ik.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.Next);case(0,rW.E)(o.orientation,{vertical:ik.R.ArrowUp,horizontal:ik.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.Previous);case ik.R.Home:case ik.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.First);case ik.R.End:case ik.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.Last);case ik.R.Escape:return e.preventDefault(),e.stopPropagation(),s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case ik.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),p=ii(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.id},[o.buttonRef.current]),m=(0,R.useMemo)(()=>({open:0===o.listboxState}),[o]),x={"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===o.mode||void 0,"aria-labelledby":p,"aria-orientation":o.orientation,id:i,onKeyDown:h,role:"listbox",tabIndex:0,ref:l};return(0,rQ.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:"ul",features:iP,visible:f,name:"Listbox.Options"})}),Option:(0,rQ.yV)(function(e,t){let n=(0,ia.M)(),{id:r="headlessui-listbox-option-".concat(n),disabled:i=!1,value:a,...o}=e,s=iI("Listbox.Option"),l=iN("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,R.useRef)(null),f=ih(d),h=(0,rz.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),p=(0,rU.T)(t,d);(0,rF.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rP.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[d,u,s.listboxState,s.activationTrigger,s.activeOptionIndex]),(0,rF.e)(()=>l.registerOption(r,h),[h,r]);let m=(0,rZ.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rP.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),x=(0,rZ.z)(()=>{if(i)return l.goToOption(iv.Nothing);l.goToOption(iv.Specific,r)}),g=im(),v=(0,rZ.z)(e=>g.update(e)),y=(0,rZ.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(iv.Specific,r,0))}),b=(0,rZ.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(iv.Nothing))}),w=(0,R.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rQ.sY)({ourProps:{id:r,ref:p,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":c,disabled:void 0,onClick:m,onFocus:x,onPointerEnter:v,onMouseEnter:v,onPointerMove:y,onMouseMove:y,onPointerLeave:b,onMouseLeave:b},theirProps:o,slot:w,defaultTag:"li",name:"Listbox.Option"})})});var iZ=n(3935),iD=n(9008),iF=n.n(iD);function iz(){return(iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var iU=["keyOverride"],iW=["crossOrigin"],iH={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},iG=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,i=r.defaultWidth,a=r.defaultHeight;return t.reduce(function(t,n,r){return t.push(R.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(R.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(R.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(R.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(R.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(R.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(R.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(R.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},iV=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(iH.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,iH.templateTitle&&(s=iH.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(R.createElement("title",{key:"title"},s));var l=void 0===e.noindex?iH.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?iH.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c=e.norobots||iH.norobots,d="";if(e.robotsProps){var f=e.robotsProps,h=f.nosnippet,p=f.maxSnippet,m=f.maxImagePreview,x=f.maxVideoPreview,g=f.noarchive,v=f.noimageindex,y=f.notranslate,b=f.unavailableAfter;d=(h?",nosnippet":"")+(p?",max-snippet:"+p:"")+(m?",max-image-preview:"+m:"")+(g?",noarchive":"")+(b?",unavailable_after:"+b:"")+(v?",noimageindex":"")+(x?",max-video-preview:"+x:"")+(y?",notranslate":"")}if(e.norobots&&(iH.norobots=!0),l||u?(e.dangerouslySetAllPagesToNoIndex&&(iH.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(iH.nofollow=!0),o.push(R.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+d}))):(!c||d)&&o.push(R.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+d})),e.description&&o.push(R.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(R.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(R.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){o.push(R.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(R.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(R.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(R.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(R.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(R.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||s})),(null!=(n=e.openGraph)&&n.description||e.description)&&o.push(R.createElement("meta",{key:"og:description",property:"og:description",content:(null==(a=e.openGraph)?void 0:a.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&o.push(R.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var w=e.openGraph.type.toLowerCase();o.push(R.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(R.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(R.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(R.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(R.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===w&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){o.push(R.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(R.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(R.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(R.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(R.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(R.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){o.push(R.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(R.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===w||"video.episode"===w||"video.tv_show"===w||"video.other"===w)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&o.push(R.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(R.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(R.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(R.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(R.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(iH.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(iH.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,iG("image",e.openGraph.images,{defaultWidth:iH.defaultOpenGraphImageWidth,defaultHeight:iH.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(iH.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(iH.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,iG("video",e.openGraph.videos,{defaultWidth:iH.defaultOpenGraphVideoWidth,defaultHeight:iH.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,iG("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(R.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(R.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(R.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,r=e.keyOverride,i=i$(e,iU);o.push(R.createElement("meta",iz({key:"meta:"+(null!=(t=null!=(n=null!=r?r:i.name)?n:i.property)?t:i.httpEquiv)},i)))}),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,r=i$(e,iW);o.push(R.createElement("link",iz({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),o},iB=function(e){return R.createElement(iF(),null,iV(e))},iq=function(e){var t=e.title,n=e.themeColor,r=e.noindex,i=e.nofollow,a=e.robotsProps,o=e.description,s=e.canonical,l=e.openGraph,u=e.facebook,c=e.twitter,d=e.additionalMetaTags,f=e.titleTemplate,h=e.defaultTitle,p=e.mobileAlternate,m=e.languageAlternates,x=e.additionalLinkTags;return R.createElement(R.Fragment,null,R.createElement(iB,{title:t,themeColor:n,noindex:r,nofollow:i,robotsProps:a,description:o,canonical:s,facebook:u,openGraph:l,additionalMetaTags:d,twitter:c,titleTemplate:f,defaultTitle:h,mobileAlternate:p,languageAlternates:m,additionalLinkTags:x}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var iK=((d=iK||{})[d.Open=0]="Open",d[d.Closed=1]="Closed",d),iY=((f=iY||{})[f.Pointer=0]="Pointer",f[f.Other=1]="Other",f),iQ=((h=iQ||{})[h.OpenMenu=0]="OpenMenu",h[h.CloseMenu=1]="CloseMenu",h[h.GoToItem=2]="GoToItem",h[h.Search=3]="Search",h[h.ClearSearch=4]="ClearSearch",h[h.RegisterItem=5]="RegisterItem",h[h.UnregisterItem=6]="UnregisterItem",h);function iJ(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,io.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{items:r,activeItemIndex:i}}let iX={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=iJ(e),i=iy(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return -1===a||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=iJ(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=iJ(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},i0=(0,R.createContext)(null);function i1(e){let t=(0,R.useContext)(i0);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,i1),t}return t}function i2(e,t){return(0,rW.E)(t.type,iX,e,t)}i0.displayName="MenuContext";let i4=R.Fragment,i5=rQ.AN.RenderStrategy|rQ.AN.Static,i3=R.Fragment,i6=Object.assign((0,rQ.yV)(function(e,t){let{__demoMode:n=!1,...r}=e,i=(0,R.useReducer)(i2,{__demoMode:n,menuState:n?0:1,buttonRef:(0,R.createRef)(),itemsRef:(0,R.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rU.T)(t);il([s,o],(e,t)=>{var n;l({type:1}),(0,io.sP)(t,io.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rZ.z)(()=>{l({type:1})}),d=(0,R.useMemo)(()=>({open:0===a,close:c}),[a,c]);return R.createElement(i0.Provider,{value:i},R.createElement(rK,{value:(0,rW.E)(a,{0:rB.Open,1:rB.Closed})},(0,rQ.sY)({ourProps:{ref:u},theirProps:r,slot:d,defaultTag:i4,name:"Menu"})))}),{Button:(0,rQ.yV)(function(e,t){var n;let r=(0,ia.M)(),{id:i="headlessui-menu-button-".concat(r),...a}=e,[o,s]=i1("Menu.Button"),l=(0,rU.T)(o.buttonRef,t),u=rM(),c=(0,rZ.z)(e=>{switch(e.key){case ik.R.Space:case ik.R.Enter:case ik.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iv.First}));break;case ik.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iv.Last}))}}),d=(0,rZ.z)(e=>{e.key===ik.R.Space&&e.preventDefault()}),f=(0,rZ.z)(t=>{if(ig(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(s({type:1}),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),s({type:0})))}),h=(0,R.useMemo)(()=>({open:0===o.menuState}),[o]),p={ref:l,id:i,type:(0,iu.f)(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":0===o.menuState,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rQ.sY)({ourProps:p,theirProps:a,slot:h,defaultTag:"button",name:"Menu.Button"})}),Items:(0,rQ.yV)(function(e,t){var n,r;let i=(0,ia.M)(),{id:a="headlessui-menu-items-".concat(i),...o}=e,[s,l]=i1("Menu.Items"),u=(0,rU.T)(s.itemsRef,t),c=function(){for(var e=arguments.length,t=Array(e),n=0;n(0,iw.r)(...t),[...t])}(s.itemsRef),d=rM(),f=rq(),h=null!==f?(f&rB.Open)===rB.Open:0===s.menuState;(0,R.useEffect)(()=>{let e=s.itemsRef.current;e&&0===s.menuState&&e!==(null==c?void 0:c.activeElement)&&e.focus({preventScroll:!0})},[s.menuState,s.itemsRef,c]),function(e){let{container:t,accept:n,walk:r,enabled:i=!0}=e,a=(0,R.useRef)(n),o=(0,R.useRef)(r);(0,R.useEffect)(()=>{a.current=n,o.current=r},[n,r]),(0,rF.e)(()=>{if(!t||!i)return;let e=(0,iw.r)(t);if(!e)return;let n=a.current,r=o.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)r(l.currentNode)},[t,i,a,o])}({container:s.itemsRef.current,enabled:0===s.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let p=(0,rZ.z)(e=>{var t,n;switch(d.dispose(),e.key){case ik.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case ik.R.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==s.activeItemIndex){let{dataRef:e}=s.items[s.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,io.wI)(s.buttonRef.current);break;case ik.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.Next});case ik.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.Previous});case ik.R.Home:case ik.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.First});case ik.R.End:case ik.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.Last});case ik.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rP.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case ik.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rP.k)().nextFrame(()=>{(0,io.EO)(s.buttonRef.current,e.shiftKey?io.TO.Previous:io.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rZ.z)(e=>{e.key===ik.R.Space&&e.preventDefault()}),x=(0,R.useMemo)(()=>({open:0===s.menuState}),[s]),g={"aria-activedescendant":null===s.activeItemIndex||null==(n=s.items[s.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=s.buttonRef.current)?void 0:r.id,id:a,onKeyDown:p,onKeyUp:m,role:"menu",tabIndex:0,ref:u};return(0,rQ.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:"div",features:i5,visible:h,name:"Menu.Items"})}),Item:(0,rQ.yV)(function(e,t){let n=(0,ia.M)(),{id:r="headlessui-menu-item-".concat(n),disabled:i=!1,...a}=e,[o,s]=i1("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,R.useRef)(null),c=(0,rU.T)(t,u);(0,rF.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rP.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[o.__demoMode,u,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=ih(u),f=(0,R.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rF.e)(()=>{f.current.disabled=i},[f,i]),(0,rF.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let h=(0,rZ.z)(()=>{s({type:1})}),p=(0,rZ.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,io.wI)(o.buttonRef.current)}),m=(0,rZ.z)(()=>{if(i)return s({type:2,focus:iv.Nothing});s({type:2,focus:iv.Specific,id:r})}),x=im(),g=(0,rZ.z)(e=>x.update(e)),v=(0,rZ.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:iv.Specific,id:r,trigger:0}))}),y=(0,rZ.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:iv.Nothing}))}),b=(0,R.useMemo)(()=>({active:l,disabled:i,close:h}),[l,i,h]);return(0,rQ.sY)({ourProps:{id:r,ref:c,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,disabled:void 0,onClick:p,onFocus:m,onPointerEnter:g,onMouseEnter:g,onPointerMove:v,onMouseMove:v,onPointerLeave:y,onMouseLeave:y},theirProps:a,slot:b,defaultTag:i3,name:"Menu.Item"})})}),i7=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i9=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i8=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,at=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},an=(e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];let{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!i7(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,h=[],p=e;for(;i7(p)&&d(p);){if((p=at(p))===f){h.push(p);break}null!=p&&p===document.body&&i8(p)&&!i8(document.documentElement)||null!=p&&i8(p,c)&&h.push(p)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,x=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:g,scrollY:v}=window,{height:y,width:b,top:w,right:k,bottom:_,left:j}=e.getBoundingClientRect(),{top:E,right:O,bottom:T,left:C}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),S="start"===s||"nearest"===s?w-E:"end"===s?_+T:w+y/2-E+T,N="center"===l?j+b/2-C+O:"end"===l?k+O:j-C,R=[];for(let e=0;e=0&&j>=0&&_<=x&&k<=m&&w>=i&&_<=u&&j>=c&&k<=a)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),E=parseInt(d.borderTopWidth,10),O=parseInt(d.borderRightWidth,10),T=parseInt(d.borderBottomWidth,10),C=0,I=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-O:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-E-T:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)C="start"===s?S:"end"===s?S-x:"nearest"===s?ae(v,v+x,x,E,T,v+S,v+S+y,y):S-x/2,I="start"===l?N:"center"===l?N-m/2:"end"===l?N-m:ae(g,g+m,m,p,O,g+N,g+N+b,b),C=Math.max(0,C+v),I=Math.max(0,I+g);else{C="start"===s?S-i-E:"end"===s?S-u+T+L:"nearest"===s?ae(i,u,n,E,T+L,S,S+y,y):S-(i+n/2)+L/2,I="start"===l?N-c-p:"center"===l?N-(c+r/2)+A/2:"end"===l?N-a+O+A:ae(c,a,r,p,O+A,N,N+b,b);let{scrollLeft:e,scrollTop:o}=t;C=0===M?0:Math.max(0,Math.min(o+C/M,t.scrollHeight-n/M+L)),I=0===P?0:Math.max(0,Math.min(e+I/P,t.scrollWidth-r/P+A)),S+=o-C,N+=e-I}R.push({el:t,top:C,left:I})}return R},ar=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function ai(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(an(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:a,left:o}of an(e,ar(t))){let e=a-n.top+n.bottom,t=o-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}var aa=n(6826),ao=n.n(aa);/** + * @name match-sorter + * @license MIT license. + * @copyright (c) 2020 Kent C. Dodds + * @author Kent C. Dodds (https://kentcdodds.com) + */let as={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},al=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function au(e,t,n){void 0===n&&(n={});let{keys:r,threshold:i=as.MATCHES,baseSort:a=al,sorter:o=e=>e.sort((e,t)=>(function(e,t,n){let{rank:r,keyIndex:i}=e,{rank:a,keyIndex:o}=t;return r!==a?r>a?-1:1:i===o?n(e,t):i{let{rank:i,rankedValue:a,keyIndex:o,keyThreshold:l}=e,{itemValue:u,attributes:c}=n,d=ac(u,t,s),f=a,{minRanking:h,maxRanking:p,threshold:m}=c;return d=as.MATCHES?d=h:d>p&&(d=p),d>i&&(i=d,o=r,l=m,f=u),{rankedValue:f,rank:i,keyIndex:o,keyThreshold:l}},{rankedValue:a,rank:as.NO_MATCH,keyIndex:-1,keyThreshold:s.threshold}):{rankedValue:a,rank:ac(a,t,s),keyIndex:-1,keyThreshold:s.threshold}),{rank:u,keyThreshold:c=i}=l;return u>=c&&e.push({...l,item:a,index:o}),e},[])).map(e=>{let{item:t}=e;return t})}function ac(e,t,n){let r;return(e=ad(e,n),(t=ad(t,n)).length>e.length)?as.NO_MATCH:e===t?as.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?as.EQUAL:e.startsWith(t)?as.STARTS_WITH:e.includes(` ${t}`)?as.WORD_STARTS_WITH:e.includes(t)?as.CONTAINS:1===t.length?as.NO_MATCH:(r="",e.split(" ").forEach(e=>{e.split("-").forEach(e=>{r+=e.substr(0,1)})}),r).includes(t)?as.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let i=r,a=t.length;i-1))return as.NO_MATCH;return function(e){let r=n/t.length;return as.MATCHES+1/e*r}(r-a)}(e,t)}function ad(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=ao()(e)),e}au.rankings=as;let af={maxRanking:1/0,minRanking:-1/0};var ah=n(2154),ap=Object.defineProperty,am=Object.defineProperties,ax=Object.getOwnPropertyDescriptors,ag=Object.getOwnPropertySymbols,av=Object.prototype.hasOwnProperty,ay=Object.prototype.propertyIsEnumerable,ab=(e,t,n)=>t in e?ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aw=(e,t)=>{for(var n in t||(t={}))av.call(t,n)&&ab(e,n,t[n]);if(ag)for(var n of ag(t))ay.call(t,n)&&ab(e,n,t[n]);return e},ak=(e,t)=>am(e,ax(t)),a_=(e,t)=>{var n={};for(var r in e)av.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&ag)for(var r of ag(e))0>t.indexOf(r)&&ay.call(e,r)&&(n[r]=e[r]);return n},aj=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),aE=(0,R.createContext)({}),aO=(0,R.createContext)(e=>e),aT=(0,R.createContext)(null),aC=new WeakMap,aS=(0,R.createContext)(aC),aN=()=>(0,R.useContext)(aE),aR=()=>(0,R.useContext)(aO),aI=()=>(0,R.useContext)(aT),aA=()=>(0,R.useContext)(aS),aL=({children:e})=>{let[t,n]=(0,R.useState)({}),r=(0,R.useRef)(null);return oj&&!r.current&&(r.current=new IntersectionObserver(e=>{n(t=>{let n=aw({},t);for(let t of e)if((null==t?void 0:t.rootBounds)&&aC.has(t.target)){let[e,r]=aC.get(t.target),i=t.boundingClientRect.y+t.boundingClientRect.height<=t.rootBounds.y+t.rootBounds.height,a=t.intersectionRatio>0;n[e]={index:r,aboveHalfViewport:i,insideHalfViewport:a}}let r="",i=1/0,a=-1;for(let e in n)n[e].isActive=!1,n[e].insideHalfViewport&&n[e].indexa&&(a=n[e].index,r=e);return n[r]&&(n[r].isActive=!0),n})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tP.jsx)(aE.Provider,{value:t,children:(0,tP.jsx)(aO.Provider,{value:n,children:(0,tP.jsx)(aS.Provider,{value:aC,children:(0,tP.jsx)(aT.Provider,{value:r.current,children:e})})})})},aP=(0,R.createContext)({menu:!1,setMenu:()=>!1}),aM=()=>(0,R.useContext)(aP),aZ=aP.Provider,aD=(0,R.createContext)(aw({title:"",frontMatter:{}},oR));function aF(){return(0,R.useContext)(aD)}var az=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,R.useState)(!1);S||(S=aw(aw({},oR),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&oI.includes(e)?aw(aw({},oR[e]),t):t]))));let a=ak(aw(ak(aw({},S),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tP.jsx)(tU,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tP.jsx)(aD.Provider,{value:a,children:(0,tP.jsx)(aZ,{value:{menu:r,setMenu:i},children:e})})})},a$=(0,R.createContext)(e=>e),aU=()=>(0,R.useContext)(a$),aW=a$.Provider,aH=Number("14.2.4".split(".")[0]),aG=(0,R.forwardRef)(function(e,t){var{href:n="",children:r,newWindow:i}=e,a=a_(e,["href","children","newWindow"]);let o=aF();return i?(0,tP.jsxs)("a",ak(aw({ref:t,href:n,target:"_blank",rel:"noreferrer"},a),{children:[r,(0,tP.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):n?aH>12||o.newNextLinkBehavior?(0,tP.jsx)(tL(),ak(aw({ref:t,href:n},a),{children:r})):(0,tP.jsx)(tL(),{href:n,passHref:!0,children:(0,tP.jsx)("a",ak(aw({ref:t},a),{children:r}))}):(0,tP.jsx)("a",ak(aw({ref:t},a),{children:r}))});aG.displayName="Anchor";var aV=({repository:e="",title:t,labels:n})=>{let r=t5()(e);if(!r)throw Error("Invalid `docsRepositoryBase` URL!");return r.resource.includes("gitlab")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/-/issues/new?issue[title]=${encodeURIComponent(t)}${n?`&issue[description]=/label${encodeURIComponent(` ~${n} +`)}`:""}`:r.resource.includes("github")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/issues/new?title=${encodeURIComponent(t)}&labels=${n||""}`:"#"};function aB(e,t){return e?"function"!=typeof e?e:(0,tP.jsx)(e,aw({},t)):null}function aq(e,t={}){return("function"==typeof e?e(t):e)||""}function aK(){let{banner:e}=aF();if(!e.text)return null;let t=`try{if(localStorage.getItem(${JSON.stringify(e.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tP.jsxs)("div",{className:(0,I.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,tP.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:aB(e.text)}),e.dismissible&&(0,tP.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(e.key,"0")}catch(e){}document.body.classList.add("nextra-banner-hidden")},children:(0,tP.jsx)(Z.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function aY({activePath:e}){return(0,tP.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:e.map((t,n)=>{let r=!t.children||t.withIndexPage,i=n===e.length-1;return(0,tP.jsxs)(R.Fragment,{children:[n>0&&(0,tP.jsx)(Z.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-whitespace-nowrap nx-transition-colors",i?"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",r&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:t.title,children:r&&!i?(0,tP.jsx)(aG,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function aQ({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,R.useRef)(null),a=(0,R.useRef)(null),o=(0,R.useRef)(0),s=(0,R.useRef)(n),l=(0,R.useRef)(!0);return(0,R.useEffect)(()=>{let e=i.current,t=a.current,s=o.current;s&&clearTimeout(s),!l.current&&e&&t&&(e.classList.toggle("nx-duration-500",!n),e.classList.toggle("nx-duration-300",n),r?(t.style.width=`${t.clientWidth}px`,e.style.width=`${t.clientWidth}px`):e.style.height=`${t.clientHeight}px`,n?o.current=window.setTimeout(()=>{e.style.removeProperty("height")},300):setTimeout(()=>{r?e.style.width="0px":e.style.height="0px"},0))},[r,n]),(0,R.useEffect)(()=>{l.current=!1},[]),(0,tP.jsx)("div",{ref:i,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:s.current||r?void 0:{height:0},children:(0,tP.jsx)("div",{ref:a,className:(0,I.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",n?"nx-opacity-100":"nx-opacity-0",t),children:e})})}var aJ=(0,R.memo)(function({value:e,match:t}){let n;if(!e)return null;let r=e.split(""),i=RegExp((function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})(t.trim()).replaceAll(/\s+/g,"|"),"ig"),a=0,o=[];for(;n=i.exec(e);)if(n.index===i.lastIndex)i.lastIndex++;else{let e=r.splice(0,n.index-a).join(""),t=r.splice(0,i.lastIndex-n.index).join("");o.push(e,(0,tP.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tP.jsxs)(tP.Fragment,{children:[o,r.join("")]})}),aX=(0,R.forwardRef)((e,t)=>{var{className:n,suffix:r}=e,i=a_(e,["className","suffix"]);return(0,tP.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,tP.jsx)("input",aw({ref:t,spellCheck:!1,className:(0,I.Z)(n,"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")},i)),r]})});aX.displayName="Input";var a0=["input","select","button","textarea"];function a1({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,R.useState)(!1),c=aF(),[d,f]=(0,R.useState)(0),h=(0,N.useRouter)(),{setMenu:p}=aM(),m=(0,R.useRef)(null),x=(0,R.useRef)(null),[g,v]=(0,R.useState)(!1),[y,b]=(0,R.useState)(!0);(0,R.useEffect)(()=>{f(0)},[n]),(0,R.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||a0.includes(n)||null!=t&&t.isContentEditable||("/"===e.key||"k"===e.key&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),m.current.focus({preventScroll:!0})):"Escape"===e.key&&(u(!1),m.current.blur()))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let w=(0,R.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),p(!1)},[r,p]),k=(0,R.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),_=(0,R.useCallback)(function(e){var t,n,r;switch(e.key){case"ArrowDown":if(d+1 a`);n&&(e.preventDefault(),k({currentTarget:n}),n.focus())}break;case"ArrowUp":if(d-1>=0){let t=null==(n=x.current)?void 0:n.querySelector(`li:nth-of-type(${d}) > a`);t&&(e.preventDefault(),k({currentTarget:t}),t.focus())}break;case"Enter":{let e=s[d];e&&y&&(h.push(e.route),w());break}case"Escape":u(!1),null==(r=m.current)||r.blur()}},[d,s,h,w,k,y]),j=A(),E=l&&!!n,O=(0,tP.jsx)(it,{show:j&&(!l||!!n),as:R.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,tP.jsx)("kbd",{className:(0,I.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",n?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:n?"Clear":void 0,onClick:()=>{r("")},children:n&&g?"ESC":j&&(navigator.userAgent.includes("Macintosh")?(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),T=(0,R.useCallback)(e=>{b("compositionend"===e.type)},[]);return(0,tP.jsxs)("div",{className:(0,I.Z)("nextra-search nx-relative md:nx-w-64",e),children:[E&&(0,tP.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tP.jsx)(aX,{ref:m,value:n,onChange:e=>{let{value:t}=e.target;r(t),u(!!t)},onFocus:()=>{null==i||i(!0),v(!0)},onBlur:()=>{v(!1)},onCompositionStart:T,onCompositionEnd:T,type:"search",placeholder:aq(c.search.placeholder),onKeyDown:_,suffix:O}),(0,tP.jsx)(it,{show:E,as:it.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)("ul",{className:(0,I.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",t),ref:x,style:{transition:"max-height .2s ease"},children:o?(0,tP.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,tP.jsx)(Z.AV,{className:"nx-h-5 nx-w-5"}),aq(c.search.error)]}):a?(0,tP.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,tP.jsx)(Z.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),aB(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tP.jsxs)(R.Fragment,{children:[t,(0,tP.jsx)("li",{className:(0,I.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",i===d?"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,tP.jsx)(aG,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:e,"data-index":i,onFocus:k,onMouseMove:k,onClick:w,onKeyDown:_,children:n})})]},r)):aB(c.search.emptyResult)})})]})}var a2={},a4=new Map,a5=(e,t)=>{let n=e+"@"+t;if(a4.has(n))return a4.get(n);let r=a3(e,t);return a4.set(n,r),r},a3=(e,t)=>aj(void 0,null,function*(){let n=yield fetch(`${e}/_next/static/chunks/nextra-data-${t}.json`),r=yield n.json(),i=new rk({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),a=new rk({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),o=0;for(let[e,t]of Object.entries(r)){let n="";for(let[r,i]of(++o,Object.entries(t.data))){let[s,l]=r.split("#"),u=e+(s?"#"+s:""),c=l||t.title,d=i.split("\n");a.add(aw({id:u,url:u,title:c,pageId:`page_${o}`,content:c},d[0]&&{display:d[0]}));for(let e=0;e{var n,r;if(!e)return;let[i,a]=a2[t],o=(null==(n=i.search(e,5,{enrich:!0,suggest:!0})[0])?void 0:n.result)||[],s=[],u={};for(let t=0;te._page_rk===t._page_rk?e._section_rk-t._section_rk:u[e._page_rk]!==u[t._page_rk]?u[t._page_rk]-u[e._page_rk]:e._page_rk-t._page_rk).map(e=>({id:`${e._page_rk}_${e._section_rk}`,route:e.route,prefix:e.prefix,children:e.children})))},f=(0,R.useCallback)(e=>aj(this,null,function*(){if(e&&!a2[t]){i(!0);try{yield a5(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]);return(0,tP.jsx)(a1,{loading:r,error:a,value:u,onChange:e=>aj(this,null,function*(){if(c(e),!r){if(!a2[t]){i(!0);try{yield a5(n,t)}catch(e){o(!0)}i(!1)}d(e)}}),onActive:f,className:e,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:s})}function a7({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=function(e){let t=(0,R.useRef)(null),n=(0,R.useRef)(null),r=(0,R.useRef)(),i=(0,R.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=nY(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,R.useMemo)(()=>[e=>{t.current=e,i()},e=>{n.current=e,i()}],[t,n,i])}({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:e}){e.styles.popper.minWidth=`${e.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,tP.jsx)(iM,{value:t,onChange:n,children:({open:n})=>(0,tP.jsxs)(iM.Button,{ref:a,title:r,className:(0,I.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",n?"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",i),children:[t.name,(0,tP.jsx)(a9,{children:(0,tP.jsx)(it,{ref:o,show:n,as:iM.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:e.map(e=>(0,tP.jsxs)(iM.Option,{value:e,className:({active:e})=>(0,I.Z)(e?"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:[e.name,e.key===t.key&&(0,tP.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tP.jsx)(Z.nQ,{})})]},e.key))})})]})})}function a9(e){return A()?(0,iZ.createPortal)(e.children,document.body):null}function a8({lite:e,className:t}){let n=aF(),{locale:r,asPath:i}=(0,N.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tP.jsx)(a7,{title:"Change language",className:t,onChange:e=>{let t=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${e.key}; expires=${t.toUTCString()}; path=/`,location.href=(0,ir.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tP.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tP.jsx)(Z.n9,{}),(0,tP.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function oe(){var e;let t=aF(),{resolvedTheme:n}=t$(),r=A(),i="function"==typeof t.head?t.head({}):t.head,{primaryHue:a,primarySaturation:o}=t,{dark:s,light:l}="number"==typeof a?{dark:a,light:a}:a,{dark:u,light:c}="number"==typeof o?{dark:o,light:o}:o,d=t.frontMatter;return(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(iq,aw({title:t.title,description:d.description,canonical:d.canonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tP.jsxs)(iF(),{children:[t.faviconGlyph?(0,tP.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${t.faviconGlyph}`}):null,r?(0,tP.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tP.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tP.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tP.jsx)("style",{children:` + :root { + --nextra-primary-hue: ${l}deg; + --nextra-primary-saturation: ${c}%; + --nextra-navbar-height: 4rem; + --nextra-menu-height: 3.75rem; + --nextra-banner-height: 2.5rem; + } + + .dark { + --nextra-primary-hue: ${s}deg; + --nextra-primary-saturation: ${u}%; + } + `}),i]})]})}var ot={link:(0,I.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,I.Z)("nx-inline nx-h-5 nx-shrink-0")},on=({flatDirectories:e,currentIndex:t})=>{let n=aF().navigation,r="boolean"==typeof n?{prev:n,next:n}:n,i=r.prev&&e[t-1],a=r.next&&e[t+1];return(i&&!i.isUnderCurrentDocsTree&&(i=!1),a&&!a.isUnderCurrentDocsTree&&(a=!1),i||a)?(0,tP.jsxs)("div",{className:(0,I.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:[i&&(0,tP.jsxs)(aG,{href:i.route,title:i.title,className:(0,I.Z)(ot.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tP.jsx)(Z.LZ,{className:(0,I.Z)(ot.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tP.jsxs)(aG,{href:a.route,title:a.title,className:(0,I.Z)(ot.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:[a.title,(0,tP.jsx)(Z.LZ,{className:(0,I.Z)(ot.icon,"rtl:nx-rotate-180")})]})]}):null},or={link:(0,I.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,I.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,I.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function oi({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tP.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tP.jsxs)(i6,{children:[(0,tP.jsx)(i6.Button,{className:(0,I.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",or.inactive),children:n}),(0,tP.jsx)(it,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)(i6.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(r||{}).map(([e,n])=>{var r;return(0,tP.jsx)(i6.Item,{children:(0,tP.jsx)(aG,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,I.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:n.newWindow,children:n.title||e})},e)})})})]})})}var oa=Object.create(null),oo=(0,R.createContext)(null),os=(0,R.createContext)(null),ol=(0,R.createContext)(0),ou=(0,R.memo)(function(e){let t=(0,R.useContext)(ol);return(0,tP.jsx)(ol.Provider,{value:t+1,children:(0,tP.jsx)(od,aw({},e))})}),oc={link:(0,I.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,I.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,I.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,I.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,I.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 od({item:e,anchors:t}){let[n]=P().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,R.useContext)(oo),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,R.useContext)(ol),{setMenu:l}=aM(),u=aF(),{theme:c}=e,d=void 0===oa[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s{u.sidebar.autoCollapse?i&&o?oa[e.route]=!0:delete oa[e.route]:(i||o)&&(oa[e.route]=!0)},[i,o,e.route,u.sidebar.autoCollapse]),"menu"===e.type){let t=Object.fromEntries((e.children||[]).map(e=>[e.name,e]));e.children=Object.entries(e.items||{}).map(([n,r])=>{let i=t[n]||ak(aw({name:n},"locale"in e&&{locale:e.locale}),{route:e.route+"/"+n});return aw(aw({},i),r)})}let h="withIndexPage"in e&&e.withIndexPage,p=h?aG:"button";return(0,tP.jsxs)("li",{className:(0,I.Z)({open:d,active:r}),children:[(0,tP.jsxs)(p,{href:h?e.route:void 0,className:(0,I.Z)("nx-items-center nx-justify-between nx-gap-2",!h&&"nx-text-left nx-w-full",oc.link,r?oc.active:oc.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),h){r||n?oa[e.route]=!d:(oa[e.route]=!0,l(!1)),f({});return}r||(oa[e.route]=!d,f({}))},children:[aB(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tP.jsx)(Z.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,I.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tP.jsx)(aQ,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tP.jsx)(op,{className:(0,I.Z)(oc.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function of({title:e}){let t=aF();return(0,tP.jsx)("li",{className:(0,I.Z)("[word-break:break-word]",e?"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:e?aB(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tP.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function oh({item:e,anchors:t}){let n=P(),r=(0,R.useContext)(os),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=aN(),{setMenu:o}=aM(),s=aF();return"separator"===e.type?(0,tP.jsx)(of,{title:e.title}):(0,tP.jsxs)("li",{className:(0,I.Z)(oc.list,{active:i}),children:[(0,tP.jsx)(aG,{href:e.href||e.route,newWindow:e.newWindow,className:(0,I.Z)(oc.link,i?oc.active:oc.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:aB(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tP.jsx)("ul",{className:(0,I.Z)(oc.list,oc.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tP.jsx)("li",{children:(0,tP.jsx)("a",{href:`#${e}`,className:(0,I.Z)(oc.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?oc.active:oc.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function op({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tP.jsx)("ul",{className:(0,I.Z)(oc.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tP.jsx)(ou,{item:e,anchors:t},e.name):(0,tP.jsx)(oh,{item:e,anchors:t},e.name):null)})}function om({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPopover:r=!1,headings:i,includePlaceholder:a}){let o=aF(),{menu:s,setMenu:l}=aM(),u=(0,N.useRouter)(),[c,d]=(0,R.useState)(null),[f,h]=(0,R.useState)(!0),[p,m]=(0,R.useState)(!1),x=(0,R.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,R.useRef)(null),v=(0,R.useRef)(null),y=A();(0,R.useEffect)(()=>{s?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[s]),(0,R.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{ai(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,R.useEffect)(()=>{l(!1)},[u.asPath,l]);let b=o.i18n.length>0,w=o.darkMode||b||o.sidebar.toggleButton;return(0,tP.jsxs)(tP.Fragment,{children:[a&&r?(0,tP.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tP.jsx)("div",{className:(0,I.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",s?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>l(!1)}),(0,tP.jsxs)("aside",{className:(0,I.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",f?"md:nx-w-64":"md:nx-w-20",r?"md:nx-hidden":"md:nx-sticky md:nx-self-start",s?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:v,children:[(0,tP.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:aB(o.search.component,{directories:t})}),(0,tP.jsx)(oo.Provider,{value:c,children:(0,tP.jsx)(os.Provider,{value:e=>{d(e)},children:(0,tP.jsxs)("div",{className:(0,I.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))]",f?"nextra-scrollbar":"no-scrollbar"),ref:g,children:[(!r||!f)&&(0,tP.jsx)(aQ,{isOpen:f,horizontal:!0,children:(0,tP.jsx)(op,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),y&&window.innerWidth<768&&(0,tP.jsx)(op,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),w&&(0,tP.jsxs)("div",{className:(0,I.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",f?(0,I.Z)(b&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":p?f?"show":"hide":"off",children:[(0,tP.jsx)(a8,{lite:!f,className:(0,I.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tP.jsx)("div",{className:f&&!b?"nx-grow nx-flex nx-flex-col":"",children:aB(o.themeSwitch.component,{lite:!f||b})}),o.sidebar.toggleButton&&(0,tP.jsx)("button",{title:f?"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:()=>{h(!f),m(!0)},children:(0,tP.jsx)(Z.Qq,{isOpen:f})})]})]})]})}var ox="reach-skip-nav";(0,R.forwardRef)(function(e,t){var{className:n,id:r,label:i="Skip to content",styled:a}=e,o=a_(e,["className","id","label","styled"]);let s=void 0===n?a?(0,I.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"):"":n;return(0,tP.jsx)("a",ak(aw({},o),{ref:t,href:`#${r||ox}`,className:s,"data-reach-skip-link":"",children:i}))}).displayName="SkipNavLink";var og=(0,R.forwardRef)(function(e,t){var{id:n}=e,r=a_(e,["id"]);return(0,tP.jsx)("div",ak(aw({},r),{ref:t,id:n||ox}))});og.displayName="SkipNavContent";var ov=tI.strictObject({light:tI.string(),dark:tI.string(),system:tI.string()});function oy(){window.scrollTo({top:0,behavior:"smooth"})}function ob({className:e}){let t=(0,R.useRef)(null);return(0,R.useEffect)(()=>{function e(){var e;let{scrollTop:n}=document.documentElement;null==(e=t.current)||e.classList.toggle("nx-opacity-0",n<300)}return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,tP.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:oy,className:(0,I.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tP.jsx)(Z.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var ow=(0,I.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 ok({className:e,directories:t}){let[n,r]=(0,R.useState)(""),i=(0,R.useMemo)(()=>n?au(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tP.jsx)(aJ,{value:t,match:n})})):[],[n,t]);return(0,tP.jsx)(a1,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var o_="en-US",oj="undefined"!=typeof window;function oE(e){return"function"==typeof e}var oO=tI.array(tI.strictObject({direction:tI.enum(["ltr","rtl"]).optional(),locale:tI.string(),text:tI.string()})),oT=[function(e){return null==e||"string"==typeof e||oE(e)||(0,R.isValidElement)(e)},{message:"Must be React.ReactNode or React.FC"}],oC=[oE,{message:"Must be React.FC"}];tI.strictObject({banner:tI.strictObject({dismissible:tI.boolean(),key:tI.string(),text:tI.custom(...oT).optional()}),chat:tI.strictObject({icon:tI.custom(...oT),link:tI.string().startsWith("https://").optional()}),components:tI.record(tI.custom(...oC)).optional(),darkMode:tI.boolean(),direction:tI.enum(["ltr","rtl"]),docsRepositoryBase:tI.string().startsWith("https://"),editLink:tI.strictObject({component:tI.custom(...oC).or(tI.null()),text:tI.custom(...oT)}),faviconGlyph:tI.string().optional(),feedback:tI.strictObject({content:tI.custom(...oT),labels:tI.string(),useLink:tI.function().returns(tI.string())}),footer:tI.strictObject({component:tI.custom(...oT),text:tI.custom(...oT)}),gitTimestamp:tI.custom(...oT),head:tI.custom(...oT),i18n:oO,logo:tI.custom(...oT),logoLink:tI.boolean().or(tI.string()),main:tI.custom(...oC).optional(),navbar:tI.strictObject({component:tI.custom(...oT),extraContent:tI.custom(...oT).optional()}),navigation:tI.boolean().or(tI.strictObject({next:tI.boolean(),prev:tI.boolean()})),nextThemes:tI.strictObject({defaultTheme:tI.string(),forcedTheme:tI.string().optional(),storageKey:tI.string()}),notFound:tI.strictObject({content:tI.custom(...oT),labels:tI.string()}),primaryHue:tI.number().or(tI.strictObject({dark:tI.number(),light:tI.number()})),primarySaturation:tI.number().or(tI.strictObject({dark:tI.number(),light:tI.number()})),project:tI.strictObject({icon:tI.custom(...oT),link:tI.string().startsWith("https://").optional()}),search:tI.strictObject({component:tI.custom(...oT),emptyResult:tI.custom(...oT),error:tI.string().or(tI.function().returns(tI.string())),loading:tI.custom(...oT),placeholder:tI.string().or(tI.function().returns(tI.string()))}),serverSideError:tI.strictObject({content:tI.custom(...oT),labels:tI.string()}),sidebar:tI.strictObject({autoCollapse:tI.boolean().optional(),defaultMenuCollapseLevel:tI.number().min(1).int(),titleComponent:tI.custom(...oT),toggleButton:tI.boolean()}),themeSwitch:tI.strictObject({component:tI.custom(...oT),useOptions:ov.or(tI.function().returns(ov))}),toc:tI.strictObject({backToTop:tI.boolean(),component:tI.custom(...oT),extraContent:tI.custom(...oT),float:tI.boolean(),headingComponent:tI.custom(...oC).optional(),title:tI.custom(...oT)}),useNextSeoProps:tI.custom(oE)}).deepPartial().extend({i18n:oO.optional()});var oS={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},oN={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},oR={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(Z.D7,{}),(0,tP.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:e,filePath:t,children:n}){let r=function(e=""){let t=aF(),n=t5()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}(t);return r?(0,tP.jsx)(aG,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=aF();return aV({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:function({menu:e}){let t=aF();return(0,tP.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,tP.jsxs)("div",{className:(0,I.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",e&&(t.i18n.length>0||t.darkMode)?"nx-flex":"nx-hidden"),children:[(0,tP.jsx)(a8,{}),t.darkMode&&aB(t.themeSwitch.component)]}),(0,tP.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tP.jsx)("div",{className:(0,I.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:aB(t.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=o_}=(0,N.useRouter)();return(0,tP.jsxs)(tP.Fragment,{children:["Last updated on"," ",(0,tP.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tP.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tP.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tP.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tP.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tP.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:e,items:t}){let n=aF(),r=P(),{menu:i,setMenu:a}=aM();return(0,tP.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,tP.jsx)("div",{className:(0,I.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,tP.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:[n.logoLink?(0,tP.jsx)(aG,{href:"string"==typeof n.logoLink?n.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:aB(n.logo)}):(0,tP.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:aB(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type)return(0,tP.jsxs)(oi,{className:(0,I.Z)(or.link,"nx-flex nx-gap-1",or.inactive),menu:e,children:[e.title,(0,tP.jsx)(Z.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"})]},e.title);let t=e.href||e.route||"#";e.children&&(t=(e.withIndexPage?e.route:e.firstChildRoute)||t);let n=e.route===r||r.startsWith(e.route+"/");return(0,tP.jsxs)(aG,{href:t,className:(0,I.Z)(or.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!n||e.newWindow?or.inactive:or.active),newWindow:e.newWindow,"aria-current":!e.newWindow&&n,children:[(0,tP.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:e.title}),(0,tP.jsx)("span",{className:"nx-invisible nx-font-medium",children:e.title})]},t)}),aB(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tP.jsx)(aG,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:aB(n.project.icon)}):null,n.chat.link?(0,tP.jsx)(aG,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:aB(n.chat.icon)}):null,aB(n.navbar.extraContent),(0,tP.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:()=>a(!i),children:(0,tP.jsx)(Z.Oq,{className:(0,I.Z)({open:i})})})]})]})}},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,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(Z.fy,{}),(0,tP.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return aF().flexsearch?(0,tP.jsx)(a6,{className:e}):(0,tP.jsx)(ok,{className:e,directories:t})},emptyResult:(0,tP.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:e,defaultLocale:t=o_}=(0,N.useRouter)(),n=e&&oS[e]||oS[t];return(0,tP.jsxs)(tP.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=o_}=(0,N.useRouter)(),n=e&&oN[e]||oN[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tP.jsx)(tP.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:function({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=t$(),a=A(),o=aF().themeSwitch,s=a&&"dark"===r?Z.kL:Z.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tP.jsx)(a7,{className:t,title:"Change theme",options:[{key:"light",name:l.light},{key:"dark",name:l.dark},{key:"system",name:l.system}],onChange:e=>{n(e.key)},selected:{key:i,name:(0,tP.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tP.jsx)(s,{}),(0,tP.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})},useOptions(){let{locale:e}=(0,N.useRouter)();return"zh-CN"===e?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:function({headings:e,filePath:t}){var n;let r=aN(),i=aF(),a=(0,R.useRef)(null),o=(0,R.useMemo)(()=>e.filter(e=>e.depth>1),[e]),s=o.length>0,l=!!(i.feedback.content||i.editLink.component||i.toc.extraContent),u=null==(n=Object.entries(r).find(([,{isActive:e}])=>e))?void 0:n[0];return(0,R.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&ai(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tP.jsxs)("div",{ref:a,className:(0,I.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:[s&&(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:aB(i.toc.title)}),(0,tP.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tP.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tP.jsx)("a",{href:`#${e}`,className:(0,I.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"}[n],"nx-inline-block",(null==(a=r[e])?void 0:a.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!=(l=null==(s=(o=i.toc).headingComponent)?void 0:s.call(o,{id:e,children:t}))?l:t})},e)})})]}),l&&(0,tP.jsxs)("div",{className:(0,I.Z)(s&&"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:[i.feedback.content?(0,tP.jsx)(aG,{className:ow,href:i.feedback.useLink(),newWindow:!0,children:aB(i.feedback.content)}):null,aB(i.editLink.component,{filePath:t,className:ow,children:aB(i.editLink.text)}),aB(i.toc.extraContent),i.toc.backToTop&&(0,tP.jsx)(ob,{className:ow})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},oI=Object.entries(oR).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,R.isValidElement)(t))return e}).filter(Boolean);if(oj){let e;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function oA(e){var{tag:t,context:n,children:r,id:i,className:a}=e,o=a_(e,["tag","context","children","id","className"]);let s=aR(),l=aA(),u=aI(),c=(0,R.useRef)(null);return(0,R.useEffect)(()=>{if(!i)return;let e=c.current;if(e)return l.set(e,[i,n.index+=1]),null==u||u.observe(e),()=>{null==u||u.disconnect(),l.delete(e),s(e=>{let t=aw({},e);return delete t[i],t})}},[i,n,l,u,s]),(0,tP.jsxs)(t,ak(aw({className:"sr-only"===a?"nx-sr-only":(0,I.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"}[t])},o),{children:[r,i&&(0,tP.jsx)("a",{href:`#${i}`,id:i,className:"subheading-anchor","aria-label":"Permalink for this section",ref:c})]}))}var oL=e=>{let t=null,n=[];return R.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===oM){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==oP&&"props"in e&&e.props){let n=oL(e.props.children);t=n[0],a=(0,R.cloneElement)(e,ak(aw({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},oP=e=>{var{children:t,open:n}=e,r=a_(e,["children","open"]);let[i,a]=(0,R.useState)(!!n),[o,s]=oL(t),[l,u]=(0,R.useState)(i);return(0,R.useEffect)(()=>{if(i)u(!0);else{let e=setTimeout(()=>u(i),500);return()=>clearTimeout(e)}},[i]),(0,tP.jsxs)("details",ak(aw(ak(aw({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"},r),{open:l}),i&&{"data-expanded":!0}),{children:[(0,tP.jsx)(aW,{value:a,children:o}),(0,tP.jsx)(aQ,{isOpen:i,children:s})]}))},oM=e=>{let t=aU();return(0,tP.jsx)("summary",ak(aw({className:(0,I.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")},e),{onClick:e=>{e.preventDefault(),t(e=>!e)}}))},oZ=/https?:\/\//,oD=e=>{var{href:t="",className:n}=e,r=a_(e,["href","className"]);return(0,tP.jsx)(aG,aw({href:t,newWindow:oZ.test(t),className:(0,I.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",n)},r))},oF=e=>{var{href:t=""}=e,n=a_(e,["href"]);return(0,tP.jsx)(aG,aw({href:t,newWindow:oZ.test(t)},n))},oz=({isRawLayout:e,components:t})=>{if(e)return{a:oF};let n={index:0};return aw({h1:e=>(0,tP.jsx)("h1",aw({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},e)),h2:e=>(0,tP.jsx)(oA,aw({tag:"h2",context:n},e)),h3:e=>(0,tP.jsx)(oA,aw({tag:"h3",context:n},e)),h4:e=>(0,tP.jsx)(oA,aw({tag:"h4",context:n},e)),h5:e=>(0,tP.jsx)(oA,aw({tag:"h5",context:n},e)),h6:e=>(0,tP.jsx)(oA,aw({tag:"h6",context:n},e)),ul:e=>(0,tP.jsx)("ul",aw({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),ol:e=>(0,tP.jsx)("ol",aw({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),li:e=>(0,tP.jsx)("li",aw({className:"nx-my-2"},e)),blockquote:e=>(0,tP.jsx)("blockquote",aw({className:(0,I.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")},e)),hr:e=>(0,tP.jsx)("hr",aw({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"},e)),a:oD,table:e=>(0,tP.jsx)(ah.iA,aw({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tP.jsx)("p",aw({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:ah.Tr,th:ah.Th,td:ah.Td,details:oP,summary:oM,pre:ah.SU,code:ah.EK},t)},o$={toc:(0,I.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,I.Z)("nx-w-full nx-break-words")},oU=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=aF(),s=A();if("raw"===e.layout)return(0,tP.jsx)("div",{className:o$.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tP.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:aB(o.gitTimestamp,{timestamp:l})}):(0,tP.jsx)("div",{className:"nx-mt-16"}),c=(0,tP.jsxs)(tP.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tP.jsx)("article",{className:(0,I.Z)(o$.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:d}):(0,tP.jsx)("article",{className:(0,I.Z)(o$.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"===e.typesetting&&"nextra-body-typesetting-article"),children:(0,tP.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:[t,d]})})},oW=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=aF(),{locale:s=o_,defaultLocale:l}=(0,N.useRouter)(),u=P(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:h,topLevelNavbarItems:p,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,R.useMemo)(()=>(function e({list:t,locale:n,defaultLocale:r,route:i,docsRoot:a="",underCurrentDocsRoot:o=!1,pageThemeContext:s=tK}){let l,u;for(let e of t)if("Meta"===e.kind){if(e.locale===n){l=e.data;break}l||(l=e.data)}let c=l||{},d=Object.keys(c);for(let e of d)"string"==typeof c[e]&&(c[e]={title:c[e]});let f=[],h=[],p=[],m=[],x=[],g=0,v=s,y=[],b=-1,w=c["*"]||{};delete w.title,delete w.href;let k=t.filter(e=>"Meta"!==e.kind&&!e.name.startsWith("_")&&(!("locale"in e)||!e.locale||[n,r].includes(e.locale))).sort((e,t)=>{let n=d.indexOf(e.name),r=d.indexOf(t.name);return -1===n&&-1===r?e.name{let t;let n=[],r=d.indexOf(e.name);if(-1!==r){for(let e=b+1;e({...l,type:_,...T&&{title:T},...b&&{display:b},...O&&{children:[]}}),S=C(),N=C(),R=C();if(N.isUnderCurrentDocsTree=E,"separator"===_&&(S.isUnderCurrentDocsTree=E),l.route===i)switch(y=[S],u=_,v={...v,...j},_){case"page":case"menu":g=x.length;break;case"doc":g=m.length}if(!("hidden"===b&&"Folder"!==S.kind||L.hV.has(l.route))){if(O){if(void 0!==O.activeIndex&&void 0!==O.activeType){switch(v=O.activeThemeContext,u=O.activeType,y=[S,...O.activePath],u){case"page":case"menu":g=x.length+O.activeIndex;break;case"doc":g=m.length+O.activeIndex}l.withIndexPage&&"doc"===_&&g++}switch(_){case"page":case"menu":R.children.push(...O.directories),p.push(...O.docsDirectories),O.flatDirectories.length?(R.firstChildRoute=function e(t){for(let n of t){if(n.route)return n.route;if(n.children){let t=e(n.children);if(t)return t}}}(O.flatDirectories),x.push(R)):R.withIndexPage&&x.push(R);break;case"doc":Array.isArray(N.children)&&N.children.push(...O.docsDirectories),S.withIndexPage&&"children"!==b&&m.push(N)}h.push(...O.flatDirectories),m.push(...O.flatDocsDirectories),Array.isArray(S.children)&&S.children.push(...O.directories)}else switch(h.push(S),_){case"page":case"menu":x.push(R);break;case"doc":m.push(N)}switch("doc"===_&&"children"===b?N.children&&(f.push(...N.children),p.push(...N.children)):f.push(S),_){case"page":case"menu":p.push(R);break;case"doc":"children"!==b&&p.push(N);break;case"separator":p.push(S)}}}return{activeType:u,activeIndex:g,activeThemeContext:v,activePath:y,directories:f,flatDirectories:h,docsDirectories:p,flatDocsDirectories:m,topLevelNavbarItems:x}})({list:t,locale:s,defaultLocale:l,route:u}),[t,s,l,u]),y=aw(aw({},f),n),b=!y.sidebar||"raw"===y.layout||"page"===c,w="page"!==c&&y.toc&&"default"===y.layout?(0,tP.jsx)("nav",{className:(0,I.Z)(o$.toc,"nx-px-4"),"aria-label":"table of contents",children:aB(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==y.layout&&"raw"!==y.layout&&(0,tP.jsx)("nav",{className:o$.toc,"aria-label":"table of contents"}),k=o.i18n.find(e=>e.locale===s),_=(k?"rtl"===k.direction:"rtl"===o.direction)?"rtl":"ltr";return(0,tP.jsxs)("div",{dir:_,children:[(0,tP.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${_}')`}}),(0,tP.jsx)(oe,{}),(0,tP.jsx)(aK,{}),y.navbar&&aB(o.navbar.component,{flatDirectories:x,items:p}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-mx-auto nx-flex","raw"!==y.layout&&"nx-max-w-[90rem]"),children:(0,tP.jsxs)(aL,{children:[(0,tP.jsx)(om,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:b,includePlaceholder:"default"===y.layout}),w,(0,tP.jsx)(og,{}),(0,tP.jsx)(oU,{themeContext:y,breadcrumb:"page"!==c&&y.breadcrumb?(0,tP.jsx)(aY,{activePath:h}):null,timestamp:i,navigation:"page"!==c&&y.pagination?(0,tP.jsx)(on,{flatDirectories:g,currentIndex:d}):null,children:(0,tP.jsx)(M.Z,{components:oz({isRawLayout:"raw"===y.layout,components:o.components}),children:a})})]})}),y.footer&&aB(o.footer.component,{menu:b})]})};function oH(e){var{children:t}=e,n=a_(e,["children"]);return(0,tP.jsx)(az,{value:n,children:(0,tP.jsx)(oW,ak(aw({},n.pageOpts),{children:t}))})}},2154:function(e,t,n){"use strict";let r,i,a;n.d(t,{UW:function(){return f},EK:function(){return m},SU:function(){return x},OK:function(){return q},iA:function(){return Q},mQ:function(){return K},Td:function(){return Y},Th:function(){return J},Tr:function(){return X}});var o=n(512),s=n(5893),l=({children:e,className:t,...n})=>(0,s.jsx)("button",{className:(0,o.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",t),...n,children:e}),u=n(4861),c={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,s.jsx)(u.AV,{className:"nx-mt-1"}),warning:"⚠️"},d={default:(0,o.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,o.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,o.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,o.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 f({children:e,type:t="default",emoji:n=c[t]}){return(0,s.jsxs)("div",{className:(0,o.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",d[t]),children:[(0,s.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:n}),(0,s.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:e})]})}var h=n(7294),p=({getValue:e,...t})=>{let[n,r]=(0,h.useState)(!1);(0,h.useEffect)(()=>{if(!n)return;let e=setTimeout(()=>{r(!1)},2e3);return()=>{clearTimeout(e)}},[n]);let i=(0,h.useCallback)(async()=>{r(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(e())}catch{console.error("Failed to copy!")}},[e]),a=n?u.nQ:u.TI;return(0,s.jsx)(l,{onClick:i,title:"Copy code",tabIndex:0,...t,children:(0,s.jsx)(a,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},m=({children:e,className:t,...n})=>(0,s.jsx)("code",{className:(0,o.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","data-line-numbers"in n&&"[counter-reset:line]",t),dir:"ltr",...n,children:e}),x=({children:e,className:t,hasCopyCode:n,filename:r,...i})=>{let a=(0,h.useRef)(null),c=(0,h.useCallback)(()=>{let e=document.documentElement.dataset;"nextraWordWrap"in e?delete e.nextraWordWrap:e.nextraWordWrap=""},[]);return(0,s.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[r&&(0,s.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:r}),(0,s.jsx)("pre",{className:(0,o.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",r?"nx-pt-12 nx-pb-4":"nx-py-4",t),ref:a,...i,children:e}),(0,s.jsxs)("div",{className:(0,o.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",r?"nx-top-8":"nx-top-0"),children:[(0,s.jsx)(l,{onClick:c,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,s.jsx)(u.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),n&&(0,s.jsx)(p,{getValue:()=>a.current?.querySelector("code")?.textContent||""})]})]})},g=n(933),v=n(3),y=n(4924),b=n(1378),w=n(5508),k=n(961),_=n(1813),j=n(2308),E=n(7524);function O(e){let{onFocus:t}=e,[n,r]=(0,h.useState)(!0),i=(0,j.t)();return n?h.createElement(E._,{as:"button",type:"button",features:E.A.Focusable,onFocus:e=>{e.preventDefault();let n,a=50;n=requestAnimationFrame(function e(){if(a--<=0){n&&cancelAnimationFrame(n);return}if(t()){if(cancelAnimationFrame(n),!i.current)return;r(!1);return}n=requestAnimationFrame(e)})}}):null}var T=n(8657),C=n(8844),S=n(1291),N=n(8961),R=n(8287);let I=h.createContext(null);function A(e){let{children:t}=e,n=h.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let i=null!=(n=r.get(t))?n:0;return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return h.createElement(I.Provider,{value:n},t)}function L(e){let t=h.useContext(I);if(!t)throw Error("You must wrap your component in a ");let n=function(){var e,t,n;let r=null!=(n=null==(t=null==(e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!r)return Symbol();let i=[],a=r;for(;a;)i.push(a.index),a=a.return;return"$."+i.join(".")}(),[r,i]=t.current.get(e,n);return h.useEffect(()=>i,[]),r}var P=((r=P||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),M=((i=M||{})[i.Less=-1]="Less",i[i.Equal=0]="Equal",i[i.Greater=1]="Greater",i),Z=((a=Z||{})[a.SetSelectedIndex=0]="SetSelectedIndex",a[a.RegisterTab=1]="RegisterTab",a[a.UnregisterTab=2]="UnregisterTab",a[a.RegisterPanel=3]="RegisterPanel",a[a.UnregisterPanel=4]="UnregisterPanel",a);let D={0(e,t){var n;let r=(0,T.z2)(e.tabs,e=>e.current),i=(0,T.z2)(e.panels,e=>e.current),a=r.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),o={...e,tabs:r,panels:i};if(t.index<0||t.index>r.length-1){let n=(0,C.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,C.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===a.length)return o;let i=(0,C.E)(n,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});return{...o,selectedIndex:-1===i?e.selectedIndex:i}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find(e=>a.includes(e));if(!l)return o;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return -1===u&&(u=e.selectedIndex),{...o,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,T.z2)([...e.tabs,t.tab],e=>e.current),i=e.selectedIndex;return e.info.current.isControlled||-1===(i=r.indexOf(n))&&(i=e.selectedIndex),{...e,tabs:r,selectedIndex:i}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,T.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},F=(0,h.createContext)(null);function z(e){let t=(0,h.useContext)(F);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,z),t}return t}F.displayName="TabsDataContext";let $=(0,h.createContext)(null);function U(e){let t=(0,h.useContext)($);if(null===t){let t=Error("<".concat(e," /> is missing a parent component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,U),t}return t}function W(e,t){return(0,C.E)(t.type,D,e,t)}$.displayName="TabsActionsContext";let H=h.Fragment,G=R.AN.RenderStrategy|R.AN.Static,V=Object.assign((0,R.yV)(function(e,t){var n,r;let i=(0,y.M)(),{id:a="headlessui-tabs-tab-".concat(i),...o}=e,{orientation:s,activation:l,selectedIndex:u,tabs:c,panels:d}=z("Tab"),f=U("Tab"),p=z("Tab"),m=(0,h.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>f.registerTab(m),[f,m]);let w=L("tabs"),j=c.indexOf(m);-1===j&&(j=w);let E=j===u,O=(0,v.z)(e=>{var t;let n=e();if(n===T.fE.Success&&"auto"===l){let e=null==(t=(0,N.r)(m))?void 0:t.activeElement,n=p.tabs.findIndex(t=>t.current===e);-1!==n&&f.change(n)}return n}),I=(0,v.z)(e=>{let t=c.map(e=>e.current).filter(Boolean);if(e.key===g.R.Space||e.key===g.R.Enter){e.preventDefault(),e.stopPropagation(),f.change(j);return}switch(e.key){case g.R.Home:case g.R.PageUp:return e.preventDefault(),e.stopPropagation(),O(()=>(0,T.jA)(t,T.TO.First));case g.R.End:case g.R.PageDown:return e.preventDefault(),e.stopPropagation(),O(()=>(0,T.jA)(t,T.TO.Last))}if(O(()=>(0,C.E)(s,{vertical:()=>e.key===g.R.ArrowUp?(0,T.jA)(t,T.TO.Previous|T.TO.WrapAround):e.key===g.R.ArrowDown?(0,T.jA)(t,T.TO.Next|T.TO.WrapAround):T.fE.Error,horizontal:()=>e.key===g.R.ArrowLeft?(0,T.jA)(t,T.TO.Previous|T.TO.WrapAround):e.key===g.R.ArrowRight?(0,T.jA)(t,T.TO.Next|T.TO.WrapAround):T.fE.Error}))===T.fE.Success)return e.preventDefault()}),A=(0,h.useRef)(!1),P=(0,v.z)(()=>{var e;A.current||(A.current=!0,null==(e=m.current)||e.focus({preventScroll:!0}),f.change(j),(0,S.Y)(()=>{A.current=!1}))}),M=(0,v.z)(e=>{e.preventDefault()}),Z=(0,h.useMemo)(()=>{var t;return{selected:E,disabled:null!=(t=e.disabled)&&t}},[E,e.disabled]),D={ref:x,onKeyDown:I,onMouseDown:M,onClick:P,id:a,role:"tab",type:(0,k.f)(e,m),"aria-controls":null==(r=null==(n=d[j])?void 0:n.current)?void 0:r.id,"aria-selected":E,tabIndex:E?0:-1};return(0,R.sY)({ourProps:D,theirProps:o,slot:Z,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,R.yV)(function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:i=!1,onChange:a,selectedIndex:o=null,...s}=e,l=r?"vertical":"horizontal",u=i?"manual":"auto",c=null!==o,d=(0,w.E)({isControlled:c}),f=(0,_.T)(t),[p,m]=(0,h.useReducer)(W,{info:d,selectedIndex:null!=o?o:n,tabs:[],panels:[]}),x=(0,h.useMemo)(()=>({selectedIndex:p.selectedIndex}),[p.selectedIndex]),g=(0,w.E)(a||(()=>{})),y=(0,w.E)(p.tabs),k=(0,h.useMemo)(()=>({orientation:l,activation:u,...p}),[l,u,p]),j=(0,v.z)(e=>(m({type:1,tab:e}),()=>m({type:2,tab:e}))),E=(0,v.z)(e=>(m({type:3,panel:e}),()=>m({type:4,panel:e}))),C=(0,v.z)(e=>{S.current!==e&&g.current(e),c||m({type:0,index:e})}),S=(0,w.E)(c?e.selectedIndex:p.selectedIndex),N=(0,h.useMemo)(()=>({registerTab:j,registerPanel:E,change:C}),[]);return(0,b.e)(()=>{m({type:0,index:null!=o?o:n})},[o]),(0,b.e)(()=>{if(void 0===S.current||p.tabs.length<=0)return;let e=(0,T.z2)(p.tabs,e=>e.current);e.some((e,t)=>p.tabs[t]!==e)&&C(e.indexOf(p.tabs[S.current]))}),h.createElement(A,null,h.createElement($.Provider,{value:N},h.createElement(F.Provider,{value:k},k.tabs.length<=0&&h.createElement(O,{onFocus:()=>{var e,t;for(let n of y.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),(0,R.sY)({ourProps:{ref:f},theirProps:s,slot:x,defaultTag:H,name:"Tabs"}))))}),List:(0,R.yV)(function(e,t){let{orientation:n,selectedIndex:r}=z("Tab.List"),i=(0,_.T)(t);return(0,R.sY)({ourProps:{ref:i,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,R.yV)(function(e,t){let{selectedIndex:n}=z("Tab.Panels"),r=(0,_.T)(t),i=(0,h.useMemo)(()=>({selectedIndex:n}),[n]);return(0,R.sY)({ourProps:{ref:r},theirProps:e,slot:i,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,R.yV)(function(e,t){var n,r,i,a;let o=(0,y.M)(),{id:s="headlessui-tabs-panel-".concat(o),tabIndex:l=0,...u}=e,{selectedIndex:c,tabs:d,panels:f}=z("Tab.Panel"),p=U("Tab.Panel"),m=(0,h.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>p.registerPanel(m),[p,m,s]);let g=L("panels"),v=f.indexOf(m);-1===v&&(v=g);let w=v===c,k=(0,h.useMemo)(()=>({selected:w}),[w]),j={ref:x,id:s,role:"tabpanel","aria-labelledby":null==(r=null==(n=d[v])?void 0:n.current)?void 0:r.id,tabIndex:w?l:-1};return w||null!=(i=u.unmount)&&!i||null!=(a=u.static)&&a?(0,R.sY)({ourProps:j,theirProps:u,slot:k,defaultTag:"div",features:G,visible:w,name:"Tabs.Panel"}):h.createElement(E._,{as:"span","aria-hidden":"true",...j})})});function B(e){return!!e&&"object"==typeof e&&"label"in e}function q({children:e,...t}){return(0,s.jsx)(V.Panel,{...t,className:"nx-rounded nx-pt-6",children:e})}var K=Object.assign(function({items:e,selectedIndex:t,defaultIndex:n=0,onChange:r,children:i,storageKey:a}){let[l,u]=(0,h.useState)(n);(0,h.useEffect)(()=>{void 0!==t&&u(t)},[t]),(0,h.useEffect)(()=>{if(!a)return;function e(e){e.key===a&&u(Number(e.newValue))}let t=Number(localStorage.getItem(a));return u(Number.isNaN(t)?0:t),window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[]);let c=(0,h.useCallback)(e=>{if(a){let t=String(e);localStorage.setItem(a,t),window.dispatchEvent(new StorageEvent("storage",{key:a,newValue:t}));return}u(e),r?.(e)},[]);return(0,s.jsxs)(V.Group,{selectedIndex:l,defaultIndex:n,onChange:c,children:[(0,s.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,s.jsx)(V.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:e.map((e,t)=>{let n=B(e)&&e.disabled;return(0,s.jsx)(V,{disabled:n,className:({selected:e})=>(0,o.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",e?"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",n&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:B(e)?e.label:e},t)})})}),(0,s.jsx)(V.Panels,{children:i})]})},{displayName:"Tabs",Tab:q}),Y=({className:e="",...t})=>(0,s.jsx)("td",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",e),...t}),Q=({className:e="",...t})=>(0,s.jsx)("table",{className:(0,o.Z)("nx-block nx-overflow-x-scroll",e),...t}),J=({className:e="",...t})=>(0,s.jsx)("th",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",e),...t}),X=({className:e="",...t})=>(0,s.jsx)("tr",{className:(0,o.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",e),...t}),ee=n(1664),et=n.n(ee),en={cards:(0,o.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,o.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,o.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},er=(0,s.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:e,num:t=3,className:n,style:r,...i}){return(0,s.jsx)("div",{className:(0,o.Z)(en.cards,n),...i,style:{...r,"--rows":t},children:e})},{displayName:"Cards",Card:function({children:e,title:t,icon:n,image:r,arrow:i,href:a,...l}){let u=i?er:null;return r?(0,s.jsxs)(et(),{href:a,className:(0,o.Z)(en.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"),...l,children:[e,(0,s.jsxs)("span",{className:(0,o.Z)(en.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[n,(0,s.jsxs)("span",{className:"nx-flex nx-gap-1",children:[t,u]})]})]}):(0,s.jsx)(et(),{href:a,className:(0,o.Z)(en.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"),...l,children:(0,s.jsxs)("span",{className:(0,o.Z)(en.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[n,t,u]})})}});var ei=(0,h.createContext)(0);function ea(){return(0,h.useContext)(ei)}function eo(){let e=ea();return(0,s.jsx)(s.Fragment,{children:Array.from({length:e},(e,t)=>(0,s.jsx)("span",{className:"nx-w-5"},t))})}var es=(0,h.memo)(({label:e,name:t,open:n,children:r,defaultOpen:i=!1,onToggle:a})=>{let o=ea(),[l,u]=(0,h.useState)(i),c=(0,h.useCallback)(()=>{a?.(!l),u(!l)},[l,a]),d=void 0===n?l:n;return(0,s.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,s.jsxs)("button",{onClick:c,title:t,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,s.jsx)(eo,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:d?"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,s.jsx)("span",{className:"nx-ml-1",children:e??t})]}),d&&(0,s.jsx)("ul",{children:(0,s.jsx)(ei.Provider,{value:o+1,children:r})})]})});es.displayName="Folder";var el=(0,h.memo)(({label:e,name:t,active:n})=>(0,s.jsx)("li",{className:(0,o.Z)("nx-flex nx-list-none",n&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,s.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,s.jsx)(eo,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.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,s.jsx)("span",{className:"nx-ml-1",children:e??t})]})}));el.displayName="File",Object.assign(function({children:e}){return(0,s.jsx)("div",{className:(0,o.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,s.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:e})})},{Folder:es,File:el})},4861:function(e,t,n){"use strict";n.d(t,{LZ:function(){return i},nQ:function(){return a},TI:function(){return o},D7:function(){return s},Qq:function(){return l},fy:function(){return u},n9:function(){return c},AV:function(){return d},Oq:function(){return f},kL:function(){return h},L4:function(){return p},NW:function(){return m},NK:function(){return x},b0:function(){return g}});var r=n(5893);function i({pathClassName:e,...t}){return(0,r.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...t,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:e})})}function a(e){return(0,r.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...e,children:(0,r.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 o(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.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 s(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...e,children:[(0,r.jsx)("title",{children:"Discord"}),(0,r.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 l({isOpen:e,...t}){return(0,r.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...t,children:[(0,r.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:e?"":"nx-origin-[35%] nx-rotate-180"}),(0,r.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 u(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...e,children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.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 c(e){return(0,r.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...e,children:(0,r.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 d(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...e,children:(0,r.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 f(e){return(0,r.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:[(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function h(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.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 p(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...e,children:[(0,r.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.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 m(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.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 x(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...e,children:(0,r.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 g(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...e,children:(0,r.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(e,t,n){"use strict";n.d(t,{Z:function(){return s},a:function(){return d}});var r=n(7294);let i=r.createContext({});function a(e){let t=r.useContext(i);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let o={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||o:a(e),r.createElement(i.Provider,{value:s},t)}var l=n(5675),u=n.n(l),c={img:e=>(0,r.createElement)("object"==typeof e.src?u():"img",e)},d=e=>a({...c,...e})},2673:function(e,t,n){"use strict";n.d(t,{j:function(){return v}});var r,i=n(9208),a=n.n(i),o=n(7222),s=n(7294);n(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),n(2643);var l=n(5893),u=(0,s.createContext)(!1),c=n(1163);function d({__nextra_pageMap:e,__nextra_dynamic_opts:t,...n}){let{context:r,Layout:i}=function(){let e=globalThis[o.eZ],{route:t}=(0,c.useRouter)();(0,s.useState)({})[1];let n=e.context[t];if(!n)throw Error("No content found for the current route. This is a Nextra bug.");return{context:n,Layout:e.Layout}}(),{Content:a,...d}=r;if(e&&(d.pageOpts={...d.pageOpts,pageMap:e}),t){let{headings:e,title:n,frontMatter:r}=JSON.parse(t);d.pageOpts={...d.pageOpts,headings:e,title:n,frontMatter:r}}return(0,l.jsx)(i,{...d,pageProps:n,children:(0,l.jsx)(u.Provider,{value:n,children:(0,l.jsx)(a,{...n})})})}var f=n(1864),h=n(3859),p=n(2891);function m(e){return p(e.replaceAll(/[-_]/g," "))}function x(e){return!!e&&"object"==typeof e&&"folder"===e.type}function g(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>{if(x(t)){let n=e.replace("/","");return[n,t.title||m(n)]}return[e,t||m(e)]}))}function v({pageNextRoute:e,pageOpts:t,nextraLayout:n,themeConfig:i,MDXContent:s,hot:l,pageOptsChecksum:u,dynamicMetaModules:c=[]}){var p;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let e=JSON.parse(JSON.stringify(m.pageMap));return await Promise.all(c.map(async([t,{metaObjectKeyPath:n,metaParentKeyPath:r}])=>{let i=await t,o=await i.default(),s=a()(e,n);s.data=o,function e(t,n,r=!0){if(r){e(t,{kind:"Meta",data:n.data,locale:n.locale},!1),n.data=g(n.data);return}for(let[r,a]of Object.entries(n.data)){if(!x(a)){var i;if("*"===r)continue;t.children.push({kind:"MdxPage",...n.locale&&{locale:n.locale},name:r,route:(i=t.route,h(f.join(i,r.replace(/^index$/,""))))});continue}let o=r.replace("/",""),s={kind:"Folder",name:o,route:`${t.route}/${o}`,children:[{kind:"Meta",...n.locale&&{locale:n.locale},data:g(a.items)}]};t.children.push(s),e(s,{kind:"Meta",data:a.items,locale:n.locale},!1)}}(a()(e,r),s)})),r=e});let m=globalThis[p=o.eZ]||(globalThis[p]=Object.create(null));return t.pageMap?(m.pageMap=t.pageMap,m.Layout=n):(t={...t,pageMap:m.pageMap,flexsearch:m.flexsearch},i=m.themeConfig),t={frontMatter:{},...t},m.route=t.route,m.context||(m.context=Object.create(null)),m.context[e]={Content:s,pageOpts:t,themeConfig:i},d}},6008:function(e,t,n){"use strict";var r=n(2337);e.exports=function(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var n=new URL(e);t.protocols=r(n),t.protocol=t.protocols[0],t.port=n.port,t.resource=n.hostname,t.host=n.host,t.user=n.username||"",t.password=n.password||"",t.pathname=n.pathname,t.hash=n.hash.slice(1),t.search=n.search.slice(1),t.href=n.href,t.query=Object.fromEntries(n.searchParams)}catch(n){t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}},3905:function(e,t,n){"use strict";var r=n(6008),i=r&&"object"==typeof r&&"default"in r?r:{default:r};let a=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),o=(e,{stripHash:t})=>{let n=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!n)throw Error(`Invalid URL: ${e}`);let{type:r,data:i,hash:a}=n.groups,o=r.split(";");a=t?"":a;let s=!1;"base64"===o[o.length-1]&&(o.pop(),s=!0);let l=(o.shift()||"").toLowerCase(),u=[...o.map(e=>{let[t,n=""]=e.split("=").map(e=>e.trim());return"charset"===t&&"us-ascii"===(n=n.toLowerCase())?"":`${t}${n?`=${n}`:""}`}).filter(Boolean)];return s&&u.push("base64"),(u.length>0||l&&"text/plain"!==l)&&u.unshift(l),`data:${u.join(";")},${s?i.trim():i}${a?`#${a}`:""}`},s=(e,t=!1)=>{let n=t=>{let n=Error(t);throw n.subject_url=e,n};"string"==typeof e&&e.trim()||n("Invalid url."),e.length>s.MAX_INPUT_LENGTH&&n("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&("object"!=typeof t&&(t={stripHash:!1}),e=function(e,t){if(t={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,...t},e=e.trim(),/^data:/i.test(e))return o(e,t);if(/^view-source:/i.test(e))throw Error("`view-source:` is not supported as it is a non-standard protocol");let n=e.startsWith("//");!n&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let r=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===r.protocol&&(r.protocol="http:"),t.forceHttps&&"http:"===r.protocol&&(r.protocol="https:"),t.stripAuthentication&&(r.username="",r.password=""),t.stripHash?r.hash="":t.stripTextFragment&&(r.hash=r.hash.replace(/#?:~:text.*?$/i,"")),r.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,n="";for(;;){let i=e.exec(r.pathname);if(!i)break;let a=i[0],o=i.index;n+=r.pathname.slice(t,o).replace(/\/{2,}/g,"/")+a,t=o+a.length}n+=r.pathname.slice(t,r.pathname.length).replace(/\/{2,}/g,"/"),r.pathname=n}if(r.pathname)try{r.pathname=decodeURI(r.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=r.pathname.split("/");a(e[e.length-1],t.removeDirectoryIndex)&&(e=e.slice(0,-1),r.pathname=e.slice(1).join("/")+"/")}if(r.hostname&&(r.hostname=r.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(r.hostname)&&(r.hostname=r.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...r.searchParams.keys()])a(e,t.removeQueryParameters)&&r.searchParams.delete(e);if(!0===t.removeQueryParameters&&(r.search=""),t.sortQueryParameters){r.searchParams.sort();try{r.search=decodeURIComponent(r.search)}catch{}}t.removeTrailingSlash&&(r.pathname=r.pathname.replace(/\/$/,""));let i=e;return e=r.toString(),t.removeSingleSlash||"/"!==r.pathname||i.endsWith("/")||""!==r.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===r.pathname)&&""===r.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),n&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}(e,t));let r=i.default(e);if(r.parse_failed){let e=r.href.match(/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/);e?(r.protocols=["ssh"],r.protocol="ssh",r.resource=e[2],r.host=e[2],r.user=e[1],r.pathname=`/${e[3]}`,r.parse_failed=!1):n("URL parsing failed.")}return r};s.MAX_INPUT_LENGTH=2048,e.exports=s},4155:function(e){var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c1)for(var n=1;n{let t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},2891:function(e,t,n){let r=n(1439),i=n(7224),a="[^\\s'’\\(\\)!?;:\"-]",o=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),s=e=>e.map(e=>[RegExp(`\\b${e}\\b`,"gi"),e]);e.exports=(e,t={})=>(e=e.toLowerCase().replace(o,(e,t="",n,i,a,o,s)=>{let l=e.length+o>=s.length,u=function(e){let t=e[0];return/\s/.test(t)?e.slice(1):/[\(\)]/.test(t)?null:e}(e);return u?!n&&r.has(i+a)&&!l?u:t+(i||n).toUpperCase()+a:e}),s([...i,...t.special||[]]).forEach(([t,n])=>{e=e.replace(t,n)}),e)},1439:function(e){e.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(e){e.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"]},2746:function(e,t,n){n(5893)},512:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",i=arguments.length;na.O.nextId():null);return(0,o.e)(()=>{null===t&&n(a.O.nextId())},[t]),null!=t?""+t:void 0}},2308:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(7294),i=n(1378);function a(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},1378:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(7294),i=n(1830);let a=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},5508:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7294),i=n(1378);function a(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},961:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7294),i=n(1378);function a(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function o(e,t){let[n,o]=(0,r.useState)(()=>a(e));return(0,i.e)(()=>{o(a(e))},[e.type,e.as]),(0,i.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}},2047:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r,i=n(7294),a=n(1830);function o(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[o,s]=i.useState(a.O.isHandoffComplete);return o&&!1===a.O.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==o&&s(!0)},[o]),i.useEffect(()=>a.O.handoff(),[]),!t&&o}},1813:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7294),i=n(3);let a=Symbol();function o(){for(var e=arguments.length,t=Array(e),n=0;n{o.current=t},[t]);let s=(0,i.z)(e=>{for(let t of o.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[a]))?void 0:s}},7524:function(e,t,n){"use strict";let r;n.d(t,{A:function(){return a},_:function(){return o}});var i=n(8287),a=((r=a||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let o=(0,i.yV)(function(e,t){var n;let{features:r=1,...a}=e,o={ref:t,"aria-hidden":(2&r)==2||(null!=(n=a["aria-hidden"])?n:void 0),hidden:(4&r)==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&r)==4&&(2&r)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:o,theirProps:a,slot:{},defaultTag:"div",name:"Hidden"})})},5602:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},3580:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),r=0;rcancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),r=0;rn.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),r=0;rclearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i{a.current&&t[0]()}),n.add(()=>{a.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(1291)},1830:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class o{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}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 document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}}let s=new o},8657:function(e,t,n){"use strict";let r,i,a,o,s;n.d(t,{EO:function(){return w},TO:function(){return f},fE:function(){return h},jA:function(){return k},sP:function(){return g},tJ:function(){return x},wI:function(){return v},z2:function(){return b}});var l=n(3580),u=n(8844),c=n(8961);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),h=((i=h||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),p=((a=p||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var x=((o=x||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function g(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=(0,c.r)(e))?void 0:t.body)&&(0,u.E)(n,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function v(e){let t=(0,c.r)(e);(0,l.k)().nextFrame(()=>{t&&!g(t.activeElement,0)&&(null==e||e.focus({preventScroll:!0}))})}var y=((s=y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){return k(m(),t,{relativeTo:e})}function k(e,t){var n,r,i;let{sorted:a=!0,relativeTo:o=null,skipElements:s=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?a?b(e):e:m(e);s.length>0&&u.length>1&&(u=u.filter(e=>!s.includes(e))),o=null!=o?o:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(o))-1;if(4&t)return Math.max(0,u.indexOf(o))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},h=0,p=u.length,x;do{if(h>=p||h+p<=0)return 0;let e=d+h;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}null==(x=u[e])||x.focus(f),h+=c}while(x!==l.activeElement);return 6&t&&null!=(i=null==(r=null==(n=x)?void 0:n.matches)?void 0:r.call(n,"textarea,input"))&&i&&x.select(),2}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},8844:function(e,t,n){"use strict";function r(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{E:function(){return r}})},1291:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},8961:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(1830);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},8287:function(e,t,n){"use strict";let r,i;n.d(t,{AN:function(){return l},l4:function(){return u},oA:function(){return m},sY:function(){return c},yV:function(){return p}});var a=n(7294),o=n(5602),s=n(8844),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:a,visible:o=!0,name:l,mergeRefs:u}=e;u=null!=u?u:f;let c=h(n,t);if(o)return d(c,r,i,l,u);let p=null!=a?a:0;if(2&p){let{static:e=!1,...t}=c;if(e)return d(t,r,i,l,u)}if(1&p){let{unmount:e=!0,...t}=c;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},r,i,l,u)})}return d(c,r,i,l,u)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:s=n,children:l,refName:u="ref",...c}=x(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let p={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(s===a.Fragment&&Object.keys(m(c)).length>0){if(!(0,a.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(c).map(e=>" - ".concat(e)).join("\n"),"","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(e=>" - ".concat(e)).join("\n")].join("\n"));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;rnull==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function h(){for(var e=arguments.length,t=Array(e),n=0;n[e,void 0])));for(let e in i)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},7222:function(e,t,n){"use strict";n.d(t,{ZW:function(){return a},eZ:function(){return s},hV:function(){return l}});var r=n(1864),i=n(4155),a="en-US",o=i.cwd();r.join(o,"public");var s=Symbol.for("__nextra_internal__"),l=new Set(["/404","/500"])}}]); \ No newline at end of file diff --git a/_next/static/chunks/528-58aa8d04a1d8af04.js b/_next/static/chunks/528-58aa8d04a1d8af04.js new file mode 100644 index 0000000..e114cc3 --- /dev/null +++ b/_next/static/chunks/528-58aa8d04a1d8af04.js @@ -0,0 +1,16 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[528],{8417:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=function(){function e(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 t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.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[Z]+" "+k:l(k,/&\f/g,m[Z])).trim())&&(f[x++]=w);return b(e,t,r,0===i?M:s,f,d,p)}function z(e,t,r,n){return b(e,t,r,E,u(e,0,n),u(e,n+1,-1),n)}var I=function(e,t,r){for(var n=0,o=0;n=o,o=k(),38===n&&12===o&&(t[r]=1),!w(o);)Z();return u(v,e,g)},N=function(e,t){var r=-1,n=44;do switch(w(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=I(g-1,t,r);break;case 2:e[r]+=C(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=Z());return e},W=function(e,t){var r;return r=N(S(e),t),v="",r},B=new WeakMap,L=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)||B.get(r))&&!n){B.set(e,!0);for(var o=[],i=W(t,o),a=r.props,l=0,c=0;l-1&&!e.return)switch(e.type){case E:e.return=function e(t,r){switch(45^s(t,0)?(((r<<2^s(t,0))<<2^s(t,1))<<2^s(t,2))<<2^s(t,3):0){case 5103:return A+"print-"+t+t;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 A+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return A+t+O+t+P+t+t;case 6828:case 4268:return A+t+P+t+t;case 6165:return A+t+P+"flex-"+t+t;case 5187:return A+t+l(t,/(\w+).+(:[^]+)/,A+"box-$1$2"+P+"flex-$1$2")+t;case 5443:return A+t+P+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return A+t+P+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return A+t+P+l(t,"shrink","negative")+t;case 5292:return A+t+P+l(t,"basis","preferred-size")+t;case 6060:return A+"box-"+l(t,"-grow","")+A+t+P+l(t,"grow","positive")+t;case 4554:return A+l(t,/([^-])(transform)/g,"$1"+A+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,A+"$1$2")+t;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(f(t)-1-r>6)switch(s(t,r+1)){case 109:if(45!==s(t,r+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+O+(108==s(t,r+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?e(l(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==s(t,r+1))break;case 6444:switch(s(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return l(t,":",":"+A)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(45===s(t,14)?"inline-":"")+"box$3$1"+A+"$2$3$1"+P+"$2box$3")+t}break;case 5936:switch(s(t,r+11)){case 114:return A+t+P+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return A+t+P+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return A+t+P+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return A+t+P+t+t}return t}(e.value,e.length);break;case j:return _([x(e,{value:l(e.value,"@","@"+A)})],n);case M:if(e.length){var o,i;return o=e.props,i=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return _([x(e,{props:[l(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return _([x(e,{props:[l(t,/:(plac\w+)/,":"+A+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":"+O+"$1")]}),x(e,{props:[l(t,/:(plac\w+)/,P+"input-$1")]})],n)}return""},o.map(i).join("")}}}],D=function(e){var t,r,o,a,m,x,P=e.key;if("css"===P){var O=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(O,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var A=e.stylisPlugins||V,M={},E=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+P+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||w(y)>3?"":" "}(T);break;case 92:G+=function(e,t){for(var r;--t&&Z()&&!(y<48)&&!(y>102)&&(!(y>57)||!(y<65))&&(!(y>70)||!(y<97)););return r=g+(t<6&&32==k()&&32==Z()),u(v,e,r)}(g-1,7);continue;case 47:switch(k()){case 42:case 47:d(b(O=function(e,t){for(;Z();)if(e+y===57)break;else if(e+y===84&&47===k())break;return"/*"+u(v,t,g-1)+"*"+i(47===e?e:Z())}(Z(),g),r,n,R,i(y),u(O,2,-2),0),P);break;default:G+="/"}break;case 123*I:S[A++]=f(G)*W;case 125*I:case 59:case 0:switch(B){case 0:case 125:N=0;case 59+M:-1==W&&(G=l(G,/\f/g,"")),_>0&&f(G)-E&&d(_>32?z(G+";",o,n,E-1):z(l(G," ","")+";",o,n,E-2),P);break;case 59:G+=";";default:if(d(D=$(G,r,n,A,M,a,S,L,F=[],V=[],E),m),123===B){if(0===M)e(G,r,D,D,F,m,E,S,V);else switch(99===j&&110===s(G,3)?100:j){case 100:case 108:case 109:case 115:e(t,D,D,o&&d($(t,D,D,0,0,a,S,L,a,F=[],E),V),a,V,E,S,o?F:V);break;default:e(G,D,D,D,[""],V,0,S,V)}}}A=M=_=0,I=W=1,L=G="",E=x;break;case 58:E=1+f(G),_=T;default:if(I<1){if(123==B)--I;else if(125==B&&0==I++&&125==(y=g>0?s(v,--g):0,h--,10===y&&(h=1,p--),y))continue}switch(G+=i(B),B*I){case 38:W=M>0?1:(G+="\f",-1);break;case 44:S[A++]=(f(G)-1)*W,W=1;break;case 64:45===k()&&(G+=C(Z())),j=k(),M=E=f(L=G+=function(e){for(;!w(k());)Z();return u(v,e,g)}(g)),B++;break;case 45:45===T&&2==f(G)&&(I=0)}}return m}("",null,null,null,[""],t=S(t=e),0,[0],t),v="",r),j)};m=function(e,t,r,n){x=r,I(e?e+"{"+t.styles+"}":t.styles),n&&(N.inserted[t.name]=!0)};var N={key:P,sheet:new n({key:P,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:M,registered:{},insert:m};return N.sheet.hydrate(E),N}},5042:function(e,t,r){"use strict";function n(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 n}})},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 c}});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,c=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(a),r)})};i||(c=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 u},iv:function(){return s},xB:function(){return c}});var n=r(6498),o=r(7294),i=r(444),a=r(7278),l=r(8137);r(8417),r(8679);var c=(0,n.w)(function(e,t){var r=e.styles,c=(0,l.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var s,u=c.name,f=c.styles,d=c.next;void 0!==d;)u+=" "+d.name,f+=d.styles,d=d.next;var p=!0===t.compat,h=t.insert("",{name:u,styles:f},t.sheet,p);return p?null:o.createElement("style",((s={})["data-emotion"]=t.key+"-global "+u,s.dangerouslySetInnerHTML={__html:h},s.nonce=t.sheet.nonce,s))}var m=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+" "+c.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),m.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=m.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==c.next&&(0,i.My)(t,c.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",c,r,!1)},[t,c.name]),null});function s(){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)+s,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 n(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 i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},3534:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{GlobalStyles:function(){return k},StyledEngineProvider:function(){return Z},ThemeContext:function(){return s.T},css:function(){return v.iv},default:function(){return w},internal_processStyles:function(){return S},keyframes:function(){return v.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)-.*))$/,c=(0,a.Z)(function(e){return l.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=r(6498),u=r(444),f=r(8137),d=r(7278),p=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?c:p},m=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},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,u.hC)(t,r,n),(0,d.L)(function(){return(0,u.My)(t,r,n)}),null},y=(function e(t,r){var n,a,l=t.__emotion_real===t,c=l&&t.__emotion_base||t;void 0!==r&&(n=r.label,a=r.target);var d=m(t,r,l),p=d||h(c),y=!p("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&b.push("label:"+n+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,Z=1;Zt(null==e||0===Object.keys(e).length?r:e):t;return(0,x.jsx)(v.xB,{styles:n})}function w(e,t){return y(e,t)}"object"==typeof document&&(n=(0,b.Z)({key:"css",prepend:!0}));let S=(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=l(e),t=a(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,c(e)},t._j=function(e,t){if(e=l(e),t=a(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 c(e)},t.mi=function(e,t){let r=s(e),n=s(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.$n=function(e,t){if(e=l(e),t=a(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 c(e)};var o=n(r(743)),i=n(r(9425));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function l(e){let t;if(e.type)return e;if("#"===e.charAt(0))return l(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 c(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 s(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(function(e){let{values:t}=e=l(e),r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1),s="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",u.push(t[3])),c({type:s,values:u})}(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=h,slotShouldForwardProp:c=h}=e,u=e=>(0,s.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,s={})=>{var f;let p;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:b,skipVariantsResolver:x,skipSx:Z,overridesResolver:k=(f=g(b))?(e,t)=>t[f]:null}=s,w=(0,i.default)(s,d),S=void 0!==x?x:b&&"Root"!==b&&"root"!==b||!1,C=Z||!1,P=h;"Root"===b||"root"===b?P=n:b?P=c:"string"==typeof e&&e.charCodeAt(0)>96&&(P=void 0);let O=(0,a.default)(e,(0,o.default)({shouldForwardProp:P,label:p},w)),A=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,R=(n,...i)=>{let a=A(n),l=i?i.map(A):[];m&&k&&l.push(e=>{let n=y((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]=v(r,(0,o.default)({},e,{theme:n}))}),k(e,a)}),m&&!S&&l.push(e=>{var n;let i=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[m])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),C||l.push(u);let c=l.length-i.length;if(Array.isArray(n)&&c>0){let e=Array(c).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let s=O(a,...l);return e.muiName&&(s.muiName=e.muiName),s};return O.withConfig&&(R.withConfig=O.withConfig),R}};var o=n(r(434)),i=n(r(7071)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(void 0);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 c=n(r(9926)),s=n(r(386));let u=["ownerState"],f=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,c.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function v(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u),a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>v(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,f);return e.forEach(e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)}),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),t}return a}},5408:function(e,t,r){"use strict";r.d(t,{L7:function(){return l},P$:function(){return c},VO:function(){return n},W8:function(){return a},k9:function(){return i}});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 i(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)=>(-1!==Object.keys(e.values||n).indexOf(i)?o[e.up(i)]=r(t[i],i):o[i]=t[i],o),{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function l(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function c({values:e,breakpoints:t,base:r}){let n;let o=Object.keys(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));return 0===o.length?e:o.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 n(e,t){return this.vars&&"function"==typeof this.getColorSchemeSelector?{[this.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:this.palette.mode===e?t:{}}r.d(t,{Z:function(){return n}})},1512:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(3366),o=r(7462);let i=["values","unit","step"],a=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 l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:l=5}=e,c=(0,n.Z)(e,i),s=a(t),u=Object.keys(s);function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function d(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-l/100}${r})`}function p(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)-l/100}${r})`}return(0,o.Z)({keys:u,values:s,up:f,down:d,between:p,only:function(e){return u.indexOf(e)+1(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(h),b=(0,i.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},p),spacing:v,shape:(0,n.Z)({},l,m)},g);return b.applyStyles=f.Z,(b=t.reduce((e,t)=>(0,i.Z)(e,t),b)).unstable_sxConfig=(0,n.Z)({},u.Z,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},b}},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 h},eI:function(){return p},NA:function(){return m},e6:function(){return y},o3:function(){return v}});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"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},s=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function p(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 h(e){return p(e,"spacing",8,"spacing")}function m(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 g(e,t){let r=h(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(-1===t.indexOf(r))return null;let a=(i=s(r),e=>i.reduce((t,r)=>(t[r]=m(o,e),t),{})),l=e[r];return(0,n.k9)(e,l,a)})(e,t,o,r)).reduce(i.Z,{})}function y(e){return g(e,u)}function v(e){return g(e,f)}function b(e){return g(e,d)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=f,b.propTypes={},b.filterProps=d},4844:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(2908),o=r(5408);function i(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 a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:c}=e,s=e=>{if(null==e[t])return null;let s=e[t],u=i(e.theme,l)||{};return(0,o.k9)(e,s,e=>{let o=a(u,c,e);return(e===o&&"string"==typeof e&&(o=a(u,c,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return s.propTypes={},s.filterProps=[t],s}},4920:function(e,t,r){"use strict";r.d(t,{Z:function(){return B}});var n=r(8700),o=r(4844),i=r(7730),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},l=r(5408);function c(e){return"number"!=typeof e?e:`${e}px solid`}function s(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let u=s("border",c),f=s("borderTop",c),d=s("borderRight",c),p=s("borderBottom",c),h=s("borderLeft",c),m=s("borderColor"),g=s("borderTopColor"),y=s("borderRightColor"),v=s("borderBottomColor"),b=s("borderLeftColor"),x=s("outline",c),Z=s("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["borderRadius"],a(u,f,d,p,h,m,g,y,v,b,k,x,Z);let w=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["gap"];let S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};S.propTypes={},S.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let P=(0,o.ZP)({prop:"gridColumn"}),O=(0,o.ZP)({prop:"gridRow"}),A=(0,o.ZP)({prop:"gridAutoFlow"}),R=(0,o.ZP)({prop:"gridAutoColumns"}),M=(0,o.ZP)({prop:"gridAutoRows"}),E=(0,o.ZP)({prop:"gridTemplateColumns"});function j(e,t){return"grey"===t?t:e}function _(e){return e<=1&&0!==e?`${100*e}%`:e}a(w,S,C,P,O,A,R,M,E,(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"})),a((0,o.ZP)({prop:"color",themeKey:"palette",transform:j}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:j}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:j}));let T=(0,o.ZP)({prop:"width",transform:_}),$=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.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])||l.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:_(t)}}):null;$.filterProps=["maxWidth"];let z=(0,o.ZP)({prop:"minWidth",transform:_}),I=(0,o.ZP)({prop:"height",transform:_}),N=(0,o.ZP)({prop:"maxHeight",transform:_}),W=(0,o.ZP)({prop:"minHeight",transform:_});(0,o.ZP)({prop:"size",cssProperty:"width",transform:_}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:_}),a(T,$,z,I,N,W,(0,o.ZP)({prop:"boxSizing"}));var B={border:{themeKey:"borders",transform:c},borderTop:{themeKey:"borders",transform:c},borderRight:{themeKey:"borders",transform:c},borderBottom:{themeKey:"borders",transform:c},borderLeft:{themeKey:"borders",transform:c},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:c},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:j},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:j},backgroundColor:{themeKey:"palette",transform:j},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:w},rowGap:{style:C},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_},maxWidth:{style:$},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},9707:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(7462),o=r(3366),i=r(8027),a=r(4920);let l=["sx"],c=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 s(e){let t;let{sx:r}=e,{systemProps:a,otherProps:s}=c((0,o.Z)(e,l));return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},a,t):a}:(0,n.Z)({},a,r),(0,n.Z)({},s,{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 c}});var n=r(2908),o=r(7730),i=r(4844),a=r(5408),l=r(4920);function c(){function e(e,t,r,o){let l={[e]:t,theme:r},c=o[e];if(!c)return{[e]:t};let{cssProperty:s=e,themeKey:u,transform:f,style:d}=c;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,u)||{};return d?d(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===s)?r:{[s]:r}})}return function t(r){var n;let{sx:i,theme:c={}}=r||{};if(!i)return null;let s=null!=(n=c.unstable_sxConfig)?n:l.Z;function u(r){let n=r;if("function"==typeof r)n=r(c);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(c.breakpoints),l=Object.keys(i),u=i;return Object.keys(n).forEach(r=>{var i;let l="function"==typeof(i=n[r])?i(c):i;if(null!=l){if("object"==typeof l){if(s[r])u=(0,o.Z)(u,e(r,l,c,s));else{let e=(0,a.k9)({theme:c},l,e=>({[r]:e}));(function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)})(e,l)?u[r]=t({sx:l,theme:c}):u=(0,o.Z)(u,e)}}else u=(0,o.Z)(u,e(r,l,c,s))}}),(0,a.L7)(l,u)}return Array.isArray(i)?i.map(u):u(i)}}let s=c();s.filterProps=["sx"],t.Z=s},9718:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(7172),o=r(7294),i=r(6498),a=function(e=null){let t=o.useContext(i.T);return t&&0!==Object.keys(t).length?t:e};let l=(0,n.Z)();var c=function(e=l){return a(e)}},5149:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(2236),o=r(9718);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);return i&&(a=a[i]||a),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})}},1983:function(e,t){"use strict";let r;let n=e=>e,o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=o},2908:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(8758);function o(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 n}});var n=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 n(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 n}})},8027:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{o(r[n])&&Object.prototype.hasOwnProperty.call(t,n)&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n]}),a}}});var n=r(7462);function o(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 n(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 c},getFunctionName:function(){return i}});var n=r(9864);let o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function l(e,t,r){let n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function c(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return l(e,e.render,"ForwardRef");case n.Memo:return l(e,e.type,"memo")}}}},2236:function(e,t,r){"use strict";r.d(t,{Z:function(){return function e(t,r){let o=(0,n.Z)({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,n.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},l=r[i];o[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(o[i]=(0,n.Z)({},l),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],l[t])})):o[i]=l:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}}});var n=r(7462)},5091:function(e,t,r){"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return n}})},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 a},Z:function(){return l}});var n=r(7294);let o={},i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function l(){var e;let t=function(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(void 0)),r}(a.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 c(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,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=u(r);f&&(a=a.concat(f(r)));for(var l=c(t),m=c(r),g=0;g"theme"!==e&&"sx"!==e&&"as"!==e})(c.Z);return i.forwardRef(function(e,i){let l=(0,u.Z)(r),c=(0,s.Z)(e),{className:g,component:y="div"}=c,v=(0,o.Z)(c,d);return(0,f.jsx)(m,(0,n.Z)({as:y,ref:i,className:(0,a.Z)(g,h?h(p):p),theme:t&&l[t]||l},v))})}({themeId:m.Z,defaultTheme:y,defaultClassName:g.root,generateClassName:p.Z.generate})},8163:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(2236),c=r(8510),s=r(2101),u=r(9262),f=r(7633),d=r(9145),p=r(3220),h=r(5228),m=r(1977),g=r(5463);function y(e){return(0,g.ZP)("MuiButton",e)}let v=(0,m.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"]),b=i.createContext({}),x=i.createContext(void 0);var Z=r(5893);let k=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],w=e=>{let{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,classes:l}=e,s={root:["root",a,"".concat(a).concat((0,h.Z)(t)),"size".concat((0,h.Z)(i)),"".concat(a,"Size").concat((0,h.Z)(i)),"color".concat((0,h.Z)(t)),r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon","iconSize".concat((0,h.Z)(i))],endIcon:["icon","endIcon","iconSize".concat((0,h.Z)(i))]},u=(0,c.Z)(s,y,l);return(0,o.Z)({},l,u)},S=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}}),C=(0,u.ZP)(p.Z,{shouldForwardProp:e=>(0,f.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["".concat(r.variant).concat((0,h.Z)(r.color))],t["size".concat((0,h.Z)(r.size))],t["".concat(r.variant,"Size").concat((0,h.Z)(r.size))],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(e=>{var t,r;let{theme:n,ownerState:i}=e,a="light"===n.palette.mode?n.palette.grey[300]:n.palette.grey[800],l="light"===n.palette.mode?n.palette.grey.A100:n.palette.grey[700];return(0,o.Z)({},n.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(n.vars||n).shape.borderRadius,transition:n.transitions.create(["background-color","box-shadow","border-color","color"],{duration:n.transitions.duration.short}),"&:hover":(0,o.Z)({textDecoration:"none",backgroundColor:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(n.palette.text.primary,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===i.variant&&"inherit"!==i.color&&{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[i.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(n.palette[i.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===i.variant&&"inherit"!==i.color&&{border:"1px solid ".concat((n.vars||n).palette[i.color].main),backgroundColor:n.vars?"rgba(".concat(n.vars.palette[i.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):(0,s.Fq)(n.palette[i.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===i.variant&&{backgroundColor:n.vars?n.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(n.vars||n).shadows[4],"@media (hover: none)":{boxShadow:(n.vars||n).shadows[2],backgroundColor:(n.vars||n).palette.grey[300]}},"contained"===i.variant&&"inherit"!==i.color&&{backgroundColor:(n.vars||n).palette[i.color].dark,"@media (hover: none)":{backgroundColor:(n.vars||n).palette[i.color].main}}),"&:active":(0,o.Z)({},"contained"===i.variant&&{boxShadow:(n.vars||n).shadows[8]}),["&.".concat(v.focusVisible)]:(0,o.Z)({},"contained"===i.variant&&{boxShadow:(n.vars||n).shadows[6]}),["&.".concat(v.disabled)]:(0,o.Z)({color:(n.vars||n).palette.action.disabled},"outlined"===i.variant&&{border:"1px solid ".concat((n.vars||n).palette.action.disabledBackground)},"contained"===i.variant&&{color:(n.vars||n).palette.action.disabled,boxShadow:(n.vars||n).shadows[0],backgroundColor:(n.vars||n).palette.action.disabledBackground})},"text"===i.variant&&{padding:"6px 8px"},"text"===i.variant&&"inherit"!==i.color&&{color:(n.vars||n).palette[i.color].main},"outlined"===i.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===i.variant&&"inherit"!==i.color&&{color:(n.vars||n).palette[i.color].main,border:n.vars?"1px solid rgba(".concat(n.vars.palette[i.color].mainChannel," / 0.5)"):"1px solid ".concat((0,s.Fq)(n.palette[i.color].main,.5))},"contained"===i.variant&&{color:n.vars?n.vars.palette.text.primary:null==(t=(r=n.palette).getContrastText)?void 0:t.call(r,n.palette.grey[300]),backgroundColor:n.vars?n.vars.palette.Button.inheritContainedBg:a,boxShadow:(n.vars||n).shadows[2]},"contained"===i.variant&&"inherit"!==i.color&&{color:(n.vars||n).palette[i.color].contrastText,backgroundColor:(n.vars||n).palette[i.color].main},"inherit"===i.color&&{color:"inherit",borderColor:"currentColor"},"small"===i.size&&"text"===i.variant&&{padding:"4px 5px",fontSize:n.typography.pxToRem(13)},"large"===i.size&&"text"===i.variant&&{padding:"8px 11px",fontSize:n.typography.pxToRem(15)},"small"===i.size&&"outlined"===i.variant&&{padding:"3px 9px",fontSize:n.typography.pxToRem(13)},"large"===i.size&&"outlined"===i.variant&&{padding:"7px 21px",fontSize:n.typography.pxToRem(15)},"small"===i.size&&"contained"===i.variant&&{padding:"4px 10px",fontSize:n.typography.pxToRem(13)},"large"===i.size&&"contained"===i.variant&&{padding:"8px 22px",fontSize:n.typography.pxToRem(15)},i.fullWidth&&{width:"100%"})},e=>{let{ownerState:t}=e;return t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(v.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(v.disabled)]:{boxShadow:"none"}}}),P=(0,u.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,t["iconSize".concat((0,h.Z)(r.size))]]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},S(t))}),O=(0,u.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,t["iconSize".concat((0,h.Z)(r.size))]]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},S(t))});var A=i.forwardRef(function(e,t){let r=i.useContext(b),c=i.useContext(x),s=(0,l.Z)(r,e),u=(0,d.Z)({props:s,name:"MuiButton"}),{children:f,color:p="primary",component:h="button",className:m,disabled:g=!1,disableElevation:y=!1,disableFocusRipple:v=!1,endIcon:S,focusVisibleClassName:A,fullWidth:R=!1,size:M="medium",startIcon:E,type:j,variant:_="text"}=u,T=(0,n.Z)(u,k),$=(0,o.Z)({},u,{color:p,component:h,disabled:g,disableElevation:y,disableFocusRipple:v,fullWidth:R,size:M,type:j,variant:_}),z=w($),I=E&&(0,Z.jsx)(P,{className:z.startIcon,ownerState:$,children:E}),N=S&&(0,Z.jsx)(O,{className:z.endIcon,ownerState:$,children:S});return(0,Z.jsxs)(C,(0,o.Z)({ownerState:$,className:(0,a.Z)(r.className,z.root,m,c||""),component:h,disabled:g,focusRipple:!v,focusVisibleClassName:(0,a.Z)(z.focusVisible,A),ref:t,type:j},T,{classes:z,children:[I,f,N]}))})},3220:function(e,t,r){"use strict";let n,o,i,a;r.d(t,{Z:function(){return H}});var l=r(7462),c=r(3366),s=r(7294),u=r(512),f=r(8510),d=r(9262),p=r(9145),h=r(6619),m=r(6778),g=r(2859);function y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var b=s.createContext(null);function x(e,t){var r=Object.create(null);return e&&s.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,s.isValidElement)(e)?t(e):e}),r}function Z(e,t,r){return null!=r[t]?r[t]:e.props[t]}var k=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},w=function(e){function t(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}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,v(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?x(e.children,function(t){return(0,s.cloneElement)(t,{onExited:i.bind(null,t),in:!0,appear:Z(t,"appear",e),enter:Z(t,"enter",e),exit:Z(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var c in t){if(o[c])for(n=0;n{if(!l&&null!=c){let e=setTimeout(c,f);return()=>{clearTimeout(e)}}},[c,l,f]),(0,P.jsx)("span",{className:h,style:{width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},children:(0,P.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(a||(a=j()),A.rippleVisible,T,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},A.ripplePulsate,e=>{let{theme:t}=e;return t.transitions.duration.shorter},A.child,A.childLeaving,$,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},A.childPulsate,z,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),W=s.forwardRef(function(e,t){let r=(0,p.Z)({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=(0,c.Z)(r,_),[f,d]=s.useState([]),h=s.useRef(0),m=s.useRef(null);s.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);let g=s.useRef(!1),y=(0,C.Z)(),v=s.useRef(null),b=s.useRef(null),x=s.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;d(e=>[...e,(0,P.jsx)(N,{classes:{ripple:(0,u.Z)(o.ripple,A.ripple),rippleVisible:(0,u.Z)(o.rippleVisible,A.rippleVisible),ripplePulsate:(0,u.Z)(o.ripplePulsate,A.ripplePulsate),child:(0,u.Z)(o.child,A.child),childLeaving:(0,u.Z)(o.childLeaving,A.childLeaving),childPulsate:(0,u.Z)(o.childPulsate,A.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},h.current)]),h.current+=1,m.current=a},[o]),Z=s.useCallback(function(){let e,t,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},{pulsate:l=!1,center:c=n||i.pulsate,fakeElement:s=!1}=i;if((null==o?void 0:o.type)==="mousedown"&&g.current){g.current=!1;return}(null==o?void 0:o.type)==="touchstart"&&(g.current=!0);let u=s?null:b.current,f=u?u.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!c&&void 0!==o&&(0!==o.clientX||0!==o.clientY)&&(o.clientX||o.touches)){let{clientX:r,clientY:n}=o.touches&&o.touches.length>0?o.touches[0]:o;e=Math.round(r-f.left),t=Math.round(n-f.top)}else e=Math.round(f.width/2),t=Math.round(f.height/2);c?(r=Math.sqrt((2*f.width**2+f.height**2)/3))%2==0&&(r+=1):r=Math.sqrt((2*Math.max(Math.abs((u?u.clientWidth:0)-e),e)+2)**2+(2*Math.max(Math.abs((u?u.clientHeight:0)-t),t)+2)**2),null!=o&&o.touches?null===v.current&&(v.current=()=>{x({pulsate:l,rippleX:e,rippleY:t,rippleSize:r,cb:a})},y.start(80,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:l,rippleX:e,rippleY:t,rippleSize:r,cb:a})},[n,x,y]),k=s.useCallback(()=>{Z({},{pulsate:!0})},[Z]),S=s.useCallback((e,t)=>{if(y.clear(),(null==e?void 0:e.type)==="touchend"&&v.current){v.current(),v.current=null,y.start(0,()=>{S(e,t)});return}v.current=null,d(e=>e.length>0?e.slice(1):e),m.current=t},[y]);return s.useImperativeHandle(t,()=>({pulsate:k,start:Z,stop:S}),[k,Z,S]),(0,P.jsx)(I,(0,l.Z)({className:(0,u.Z)(A.root,o.root,i),ref:b},a,{children:(0,P.jsx)(w,{component:null,exit:!0,children:f})}))});var B=r(5463);function L(e){return(0,B.ZP)("MuiButtonBase",e)}let F=(0,O.Z)("MuiButtonBase",["root","disabled","focusVisible"]),V=["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"],D=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=(0,f.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},L,o);return r&&n&&(i.root+=" ".concat(n)),i},G=(0,d.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"},["&.".concat(F.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});var H=s.forwardRef(function(e,t){let r=(0,p.Z)({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:f="button",disabled:d=!1,disableRipple:y=!1,disableTouchRipple:v=!1,focusRipple:b=!1,LinkComponent:x="a",onBlur:Z,onClick:k,onContextMenu:w,onDragLeave:S,onFocus:C,onFocusVisible:O,onKeyDown:A,onKeyUp:R,onMouseDown:M,onMouseLeave:E,onMouseUp:j,onTouchEnd:_,onTouchMove:T,onTouchStart:$,tabIndex:z=0,TouchRippleProps:I,touchRippleRef:N,type:B}=r,L=(0,c.Z)(r,V),F=s.useRef(null),H=s.useRef(null),K=(0,h.Z)(H,N),{isFocusVisibleRef:q,onFocus:U,onBlur:X,ref:Y}=(0,g.Z)(),[J,Q]=s.useState(!1);d&&J&&Q(!1),s.useImperativeHandle(n,()=>({focusVisible:()=>{Q(!0),F.current.focus()}}),[]);let[ee,et]=s.useState(!1);s.useEffect(()=>{et(!0)},[]);let er=ee&&!y&&!d;function en(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return(0,m.Z)(n=>(t&&t(n),!r&&H.current&&H.current[e](n),!0))}s.useEffect(()=>{J&&b&&!y&&ee&&H.current.pulsate()},[y,b,J,ee]);let eo=en("start",M),ei=en("stop",w),ea=en("stop",S),el=en("stop",j),ec=en("stop",e=>{J&&e.preventDefault(),E&&E(e)}),es=en("start",$),eu=en("stop",_),ef=en("stop",T),ed=en("stop",e=>{X(e),!1===q.current&&Q(!1),Z&&Z(e)},!1),ep=(0,m.Z)(e=>{F.current||(F.current=e.currentTarget),U(e),!0===q.current&&(Q(!0),O&&O(e)),C&&C(e)}),eh=()=>{let e=F.current;return f&&"button"!==f&&!("A"===e.tagName&&e.href)},em=s.useRef(!1),eg=(0,m.Z)(e=>{b&&!em.current&&J&&H.current&&" "===e.key&&(em.current=!0,H.current.stop(e,()=>{H.current.start(e)})),e.target===e.currentTarget&&eh()&&" "===e.key&&e.preventDefault(),A&&A(e),e.target===e.currentTarget&&eh()&&"Enter"===e.key&&!d&&(e.preventDefault(),k&&k(e))}),ey=(0,m.Z)(e=>{b&&" "===e.key&&H.current&&J&&!e.defaultPrevented&&(em.current=!1,H.current.stop(e,()=>{H.current.pulsate(e)})),R&&R(e),k&&e.target===e.currentTarget&&eh()&&" "===e.key&&!e.defaultPrevented&&k(e)}),ev=f;"button"===ev&&(L.href||L.to)&&(ev=x);let eb={};"button"===ev?(eb.type=void 0===B?"button":B,eb.disabled=d):(L.href||L.to||(eb.role="button"),d&&(eb["aria-disabled"]=d));let ex=(0,h.Z)(t,Y,F),eZ=(0,l.Z)({},r,{centerRipple:o,component:f,disabled:d,disableRipple:y,disableTouchRipple:v,focusRipple:b,tabIndex:z,focusVisible:J}),ek=D(eZ);return(0,P.jsxs)(G,(0,l.Z)({as:ev,className:(0,u.Z)(ek.root,a),ownerState:eZ,onBlur:ed,onClick:k,onContextMenu:ei,onFocus:ep,onKeyDown:eg,onKeyUp:ey,onMouseDown:eo,onMouseLeave:ec,onMouseUp:el,onDragLeave:ea,onTouchEnd:eu,onTouchMove:ef,onTouchStart:es,ref:ex,tabIndex:d?-1:z,type:B},eb,L,{children:[i,er?(0,P.jsx)(W,(0,l.Z)({ref:K,center:o},I)):null]}))})},7868: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),c=r(9145),s=r(9262),u=r(1977),f=r(5463);function d(e){return(0,f.ZP)("MuiCardActionArea",e)}let p=(0,u.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var h=r(3220),m=r(5893);let g=["children","className","focusVisibleClassName"],y=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"],focusHighlight:["focusHighlight"]},d,t)},v=(0,s.ZP)(h.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(e=>{let{theme:t}=e;return{display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",["&:hover .".concat(p.focusHighlight)]:{opacity:(t.vars||t).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},["&.".concat(p.focusVisible," .").concat(p.focusHighlight)]:{opacity:(t.vars||t).palette.action.focusOpacity}}}),b=(0,s.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(e=>{let{theme:t}=e;return{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:t.transitions.create("opacity",{duration:t.transitions.duration.short})}});var x=i.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiCardActionArea"}),{children:i,className:l,focusVisibleClassName:s}=r,u=(0,o.Z)(r,g),f=y(r);return(0,m.jsxs)(v,(0,n.Z)({className:(0,a.Z)(f.root,l),focusVisibleClassName:(0,a.Z)(s,f.focusVisible),ref:t,ownerState:r},u,{children:[i,(0,m.jsx)(b,{className:f.focusHighlight,ownerState:r})]}))})},9203:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(7462),o=r(3366),i=r(7294),a=r(512),l=r(8510),c=r(9262),s=r(9145),u=r(1977),f=r(5463);function d(e){return(0,f.ZP)("MuiCardContent",e)}(0,u.Z)("MuiCardContent",["root"]);var p=r(5893);let h=["className","component"],m=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"]},d,t)},g=(0,c.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}}));var y=i.forwardRef(function(e,t){let r=(0,s.Z)({props:e,name:"MuiCardContent"}),{className:i,component:l="div"}=r,c=(0,o.Z)(r,h),u=(0,n.Z)({},r,{component:l}),f=m(u);return(0,p.jsx)(g,(0,n.Z)({as:l,className:(0,a.Z)(f.root,i),ownerState:u,ref:t},c))})},5369: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(5463),c=r(8510),s=r(2908),u=r(5149),f=r(3534),d=r(8027),p=r(7172),h=r(6523);let m=["ownerState"],g=["variants"],y=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let b=(0,p.Z)(),x=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Z({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function k(e,t){let{ownerState:r}=t,i=(0,n.Z)(t,m),a="function"==typeof e?e((0,o.Z)({ownerState:r},i)):e;if(Array.isArray(a))return a.flatMap(e=>k(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);return e.forEach(e=>{let n=!0;"function"==typeof e.props?n=e.props((0,o.Z)({ownerState:r},i,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&i[t]!==e.props[t]&&(n=!1)}),n&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.Z)({ownerState:r},i,r)):e.style))}),t}return a}let w=function(e={}){let{themeId:t,defaultTheme:r=b,rootShouldForwardProp:i=v,slotShouldForwardProp:a=v}=e,l=e=>(0,h.Z)((0,o.Z)({},e,{theme:Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return l.__mui_systemSx=!0,(e,c={})=>{var s;let u;(0,f.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:p,slot:h,skipVariantsResolver:m,skipSx:g,overridesResolver:b=(s=x(h))?(e,t)=>t[s]:null}=c,w=(0,n.Z)(c,y),S=void 0!==m?m:h&&"Root"!==h&&"root"!==h||!1,C=g||!1,P=v;"Root"===h||"root"===h?P=i:h?P=a:"string"==typeof e&&e.charCodeAt(0)>96&&(P=void 0);let O=(0,f.default)(e,(0,o.Z)({shouldForwardProp:P,label:u},w)),A=e=>"function"==typeof e&&e.__emotion_real!==e||(0,d.P)(e)?n=>k(e,(0,o.Z)({},n,{theme:Z({theme:n.theme,defaultTheme:r,themeId:t})})):e,R=(n,...i)=>{let a=A(n),c=i?i.map(A):[];p&&b&&c.push(e=>{let n=Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;let i=n.components[p].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=k(r,(0,o.Z)({},e,{theme:n}))}),b(e,a)}),p&&!S&&c.push(e=>{var n;let i=Z((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return k({variants:null==i||null==(n=i.components)||null==(n=n[p])?void 0:n.variants},(0,o.Z)({},e,{theme:i}))}),C||c.push(l);let s=c.length-i.length;if(Array.isArray(n)&&s>0){let e=Array(s).fill("");(a=[...n,...e]).raw=[...n.raw,...e]}let u=O(a,...c);return e.muiName&&(u.muiName=e.muiName),u};return O.withConfig&&(R.withConfig=O.withConfig),R}}();var S=r(5893);let C=["className","component","disableGutters","fixed","maxWidth","classes"],P=(0,p.Z)(),O=w("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,s.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),A=e=>(0,u.Z)({props:e,name:"MuiContainer",defaultTheme:P}),R=(e,t)=>{let{classes:r,fixed:n,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,s.Z)(String(i))}`,n&&"fixed",o&&"disableGutters"]};return(0,c.Z)(a,e=>(0,l.ZP)(t,e),r)};var M=r(5228),E=r(9262),j=r(9145),_=function(e={}){let{createStyledComponent:t=O,useThemeProps:r=A,componentName:l="MuiContainer"}=e,c=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}`}}));return i.forwardRef(function(e,t){let i=r(e),{className:s,component:u="div",disableGutters:f=!1,fixed:d=!1,maxWidth:p="lg"}=i,h=(0,n.Z)(i,C),m=(0,o.Z)({},i,{component:u,disableGutters:f,fixed:d,maxWidth:p}),g=R(m,l);return(0,S.jsx)(c,(0,o.Z)({as:u,ownerState:m,className:(0,a.Z)(g.root,s),ref:t},h))})}({createStyledComponent:(0,E.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["maxWidth".concat((0,M.Z)(String(r.maxWidth)))],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,j.Z)({props:e,name:"MuiContainer"})})},9619:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(8510),c=r(2101),s=r(9262),u=r(9145),f=r(1977),d=r(5463);function p(e){return(0,d.ZP)("MuiDivider",e)}(0,f.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var h=r(5893);let m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],g=e=>{let{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:c,variant:s}=e;return(0,l.Z)({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},p,n)},y=(0,s.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]}})(e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,c.Fq)(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})},e=>{let{ownerState:t}=e;return(0,o.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})},e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})},e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})},e=>{let{ownerState:t}=e;return(0,o.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})}),v=(0,s.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})}),b=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:c,component:s=l?"div":"hr",flexItem:f=!1,light:d=!1,orientation:p="horizontal",role:b="hr"!==s?"separator":void 0,textAlign:x="center",variant:Z="fullWidth"}=r,k=(0,n.Z)(r,m),w=(0,o.Z)({},r,{absolute:i,component:s,flexItem:f,light:d,orientation:p,role:b,textAlign:x,variant:Z}),S=g(w);return(0,h.jsx)(y,(0,o.Z)({as:s,className:(0,a.Z)(S.root,c),role:b,ref:t,ownerState:w},k,{children:l?(0,h.jsx)(v,{className:S.wrapper,ownerState:w,children:l}):null}))});b.muiSkipListHighlight=!0;var x=b},3402:function(e,t,r){"use strict";r.d(t,{ZP:function(){return O}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(5408),c=r(9707),s=r(8510),u=r(9262),f=r(9145),d=r(9718),p=r(7854),h=r(5038);let m=i.createContext();var g=r(1977),y=r(5463);function v(e){return(0,y.ZP)("MuiGrid",e)}let b=["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-".concat(e)),...["column-reverse","column","row-reverse","row"].map(e=>"direction-xs-".concat(e)),...["nowrap","wrap-reverse","wrap"].map(e=>"wrap-xs-".concat(e)),...b.map(e=>"grid-xs-".concat(e)),...b.map(e=>"grid-sm-".concat(e)),...b.map(e=>"grid-md-".concat(e)),...b.map(e=>"grid-lg-".concat(e)),...b.map(e=>"grid-xl-".concat(e))]);var Z=r(5893);let k=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function w(e){let t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function S(e){let{breakpoints:t,values:r}=e,n="";Object.keys(r).forEach(e=>{""===n&&0!==r[e]&&(n=e)});let o=Object.keys(t).sort((e,r)=>t[e]-t[r]);return o.slice(0,o.indexOf(n))}let C=(0,u.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:n,direction:o,item:i,spacing:a,wrap:l,zeroMinWidth:c,breakpoints:s}=r,u=[];n&&(u=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r["spacing-xs-".concat(String(e))]];let n=[];return t.forEach(t=>{let o=e[t];Number(o)>0&&n.push(r["spacing-".concat(t,"-").concat(String(o))])}),n}(a,s,t));let f=[];return s.forEach(e=>{let n=r[e];n&&f.push(t["grid-".concat(e,"-").concat(String(n))])}),[t.root,n&&t.container,i&&t.item,c&&t.zeroMinWidth,...u,"row"!==o&&t["direction-xs-".concat(String(o))],"wrap"!==l&&t["wrap-xs-".concat(String(l))],...f]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})},function(e){let{theme:t,ownerState:r}=e,n=(0,l.P$)({values:r.direction,breakpoints:t.breakpoints.values});return(0,l.k9)({theme:t},n,e=>{let t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(x.item)]={maxWidth:"none"}),t})},function(e){let{theme:t,ownerState:r}=e,{container:n,rowSpacing:o}=r,i={};if(n&&0!==o){let e;let r=(0,l.P$)({values:o,breakpoints:t.breakpoints.values});"object"==typeof r&&(e=S({breakpoints:t.breakpoints.values,values:r})),i=(0,l.k9)({theme:t},r,(r,n)=>{var o;let i=t.spacing(r);return"0px"!==i?{marginTop:"-".concat(w(i)),["& > .".concat(x.item)]:{paddingTop:w(i)}}:null!=(o=e)&&o.includes(n)?{}:{marginTop:0,["& > .".concat(x.item)]:{paddingTop:0}}})}return i},function(e){let{theme:t,ownerState:r}=e,{container:n,columnSpacing:o}=r,i={};if(n&&0!==o){let e;let r=(0,l.P$)({values:o,breakpoints:t.breakpoints.values});"object"==typeof r&&(e=S({breakpoints:t.breakpoints.values,values:r})),i=(0,l.k9)({theme:t},r,(r,n)=>{var o;let i=t.spacing(r);return"0px"!==i?{width:"calc(100% + ".concat(w(i),")"),marginLeft:"-".concat(w(i)),["& > .".concat(x.item)]:{paddingLeft:w(i)}}:null!=(o=e)&&o.includes(n)?{}:{width:"100%",marginLeft:0,["& > .".concat(x.item)]:{paddingLeft:0}}})}return i},function(e){let t,{theme:r,ownerState:n}=e;return r.breakpoints.keys.reduce((e,i)=>{let a={};if(n[i]&&(t=n[i]),!t)return e;if(!0===t)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let c=(0,l.P$)({values:n.columns,breakpoints:r.breakpoints.values}),s="object"==typeof c?c[i]:c;if(null==s)return e;let u="".concat(Math.round(t/s*1e8)/1e6,"%"),f={};if(n.container&&n.item&&0!==n.columnSpacing){let e=r.spacing(n.columnSpacing);if("0px"!==e){let t="calc(".concat(u," + ").concat(w(e),")");f={flexBasis:t,maxWidth:t}}}a=(0,o.Z)({flexBasis:u,flexGrow:0,maxWidth:u},f)}return 0===r.breakpoints.values[i]?Object.assign(e,a):e[r.breakpoints.up(i)]=a,e},{})}),P=e=>{let{classes:t,container:r,direction:n,item:o,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:c}=e,u=[];r&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return["spacing-xs-".concat(String(e))];let r=[];return t.forEach(t=>{let n=e[t];if(Number(n)>0){let e="spacing-".concat(t,"-").concat(String(n));r.push(e)}}),r}(i,c));let f=[];c.forEach(t=>{let r=e[t];r&&f.push("grid-".concat(t,"-").concat(String(r)))});let d={root:["root",r&&"container",o&&"item",l&&"zeroMinWidth",...u,"row"!==n&&"direction-xs-".concat(String(n)),"wrap"!==a&&"wrap-xs-".concat(String(a)),...f]};return(0,s.Z)(d,v,t)};var O=i.forwardRef(function(e,t){let r=(0,f.Z)({props:e,name:"MuiGrid"}),{breakpoints:l}=function(){let e=(0,d.Z)(p.Z);return e[h.Z]||e}(),s=(0,c.Z)(r),{className:u,columns:g,columnSpacing:y,component:v="div",container:b=!1,direction:x="row",item:w=!1,rowSpacing:S,spacing:O=0,wrap:A="wrap",zeroMinWidth:R=!1}=s,M=(0,n.Z)(s,k),E=S||O,j=y||O,_=i.useContext(m),T=b?g||12:_,$={},z=(0,o.Z)({},M);l.keys.forEach(e=>{null!=M[e]&&($[e]=M[e],delete z[e])});let I=(0,o.Z)({},s,{columns:T,container:b,direction:x,item:w,rowSpacing:E,columnSpacing:j,wrap:A,zeroMinWidth:R,spacing:O},$,{breakpoints:l.keys}),N=P(I);return(0,Z.jsx)(m.Provider,{value:T,children:(0,Z.jsx)(C,(0,o.Z)({ownerState:I,className:(0,a.Z)(N.root,u),as:v,ref:t},z))})})},4246:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(3366),o=r(7462),i=r(7294),a=r(512),l=r(9707),c=r(8510),s=r(9262),u=r(9145),f=r(5228),d=r(1977),p=r(5463);function h(e){return(0,p.ZP)("MuiTypography",e)}(0,d.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 m=r(5893);let g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],y=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,"inherit"!==e.align&&"align".concat((0,f.Z)(t)),r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,c.Z)(l,h,a)},v=(0,s.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".concat((0,f.Z)(r.align))],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({margin:0},"inherit"===r.variant&&{font:"inherit"},"inherit"!==r.variant&&t.typography[r.variant],"inherit"!==r.align&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.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"},x={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Z=e=>x[e]||e;var k=i.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTypography"}),i=Z(r.color),c=(0,l.Z)((0,o.Z)({},r,{color:i})),{align:s="inherit",className:f,component:d,gutterBottom:p=!1,noWrap:h=!1,paragraph:x=!1,variant:k="body1",variantMapping:w=b}=c,S=(0,n.Z)(c,g),C=(0,o.Z)({},c,{align:s,color:i,className:f,component:d,gutterBottom:p,noWrap:h,paragraph:x,variant:k,variantMapping:w}),P=d||(x?"p":w[k]||b[k])||"span",O=y(C);return(0,m.jsx)(v,(0,o.Z)({as:P,ref:t,ownerState:C,className:(0,a.Z)(O.root,f)},S))})},4191:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(7462),o=r(3366),i=r(8758),a=r(8027),l=r(4920),c=r(6523),s=r(7172),u=r(2101),f={black:"#000",white:"#fff"},d={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"},p={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"},m={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"},y={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 b=["mode","contrastThreshold","tonalOffset"],x={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:f.white,default:f.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}},Z={text:{primary:f.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:f.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 k(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,u.$n)(e.main,o):"dark"===t&&(e.dark=(0,u._j)(e.main,i)))}let w=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],S={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function P(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};for(var t,r=arguments.length,P=Array(r>1?r-1:0),$=1;$0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(t),w=e.secondary||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),S=e.error||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"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(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),P=e.success||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:v[400],light:v[300],dark:v[700]}:{main:v[800],light:v[500],dark:v[900]}}(t),O=e.warning||function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:m[400],light:m[300],dark:m[700]}:{main:"#ed6c02",light:m[500],dark:m[900]}}(t);function A(e){return(0,u.mi)(e,Z.text.primary)>=r?Z.text.primary:x.text.primary}let R=e=>{let{color:t,name:r,mainShade:o=500,lightShade:a=300,darkShade:c=700}=e;if(!(t=(0,n.Z)({},t)).main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw Error((0,i.Z)(11,r?" (".concat(r,")"):"",o));if("string"!=typeof t.main)throw Error((0,i.Z)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return k(t,"light",a,l),k(t,"dark",c,l),t.contrastText||(t.contrastText=A(t.main)),t};return(0,a.Z)((0,n.Z)({common:(0,n.Z)({},f),mode:t,primary:R({color:s,name:"primary"}),secondary:R({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:R({color:S,name:"error"}),warning:R({color:O,name:"warning"}),info:R({color:C,name:"info"}),success:R({color:P,name:"success"}),grey:d,contrastThreshold:r,getContrastText:A,augmentColor:R,tonalOffset:l},{dark:Z,light:x}[t]),c)}(I),F=(0,s.Z)(e),V=(0,a.Z)(F,{mixins:(t=F.breakpoints,(0,n.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},z)),palette:L,shadows:O.slice(),typography:function(e,t){let r="function"==typeof t?t(e):t,{fontFamily:i=C,fontSize:l=14,fontWeightLight:c=300,fontWeightRegular:s=400,fontWeightMedium:u=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:h}=r,m=(0,o.Z)(r,w),g=l/14,y=h||(e=>"".concat(e/d*g,"rem")),v=(e,t,r,o,a)=>(0,n.Z)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:r},i===C?{letterSpacing:"".concat(Math.round(o/t*1e5)/1e5,"em")}:{},a,p),b={h1:v(c,96,1.167,-1.5),h2:v(c,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(u,14,1.75,.4,S),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,S),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,n.Z)({htmlFontSize:d,pxToRem:y,fontFamily:i,fontSize:l,fontWeightLight:c,fontWeightRegular:s,fontWeightMedium:u,fontWeightBold:f},b),m,{clone:!1})}(L,W),transitions:function(e){let t=(0,n.Z)({},R,e.easing),r=(0,n.Z)({},M,e.duration);return(0,n.Z)({getAutoHeightDuration:j,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0}=n;return(0,o.Z)(n,A),(Array.isArray(e)?e:[e]).map(e=>"".concat(e," ").concat("string"==typeof i?i:E(i)," ").concat(a," ").concat("string"==typeof l?l:E(l))).join(",")}},e,{easing:t,duration:r})}(N),zIndex:(0,n.Z)({},_)});return V=(0,a.Z)(V,B),(V=P.reduce((e,t)=>(0,a.Z)(e,t),V)).unstable_sxConfig=(0,n.Z)({},l.Z,null==B?void 0:B.unstable_sxConfig),V.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},V}},7854:function(e,t,r){"use strict";let n=(0,r(4191).Z)();t.Z=n},5038:function(e,t){"use strict";t.Z="$$material"},7633:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e},9262:function(e,t,r){"use strict";var n=r(8128),o=r(7854),i=r(5038),a=r(7633);let l=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z});t.ZP=l},9145:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(5149),o=r(7854),i=r(5038);function a(e){let{props:t,name:r}=e;return(0,n.Z)({props:t,name:r,defaultTheme:o.Z,themeId:i.Z})}},5228:function(e,t,r){"use strict";var n=r(2908);t.Z=n.Z},6438:function(e,t,r){"use strict";r.r(t),r.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i},createSvgIcon:function(){return k},debounce:function(){return w},deprecatedPropType:function(){return S},isMuiElement:function(){return C},ownerDocument:function(){return O},ownerWindow:function(){return A},requirePropFactory:function(){return R},setRef:function(){return M},unstable_ClassNameGenerator:function(){return B},unstable_useEnhancedEffect:function(){return E},unstable_useId:function(){return T},unsupportedProp:function(){return $},useControlled:function(){return z},useEventCallback:function(){return I.Z},useForkRef:function(){return N.Z},useIsFocusVisible:function(){return W.Z}});var n=r(1983),o=r(5228),i=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})},a=r(7462),l=r(7294),c=r.t(l,2),s=r(3366),u=r(512),f=r(8510),d=r(9145),p=r(9262),h=r(1977),m=r(5463);function g(e){return(0,m.ZP)("MuiSvgIcon",e)}(0,h.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var y=r(5893);let v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],b=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&"color".concat((0,o.Z)(t)),"fontSize".concat((0,o.Z)(r))]};return(0,f.Z)(i,g,n)},x=(0,p.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t["color".concat((0,o.Z)(r.color))],t["fontSize".concat((0,o.Z)(r.fontSize))]]}})(e=>{var t,r,n,o,i,a,l,c,s,u,f,d,p;let{theme:h,ownerState:m}=e;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:m.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=h.transitions)||null==(r=t.create)?void 0:r.call(t,"fill",{duration:null==(n=h.transitions)||null==(n=n.duration)?void 0:n.shorter}),fontSize:({inherit:"inherit",small:(null==(o=h.typography)||null==(i=o.pxToRem)?void 0:i.call(o,20))||"1.25rem",medium:(null==(a=h.typography)||null==(l=a.pxToRem)?void 0:l.call(a,24))||"1.5rem",large:(null==(c=h.typography)||null==(s=c.pxToRem)?void 0:s.call(c,35))||"2.1875rem"})[m.fontSize],color:null!=(u=null==(f=(h.vars||h).palette)||null==(f=f[m.color])?void 0:f.main)?u:({action:null==(d=(h.vars||h).palette)||null==(d=d.action)?void 0:d.active,disabled:null==(p=(h.vars||h).palette)||null==(p=p.action)?void 0:p.disabled,inherit:void 0})[m.color]}}),Z=l.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:c="svg",fontSize:f="medium",htmlColor:p,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=r,Z=(0,s.Z)(r,v),k=l.isValidElement(n)&&"svg"===n.type,w=(0,a.Z)({},r,{color:i,component:c,fontSize:f,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:k}),S={};h||(S.viewBox=g);let C=b(w);return(0,y.jsxs)(x,(0,a.Z)({as:c,className:(0,u.Z)(C.root,o),focusable:"false",color:p,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},S,Z,k&&n.props,{ownerState:w,children:[k?n.props.children:n,m?(0,y.jsx)("title",{children:m}):null]}))});function k(e,t){function r(r,n){return(0,y.jsx)(Z,(0,a.Z)({"data-testid":"".concat(t,"Icon"),ref:n},r,{children:e}))}return r.muiName=Z.muiName,l.memo(l.forwardRef(r))}Z.muiName="SvgIcon";var w=function(e,t=166){let r;function n(...o){clearTimeout(r),r=setTimeout(()=>{e.apply(this,o)},t)}return n.clear=()=>{clearTimeout(r)},n},S=function(e,t){return()=>null},C=function(e,t){var r,n;return l.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 P(e){return e&&e.ownerDocument||document}var O=P,A=function(e){return P(e).defaultView||window},R=function(e,t){return()=>null},M=r(5091).Z,E=r(4895).Z;let j=0,_=c["useId".toString()];var T=function(e){if(void 0!==_){let t=_();return null!=e?e:t}return function(e){let[t,r]=l.useState(e),n=e||t;return l.useEffect(()=>{null==t&&(j+=1,r(`mui-${j}`))},[t]),n}(e)},$=function(e,t,r,n,o){return null},z=function({controlled:e,default:t,name:r,state:n="value"}){let{current:o}=l.useRef(void 0!==e),[i,a]=l.useState(t),c=l.useCallback(e=>{o||a(e)},[]);return[o?e:i,c]},I=r(6778),N=r(6619),W=r(2859);let B={configure:e=>{n.Z.configure(e)}}},6778:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7294),o=r(4895),i=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},6619:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7294),o=r(5091),i=function(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},2859:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(7294),o=r(9192);let i=!0,a=!1,l=new o.V,c={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 s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}var d=function(){let e=n.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",f,!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&&!!c[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}}},9921:function(e,t){"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context");/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.module.reference"),t.ForwardRef=r,t.Memo=n},9864:function(e,t,r){"use strict";e.exports=r(9921)},434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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 n(){return(n=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 n}})}}]); \ No newline at end of file diff --git a/_next/static/chunks/718-add7984c140a9b83.js b/_next/static/chunks/718-add7984c140a9b83.js deleted file mode 100644 index 3b55073..0000000 --- a/_next/static/chunks/718-add7984c140a9b83.js +++ /dev/null @@ -1,23 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{5202:function(){!function(){"use strict";function e(e){var t=!0,n=!1,r=null,i={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 a(e){return!!e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList}function o(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function s(e){t=!1}function l(){document.addEventListener("mousemove",u),document.addEventListener("mousedown",u),document.addEventListener("mouseup",u),document.addEventListener("pointermove",u),document.addEventListener("pointerdown",u),document.addEventListener("pointerup",u),document.addEventListener("touchmove",u),document.addEventListener("touchstart",u),document.addEventListener("touchend",u)}function u(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,document.removeEventListener("mousemove",u),document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",u),document.removeEventListener("pointermove",u),document.removeEventListener("pointerdown",u),document.removeEventListener("pointerup",u),document.removeEventListener("touchmove",u),document.removeEventListener("touchstart",u),document.removeEventListener("touchend",u))}document.addEventListener("keydown",function(n){n.metaKey||n.altKey||n.ctrlKey||(a(e.activeElement)&&o(e.activeElement),t=!0)},!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("visibilitychange",function(e){"hidden"===document.visibilityState&&(n&&(t=!0),l())},!0),l(),e.addEventListener("focus",function(e){var n,r,s;a(e.target)&&(t||(r=(n=e.target).type,"INPUT"===(s=n.tagName)&&i[r]&&!n.readOnly||"TEXTAREA"===s&&!n.readOnly||n.isContentEditable))&&o(e.target)},!0),e.addEventListener("blur",function(e){if(a(e.target)){var t;(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(r),r=window.setTimeout(function(){n=!1},100),(t=e.target).hasAttribute("data-focus-visible-added")&&(t.classList.remove("focus-visible"),t.removeAttribute("data-focus-visible-added")))}},!0),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.host?e.host.setAttribute("data-js-focus-visible",""):e.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 t;window.applyFocusVisiblePolyfill=e;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(e){(t=document.createEvent("CustomEvent")).initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}"undefined"!=typeof document&&e(document)}()},9266:function(e,t,n){"use strict";var r=n(3905),i=n(9073);e.exports=function(e){var t=r(e);return t.token="","x-oauth-basic"===t.password?t.token=t.user:"x-token-auth"===t.user&&(t.token=t.password),i(t.protocols)||0===t.protocols.length&&i(e)?t.protocol="ssh":t.protocols.length?t.protocol=t.protocols[0]:(t.protocol="file",t.protocols=["file"]),t.href=t.href.replace(/\/$/,""),t}},3458:function(e,t,n){"use strict";var r=n(9266);function i(e){if("string"!=typeof e)throw Error("The url must be a string.");/^([a-z\d-]{1,39})\/([-\.\w]{1,100})$/i.test(e)&&(e="https://github.com/"+e);var t=r(e),n=t.resource.split("."),a=null;switch(t.toString=function(e){return i.stringify(this,e)},t.source=n.length>2?n.slice(1-n.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent((t.pathname||t.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=n[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3],t.full_name=a[2]+"/"+a[3]);break}2===(a=t.name.split("/")).length?(t.owner=a[1],t.name=a[1],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3]);break}5===(a=t.name.split("/")).length?(t.organization=a[0],t.owner=a[1],t.name=a[4],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:var o=(a=t.name.split("/")).length-1;if(a.length>=2){var s=a.indexOf("-",2),l=a.indexOf("blob",2),u=a.indexOf("tree",2),c=a.indexOf("commit",2),d=a.indexOf("src",2),f=a.indexOf("raw",2),p=a.indexOf("edit",2);o=s>0?s-1:l>0?l-1:u>0?u-1:c>0?c-1:d>0?d-1:f>0?f-1:p>0?p-1:o,t.owner=a.slice(0,o).join("/"),t.name=a[o],c&&(t.commit=a[o+2])}t.ref="",t.filepathtype="",t.filepath="";var h=a.length>o&&"-"===a[o+1]?o+1:o;a.length>h+2&&["raw","src","blob","tree","edit"].indexOf(a[h+1])>=0&&(t.filepathtype=a[h+1],t.ref=a[h+2],a.length>h+3&&(t.filepath=a.slice(h+3).join("/"))),t.organization=t.owner}!t.full_name&&(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=t.owner+"/"+t.name);var m=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=m&&(t.source="bitbucket-server","users"===m[1]?t.owner="~"+m[2]:t.owner=m[2],t.organization=t.owner,t.name=m[3],(a=m[4].split("/")).length>1&&(["raw","browse"].indexOf(a[1])>=0?(t.filepathtype=a[1],a.length>2&&(t.filepath=a.slice(2).join("/"))):"commits"===a[1]&&a.length>2&&(t.commit=a[2])),t.full_name=t.owner+"/"+t.name,t.query.at?t.ref=t.query.at:t.ref=""),t}i.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var n=e.port?":"+e.port:"",r=e.user||"git",i=e.git_suffix?".git":"";switch(t){case"ssh":if(n)return"ssh://"+r+"@"+e.resource+n+"/"+e.full_name+i;return r+"@"+e.resource+":"+e.full_name+i;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+r+"@"+e.resource+n+"/"+e.full_name+i;case"http":case"https":return t+"://"+(e.token?"bitbucket.org"===e.source?"x-token-auth:"+e.token+"@":e.token+"@":e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"")+e.resource+n+"/"+("bitbucket-server"===e.source?"scm/"+e.full_name:""+e.full_name)+i;default:return e.href}},e.exports=i},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 e=function(e){for(var t=e,n=i(t);n;)n=i(t=n.ownerDocument);return t}(window.document),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):c(),t.forEach(function(e){e._checkForIntersections()})}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),l(e,"resize",r,!0)),l(t,"scroll",r,!0),o&&o.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1})){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}||null}(c,o)),!o)break;s=s&&h(s)}return o}},o.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;it.indexOf(this)&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||c()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(e,t){var n,r,i,a=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(a.root&&1!=a.root.nodeType&&9!=a.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function u(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):c()}function c(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host)?n.host:n}function m(e){return e&&9===e.nodeType}}()},9073:function(e,t,n){"use strict";var r=n(2337);e.exports=function e(t){if(Array.isArray(t))return -1!==t.indexOf("ssh")||-1!==t.indexOf("rsync");if("string"!=typeof t)return!1;var n=r(t);if(t=t.substring(t.indexOf("://")+3),e(n))return!0;var i=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!t.match(i)&&t.indexOf("@")-1},R.prototype.set=function(e,t){var n=this.__data__,r=A(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},I.prototype.clear=function(){this.__data__={hash:new N,map:new(O||R),string:new N}},I.prototype.delete=function(e){return L(this,e).delete(e)},I.prototype.get=function(e){return L(this,e).get(e)},I.prototype.has=function(e){return L(this,e).has(e)},I.prototype.set=function(e,t){return L(this,e).set(e,t),this};var M=Z(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(F(e))return S?S.call(e):"";var t=e+"";return"0"==t&&1/e==-a?"-0":t}(t);var t,n=[];return l.test(e)&&n.push(""),e.replace(u,function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)}),n});function Z(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(Z.Cache||I),n}Z.Cache=I;var D=Array.isArray;function z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function F(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==k.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:function(e,t){var n;t=!function(e,t){if(D(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||F(e))||s.test(e)||!o.test(e)||null!=t&&e in Object(t)}(t,e)?D(n=t)?n:M(n):[t];for(var r=0,i=t.length;null!=e&&r{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function x(e){let[t,n]=o.version.split(".",2),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:g,fill:v,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:k,onLoad:_,onError:j,...E}=e;return(0,a.jsx)("img",{...E,...x(f),loading:h,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(j&&(e.src=e.src),e.complete&&m(e,p,y,b,w,g))},[n,p,y,b,w,j,g,t]),onLoad:e=>{m(e.currentTarget,p,y,b,w,g)},onError:e=>{k(!0),"empty"!==p&&w(!0),j&&j(e)}})});function v(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...x(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let y=(0,o.forwardRef)((e,t)=>{let n=(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=h||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let x=(0,o.useRef)(l);(0,o.useEffect)(()=>{x.current=l},[l]);let[y,b]=(0,o.useState)(!1),[w,k]=(0,o.useState)(!1),{props:_,meta:j}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:y,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{..._,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:k,ref:t}),j.priority?(0,a.jsx)(v,{isAppRouter:!n,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let r=n(8754),i=n(5893),a=r._(n(7294)),o=n(7950),s=n(7229),l=n(6982),u=n(6921),c=n(7727),d=n(1973),f=n(6216),p=n(1722),h=n(6504),m=n(634),x=n(3412),g=new Set;function v(e,t,n,r,i,a){if(a||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}Promise.resolve(a?e.prefetch(t,i):e.prefetch(t,n,r)).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=a.default.forwardRef(function(e,t){let n,r;let{href:l,as:g,children:b,prefetch:w=null,passHref:k,replace:_,shallow:j,scroll:E,locale:O,onClick:T,onMouseEnter:C,onTouchStart:S,legacyBehavior:N=!1,...R}=e;n=b,N&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let I=a.default.useContext(d.RouterContext),A=a.default.useContext(f.AppRouterContext),L=null!=I?I:A,P=!I,M=!1!==w,Z=null===w?x.PrefetchKind.AUTO:x.PrefetchKind.FULL,{href:D,as:z}=a.default.useMemo(()=>{if(!I){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,o.resolveHref)(I,l,!0);return{href:e,as:g?(0,o.resolveHref)(I,g):t||e}},[I,l,g]),F=a.default.useRef(D),$=a.default.useRef(z);N&&(r=a.default.Children.only(n));let U=N?r&&"object"==typeof r&&r.ref:t,[W,H,G]=(0,p.useIntersection)({rootMargin:"200px"}),V=a.default.useCallback(e=>{($.current!==z||F.current!==D)&&(G(),$.current=z,F.current=D),W(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[z,U,D,G,W]);a.default.useEffect(()=>{L&&H&&M&&v(L,D,z,{locale:O},{kind:Z},P)},[z,D,H,O,M,null==I?void 0:I.locale,L,P,Z]);let B={ref:V,onClick(e){N||"function"!=typeof T||T(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&!e.defaultPrevented&&function(e,t,n,r,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(f):f()}(e,L,D,z,_,j,E,O,P)},onMouseEnter(e){N||"function"!=typeof C||C(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&(M||!P)&&v(L,D,z,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)},onTouchStart(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&(M||!P)&&v(L,D,z,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)}};if((0,u.isAbsoluteUrl)(z))B.href=z;else if(!N||k||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,h.getDomainLocale)(z,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);B.href=t||(0,m.addBasePath)((0,c.addLocale)(z,e,null==I?void 0:I.defaultLocale))}return N?a.default.cloneElement(r,B):(0,i.jsx)("a",{...R,...B,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(7294),i=n(9126),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!a,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:a}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),o.set(n,t),t}(n);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,f.current]),[p,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(1558);let r=n(7386),i=n(4706);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:p=!1,loading:h,className:m,quality:x,width:g,height:v,fill:y=!1,style:b,onLoad:w,onLoadingComplete:k,placeholder:_="empty",blurDataURL:j,fetchPriority:E,layout:O,objectFit:T,objectPosition:C,lazyBoundary:S,lazyRoot:N,...R}=e,{imgConf:I,showAltText:A,blurComplete:L,defaultLoader:P}=t,M=I||i.imageConfigDefault;if("allSizes"in M)s=M;else{let e=[...M.deviceSizes,...M.imageSizes].sort((e,t)=>e-t),t=M.deviceSizes.sort((e,t)=>e-t);s={...M,allSizes:e,deviceSizes:t}}let Z=R.loader||P;delete R.loader,delete R.srcSet;let D="__next_img_default"in Z;if(D){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=Z;Z=t=>{let{config:n,...r}=t;return e(r)}}if(O){"fill"===O&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];e&&(b={...b,...e});let t={responsive:"100vw",fill:"100vw"}[O];t&&!d&&(d=t)}let z="",F=o(g),$=o(v);if("object"==typeof(n=c)&&(a(n)||void 0!==n.src)){let e=a(c)?c.default:c;if(!e.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(e));if(!e.height||!e.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(e));if(l=e.blurWidth,u=e.blurHeight,j=j||e.blurDataURL,z=e.src,!y){if(F||$){if(F&&!$){let t=F/e.width;$=Math.round(e.height*t)}else if(!F&&$){let t=$/e.height;F=Math.round(e.width*t)}}else F=e.width,$=e.height}}let U=!p&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:z)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,U=!1),s.unoptimized&&(f=!0),D&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),p&&(E="high");let W=o(x),H=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:T,objectPosition:C}:{},A?{}:{color:"transparent"},b),G=L||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:F,heightInt:$,blurWidth:l,blurHeight:u,blurDataURL:j||"",objectFit:H.objectFit})+'")':'url("'+_+'")',V=G?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},B=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:a,sizes:o,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:a,width:l[c]})}}({config:s,src:c,unoptimized:f,width:F,quality:W,sizes:d,loader:Z});return{props:{...R,loading:U?"lazy":h,fetchPriority:E,width:F,height:$,decoding:"async",className:m,style:{...H,...V},sizes:B.sizes,srcSet:B.srcSet,src:B.src},meta:{unoptimized:f,priority:p,placeholder:_,fill:y}}}},7386:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%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='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},9267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getImageProps:function(){return s},default:function(){return l}});let r=n(8754),i=n(1908),a=n(3686),o=r._(n(3293)),s=e=>{let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.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[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}},l=a.Image},3293:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},7954:function(){},9008:function(e,t,n){e.exports=n(6665)},5675:function(e,t,n){e.exports=n(9267)},1664:function(e,t,n){e.exports=n(3480)},1163:function(e,t,n){e.exports=n(3035)},8164:function(e,t,n){"use strict";let r;n.d(t,{ZP:function(){return oG}});var i,a,o,s,l,u,c,d,f,p,h,m,x,g,v,y,b,w,k,_,j,E,O,T,C,S,N=n(1163),R=n(7294);n(5202);var I=n(512);function A(){let[e,t]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{t(!0)},[]),e}var L=n(7222),P=()=>{let{locale:e=L.ZW,asPath:t,route:n}=(0,N.useRouter)();return(0,R.useMemo)(()=>{let r=L.hV.has(n)?n:t,{pathname:i}=new URL(r,"https://nextra.vercel.app");return(e?i.replace(RegExp(`\\.${e}(\\/|$)`),"$1"):i).replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[t,e,n])},M=n(2643),Z=n(4861);(i=k||(k={})).assertEqual=e=>e,i.assertIs=function(e){},i.assertNever=function(e){throw Error()},i.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},i.getValidEnumValues=e=>{let t=i.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let r of t)n[r]=e[r];return i.objectValues(n)},i.objectValues=e=>i.objectKeys(e).map(function(t){return e[t]}),i.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},i.find=(e,t)=>{for(let n of e)if(t(n))return n},i.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,i.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},i.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(_||(_={})).mergeShapes=(e,t)=>({...e,...t});let D=k.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),z=e=>{switch(typeof e){case"undefined":return D.undefined;case"string":return D.string;case"number":return isNaN(e)?D.nan:D.number;case"boolean":return D.boolean;case"function":return D.function;case"bigint":return D.bigint;case"symbol":return D.symbol;case"object":if(Array.isArray(e))return D.array;if(null===e)return D.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return D.promise;if("undefined"!=typeof Map&&e instanceof Map)return D.map;if("undefined"!=typeof Set&&e instanceof Set)return D.set;if("undefined"!=typeof Date&&e instanceof Date)return D.date;return D.object;default:return D.unknown}},F=k.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"]);class $ extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;re.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}$.create=e=>new $(e);let U=(e,t)=>{let n;switch(e.code){case F.invalid_type:n=e.received===D.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case F.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,k.jsonStringifyReplacer)}`;break;case F.unrecognized_keys:n=`Unrecognized key(s) in object: ${k.joinValues(e.keys,", ")}`;break;case F.invalid_union:n="Invalid input";break;case F.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${k.joinValues(e.options)}`;break;case F.invalid_enum_value:n=`Invalid enum value. Expected ${k.joinValues(e.options)}, received '${e.received}'`;break;case F.invalid_arguments:n="Invalid function arguments";break;case F.invalid_return_type:n="Invalid function return type";break;case F.invalid_date:n="Invalid date";break;case F.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:k.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case F.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case F.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case F.custom:n="Invalid input";break;case F.invalid_intersection_types:n="Intersection results could not be merged";break;case F.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case F.not_finite:n="Number must be finite";break;default:n=t.defaultError,k.assertNever(e)}return{message:n}},W=U;function H(){return W}let G=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function V(e,t){let n=H(),r=G({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===U?void 0:U].filter(e=>!!e)});e.common.issues.push(r)}class B{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return q;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,r=await e.value;n.push({key:t,value:r})}return B.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return q;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let q=Object.freeze({status:"aborted"}),K=e=>({status:"dirty",value:e}),Y=e=>({status:"valid",value:e}),Q=e=>"aborted"===e.status,J=e=>"dirty"===e.status,X=e=>"valid"===e.status,ee=e=>"undefined"!=typeof Promise&&e instanceof Promise;function et(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function en(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}"function"==typeof SuppressedError&&SuppressedError,(a=j||(j={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},a.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class er{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}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 ei=(e,t)=>{if(X(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new $(e.common.issues);return this._error=t,this._error}}};function ea(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{var a,o;let{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:i.defaultError}:void 0===i.data?{message:null!==(a=null!=s?s:r)&&void 0!==a?a:i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:null!==(o=null!=s?s:n)&&void 0!==o?o:i.defaultError}},description:i}}class eo{constructor(e){this.spa=this.safeParseAsync,this._def=e,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(e){return z(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:z(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new B,ctx:{common:e.parent.common,data:e.data,parsedType:z(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(ee(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)},i=this._parseSync({data:e,path:r.path,parent:r});return ei(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:z(e)},r=this._parse({data:e,path:n.path,parent:n});return ei(n,await (ee(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:F.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new eY({schema:this,typeName:T.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return eQ.create(this,this._def)}nullable(){return eJ.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return eA.create(this,this._def)}promise(){return eK.create(this,this._def)}or(e){return eP.create([this,e],this._def)}and(e){return eD.create(this,e,this._def)}transform(e){return new eY({...ea(this._def),schema:this,typeName:T.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eX({...ea(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:T.ZodDefault})}brand(){return new e4({typeName:T.ZodBranded,type:this,...ea(this._def)})}catch(e){return new e0({...ea(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:T.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return e3.create(this,e)}readonly(){return e5.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let es=/^c[^\s-]{8,}$/i,el=/^[0-9a-z]+$/,eu=/^[0-9A-HJKMNP-TV-Z]{26}$/,ec=/^[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,ed=/^[a-z0-9_-]{21}$/i,ef=/^[-+]?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)?)??$/,ep=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eh=/^(?:(?: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])$/,em=/^(([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})))$/,ex=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eg="((\\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(`^${eg}$`);function ey(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function eb(e){let t=`${eg}T${ey(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)}class ew extends eo{_parse(e){var t,n;let i;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==D.string){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.string,received:t.parsedType}),q}let a=new B;for(let o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(V(i=this._getOrReturnCtx(e,i),{code:F.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),a.dirty());else if("length"===o.kind){let t=e.data.length>o.value,n=e.data.lengthe.test(t),{validation:t,code:F.invalid_string,...j.errToObj(n)})}_addCheck(e){return new ew({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...j.errToObj(e)})}url(e){return this._addCheck({kind:"url",...j.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...j.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...j.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...j.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...j.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...j.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...j.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...j.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...j.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,...j.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...j.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...j.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...j.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...j.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...j.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...j.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...j.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...j.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...j.errToObj(t)})}nonempty(e){return this.min(1,j.errToObj(e))}trim(){return new ew({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ew({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ew({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new ew({checks:[],typeName:T.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...ea(e)})};class ek extends eo{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==D.number){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.number,received:t.parsedType}),q}let n=new B;for(let r of this._def.checks)"int"===r.kind?k.isInteger(e.data)||(V(t=this._getOrReturnCtx(e,t),{code:F.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:F.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}(e.data,r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:F.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(V(t=this._getOrReturnCtx(e,t),{code:F.not_finite,message:r.message}),n.dirty()):k.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,j.toString(t))}gt(e,t){return this.setLimit("min",e,!1,j.toString(t))}lte(e,t){return this.setLimit("max",e,!0,j.toString(t))}lt(e,t){return this.setLimit("max",e,!1,j.toString(t))}setLimit(e,t,n,r){return new ek({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new ek({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:j.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:j.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:j.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:j.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:j.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:j.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:j.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:j.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:j.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&k.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.valuenew ek({checks:[],typeName:T.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...ea(e)});class e_ extends eo{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==D.bigint){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.bigint,received:t.parsedType}),q}let n=new B;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(V(t=this._getOrReturnCtx(e,t),{code:F.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(V(t=this._getOrReturnCtx(e,t),{code:F.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):k.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,j.toString(t))}gt(e,t){return this.setLimit("min",e,!1,j.toString(t))}lte(e,t){return this.setLimit("max",e,!0,j.toString(t))}lt(e,t){return this.setLimit("max",e,!1,j.toString(t))}setLimit(e,t,n,r){return new e_({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:j.toString(r)}]})}_addCheck(e){return new e_({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:j.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:j.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:j.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:j.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:j.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new e_({checks:[],typeName:T.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...ea(e)})};class ej extends eo{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==D.boolean){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.boolean,received:t.parsedType}),q}return Y(e.data)}}ej.create=e=>new ej({typeName:T.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...ea(e)});class eE extends eo{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==D.date){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.date,received:t.parsedType}),q}if(isNaN(e.data.getTime()))return V(this._getOrReturnCtx(e),{code:F.invalid_date}),q;let n=new B;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(V(t=this._getOrReturnCtx(e,t),{code:F.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):k.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new eE({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:j.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:j.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew eE({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:T.ZodDate,...ea(e)});class eO extends eo{_parse(e){if(this._getType(e)!==D.symbol){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.symbol,received:t.parsedType}),q}return Y(e.data)}}eO.create=e=>new eO({typeName:T.ZodSymbol,...ea(e)});class eT extends eo{_parse(e){if(this._getType(e)!==D.undefined){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.undefined,received:t.parsedType}),q}return Y(e.data)}}eT.create=e=>new eT({typeName:T.ZodUndefined,...ea(e)});class eC extends eo{_parse(e){if(this._getType(e)!==D.null){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.null,received:t.parsedType}),q}return Y(e.data)}}eC.create=e=>new eC({typeName:T.ZodNull,...ea(e)});class eS extends eo{constructor(){super(...arguments),this._any=!0}_parse(e){return Y(e.data)}}eS.create=e=>new eS({typeName:T.ZodAny,...ea(e)});class eN extends eo{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Y(e.data)}}eN.create=e=>new eN({typeName:T.ZodUnknown,...ea(e)});class eR extends eo{_parse(e){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.never,received:t.parsedType}),q}}eR.create=e=>new eR({typeName:T.ZodNever,...ea(e)});class eI extends eo{_parse(e){if(this._getType(e)!==D.undefined){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.void,received:t.parsedType}),q}return Y(e.data)}}eI.create=e=>new eI({typeName:T.ZodVoid,...ea(e)});class eA extends eo{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==D.array)return V(t,{code:F.invalid_type,expected:D.array,received:t.parsedType}),q;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(V(t,{code:F.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new er(t,e,t.path,n)))).then(e=>B.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new er(t,e,t.path,n)));return B.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new eA({...this._def,minLength:{value:e,message:j.toString(t)}})}max(e,t){return new eA({...this._def,maxLength:{value:e,message:j.toString(t)}})}length(e,t){return new eA({...this._def,exactLength:{value:e,message:j.toString(t)}})}nonempty(e){return this.min(1,e)}}eA.create=(e,t)=>new eA({type:e,minLength:null,maxLength:null,exactLength:null,typeName:T.ZodArray,...ea(t)});class eL extends eo{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=k.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==D.object){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.object,received:t.parsedType}),q}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof eR&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new er(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof eR){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&(V(n,{code:F.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new er(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>B.mergeObjectSync(t,e)):B.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return j.errToObj,new eL({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,a,o;let s=null!==(a=null===(i=(r=this._def).errorMap)||void 0===i?void 0:i.call(r,t,n).message)&&void 0!==a?a:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=j.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new eL({...this._def,unknownKeys:"strip"})}passthrough(){return new eL({...this._def,unknownKeys:"passthrough"})}extend(e){return new eL({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new eL({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:T.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new eL({...this._def,catchall:e})}pick(e){let t={};return k.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new eL({...this._def,shape:()=>t})}omit(e){let t={};return k.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new eL({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof eL){let n={};for(let r in t.shape){let i=t.shape[r];n[r]=eQ.create(e(i))}return new eL({...t._def,shape:()=>n})}return t instanceof eA?new eA({...t._def,type:e(t.element)}):t instanceof eQ?eQ.create(e(t.unwrap())):t instanceof eJ?eJ.create(e(t.unwrap())):t instanceof ez?ez.create(t.items.map(t=>e(t))):t}(this)}partial(e){let t={};return k.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new eL({...this._def,shape:()=>t})}required(e){let t={};return k.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof eQ;)e=e._def.innerType;t[n]=e}}),new eL({...this._def,shape:()=>t})}keyof(){return eV(k.objectKeys(this.shape))}}eL.create=(e,t)=>new eL({shape:()=>e,unknownKeys:"strip",catchall:eR.create(),typeName:T.ZodObject,...ea(t)}),eL.strictCreate=(e,t)=>new eL({shape:()=>e,unknownKeys:"strict",catchall:eR.create(),typeName:T.ZodObject,...ea(t)}),eL.lazycreate=(e,t)=>new eL({shape:e,unknownKeys:"strip",catchall:eR.create(),typeName:T.ZodObject,...ea(t)});class eP extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new $(e.ctx.common.issues));return V(t,{code:F.invalid_union,unionErrors:n}),q});{let e;let r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new $(e));return V(t,{code:F.invalid_union,unionErrors:i}),q}}get options(){return this._def.options}}eP.create=(e,t)=>new eP({options:e,typeName:T.ZodUnion,...ea(t)});let eM=e=>{if(e instanceof eH)return eM(e.schema);if(e instanceof eY)return eM(e.innerType());if(e instanceof eG)return[e.value];if(e instanceof eB)return e.options;if(e instanceof eq)return k.objectValues(e.enum);if(e instanceof eX)return eM(e._def.innerType);if(e instanceof eT)return[void 0];else if(e instanceof eC)return[null];else if(e instanceof eQ)return[void 0,...eM(e.unwrap())];else if(e instanceof eJ)return[null,...eM(e.unwrap())];else if(e instanceof e4)return eM(e.unwrap());else if(e instanceof e5)return eM(e.unwrap());else if(e instanceof e0)return eM(e._def.innerType);else return[]};class eZ extends eo{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.object)return V(t,{code:F.invalid_type,expected:D.object,received:t.parsedType}),q;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(V(t,{code:F.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),q)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=eM(n.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(r.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new eZ({typeName:T.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...ea(n)})}}class eD extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(Q(e)||Q(r))return q;let i=function e(t,n){let r=z(t),i=z(n);if(t===n)return{valid:!0,data:t};if(r===D.object&&i===D.object){let r=k.objectKeys(n),i=k.objectKeys(t).filter(e=>-1!==r.indexOf(e)),a={...t,...n};for(let r of i){let i=e(t[r],n[r]);if(!i.valid)return{valid:!1};a[r]=i.data}return{valid:!0,data:a}}if(r===D.array&&i===D.array){if(t.length!==n.length)return{valid:!1};let r=[];for(let i=0;ir(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}eD.create=(e,t,n)=>new eD({left:e,right:t,typeName:T.ZodIntersection,...ea(n)});class ez extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.array)return V(n,{code:F.invalid_type,expected:D.array,received:n.parsedType}),q;if(n.data.lengththis._def.items.length&&(V(n,{code:F.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new er(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>B.mergeArray(t,e)):B.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new ez({...this._def,rest:e})}}ez.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ez({items:e,typeName:T.ZodTuple,rest:null,...ea(t)})};class eF extends eo{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.object)return V(n,{code:F.invalid_type,expected:D.object,received:n.parsedType}),q;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new er(n,e,n.path,e)),value:a._parse(new er(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?B.mergeObjectAsync(t,r):B.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new eF(t instanceof eo?{keyType:e,valueType:t,typeName:T.ZodRecord,...ea(n)}:{keyType:ew.create(),valueType:e,typeName:T.ZodRecord,...ea(t)})}}class e$ extends eo{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.map)return V(n,{code:F.invalid_type,expected:D.map,received:n.parsedType}),q;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new er(n,e,n.path,[a,"key"])),value:i._parse(new er(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return q;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return q;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}e$.create=(e,t,n)=>new e$({valueType:t,keyType:e,typeName:T.ZodMap,...ea(n)});class eU extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==D.set)return V(n,{code:F.invalid_type,expected:D.set,received:n.parsedType}),q;let r=this._def;null!==r.minSize&&n.data.sizer.maxSize.value&&(V(n,{code:F.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return q;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new er(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eU({...this._def,minSize:{value:e,message:j.toString(t)}})}max(e,t){return new eU({...this._def,maxSize:{value:e,message:j.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eU.create=(e,t)=>new eU({valueType:e,minSize:null,maxSize:null,typeName:T.ZodSet,...ea(t)});class eW extends eo{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==D.function)return V(t,{code:F.invalid_type,expected:D.function,received:t.parsedType}),q;function n(e,n){return G({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,H(),U].filter(e=>!!e),issueData:{code:F.invalid_arguments,argumentsError:n}})}function r(e,n){return G({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,H(),U].filter(e=>!!e),issueData:{code:F.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eK){let e=this;return Y(async function(...t){let o=new $([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),l=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw o.addIssue(r(l,e)),o})})}{let e=this;return Y(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new $([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new $([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eW({...this._def,args:ez.create(e).rest(eN.create())})}returns(e){return new eW({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eW({args:e||ez.create([]).rest(eN.create()),returns:t||eN.create(),typeName:T.ZodFunction,...ea(n)})}}class eH extends eo{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eH.create=(e,t)=>new eH({getter:e,typeName:T.ZodLazy,...ea(t)});class eG extends eo{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return V(t,{received:t.data,code:F.invalid_literal,expected:this._def.value}),q}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eV(e,t){return new eB({values:e,typeName:T.ZodEnum,...ea(t)})}eG.create=(e,t)=>new eG({value:e,typeName:T.ZodLiteral,...ea(t)});class eB extends eo{constructor(){super(...arguments),E.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return V(t,{expected:k.joinValues(n),received:t.parsedType,code:F.invalid_type}),q}if(et(this,E,"f")||en(this,E,new Set(this._def.values),"f"),!et(this,E,"f").has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return V(t,{received:t.data,code:F.invalid_enum_value,options:n}),q}return Y(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return eB.create(e,{...this._def,...t})}exclude(e,t=this._def){return eB.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}E=new WeakMap,eB.create=eV;class eq extends eo{constructor(){super(...arguments),O.set(this,void 0)}_parse(e){let t=k.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==D.string&&n.parsedType!==D.number){let e=k.objectValues(t);return V(n,{expected:k.joinValues(e),received:n.parsedType,code:F.invalid_type}),q}if(et(this,O,"f")||en(this,O,new Set(k.getValidEnumValues(this._def.values)),"f"),!et(this,O,"f").has(e.data)){let e=k.objectValues(t);return V(n,{received:n.data,code:F.invalid_enum_value,options:e}),q}return Y(e.data)}get enum(){return this._def.values}}O=new WeakMap,eq.create=(e,t)=>new eq({values:e,typeName:T.ZodNativeEnum,...ea(t)});class eK extends eo{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==D.promise&&!1===t.common.async?(V(t,{code:F.invalid_type,expected:D.promise,received:t.parsedType}),q):Y((t.parsedType===D.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eK.create=(e,t)=>new eK({type:e,typeName:T.ZodPromise,...ea(t)});class eY extends eo{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===T.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{V(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return q;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?q:"dirty"===r.status||"dirty"===t.value?K(r.value):r});{if("aborted"===t.value)return q;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?q:"dirty"===r.status||"dirty"===t.value?K(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?q:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?q:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>X(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!X(e))return e;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}k.assertNever(r)}}eY.create=(e,t,n)=>new eY({schema:e,typeName:T.ZodEffects,effect:t,...ea(n)}),eY.createWithPreprocess=(e,t,n)=>new eY({schema:t,effect:{type:"preprocess",transform:e},typeName:T.ZodEffects,...ea(n)});class eQ extends eo{_parse(e){return this._getType(e)===D.undefined?Y(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eQ.create=(e,t)=>new eQ({innerType:e,typeName:T.ZodOptional,...ea(t)});class eJ extends eo{_parse(e){return this._getType(e)===D.null?Y(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eJ.create=(e,t)=>new eJ({innerType:e,typeName:T.ZodNullable,...ea(t)});class eX extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===D.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eX.create=(e,t)=>new eX({innerType:e,typeName:T.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...ea(t)});class e0 extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return ee(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new $(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new $(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}e0.create=(e,t)=>new e0({innerType:e,typeName:T.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...ea(t)});class e1 extends eo{_parse(e){if(this._getType(e)!==D.nan){let t=this._getOrReturnCtx(e);return V(t,{code:F.invalid_type,expected:D.nan,received:t.parsedType}),q}return{status:"valid",value:e.data}}}e1.create=e=>new e1({typeName:T.ZodNaN,...ea(e)});let e2=Symbol("zod_brand");class e4 extends eo{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class e3 extends eo{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?q:"dirty"===e.status?(t.dirty(),K(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?q:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new e3({in:e,out:t,typeName:T.ZodPipeline})}}class e5 extends eo{_parse(e){let t=this._def.innerType._parse(e),n=e=>(X(e)&&(e.value=Object.freeze(e.value)),e);return ee(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function e6(e,t={},n){return e?eS.create().superRefine((r,i)=>{var a,o;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(o=null!==(a=e.fatal)&&void 0!==a?a:n)||void 0===o||o;i.addIssue({code:"custom",..."string"==typeof e?{message:e}:e,fatal:s})}}):eS.create()}e5.create=(e,t)=>new e5({innerType:e,typeName:T.ZodReadonly,...ea(t)});let e7={object:eL.lazycreate};(o=T||(T={})).ZodString="ZodString",o.ZodNumber="ZodNumber",o.ZodNaN="ZodNaN",o.ZodBigInt="ZodBigInt",o.ZodBoolean="ZodBoolean",o.ZodDate="ZodDate",o.ZodSymbol="ZodSymbol",o.ZodUndefined="ZodUndefined",o.ZodNull="ZodNull",o.ZodAny="ZodAny",o.ZodUnknown="ZodUnknown",o.ZodNever="ZodNever",o.ZodVoid="ZodVoid",o.ZodArray="ZodArray",o.ZodObject="ZodObject",o.ZodUnion="ZodUnion",o.ZodDiscriminatedUnion="ZodDiscriminatedUnion",o.ZodIntersection="ZodIntersection",o.ZodTuple="ZodTuple",o.ZodRecord="ZodRecord",o.ZodMap="ZodMap",o.ZodSet="ZodSet",o.ZodFunction="ZodFunction",o.ZodLazy="ZodLazy",o.ZodLiteral="ZodLiteral",o.ZodEnum="ZodEnum",o.ZodEffects="ZodEffects",o.ZodNativeEnum="ZodNativeEnum",o.ZodOptional="ZodOptional",o.ZodNullable="ZodNullable",o.ZodDefault="ZodDefault",o.ZodCatch="ZodCatch",o.ZodPromise="ZodPromise",o.ZodBranded="ZodBranded",o.ZodPipeline="ZodPipeline",o.ZodReadonly="ZodReadonly";let e9=ew.create,e8=ek.create,te=e1.create,tt=e_.create,tn=ej.create,tr=eE.create,ti=eO.create,ta=eT.create,to=eC.create,ts=eS.create,tl=eN.create,tu=eR.create,tc=eI.create,td=eA.create,tf=eL.create,tp=eL.strictCreate,th=eP.create,tm=eZ.create,tx=eD.create,tg=ez.create,tv=eF.create,ty=e$.create,tb=eU.create,tw=eW.create,tk=eH.create,t_=eG.create,tj=eB.create,tE=eq.create,tO=eK.create,tT=eY.create,tC=eQ.create,tS=eJ.create,tN=eY.createWithPreprocess,tR=e3.create;var tI=Object.freeze({__proto__:null,defaultErrorMap:U,setErrorMap:function(e){W=e},getErrorMap:H,makeIssue:G,EMPTY_PATH:[],addIssueToContext:V,ParseStatus:B,INVALID:q,DIRTY:K,OK:Y,isAborted:Q,isDirty:J,isValid:X,isAsync:ee,get util(){return k},get objectUtil(){return _},ZodParsedType:D,getParsedType:z,ZodType:eo,datetimeRegex:eb,ZodString:ew,ZodNumber:ek,ZodBigInt:e_,ZodBoolean:ej,ZodDate:eE,ZodSymbol:eO,ZodUndefined:eT,ZodNull:eC,ZodAny:eS,ZodUnknown:eN,ZodNever:eR,ZodVoid:eI,ZodArray:eA,ZodObject:eL,ZodUnion:eP,ZodDiscriminatedUnion:eZ,ZodIntersection:eD,ZodTuple:ez,ZodRecord:eF,ZodMap:e$,ZodSet:eU,ZodFunction:eW,ZodLazy:eH,ZodLiteral:eG,ZodEnum:eB,ZodNativeEnum:eq,ZodPromise:eK,ZodEffects:eY,ZodTransformer:eY,ZodOptional:eQ,ZodNullable:eJ,ZodDefault:eX,ZodCatch:e0,ZodNaN:e1,BRAND:e2,ZodBranded:e4,ZodPipeline:e3,ZodReadonly:e5,custom:e6,Schema:eo,ZodSchema:eo,late:e7,get ZodFirstPartyTypeKind(){return T},coerce:{string:e=>ew.create({...e,coerce:!0}),number:e=>ek.create({...e,coerce:!0}),boolean:e=>ej.create({...e,coerce:!0}),bigint:e=>e_.create({...e,coerce:!0}),date:e=>eE.create({...e,coerce:!0})},any:ts,array:td,bigint:tt,boolean:tn,date:tr,discriminatedUnion:tm,effect:tT,enum:tj,function:tw,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>e6(t=>t instanceof e,t),intersection:tx,lazy:tk,literal:t_,map:ty,nan:te,nativeEnum:tE,never:tu,null:to,nullable:tS,number:e8,object:tf,oboolean:()=>tn().optional(),onumber:()=>e8().optional(),optional:tC,ostring:()=>e9().optional(),pipeline:tR,preprocess:tN,promise:tO,record:tv,set:tb,strictObject:tp,string:e9,symbol:ti,transformer:tT,tuple:tg,undefined:ta,union:th,unknown:tl,void:tc,NEVER:q,ZodIssueCode:F,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:$}),tA=n(1664),tL=n.n(tA);n(6337);var tP=n(5893);let tM=["light","dark"],tZ="(prefers-color-scheme: dark)",tD="undefined"==typeof window,tz=(0,R.createContext)(void 0),tF={setTheme:e=>{},themes:[]},t$=()=>{var e;return null!==(e=(0,R.useContext)(tz))&&void 0!==e?e:tF},tU=e=>(0,R.useContext)(tz)?R.createElement(R.Fragment,null,e.children):R.createElement(tH,e),tW=["light","dark"],tH=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:a=tW,defaultTheme:o=n?"system":"light",attribute:s="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=(0,R.useState)(()=>tV(i,o)),[p,h]=(0,R.useState)(()=>tV(i)),m=l?Object.values(l):a,x=(0,R.useCallback)(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=tq());let a=l?l[i]:i,u=t?tB():null,c=document.documentElement;if("class"===s?(c.classList.remove(...m),a&&c.classList.add(a)):a?c.setAttribute(s,a):c.removeAttribute(s),r){let e=tM.includes(o)?o:null,t=tM.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),g=(0,R.useCallback)(e=>{f(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),v=(0,R.useCallback)(t=>{h(tq(t)),"system"===d&&n&&!e&&x("system")},[d,e]);(0,R.useEffect)(()=>{let e=window.matchMedia(tZ);return e.addListener(v),v(e),()=>e.removeListener(v)},[v]),(0,R.useEffect)(()=>{let e=e=>{e.key===i&&g(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[g]),(0,R.useEffect)(()=>{x(null!=e?e:d)},[e,d]);let y=(0,R.useMemo)(()=>({theme:d,setTheme:g,forcedTheme:e,resolvedTheme:"system"===d?p:d,themes:n?[...a,"system"]:a,systemTheme:n?p:void 0}),[d,g,e,p,n,a]);return R.createElement(tz.Provider,{value:y},R.createElement(tG,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:i,themes:a,defaultTheme:o,attribute:s,value:l,children:u,attrs:m,nonce:c}),u)},tG=(0,R.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,attrs:s,nonce:l})=>{let u="system"===a,c="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?tM.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(e,t=!1,r=!0)=>{let a=o?o[e]:e,s=t?e+"|| ''":`'${a}'`,l="";return i&&r&&!t&&tM.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${s})`:"null":a&&(l+=`d[s](n,${s})`),l},p=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${tZ}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(a,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(a,!1,!1)};}${d}}catch(t){}}();`;return R.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})},()=>!0),tV=(e,t)=>{let n;if(!tD){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},tB=()=>{let e=document.createElement("style");return e.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(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},tq=e=>(e||(e=window.matchMedia(tZ)),e.matches?"dark":"light");var tK={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tY=tI.strictObject({breadcrumb:tI.boolean(),collapsed:tI.boolean(),footer:tI.boolean(),layout:tI.enum(["default","full","raw"]),navbar:tI.boolean(),pagination:tI.boolean(),sidebar:tI.boolean(),timestamp:tI.boolean(),toc:tI.boolean(),typesetting:tI.enum(["default","article"])}),tQ=tI.enum(["normal","hidden","children"]),tJ=tI.string(),tX=tI.strictObject({href:tI.string(),newWindow:tI.boolean(),title:tJ}),t0=tI.strictObject({display:tQ.optional(),items:tI.record(tX.partial({href:!0,newWindow:!0})),title:tJ,type:tI.literal("menu")}),t1=tI.strictObject({title:tJ.optional(),type:tI.literal("separator")}),t2=tX.extend({display:tQ,theme:tY,title:tJ,type:tI.enum(["page","doc"])}).deepPartial();tI.string().or(t0).or(t1).or(t2);var t4=n(3458),t3=n.n(t4);function t5(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function t6(e){var t=t5(e).Element;return e instanceof t||e instanceof Element}function t7(e){var t=t5(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function t9(e){if("undefined"==typeof ShadowRoot)return!1;var t=t5(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t8=Math.max,ne=Math.min,nt=Math.round;function nn(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function nr(){return!/^((?!chrome|android).)*safari/i.test(nn())}function ni(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&t7(e)&&(i=e.offsetWidth>0&&nt(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&nt(r.height)/e.offsetHeight||1);var o=(t6(e)?t5(e):window).visualViewport,s=!nr()&&n,l=(r.left+(s&&o?o.offsetLeft:0))/i,u=(r.top+(s&&o?o.offsetTop:0))/a,c=r.width/i,d=r.height/a;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function na(e){var t=t5(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function no(e){return e?(e.nodeName||"").toLowerCase():null}function ns(e){return((t6(e)?e.ownerDocument:e.document)||window.document).documentElement}function nl(e){return ni(ns(e)).left+na(e).scrollLeft}function nu(e){return t5(e).getComputedStyle(e)}function nc(e){var t=nu(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function nd(e){var t=ni(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nf(e){return"html"===no(e)?e:e.assignedSlot||e.parentNode||(t9(e)?e.host:null)||ns(e)}function np(e,t){void 0===t&&(t=[]);var n,r=function e(t){return["html","body","#document"].indexOf(no(t))>=0?t.ownerDocument.body:t7(t)&&nc(t)?t:e(nf(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=t5(r),o=i?[a].concat(a.visualViewport||[],nc(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(np(nf(o)))}function nh(e){return t7(e)&&"fixed"!==nu(e).position?e.offsetParent:null}function nm(e){for(var t=t5(e),n=nh(e);n&&["table","td","th"].indexOf(no(n))>=0&&"static"===nu(n).position;)n=nh(n);return n&&("html"===no(n)||"body"===no(n)&&"static"===nu(n).position)?t:n||function(e){var t=/firefox/i.test(nn());if(/Trident/i.test(nn())&&t7(e)&&"fixed"===nu(e).position)return null;var n=nf(e);for(t9(n)&&(n=n.host);t7(n)&&0>["html","body"].indexOf(no(n));){var r=nu(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var nx="bottom",ng="right",nv="left",ny="auto",nb=["top",nx,ng,nv],nw="start",nk="viewport",n_="popper",nj=nb.reduce(function(e,t){return e.concat([t+"-"+nw,t+"-end"])},[]),nE=[].concat(nb,[ny]).reduce(function(e,t){return e.concat([t,t+"-"+nw,t+"-end"])},[]),nO=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],nT={placement:"bottom",modifiers:[],strategy:"absolute"};function nC(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function nA(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nN(i):null,o=i?nR(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case"top":t={x:s,y:n.y-r.height};break;case nx:t={x:s,y:n.y+n.height};break;case ng:t={x:n.x+n.width,y:l};break;case nv:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nI(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case nw:t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var nL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nP(e){var t,n,r,i,a,o,s,l=e.popper,u=e.popperRect,c=e.placement,d=e.variation,f=e.offsets,p=e.position,h=e.gpuAcceleration,m=e.adaptive,x=e.roundOffsets,g=e.isFixed,v=f.x,y=void 0===v?0:v,b=f.y,w=void 0===b?0:b,k="function"==typeof x?x({x:y,y:w}):{x:y,y:w};y=k.x,w=k.y;var _=f.hasOwnProperty("x"),j=f.hasOwnProperty("y"),E=nv,O="top",T=window;if(m){var C=nm(l),S="clientHeight",N="clientWidth";C===t5(l)&&"static"!==nu(C=ns(l)).position&&"absolute"===p&&(S="scrollHeight",N="scrollWidth"),("top"===c||(c===nv||c===ng)&&"end"===d)&&(O=nx,w-=(g&&C===T&&T.visualViewport?T.visualViewport.height:C[S])-u.height,w*=h?1:-1),(c===nv||("top"===c||c===nx)&&"end"===d)&&(E=ng,y-=(g&&C===T&&T.visualViewport?T.visualViewport.width:C[N])-u.width,y*=h?1:-1)}var R=Object.assign({position:p},m&&nL),I=!0===x?(t={x:y,y:w},n=t5(l),r=t.x,i=t.y,{x:nt(r*(a=n.devicePixelRatio||1))/a||0,y:nt(i*a)/a||0}):{x:y,y:w};return(y=I.x,w=I.y,h)?Object.assign({},R,((s={})[O]=j?"0":"",s[E]=_?"0":"",s.transform=1>=(T.devicePixelRatio||1)?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",s)):Object.assign({},R,((o={})[O]=j?w+"px":"",o[E]=_?y+"px":"",o.transform="",o))}var nM={left:"right",right:"left",bottom:"top",top:"bottom"};function nZ(e){return e.replace(/left|right|bottom|top/g,function(e){return nM[e]})}var nD={start:"end",end:"start"};function nz(e){return e.replace(/start|end/g,function(e){return nD[e]})}function nF(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&t9(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function n$(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nU(e,t,n){var r,i,a,o,s,l,u,c,d,f;return t===nk?n$(function(e,t){var n=t5(e),r=ns(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=nr();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+nl(e),y:l}}(e,n)):t6(t)?((r=ni(t,!1,"fixed"===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):n$((i=ns(e),o=ns(i),s=na(i),l=null==(a=i.ownerDocument)?void 0:a.body,u=t8(o.scrollWidth,o.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),c=t8(o.scrollHeight,o.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),d=-s.scrollLeft+nl(i),f=-s.scrollTop,"rtl"===nu(l||o).direction&&(d+=t8(o.clientWidth,l?l.clientWidth:0)-u),{width:u,height:c,x:d,y:f}))}function nW(){return{top:0,right:0,bottom:0,left:0}}function nH(e){return Object.assign({},nW(),e)}function nG(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function nV(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u=t,c=u.placement,d=void 0===c?e.placement:c,f=u.strategy,p=void 0===f?e.strategy:f,h=u.boundary,m=u.rootBoundary,x=u.elementContext,g=void 0===x?n_:x,v=u.altBoundary,y=u.padding,b=void 0===y?0:y,w=nH("number"!=typeof b?b:nG(b,nb)),k=e.rects.popper,_=e.elements[void 0!==v&&v?g===n_?"reference":n_:g],j=(n=t6(_)?_:_.contextElement||ns(e.elements.popper),s=(o=[].concat("clippingParents"===(r=void 0===h?"clippingParents":h)?(i=np(nf(n)),t6(a=["absolute","fixed"].indexOf(nu(n).position)>=0&&t7(n)?nm(n):n)?i.filter(function(e){return t6(e)&&nF(e,a)&&"body"!==no(e)}):[]):[].concat(r),[void 0===m?nk:m]))[0],(l=o.reduce(function(e,t){var r=nU(n,t,p);return e.top=t8(r.top,e.top),e.right=ne(r.right,e.right),e.bottom=ne(r.bottom,e.bottom),e.left=t8(r.left,e.left),e},nU(n,s,p))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),E=ni(e.elements.reference),O=nA({reference:E,element:k,strategy:"absolute",placement:d}),T=n$(Object.assign({},k,O)),C=g===n_?T:E,S={top:j.top-C.top+w.top,bottom:C.bottom-j.bottom+w.bottom,left:j.left-C.left+w.left,right:C.right-j.right+w.right},N=e.modifiersData.offset;if(g===n_&&N){var R=N[d];Object.keys(S).forEach(function(e){var t=[ng,nx].indexOf(e)>=0?1:-1,n=["top",nx].indexOf(e)>=0?"y":"x";S[e]+=R[n]*t})}return S}function nB(e,t,n){return t8(e,ne(t,n))}function nq(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function nK(e){return["top",ng,nx,nv].some(function(t){return e[t]>=0})}var nY=(u=void 0===(l=(s={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=void 0===i||i,o=r.resize,s=void 0===o||o,l=t5(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",n.update,nS)}),s&&l.addEventListener("resize",n.update,nS),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,nS)}),s&&l.removeEventListener("resize",n.update,nS)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=nA({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=n.adaptive,a=n.roundOffsets,o=void 0===a||a,s={placement:nN(t.placement),variation:nR(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nP(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:o})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nP(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];t7(i)&&no(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});t7(r)&&no(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=void 0===i?[0,0]:i,o=nE.reduce(function(e,n){var r,i,o,s,l,u;return e[n]=(r=t.rects,o=[nv,"top"].indexOf(i=nN(n))>=0?-1:1,l=(s="function"==typeof a?a(Object.assign({},r,{placement:n})):a)[0],u=s[1],l=l||0,u=(u||0)*o,[nv,ng].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),s=o[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0===o||o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,x=t.options.placement,g=nN(x)===x,v=l||(g||!h?[nZ(x)]:function(e){if(nN(e)===ny)return[];var t=nZ(e);return[nz(e),t,nz(t)]}(x)),y=[x].concat(v).reduce(function(e,n){var r,i,a,o,s,l,f,p,x,g,v,y;return e.concat(nN(n)===ny?(i=(r={placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}).placement,a=r.boundary,o=r.rootBoundary,s=r.padding,l=r.flipVariations,p=void 0===(f=r.allowedAutoPlacements)?nE:f,0===(v=(g=(x=nR(i))?l?nj:nj.filter(function(e){return nR(e)===x}):nb).filter(function(e){return p.indexOf(e)>=0})).length&&(v=g),Object.keys(y=v.reduce(function(e,n){return e[n]=nV(t,{placement:n,boundary:a,rootBoundary:o,padding:s})[nN(n)],e},{})).sort(function(e,t){return y[e]-y[t]})):n)},[]),b=t.rects.reference,w=t.rects.popper,k=new Map,_=!0,j=y[0],E=0;E=0,N=S?"width":"height",R=nV(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?ng:nv:C?nx:"top";b[N]>w[N]&&(I=nZ(I));var A=nZ(I),L=[];if(a&&L.push(R[T]<=0),s&&L.push(R[I]<=0,R[A]<=0),L.every(function(e){return e})){j=O,_=!1;break}k.set(O,L)}if(_)for(var P=h?3:1,M=function(e){var t=y.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return j=t,"break"},Z=P;Z>0&&"break"!==M(Z);Z--);t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=n.altAxis,o=n.boundary,s=n.rootBoundary,l=n.altBoundary,u=n.padding,c=n.tether,d=void 0===c||c,f=n.tetherOffset,p=void 0===f?0:f,h=nV(t,{boundary:o,rootBoundary:s,padding:u,altBoundary:l}),m=nN(t.placement),x=nR(t.placement),g=!x,v=nI(m),y="x"===v?"y":"x",b=t.modifiersData.popperOffsets,w=t.rects.reference,k=t.rects.popper,_="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,j="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(b){if(void 0===i||i){var T,C="y"===v?"top":nv,S="y"===v?nx:ng,N="y"===v?"height":"width",R=b[v],I=R+h[C],A=R-h[S],L=d?-k[N]/2:0,P=x===nw?w[N]:k[N],M=x===nw?-k[N]:-w[N],Z=t.elements.arrow,D=d&&Z?nd(Z):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nW(),F=z[C],$=z[S],U=nB(0,w[N],D[N]),W=g?w[N]/2-L-U-F-j.mainAxis:P-U-F-j.mainAxis,H=g?-w[N]/2+L+U+$+j.mainAxis:M+U+$+j.mainAxis,G=t.elements.arrow&&nm(t.elements.arrow),V=G?"y"===v?G.clientTop||0:G.clientLeft||0:0,B=null!=(T=null==E?void 0:E[v])?T:0,q=nB(d?ne(I,R+W-B-V):I,R,d?t8(A,R+H-B):A);b[v]=q,O[v]=q-R}if(void 0!==a&&a){var K,Y,Q="x"===v?"top":nv,J="x"===v?nx:ng,X=b[y],ee="y"===y?"height":"width",et=X+h[Q],en=X-h[J],er=-1!==["top",nv].indexOf(m),ei=null!=(Y=null==E?void 0:E[y])?Y:0,ea=er?et:X-w[ee]-k[ee]-ei+j.altAxis,eo=er?X+w[ee]+k[ee]-ei-j.altAxis:en,es=d&&er?(K=nB(ea,X,eo))>eo?eo:K:nB(d?ea:et,X,d?eo:en);b[y]=es,O[y]=es-X}t.modifiersData[r]=O}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,r=e.state,i=e.name,a=e.options,o=r.elements.arrow,s=r.modifiersData.popperOffsets,l=nN(r.placement),u=nI(l),c=[nv,ng].indexOf(l)>=0?"height":"width";if(o&&s){var d=nH("number"!=typeof(t="function"==typeof(t=a.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:nG(t,nb)),f=nd(o),p="y"===u?"top":nv,h="y"===u?nx:ng,m=r.rects.reference[c]+r.rects.reference[u]-s[u]-r.rects.popper[c],x=s[u]-r.rects.reference[u],g=nm(o),v=g?"y"===u?g.clientHeight||0:g.clientWidth||0:0,y=d[p],b=v-f[c]-d[h],w=v/2-f[c]/2+(m/2-x/2),k=nB(y,w,b);r.modifiersData[i]=((n={})[u]=k,n.centerOffset=k-w,n)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&nF(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=nV(t,{elementContext:"reference"}),s=nV(t,{altBoundary:!0}),l=nq(o,r),u=nq(s,i,a),c=nK(l),d=nK(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:l,d=void 0===(c=s.defaultOptions)?nT:c,function(e,t,n){void 0===n&&(n=d);var r,i={placement:"bottom",orderedModifiers:[],options:Object.assign({},nT,d),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],o=!1,s={state:i,setOptions:function(n){var r,o,c,f,p,h="function"==typeof n?n(i.options):n;l(),i.options=Object.assign({},d,i.options,h),i.scrollParents={reference:t6(e)?np(e):e.contextElement?np(e.contextElement):[],popper:np(t)};var m=(o=Object.keys(r=[].concat(u,i.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{})).map(function(e){return r[e]}),c=new Map,f=new Set,p=[],o.forEach(function(e){c.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=c.get(t);n&&e(n)}}),p.push(t)}(e)}),nO.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return i.orderedModifiers=m.filter(function(e){return e.enabled}),i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:i,name:t,instance:s,options:void 0===n?{}:n});a.push(o||function(){})}}),s.update()},forceUpdate:function(){if(!o){var e,t,n,r,a,l,u,c,d,f,p,h,m=i.elements,x=m.reference,g=m.popper;if(nC(x,g)){i.rects={reference:(t=nm(g),n="fixed"===i.options.strategy,r=t7(t),c=t7(t)&&(l=nt((a=t.getBoundingClientRect()).width)/t.offsetWidth||1,u=nt(a.height)/t.offsetHeight||1,1!==l||1!==u),d=ns(t),f=ni(x,c,n),p={scrollLeft:0,scrollTop:0},h={x:0,y:0},(r||!r&&!n)&&(("body"!==no(t)||nc(d))&&(p=(e=t)!==t5(e)&&t7(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:na(e)),t7(t)?(h=ni(t,!0),h.x+=t.clientLeft,h.y+=t.clientTop):d&&(h.x=nl(d))),{x:f.left+p.scrollLeft-h.x,y:f.top+p.scrollTop-h.y,width:f.width,height:f.height}),popper:nd(g)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v=r))));t++);if(n)return a?rm(l,r,0):void(t[t.length]=l)}return!n&&l}function rm(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function rx(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function rg(e,t,n,r,i){let a=0;if(e.constructor===Array){if(i)-1!==(t=e.indexOf(t))?1=this.B&&(d||!c[h])){var a=rf(f,r,p),o="";switch(this.G){case"full":if(2a;s--)if(s-a>=this.B){var l=rf(f,r,p,i,a);rp(this,c,o=h.substring(a,s),l,e,n)}break}case"reverse":if(1=this.B&&rp(this,c,o,rf(f,r,p,i,s),e,n);o=""}case"forward":if(1=this.B&&rp(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,h,p)|0,f-1)),rp(this,c,h,a,e,n),d&&1=this.B&&!i[h]){i[h]=1;let t=this.l&&h>a;rp(this,u,t?a:h,rf(o+(r/2>o?0:1),r,p,s-1,l-1),e,n,t?h:a)}}}}}this.m||(this.register[e]=1)}}return this},C.search=function(e,t,n){let r,i,a;n||(!t&&n2(e)?e=(n=e).query:n2(t)&&(n=t));let o=[],s,l,u=0;if(n){e=n.query||e,t=n.limit,u=n.offset||0;var c=n.context;l=n.suggest}if(e&&1<(s=(e=this.encode(""+e)).length)){n=nX();var d=[];for(let t=0,r=0,i;t=this.B&&!n[i]){if(!this.s&&!l&&!this.map[i])return o;d[r++]=i,n[i]=1}s=(e=d).length}if(!s)return o;for(t||(t=100),c=this.depth&&1{a=e})),i||(i=0)){case 0:if(o="reg",this.m)for(let e in s=nX(),this.register)s[e]=1;else s=this.register;break;case 1:o="cfg",s={doc:0,opt:this.s?1:0};break;case 2:o="map",s=this.map;break;case 3:o="ctx",s=this.h;break;default:void 0===n&&a&&a();return}return rc(e,t||this,n,o,r,i,s,a),l},C.import=function(e,t){if(t)switch(n1(t)&&(t=JSON.parse(t)),e){case"cfg":this.s=!!t.opt;break;case"reg":this.m=!1,this.register=t;break;case"map":this.map=t;break;case"ctx":this.h=t}},ri(rd.prototype);let ry=0;function rb(e){var t;if(!(this instanceof rb))return new rb(e);e?n4(t=e.encode)&&(e.encode=t.toString()):e={},(t=(self||window)._factory)&&(t=t.toString());let r="undefined"==typeof window&&self.exports,i=this;this.o=function(e,t,r){let i;try{i=t?new(n(5789)).Worker("//node/node.js"):e?new Worker(URL.createObjectURL(new Blob(["onmessage="+rv.toString()],{type:"text/javascript"}))):new Worker(n1(r)?r:"worker/worker.js",{type:"module"})}catch(e){}return i}(t,r,e.worker),this.h=nX(),this.o&&(r?this.o.on("message",function(e){i.h[e.id](e.msg),delete i.h[e.id]}):this.o.onmessage=function(e){e=e.data,i.h[e.id](e.msg),delete i.h[e.id]},this.o.postMessage({task:"init",factory:t,options:e}))}function rw(e){rb.prototype[e]=rb.prototype[e+"Async"]=function(){let t;let n=this,r=[].slice.call(arguments);var i=r[r.length-1];return n4(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++ry]=t,n.o.postMessage({task:e,id:ry,args:r})})}),t?(i.then(t),this):i}}function rk(e){if(!(this instanceof rk))return new rk(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=nX(),this.key=(t=n.key||n.id)&&r_(t,this.A)||"id",this.m=nQ(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&nX(),this.I=(t=n.tag)&&r_(t,this.A),this.l=t&&nX(),this.cache=(t=e.cache)&&new rs(t),e.cache=!1,this.o=e.worker,this.async=!1,t=nX();let r=n.index||n.field||n;n1(r)&&(r=[r]);for(let n=0,i,a;nt||n)&&(i=i.slice(n,n+t)),r&&(i=rO.call(this,i)),{tag:e,result:i}}function rO(e){let t=Array(e.length);for(let n=0,r;n{a=e})),i||(i=0),r||(r=0),r()=>e.dispose(),[e]),e}var rD=n(3781),rz=n(4879),rF=n(6723),r$=n(3855),rU=n(2180),rW=n(3784),rH=n(2984);function rG(e,...t){e&&t.length>0&&e.classList.add(...t)}function rV(e,...t){e&&t.length>0&&e.classList.remove(...t)}let rB=(0,R.createContext)(null);rB.displayName="OpenClosedContext";var rq=((f=rq||{})[f.Open=1]="Open",f[f.Closed=2]="Closed",f[f.Closing=4]="Closing",f[f.Opening=8]="Opening",f);function rK(){return(0,R.useContext)(rB)}function rY({value:e,children:t}){return R.createElement(rB.Provider,{value:e},t)}var rQ=n(4067),rJ=n(2351);function rX(e=""){return e.split(/\s+/).filter(e=>e.length>1)}let r0=(0,R.createContext)(null);r0.displayName="TransitionContext";var r1=((p=r1||{}).Visible="visible",p.Hidden="hidden",p);let r2=(0,R.createContext)(null);function r4(e){return"children"in e?r4(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function r3(e,t){let n=(0,r$.E)(e),r=(0,R.useRef)([]),i=(0,rz.t)(),a=rZ(),o=(0,rD.z)((e,t=rJ.l4.Hidden)=>{let o=r.current.findIndex(({el:t})=>t===e);-1!==o&&((0,rH.E)(t,{[rJ.l4.Unmount](){r.current.splice(o,1)},[rJ.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!r4(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rD.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>o(e,rJ.l4.Unmount)}),l=(0,R.useRef)([]),u=(0,R.useRef)(Promise.resolve()),c=(0,R.useRef)({enter:[],leave:[],idle:[]}),d=(0,rD.z)((e,n,r)=>{l.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{l.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,rD.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>n(t))});return(0,R.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function r5(){}r2.displayName="NestingContext";let r6=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function r7(e){var t;let n={};for(let r of r6)n[r]=null!=(t=e[r])?t:r5;return n}let r9=rJ.AN.RenderStrategy,r8=(0,rJ.yV)(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,R.useRef)(null),s=(0,rW.T)(o,t);(0,rU.H)();let l=rK();if(void 0===n&&null!==l&&(n=(l&rq.Open)===rq.Open),![!0,!1].includes(n))throw Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,R.useState)(n?"visible":"hidden"),d=r3(()=>{c("hidden")}),[f,p]=(0,R.useState)(!0),h=(0,R.useRef)([n]);(0,rF.e)(()=>{!1!==f&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))},[h,n]);let m=(0,R.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,R.useEffect)(()=>{if(n)c("visible");else if(r4(d)){let e=o.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")},[n,d]);let x={unmount:i},g=(0,rD.z)(()=>{var t;f&&p(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rD.z)(()=>{var t;f&&p(!1),null==(t=e.beforeLeave)||t.call(e)});return R.createElement(r2.Provider,{value:d},R.createElement(r0.Provider,{value:m},(0,rJ.sY)({ourProps:{...x,as:R.Fragment,children:R.createElement(ie,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:R.Fragment,features:r9,visible:"visible"===u,name:"Transition"})))}),ie=(0,rJ.yV)(function(e,t){var n,r,i;let a;let{beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u,enter:c,enterFrom:d,enterTo:f,entered:p,leave:h,leaveFrom:m,leaveTo:x,...g}=e,v=(0,R.useRef)(null),y=(0,rW.T)(v,t),b=null==(n=g.unmount)||n?rJ.l4.Unmount:rJ.l4.Hidden,{show:w,appear:k,initial:_}=function(){let e=(0,R.useContext)(r0);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[j,E]=(0,R.useState)(w?"visible":"hidden"),O=function(){let e=(0,R.useContext)(r2);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:T,unregister:C}=O;(0,R.useEffect)(()=>T(v),[T,v]),(0,R.useEffect)(()=>{if(b===rJ.l4.Hidden&&v.current){if(w&&"visible"!==j){E("visible");return}return(0,rH.E)(j,{hidden:()=>C(v),visible:()=>T(v)})}},[j,v,T,C,w,b]);let S=(0,r$.E)({base:rX(g.className),enter:rX(c),enterFrom:rX(d),enterTo:rX(f),entered:rX(p),leave:rX(h),leaveFrom:rX(m),leaveTo:rX(x)}),N=(i={beforeEnter:o,afterEnter:s,beforeLeave:l,afterLeave:u},a=(0,R.useRef)(r7(i)),(0,R.useEffect)(()=>{a.current=r7(i)},[i]),a),I=(0,rU.H)();(0,R.useEffect)(()=>{if(I&&"visible"===j&&null===v.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[v,j,I]);let A=k&&w&&_,L=I&&(!_||k)?w?"enter":"leave":"idle",P=function(e=0){let[t,n]=(0,R.useState)(e),r=(0,rz.t)(),i=(0,R.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,R.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,R.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,R.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),M=(0,rD.z)(e=>(0,rH.E)(e,{enter:()=>{P.addFlag(rq.Opening),N.current.beforeEnter()},leave:()=>{P.addFlag(rq.Closing),N.current.beforeLeave()},idle:()=>{}})),Z=(0,rD.z)(e=>(0,rH.E)(e,{enter:()=>{P.removeFlag(rq.Opening),N.current.afterEnter()},leave:()=>{P.removeFlag(rq.Closing),N.current.afterLeave()},idle:()=>{}})),D=r3(()=>{E("hidden"),C(v)},O),z=(0,R.useRef)(!1);!function({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=(0,rz.t)(),s=rZ(),l=(0,r$.E)(n);(0,rF.e)(()=>{e&&(l.current="enter")},[e]),(0,rF.e)(()=>{let e=(0,rM.k)();s.add(e.dispose);let n=t.current;if(n&&"idle"!==l.current&&o.current){var u,c,d;let t,o,s,f,p,h,m;return e.dispose(),i.current(l.current),e.add((u=r.current,c="enter"===l.current,d=()=>{e.dispose(),a.current(l.current)},o=c?"enter":"leave",s=(0,rM.k)(),f=void 0!==d?(t={called:!1},(...e)=>{if(!t.called)return t.called=!0,d(...e)}):()=>{},"enter"===o&&(n.removeAttribute("hidden"),n.style.display=""),p=(0,rH.E)(o,{enter:()=>u.enter,leave:()=>u.leave}),h=(0,rH.E)(o,{enter:()=>u.enterTo,leave:()=>u.leaveTo}),m=(0,rH.E)(o,{enter:()=>u.enterFrom,leave:()=>u.leaveFrom}),rV(n,...u.base,...u.enter,...u.enterTo,...u.enterFrom,...u.leave,...u.leaveFrom,...u.leaveTo,...u.entered),rG(n,...u.base,...p,...m),s.nextFrame(()=>{rV(n,...u.base,...p,...m),rG(n,...u.base,...p,...h),function(e,t){let n=(0,rM.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=a+o;if(0!==s){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},s),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(n,()=>(rV(n,...u.base,...p),rG(n,...u.base,...u.entered),f()))}),s.dispose)),e.dispose}},[n])}({immediate:A,container:v,classes:S,direction:L,onStart:(0,r$.E)(e=>{z.current=!0,D.onStart(v,e,M)}),onStop:(0,r$.E)(e=>{z.current=!1,D.onStop(v,e,Z),"leave"!==e||r4(D)||(E("hidden"),C(v))})});let F=g;return A?F={...F,className:(0,rQ.A)(g.className,...S.current.enter,...S.current.enterFrom)}:z.current&&(F.className=(0,rQ.A)(g.className,null==(r=v.current)?void 0:r.className),""===F.className&&delete F.className),R.createElement(r2.Provider,{value:D},R.createElement(rY,{value:(0,rH.E)(j,{visible:rq.Open,hidden:rq.Closed})|P.flags},(0,rJ.sY)({ourProps:{ref:y},theirProps:F,defaultTag:"div",features:r9,visible:"visible"===j,name:"Transition.Child"})))}),it=(0,rJ.yV)(function(e,t){let n=null!==(0,R.useContext)(r0),r=null!==rK();return R.createElement(R.Fragment,null,!n&&r?R.createElement(r8,{ref:t,...e}):R.createElement(ie,{ref:t,...e}))}),ir=Object.assign(r8,{Child:it,Root:r8});var ii=n(634);function ia(e,t){let[n,r]=(0,R.useState)(e),i=(0,r$.E)(e);return(0,rF.e)(()=>r(i.current),[i,r,...t]),n}var io=n(9946),is=n(4575);function il(e,t,n){let r=(0,r$.E)(t);(0,R.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function iu(e,t,n=!0){var r;let i,a=(0,R.useRef)(!1);function o(n,r){if(!a.current||n.defaultPrevented)return;let i=r(n);if(null!==i&&i.getRootNode().contains(i)&&i.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(i)||n.composed&&n.composedPath().includes(e))return}return(0,is.sP)(i,is.tJ.Loose)||-1===i.tabIndex||n.preventDefault(),t(n,i)}}(0,R.useEffect)(()=>{requestAnimationFrame(()=>{a.current=n})},[n]);let s=(0,R.useRef)(null);il("pointerdown",e=>{var t,n;a.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),il("mousedown",e=>{var t,n;a.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),il("click",e=>{/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||s.current&&(o(e,()=>s.current),s.current=null)},!0),il("touchend",e=>o(e,()=>e.target instanceof HTMLElement?e.target:null),!0),r="blur",i=(0,r$.E)(e=>o(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null)),(0,R.useEffect)(()=>{function e(e){i.current(e)}return window.addEventListener(r,e,!0),()=>window.removeEventListener(r,e,!0)},[r,!0])}var ic=n(4157);let id=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function ip(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let o=a?null!=(n=i.innerText)?n:"":r;return id.test(o)&&(o=o.replace(id,"")),o}function ih(e){let t=(0,R.useRef)(""),n=(0,R.useRef)("");return(0,rD.z)(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=(function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():ip(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return ip(e).trim()})(r).trim().toLowerCase();return t.current=i,n.current=a,a})}function im(e){return[e.screenX,e.screenY]}function ix(){let e=(0,R.useRef)([-1,-1]);return{wasMoved(t){let n=im(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=im(t)}}}var ig=n(6045);function iv(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}var iy=((h=iy||{})[h.First=0]="First",h[h.Previous=1]="Previous",h[h.Next=2]="Next",h[h.Last=3]="Last",h[h.Specific=4]="Specific",h[h.Nothing=5]="Nothing",h);function ib(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;re){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,is.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let iS={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=iC(e),i=ib(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),a=i?e.options.indexOf(i):-1;return -1===a||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=iC(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=iC(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},iN=(0,R.createContext)(null);function iR(e){let t=(0,R.useContext)(iN);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iR),t}return t}iN.displayName="ListboxActionsContext";let iI=(0,R.createContext)(null);function iA(e){let t=(0,R.useContext)(iI);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iA),t}return t}function iL(e,t){return(0,rH.E)(t.type,iS,e,t)}iI.displayName="ListboxDataContext";let iP=R.Fragment,iM=rJ.AN.RenderStrategy|rJ.AN.Static,iZ=Object.assign((0,rJ.yV)(function(e,t){let{value:n,defaultValue:r,form:i,name:a,onChange:o,by:s=(e,t)=>e===t,disabled:l=!1,horizontal:u=!1,multiple:c=!1,...d}=e,f=u?"horizontal":"vertical",p=(0,rW.T)(t),[h=c?[]:void 0,m]=function(e,t,n){let[r,i]=(0,R.useState)(n),a=void 0!==e,o=(0,R.useRef)(a),s=(0,R.useRef)(!1),l=(0,R.useRef)(!1);return!a||o.current||s.current?a||!o.current||l.current||(l.current=!0,o.current=a,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.")):(s.current=!0,o.current=a,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.")),[a?e:r,(0,rD.z)(e=>(a||i(e),null==t?void 0:t(e)))]}(n,o,r),[x,g]=(0,R.useReducer)(iL,{dataRef:(0,R.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,R.useRef)({static:!1,hold:!1}),y=(0,R.useRef)(null),b=(0,R.useRef)(null),w=(0,R.useRef)(null),k=(0,rD.z)("string"==typeof s?(e,t)=>(null==e?void 0:e[s])===(null==t?void 0:t[s]):s),_=(0,R.useCallback)(e=>(0,rH.E)(j.mode,{1:()=>h.some(t=>k(t,e)),0:()=>k(h,e)}),[h]),j=(0,R.useMemo)(()=>({...x,value:h,disabled:l,mode:c?1:0,orientation:f,compare:k,isSelected:_,optionsPropsRef:v,labelRef:y,buttonRef:b,optionsRef:w}),[h,l,c,x]);(0,rF.e)(()=>{x.dataRef.current=j},[j]),iu([j.buttonRef,j.optionsRef],(e,t)=>{var n;g({type:1}),(0,is.sP)(t,is.tJ.Loose)||(e.preventDefault(),null==(n=j.buttonRef.current)||n.focus())},0===j.listboxState);let E=(0,R.useMemo)(()=>({open:0===j.listboxState,disabled:l,value:h}),[j,l,h]),O=(0,rD.z)(e=>{let t=j.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),T=(0,rD.z)(()=>{if(null!==j.activeOptionIndex){let{dataRef:e,id:t}=j.options[j.activeOptionIndex];L(e.current.value),g({type:2,focus:iy.Specific,id:t})}}),C=(0,rD.z)(()=>g({type:0})),S=(0,rD.z)(()=>g({type:1})),N=(0,rD.z)((e,t,n)=>e===iy.Specific?g({type:2,focus:iy.Specific,id:t,trigger:n}):g({type:2,focus:e,trigger:n})),I=(0,rD.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rD.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rD.z)(e=>(0,rH.E)(j.mode,{0:()=>null==m?void 0:m(e),1(){let t=j.value.slice(),n=t.findIndex(t=>k(t,e));return -1===n?t.push(e):t.splice(n,1),null==m?void 0:m(t)}})),P=(0,rD.z)(e=>g({type:3,value:e})),M=(0,rD.z)(()=>g({type:4})),Z=(0,R.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:N,closeListbox:S,openListbox:C,selectActiveOption:T,selectOption:O,search:P,clearSearch:M}),[]),D=(0,R.useRef)(null),z=rZ();return(0,R.useEffect)(()=>{D.current&&void 0!==r&&z.addEventListener(D.current,"reset",()=>{null==m||m(r)})},[D,m]),R.createElement(iN.Provider,{value:Z},R.createElement(iI.Provider,{value:j},R.createElement(rY,{value:(0,rH.E)(j.listboxState,{0:rq.Open,1:rq.Closed})},null!=a&&null!=h&&(function e(t={},n=null,r=[]){for(let[i,a]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,a]of i.entries())t(n,iw(r,e.toString()),a);else i instanceof Date?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,`${i}`]):null==i?n.push([r,""]):e(i,r,n)}(r,iw(n,i),a);return r})({[a]:h}).map(([e,t],n)=>R.createElement(ig._,{features:ig.A.Hidden,ref:0===n?e=>{var t;D.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rJ.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,disabled:l,name:e,value:t})})),(0,rJ.sY)({ourProps:{ref:p},theirProps:d,slot:E,defaultTag:iP,name:"Listbox"}))))}),{Button:(0,rJ.yV)(function(e,t){var n;let r=(0,io.M)(),{id:i=`headlessui-listbox-button-${r}`,...a}=e,o=iA("Listbox.Button"),s=iR("Listbox.Button"),l=(0,rW.T)(o.buttonRef,t),u=rZ(),c=(0,rD.z)(e=>{switch(e.key){case i_.R.Space:case i_.R.Enter:case i_.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iy.First)});break;case i_.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iy.Last)})}}),d=(0,rD.z)(e=>{e.key===i_.R.Space&&e.preventDefault()}),f=(0,rD.z)(e=>{if(iv(e.currentTarget))return e.preventDefault();0===o.listboxState?(s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(e.preventDefault(),s.openListbox())}),p=ia(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),h=(0,R.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,ic.f)(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":0===o.listboxState,"aria-labelledby":p,disabled:o.disabled,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rJ.sY)({ourProps:m,theirProps:a,slot:h,defaultTag:"button",name:"Listbox.Button"})}),Label:(0,rJ.yV)(function(e,t){let n=(0,io.M)(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,a=iA("Listbox.Label"),o=iR("Listbox.Label"),s=(0,rW.T)(a.labelRef,t);(0,rF.e)(()=>o.registerLabel(r),[r]);let l=(0,rD.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,R.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rJ.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:"label",name:"Listbox.Label"})}),Options:(0,rJ.yV)(function(e,t){var n;let r=(0,io.M)(),{id:i=`headlessui-listbox-options-${r}`,...a}=e,o=iA("Listbox.Options"),s=iR("Listbox.Options"),l=(0,rW.T)(o.optionsRef,t),u=rZ(),c=rZ(),d=rK(),f=null!==d?(d&rq.Open)===rq.Open:0===o.listboxState;(0,R.useEffect)(()=>{var e;let t=o.optionsRef.current;t&&0===o.listboxState&&t!==(null==(e=(0,ik.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let p=(0,rD.z)(e=>{switch(c.dispose(),e.key){case i_.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case i_.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];s.onChange(e.current.value)}0===o.mode&&(s.closeListbox(),(0,rM.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case(0,rH.E)(o.orientation,{vertical:i_.R.ArrowDown,horizontal:i_.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.Next);case(0,rH.E)(o.orientation,{vertical:i_.R.ArrowUp,horizontal:i_.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.Previous);case i_.R.Home:case i_.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.First);case i_.R.End:case i_.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(iy.Last);case i_.R.Escape:return e.preventDefault(),e.stopPropagation(),s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case i_.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),h=ia(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.id},[o.buttonRef.current]),m=(0,R.useMemo)(()=>({open:0===o.listboxState}),[o]),x={"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===o.mode||void 0,"aria-labelledby":h,"aria-orientation":o.orientation,id:i,onKeyDown:p,role:"listbox",tabIndex:0,ref:l};return(0,rJ.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:"ul",features:iM,visible:f,name:"Listbox.Options"})}),Option:(0,rJ.yV)(function(e,t){let n=(0,io.M)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...o}=e,s=iA("Listbox.Option"),l=iR("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,R.useRef)(null),f=ih(d),p=(0,r$.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),h=(0,rW.T)(t,d);(0,rF.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rM.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[d,u,s.listboxState,s.activationTrigger,s.activeOptionIndex]),(0,rF.e)(()=>l.registerOption(r,p),[p,r]);let m=(0,rD.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rM.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),x=(0,rD.z)(()=>{if(i)return l.goToOption(iy.Nothing);l.goToOption(iy.Specific,r)}),g=ix(),v=(0,rD.z)(e=>g.update(e)),y=(0,rD.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(iy.Specific,r,0))}),b=(0,rD.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(iy.Nothing))}),w=(0,R.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rJ.sY)({ourProps:{id:r,ref:h,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":c,disabled:void 0,onClick:m,onFocus:x,onPointerEnter:v,onMouseEnter:v,onPointerMove:y,onMouseMove:y,onPointerLeave:b,onMouseLeave:b},theirProps:o,slot:w,defaultTag:"li",name:"Listbox.Option"})})});var iD=n(3935),iz=n(9008),iF=n.n(iz);function i$(){return(i$=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var iW=["keyOverride"],iH=["crossOrigin"],iG={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},iV=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,i=r.defaultWidth,a=r.defaultHeight;return t.reduce(function(t,n,r){return t.push(R.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(R.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(R.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(R.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(R.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(R.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(R.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(R.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},iB=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(iG.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,iG.templateTitle&&(s=iG.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(R.createElement("title",{key:"title"},s));var l=void 0===e.noindex?iG.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?iG.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c=e.norobots||iG.norobots,d="";if(e.robotsProps){var f=e.robotsProps,p=f.nosnippet,h=f.maxSnippet,m=f.maxImagePreview,x=f.maxVideoPreview,g=f.noarchive,v=f.noimageindex,y=f.notranslate,b=f.unavailableAfter;d=(p?",nosnippet":"")+(h?",max-snippet:"+h:"")+(m?",max-image-preview:"+m:"")+(g?",noarchive":"")+(b?",unavailable_after:"+b:"")+(v?",noimageindex":"")+(x?",max-video-preview:"+x:"")+(y?",notranslate":"")}if(e.norobots&&(iG.norobots=!0),l||u?(e.dangerouslySetAllPagesToNoIndex&&(iG.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(iG.nofollow=!0),o.push(R.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+d}))):(!c||d)&&o.push(R.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+d})),e.description&&o.push(R.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(R.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(R.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){o.push(R.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(R.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(R.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(R.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(R.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(R.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||s})),(null!=(n=e.openGraph)&&n.description||e.description)&&o.push(R.createElement("meta",{key:"og:description",property:"og:description",content:(null==(a=e.openGraph)?void 0:a.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&o.push(R.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var w=e.openGraph.type.toLowerCase();o.push(R.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(R.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(R.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(R.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(R.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===w&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){o.push(R.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(R.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(R.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(R.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(R.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(R.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){o.push(R.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(R.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===w||"video.episode"===w||"video.tv_show"===w||"video.other"===w)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&o.push(R.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(R.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(R.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(R.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,t){o.push(R.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(R.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(iG.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(iG.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,iV("image",e.openGraph.images,{defaultWidth:iG.defaultOpenGraphImageWidth,defaultHeight:iG.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(iG.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(iG.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,iV("video",e.openGraph.videos,{defaultWidth:iG.defaultOpenGraphVideoWidth,defaultHeight:iG.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,iV("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(R.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(R.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(R.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,r=e.keyOverride,i=iU(e,iW);o.push(R.createElement("meta",i$({key:"meta:"+(null!=(t=null!=(n=null!=r?r:i.name)?n:i.property)?t:i.httpEquiv)},i)))}),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,r=iU(e,iH);o.push(R.createElement("link",i$({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),o},iq=function(e){return R.createElement(iF(),null,iB(e))},iK=function(e){var t=e.title,n=e.themeColor,r=e.noindex,i=e.nofollow,a=e.robotsProps,o=e.description,s=e.canonical,l=e.openGraph,u=e.facebook,c=e.twitter,d=e.additionalMetaTags,f=e.titleTemplate,p=e.defaultTitle,h=e.mobileAlternate,m=e.languageAlternates,x=e.additionalLinkTags;return R.createElement(R.Fragment,null,R.createElement(iq,{title:t,themeColor:n,noindex:r,nofollow:i,robotsProps:a,description:o,canonical:s,facebook:u,openGraph:l,additionalMetaTags:d,twitter:c,titleTemplate:f,defaultTitle:p,mobileAlternate:h,languageAlternates:m,additionalLinkTags:x}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var iY=((y=iY||{})[y.Open=0]="Open",y[y.Closed=1]="Closed",y),iQ=((b=iQ||{})[b.Pointer=0]="Pointer",b[b.Other=1]="Other",b),iJ=((w=iJ||{})[w.OpenMenu=0]="OpenMenu",w[w.CloseMenu=1]="CloseMenu",w[w.GoToItem=2]="GoToItem",w[w.Search=3]="Search",w[w.ClearSearch=4]="ClearSearch",w[w.RegisterItem=5]="RegisterItem",w[w.UnregisterItem=6]="UnregisterItem",w);function iX(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,is.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{items:r,activeItemIndex:i}}let i0={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=iX(e),i=ib(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return -1===a||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=iX(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=iX(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},i1=(0,R.createContext)(null);function i2(e){let t=(0,R.useContext)(i1);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,i2),t}return t}function i4(e,t){return(0,rH.E)(t.type,i0,e,t)}i1.displayName="MenuContext";let i3=R.Fragment,i5=rJ.AN.RenderStrategy|rJ.AN.Static,i6=R.Fragment,i7=Object.assign((0,rJ.yV)(function(e,t){let{__demoMode:n=!1,...r}=e,i=(0,R.useReducer)(i4,{__demoMode:n,menuState:n?0:1,buttonRef:(0,R.createRef)(),itemsRef:(0,R.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rW.T)(t);iu([s,o],(e,t)=>{var n;l({type:1}),(0,is.sP)(t,is.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rD.z)(()=>{l({type:1})}),d=(0,R.useMemo)(()=>({open:0===a,close:c}),[a,c]);return R.createElement(i1.Provider,{value:i},R.createElement(rY,{value:(0,rH.E)(a,{0:rq.Open,1:rq.Closed})},(0,rJ.sY)({ourProps:{ref:u},theirProps:r,slot:d,defaultTag:i3,name:"Menu"})))}),{Button:(0,rJ.yV)(function(e,t){var n;let r=(0,io.M)(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,s]=i2("Menu.Button"),l=(0,rW.T)(o.buttonRef,t),u=rZ(),c=(0,rD.z)(e=>{switch(e.key){case i_.R.Space:case i_.R.Enter:case i_.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iy.First}));break;case i_.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iy.Last}))}}),d=(0,rD.z)(e=>{e.key===i_.R.Space&&e.preventDefault()}),f=(0,rD.z)(t=>{if(iv(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(s({type:1}),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),s({type:0})))}),p=(0,R.useMemo)(()=>({open:0===o.menuState}),[o]),h={ref:l,id:i,type:(0,ic.f)(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":0===o.menuState,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rJ.sY)({ourProps:h,theirProps:a,slot:p,defaultTag:"button",name:"Menu.Button"})}),Items:(0,rJ.yV)(function(e,t){var n,r;let i=(0,io.M)(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[s,l]=i2("Menu.Items"),u=(0,rW.T)(s.itemsRef,t),c=function(...e){return(0,R.useMemo)(()=>(0,ik.r)(...e),[...e])}(s.itemsRef),d=rZ(),f=rK(),p=null!==f?(f&rq.Open)===rq.Open:0===s.menuState;(0,R.useEffect)(()=>{let e=s.itemsRef.current;e&&0===s.menuState&&e!==(null==c?void 0:c.activeElement)&&e.focus({preventScroll:!0})},[s.menuState,s.itemsRef,c]),function({container:e,accept:t,walk:n,enabled:r=!0}){let i=(0,R.useRef)(t),a=(0,R.useRef)(n);(0,R.useEffect)(()=>{i.current=t,a.current=n},[t,n]),(0,rF.e)(()=>{if(!e||!r)return;let t=(0,ik.r)(e);if(!t)return;let n=i.current,o=a.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)o(l.currentNode)},[e,r,i,a])}({container:s.itemsRef.current,enabled:0===s.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let h=(0,rD.z)(e=>{var t,n;switch(d.dispose(),e.key){case i_.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case i_.R.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==s.activeItemIndex){let{dataRef:e}=s.items[s.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,is.wI)(s.buttonRef.current);break;case i_.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.Next});case i_.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.Previous});case i_.R.Home:case i_.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.First});case i_.R.End:case i_.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iy.Last});case i_.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rM.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case i_.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rM.k)().nextFrame(()=>{(0,is.EO)(s.buttonRef.current,e.shiftKey?is.TO.Previous:is.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rD.z)(e=>{e.key===i_.R.Space&&e.preventDefault()}),x=(0,R.useMemo)(()=>({open:0===s.menuState}),[s]),g={"aria-activedescendant":null===s.activeItemIndex||null==(n=s.items[s.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=s.buttonRef.current)?void 0:r.id,id:a,onKeyDown:h,onKeyUp:m,role:"menu",tabIndex:0,ref:u};return(0,rJ.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:"div",features:i5,visible:p,name:"Menu.Items"})}),Item:(0,rJ.yV)(function(e,t){let n=(0,io.M)(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,s]=i2("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,R.useRef)(null),c=(0,rW.T)(t,u);(0,rF.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rM.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[o.__demoMode,u,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=ih(u),f=(0,R.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rF.e)(()=>{f.current.disabled=i},[f,i]),(0,rF.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let p=(0,rD.z)(()=>{s({type:1})}),h=(0,rD.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,is.wI)(o.buttonRef.current)}),m=(0,rD.z)(()=>{if(i)return s({type:2,focus:iy.Nothing});s({type:2,focus:iy.Specific,id:r})}),x=ix(),g=(0,rD.z)(e=>x.update(e)),v=(0,rD.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:iy.Specific,id:r,trigger:0}))}),y=(0,rD.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:iy.Nothing}))}),b=(0,R.useMemo)(()=>({active:l,disabled:i,close:p}),[l,i,p]);return(0,rJ.sY)({ourProps:{id:r,ref:c,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,disabled:void 0,onClick:h,onFocus:m,onPointerEnter:g,onMouseEnter:g,onPointerMove:v,onMouseMove:v,onPointerLeave:y,onMouseLeave:y},theirProps:a,slot:b,defaultTag:i6,name:"Menu.Item"})})}),i9=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i8=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,ae=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,an=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},ar=(e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];let{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!i9(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],h=e;for(;i9(h)&&d(h);){if((h=an(h))===f){p.push(h);break}null!=h&&h===document.body&&ae(h)&&!ae(document.documentElement)||null!=h&&ae(h,c)&&p.push(h)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,x=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:g,scrollY:v}=window,{height:y,width:b,top:w,right:k,bottom:_,left:j}=e.getBoundingClientRect(),{top:E,right:O,bottom:T,left:C}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),S="start"===s||"nearest"===s?w-E:"end"===s?_+T:w+y/2-E+T,N="center"===l?j+b/2-C+O:"end"===l?k+O:j-C,R=[];for(let e=0;e=0&&j>=0&&_<=x&&k<=m&&w>=i&&_<=u&&j>=c&&k<=a)break;let d=getComputedStyle(t),h=parseInt(d.borderLeftWidth,10),E=parseInt(d.borderTopWidth,10),O=parseInt(d.borderRightWidth,10),T=parseInt(d.borderBottomWidth,10),C=0,I=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-h-O:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-E-T:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)C="start"===s?S:"end"===s?S-x:"nearest"===s?at(v,v+x,x,E,T,v+S,v+S+y,y):S-x/2,I="start"===l?N:"center"===l?N-m/2:"end"===l?N-m:at(g,g+m,m,h,O,g+N,g+N+b,b),C=Math.max(0,C+v),I=Math.max(0,I+g);else{C="start"===s?S-i-E:"end"===s?S-u+T+L:"nearest"===s?at(i,u,n,E,T+L,S,S+y,y):S-(i+n/2)+L/2,I="start"===l?N-c-h:"center"===l?N-(c+r/2)+A/2:"end"===l?N-a+O+A:at(c,a,r,h,O+A,N,N+b,b);let{scrollLeft:e,scrollTop:o}=t;C=0===M?0:Math.max(0,Math.min(o+C/M,t.scrollHeight-n/M+L)),I=0===P?0:Math.max(0,Math.min(e+I/P,t.scrollWidth-r/P+A)),S+=o-C,N+=e-I}R.push({el:t,top:C,left:I})}return R},ai=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};function aa(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(ar(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:a,left:o}of ar(e,ai(t))){let e=a-n.top+n.bottom,t=o-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}var ao=n(6826),as=n.n(ao);/** - * @name match-sorter - * @license MIT license. - * @copyright (c) 2020 Kent C. Dodds - * @author Kent C. Dodds (https://kentcdodds.com) - */let al={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},au=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function ac(e,t,n){void 0===n&&(n={});let{keys:r,threshold:i=al.MATCHES,baseSort:a=au,sorter:o=e=>e.sort((e,t)=>(function(e,t,n){let{rank:r,keyIndex:i}=e,{rank:a,keyIndex:o}=t;return r!==a?r>a?-1:1:i===o?n(e,t):i{let{rank:i,rankedValue:a,keyIndex:o,keyThreshold:l}=e,{itemValue:u,attributes:c}=n,d=ad(u,t,s),f=a,{minRanking:p,maxRanking:h,threshold:m}=c;return d=al.MATCHES?d=p:d>h&&(d=h),d>i&&(i=d,o=r,l=m,f=u),{rankedValue:f,rank:i,keyIndex:o,keyThreshold:l}},{rankedValue:a,rank:al.NO_MATCH,keyIndex:-1,keyThreshold:s.threshold}):{rankedValue:a,rank:ad(a,t,s),keyIndex:-1,keyThreshold:s.threshold}),{rank:u,keyThreshold:c=i}=l;return u>=c&&e.push({...l,item:a,index:o}),e},[])).map(e=>{let{item:t}=e;return t})}function ad(e,t,n){let r;return(e=af(e,n),(t=af(t,n)).length>e.length)?al.NO_MATCH:e===t?al.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?al.EQUAL:e.startsWith(t)?al.STARTS_WITH:e.includes(` ${t}`)?al.WORD_STARTS_WITH:e.includes(t)?al.CONTAINS:1===t.length?al.NO_MATCH:(r="",e.split(" ").forEach(e=>{e.split("-").forEach(e=>{r+=e.substr(0,1)})}),r).includes(t)?al.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let i=r,a=t.length;i-1))return al.NO_MATCH;return function(e){let r=n/t.length;return al.MATCHES+1/e*r}(r-a)}(e,t)}function af(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=as()(e)),e}ac.rankings=al;let ap={maxRanking:1/0,minRanking:-1/0};var ah=n(9013),am=Object.defineProperty,ax=Object.defineProperties,ag=Object.getOwnPropertyDescriptors,av=Object.getOwnPropertySymbols,ay=Object.prototype.hasOwnProperty,ab=Object.prototype.propertyIsEnumerable,aw=(e,t,n)=>t in e?am(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ak=(e,t)=>{for(var n in t||(t={}))ay.call(t,n)&&aw(e,n,t[n]);if(av)for(var n of av(t))ab.call(t,n)&&aw(e,n,t[n]);return e},a_=(e,t)=>ax(e,ag(t)),aj=(e,t)=>{var n={};for(var r in e)ay.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&av)for(var r of av(e))0>t.indexOf(r)&&ab.call(e,r)&&(n[r]=e[r]);return n},aE=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),aO=(0,R.createContext)({}),aT=(0,R.createContext)(e=>e),aC=(0,R.createContext)(null),aS=new WeakMap,aN=(0,R.createContext)(aS),aR=()=>(0,R.useContext)(aO),aI=()=>(0,R.useContext)(aT),aA=()=>(0,R.useContext)(aC),aL=()=>(0,R.useContext)(aN),aP=({children:e})=>{let[t,n]=(0,R.useState)({}),r=(0,R.useRef)(null);return oE&&!r.current&&(r.current=new IntersectionObserver(e=>{n(t=>{let n=ak({},t);for(let t of e)if((null==t?void 0:t.rootBounds)&&aS.has(t.target)){let[e,r]=aS.get(t.target),i=t.boundingClientRect.y+t.boundingClientRect.height<=t.rootBounds.y+t.rootBounds.height,a=t.intersectionRatio>0;n[e]={index:r,aboveHalfViewport:i,insideHalfViewport:a}}let r="",i=1/0,a=-1;for(let e in n)n[e].isActive=!1,n[e].insideHalfViewport&&n[e].indexa&&(a=n[e].index,r=e);return n[r]&&(n[r].isActive=!0),n})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tP.jsx)(aO.Provider,{value:t,children:(0,tP.jsx)(aT.Provider,{value:n,children:(0,tP.jsx)(aN.Provider,{value:aS,children:(0,tP.jsx)(aC.Provider,{value:r.current,children:e})})})})},aM=(0,R.createContext)({menu:!1,setMenu:()=>!1}),aZ=()=>(0,R.useContext)(aM),aD=aM.Provider,az=(0,R.createContext)(ak({title:"",frontMatter:{}},oI));function aF(){return(0,R.useContext)(az)}var a$=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,R.useState)(!1);S||(S=ak(ak({},oI),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&oA.includes(e)?ak(ak({},oI[e]),t):t]))));let a=a_(ak(a_(ak({},S),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tP.jsx)(tU,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tP.jsx)(az.Provider,{value:a,children:(0,tP.jsx)(aD,{value:{menu:r,setMenu:i},children:e})})})},aU=(0,R.createContext)(e=>e),aW=()=>(0,R.useContext)(aU),aH=aU.Provider,aG=Number("14.1.1".split(".")[0]),aV=(0,R.forwardRef)(function(e,t){var{href:n="",children:r,newWindow:i}=e,a=aj(e,["href","children","newWindow"]);let o=aF();return i?(0,tP.jsxs)("a",a_(ak({ref:t,href:n,target:"_blank",rel:"noreferrer"},a),{children:[r,(0,tP.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):n?aG>12||o.newNextLinkBehavior?(0,tP.jsx)(tL(),a_(ak({ref:t,href:n},a),{children:r})):(0,tP.jsx)(tL(),{href:n,passHref:!0,children:(0,tP.jsx)("a",a_(ak({ref:t},a),{children:r}))}):(0,tP.jsx)("a",a_(ak({ref:t},a),{children:r}))});aV.displayName="Anchor";var aB=({repository:e="",title:t,labels:n})=>{let r=t3()(e);if(!r)throw Error("Invalid `docsRepositoryBase` URL!");return r.resource.includes("gitlab")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/-/issues/new?issue[title]=${encodeURIComponent(t)}${n?`&issue[description]=/label${encodeURIComponent(` ~${n} -`)}`:""}`:r.resource.includes("github")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/issues/new?title=${encodeURIComponent(t)}&labels=${n||""}`:"#"};function aq(e,t){return e?"function"!=typeof e?e:(0,tP.jsx)(e,ak({},t)):null}function aK(e,t={}){return("function"==typeof e?e(t):e)||""}function aY(){let{banner:e}=aF();if(!e.text)return null;let t=`try{if(localStorage.getItem(${JSON.stringify(e.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tP.jsxs)("div",{className:(0,I.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,tP.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:aq(e.text)}),e.dismissible&&(0,tP.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(e.key,"0")}catch(e){}document.body.classList.add("nextra-banner-hidden")},children:(0,tP.jsx)(Z.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function aQ({activePath:e}){return(0,tP.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:e.map((t,n)=>{let r=!t.children||t.withIndexPage,i=n===e.length-1;return(0,tP.jsxs)(R.Fragment,{children:[n>0&&(0,tP.jsx)(Z.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-whitespace-nowrap nx-transition-colors",i?"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",r&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:t.title,children:r&&!i?(0,tP.jsx)(aV,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function aJ({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,R.useRef)(null),a=(0,R.useRef)(null),o=(0,R.useRef)(0),s=(0,R.useRef)(n),l=(0,R.useRef)(!0);return(0,R.useEffect)(()=>{let e=i.current,t=a.current,s=o.current;s&&clearTimeout(s),!l.current&&e&&t&&(e.classList.toggle("nx-duration-500",!n),e.classList.toggle("nx-duration-300",n),r?(t.style.width=`${t.clientWidth}px`,e.style.width=`${t.clientWidth}px`):e.style.height=`${t.clientHeight}px`,n?o.current=window.setTimeout(()=>{e.style.removeProperty("height")},300):setTimeout(()=>{r?e.style.width="0px":e.style.height="0px"},0))},[r,n]),(0,R.useEffect)(()=>{l.current=!1},[]),(0,tP.jsx)("div",{ref:i,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:s.current||r?void 0:{height:0},children:(0,tP.jsx)("div",{ref:a,className:(0,I.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",n?"nx-opacity-100":"nx-opacity-0",t),children:e})})}var aX=(0,R.memo)(function({value:e,match:t}){let n;if(!e)return null;let r=e.split(""),i=RegExp((function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})(t.trim()).replaceAll(/\s+/g,"|"),"ig"),a=0,o=[];for(;n=i.exec(e);)if(n.index===i.lastIndex)i.lastIndex++;else{let e=r.splice(0,n.index-a).join(""),t=r.splice(0,i.lastIndex-n.index).join("");o.push(e,(0,tP.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tP.jsxs)(tP.Fragment,{children:[o,r.join("")]})}),a0=(0,R.forwardRef)((e,t)=>{var{className:n,suffix:r}=e,i=aj(e,["className","suffix"]);return(0,tP.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,tP.jsx)("input",ak({ref:t,spellCheck:!1,className:(0,I.Z)(n,"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")},i)),r]})});a0.displayName="Input";var a1=["input","select","button","textarea"];function a2({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,R.useState)(!1),c=aF(),[d,f]=(0,R.useState)(0),p=(0,N.useRouter)(),{setMenu:h}=aZ(),m=(0,R.useRef)(null),x=(0,R.useRef)(null),[g,v]=(0,R.useState)(!1),[y,b]=(0,R.useState)(!0);(0,R.useEffect)(()=>{f(0)},[n]),(0,R.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||a1.includes(n)||null!=t&&t.isContentEditable||("/"===e.key||"k"===e.key&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),m.current.focus({preventScroll:!0})):"Escape"===e.key&&(u(!1),m.current.blur()))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let w=(0,R.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),h(!1)},[r,h]),k=(0,R.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),_=(0,R.useCallback)(function(e){var t,n,r;switch(e.key){case"ArrowDown":if(d+1 a`);n&&(e.preventDefault(),k({currentTarget:n}),n.focus())}break;case"ArrowUp":if(d-1>=0){let t=null==(n=x.current)?void 0:n.querySelector(`li:nth-of-type(${d}) > a`);t&&(e.preventDefault(),k({currentTarget:t}),t.focus())}break;case"Enter":{let e=s[d];e&&y&&(p.push(e.route),w());break}case"Escape":u(!1),null==(r=m.current)||r.blur()}},[d,s,p,w,k,y]),j=A(),E=l&&!!n,O=(0,tP.jsx)(ir,{show:j&&(!l||!!n),as:R.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,tP.jsx)("kbd",{className:(0,I.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",n?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:n?"Clear":void 0,onClick:()=>{r("")},children:n&&g?"ESC":j&&(navigator.userAgent.includes("Macintosh")?(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),T=(0,R.useCallback)(e=>{b("compositionend"===e.type)},[]);return(0,tP.jsxs)("div",{className:(0,I.Z)("nextra-search nx-relative md:nx-w-64",e),children:[E&&(0,tP.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tP.jsx)(a0,{ref:m,value:n,onChange:e=>{let{value:t}=e.target;r(t),u(!!t)},onFocus:()=>{null==i||i(!0),v(!0)},onBlur:()=>{v(!1)},onCompositionStart:T,onCompositionEnd:T,type:"search",placeholder:aK(c.search.placeholder),onKeyDown:_,suffix:O}),(0,tP.jsx)(ir,{show:E,as:ir.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)("ul",{className:(0,I.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",t),ref:x,style:{transition:"max-height .2s ease"},children:o?(0,tP.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,tP.jsx)(Z.AV,{className:"nx-h-5 nx-w-5"}),aK(c.search.error)]}):a?(0,tP.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,tP.jsx)(Z.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),aq(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tP.jsxs)(R.Fragment,{children:[t,(0,tP.jsx)("li",{className:(0,I.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",i===d?"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,tP.jsx)(aV,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:e,"data-index":i,onFocus:k,onMouseMove:k,onClick:w,onKeyDown:_,children:n})})]},r)):aq(c.search.emptyResult)})})]})}var a4={},a3=new Map,a5=(e,t)=>{let n=e+"@"+t;if(a3.has(n))return a3.get(n);let r=a6(e,t);return a3.set(n,r),r},a6=(e,t)=>aE(void 0,null,function*(){let n=yield fetch(`${e}/_next/static/chunks/nextra-data-${t}.json`),r=yield n.json(),i=new rP.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),a=new rP.Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),o=0;for(let[e,t]of Object.entries(r)){let n="";for(let[r,i]of(++o,Object.entries(t.data))){let[s,l]=r.split("#"),u=e+(s?"#"+s:""),c=l||t.title,d=i.split("\n");a.add(ak({id:u,url:u,title:c,pageId:`page_${o}`,content:c},d[0]&&{display:d[0]}));for(let e=0;e{var n,r;if(!e)return;let[i,a]=a4[t],o=(null==(n=i.search(e,5,{enrich:!0,suggest:!0})[0])?void 0:n.result)||[],s=[],u={};for(let t=0;te._page_rk===t._page_rk?e._section_rk-t._section_rk:u[e._page_rk]!==u[t._page_rk]?u[t._page_rk]-u[e._page_rk]:e._page_rk-t._page_rk).map(e=>({id:`${e._page_rk}_${e._section_rk}`,route:e.route,prefix:e.prefix,children:e.children})))},f=(0,R.useCallback)(e=>aE(this,null,function*(){if(e&&!a4[t]){i(!0);try{yield a5(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]);return(0,tP.jsx)(a2,{loading:r,error:a,value:u,onChange:e=>aE(this,null,function*(){if(c(e),!r){if(!a4[t]){i(!0);try{yield a5(n,t)}catch(e){o(!0)}i(!1)}d(e)}}),onActive:f,className:e,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:s})}function a9({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=function(e){let t=(0,R.useRef)(null),n=(0,R.useRef)(null),r=(0,R.useRef)(),i=(0,R.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=nY(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,R.useMemo)(()=>[e=>{t.current=e,i()},e=>{n.current=e,i()}],[t,n,i])}({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:e}){e.styles.popper.minWidth=`${e.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,tP.jsx)(iZ,{value:t,onChange:n,children:({open:n})=>(0,tP.jsxs)(iZ.Button,{ref:a,title:r,className:(0,I.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",n?"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",i),children:[t.name,(0,tP.jsx)(a8,{children:(0,tP.jsx)(ir,{ref:o,show:n,as:iZ.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:e.map(e=>(0,tP.jsxs)(iZ.Option,{value:e,className:({active:e})=>(0,I.Z)(e?"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:[e.name,e.key===t.key&&(0,tP.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tP.jsx)(Z.nQ,{})})]},e.key))})})]})})}function a8(e){return A()?(0,iD.createPortal)(e.children,document.body):null}function oe({lite:e,className:t}){let n=aF(),{locale:r,asPath:i}=(0,N.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tP.jsx)(a9,{title:"Change language",className:t,onChange:e=>{let t=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${e.key}; expires=${t.toUTCString()}; path=/`,location.href=(0,ii.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tP.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tP.jsx)(Z.n9,{}),(0,tP.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function ot(){var e;let t=aF(),{resolvedTheme:n}=t$(),r=A(),i="function"==typeof t.head?t.head({}):t.head,{primaryHue:a,primarySaturation:o}=t,{dark:s,light:l}="number"==typeof a?{dark:a,light:a}:a,{dark:u,light:c}="number"==typeof o?{dark:o,light:o}:o,d=t.frontMatter;return(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(iK,ak({title:t.title,description:d.description,canonical:d.canonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tP.jsxs)(iF(),{children:[t.faviconGlyph?(0,tP.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${t.faviconGlyph}`}):null,r?(0,tP.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tP.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tP.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tP.jsx)("style",{children:` - :root { - --nextra-primary-hue: ${l}deg; - --nextra-primary-saturation: ${c}%; - --nextra-navbar-height: 4rem; - --nextra-menu-height: 3.75rem; - --nextra-banner-height: 2.5rem; - } - - .dark { - --nextra-primary-hue: ${s}deg; - --nextra-primary-saturation: ${u}%; - } - `}),i]})]})}var on={link:(0,I.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,I.Z)("nx-inline nx-h-5 nx-shrink-0")},or=({flatDirectories:e,currentIndex:t})=>{let n=aF().navigation,r="boolean"==typeof n?{prev:n,next:n}:n,i=r.prev&&e[t-1],a=r.next&&e[t+1];return(i&&!i.isUnderCurrentDocsTree&&(i=!1),a&&!a.isUnderCurrentDocsTree&&(a=!1),i||a)?(0,tP.jsxs)("div",{className:(0,I.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:[i&&(0,tP.jsxs)(aV,{href:i.route,title:i.title,className:(0,I.Z)(on.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tP.jsx)(Z.LZ,{className:(0,I.Z)(on.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tP.jsxs)(aV,{href:a.route,title:a.title,className:(0,I.Z)(on.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:[a.title,(0,tP.jsx)(Z.LZ,{className:(0,I.Z)(on.icon,"rtl:nx-rotate-180")})]})]}):null},oi={link:(0,I.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,I.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,I.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function oa({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tP.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tP.jsxs)(i7,{children:[(0,tP.jsx)(i7.Button,{className:(0,I.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",oi.inactive),children:n}),(0,tP.jsx)(ir,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tP.jsx)(i7.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(r||{}).map(([e,n])=>{var r;return(0,tP.jsx)(i7.Item,{children:(0,tP.jsx)(aV,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,I.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:n.newWindow,children:n.title||e})},e)})})})]})})}var oo=Object.create(null),os=(0,R.createContext)(null),ol=(0,R.createContext)(null),ou=(0,R.createContext)(0),oc=(0,R.memo)(function(e){let t=(0,R.useContext)(ou);return(0,tP.jsx)(ou.Provider,{value:t+1,children:(0,tP.jsx)(of,ak({},e))})}),od={link:(0,I.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,I.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,I.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,I.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,I.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 of({item:e,anchors:t}){let[n]=P().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,R.useContext)(os),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,R.useContext)(ou),{setMenu:l}=aZ(),u=aF(),{theme:c}=e,d=void 0===oo[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s{u.sidebar.autoCollapse?i&&o?oo[e.route]=!0:delete oo[e.route]:(i||o)&&(oo[e.route]=!0)},[i,o,e.route,u.sidebar.autoCollapse]),"menu"===e.type){let t=Object.fromEntries((e.children||[]).map(e=>[e.name,e]));e.children=Object.entries(e.items||{}).map(([n,r])=>{let i=t[n]||a_(ak({name:n},"locale"in e&&{locale:e.locale}),{route:e.route+"/"+n});return ak(ak({},i),r)})}let p="withIndexPage"in e&&e.withIndexPage,h=p?aV:"button";return(0,tP.jsxs)("li",{className:(0,I.Z)({open:d,active:r}),children:[(0,tP.jsxs)(h,{href:p?e.route:void 0,className:(0,I.Z)("nx-items-center nx-justify-between nx-gap-2",!p&&"nx-text-left nx-w-full",od.link,r?od.active:od.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),p){r||n?oo[e.route]=!d:(oo[e.route]=!0,l(!1)),f({});return}r||(oo[e.route]=!d,f({}))},children:[aq(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tP.jsx)(Z.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,I.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tP.jsx)(aJ,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tP.jsx)(om,{className:(0,I.Z)(od.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function op({title:e}){let t=aF();return(0,tP.jsx)("li",{className:(0,I.Z)("[word-break:break-word]",e?"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:e?aq(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tP.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function oh({item:e,anchors:t}){let n=P(),r=(0,R.useContext)(ol),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=aR(),{setMenu:o}=aZ(),s=aF();return"separator"===e.type?(0,tP.jsx)(op,{title:e.title}):(0,tP.jsxs)("li",{className:(0,I.Z)(od.list,{active:i}),children:[(0,tP.jsx)(aV,{href:e.href||e.route,newWindow:e.newWindow,className:(0,I.Z)(od.link,i?od.active:od.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:aq(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tP.jsx)("ul",{className:(0,I.Z)(od.list,od.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tP.jsx)("li",{children:(0,tP.jsx)("a",{href:`#${e}`,className:(0,I.Z)(od.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?od.active:od.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function om({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tP.jsx)("ul",{className:(0,I.Z)(od.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tP.jsx)(oc,{item:e,anchors:t},e.name):(0,tP.jsx)(oh,{item:e,anchors:t},e.name):null)})}function ox({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPopover:r=!1,headings:i,includePlaceholder:a}){let o=aF(),{menu:s,setMenu:l}=aZ(),u=(0,N.useRouter)(),[c,d]=(0,R.useState)(null),[f,p]=(0,R.useState)(!0),[h,m]=(0,R.useState)(!1),x=(0,R.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,R.useRef)(null),v=(0,R.useRef)(null),y=A();(0,R.useEffect)(()=>{s?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[s]),(0,R.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{aa(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,R.useEffect)(()=>{l(!1)},[u.asPath,l]);let b=o.i18n.length>0,w=o.darkMode||b||o.sidebar.toggleButton;return(0,tP.jsxs)(tP.Fragment,{children:[a&&r?(0,tP.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tP.jsx)("div",{className:(0,I.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",s?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>l(!1)}),(0,tP.jsxs)("aside",{className:(0,I.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",f?"md:nx-w-64":"md:nx-w-20",r?"md:nx-hidden":"md:nx-sticky md:nx-self-start",s?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:v,children:[(0,tP.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:aq(o.search.component,{directories:t})}),(0,tP.jsx)(os.Provider,{value:c,children:(0,tP.jsx)(ol.Provider,{value:e=>{d(e)},children:(0,tP.jsxs)("div",{className:(0,I.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))]",f?"nextra-scrollbar":"no-scrollbar"),ref:g,children:[(!r||!f)&&(0,tP.jsx)(aJ,{isOpen:f,horizontal:!0,children:(0,tP.jsx)(om,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),y&&window.innerWidth<768&&(0,tP.jsx)(om,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),w&&(0,tP.jsxs)("div",{className:(0,I.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",f?(0,I.Z)(b&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":h?f?"show":"hide":"off",children:[(0,tP.jsx)(oe,{lite:!f,className:(0,I.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tP.jsx)("div",{className:f&&!b?"nx-grow nx-flex nx-flex-col":"",children:aq(o.themeSwitch.component,{lite:!f||b})}),o.sidebar.toggleButton&&(0,tP.jsx)("button",{title:f?"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:()=>{p(!f),m(!0)},children:(0,tP.jsx)(Z.Qq,{isOpen:f})})]})]})]})}var og="reach-skip-nav";(0,R.forwardRef)(function(e,t){var{className:n,id:r,label:i="Skip to content",styled:a}=e,o=aj(e,["className","id","label","styled"]);let s=void 0===n?a?(0,I.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"):"":n;return(0,tP.jsx)("a",a_(ak({},o),{ref:t,href:`#${r||og}`,className:s,"data-reach-skip-link":"",children:i}))}).displayName="SkipNavLink";var ov=(0,R.forwardRef)(function(e,t){var{id:n}=e,r=aj(e,["id"]);return(0,tP.jsx)("div",a_(ak({},r),{ref:t,id:n||og}))});ov.displayName="SkipNavContent";var oy=tI.strictObject({light:tI.string(),dark:tI.string(),system:tI.string()});function ob(){window.scrollTo({top:0,behavior:"smooth"})}function ow({className:e}){let t=(0,R.useRef)(null);return(0,R.useEffect)(()=>{function e(){var e;let{scrollTop:n}=document.documentElement;null==(e=t.current)||e.classList.toggle("nx-opacity-0",n<300)}return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,tP.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:ob,className:(0,I.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tP.jsx)(Z.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var ok=(0,I.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 o_({className:e,directories:t}){let[n,r]=(0,R.useState)(""),i=(0,R.useMemo)(()=>n?ac(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tP.jsx)(aX,{value:t,match:n})})):[],[n,t]);return(0,tP.jsx)(a2,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var oj="en-US",oE="undefined"!=typeof window;function oO(e){return"function"==typeof e}var oT=tI.array(tI.strictObject({direction:tI.enum(["ltr","rtl"]).optional(),locale:tI.string(),text:tI.string()})),oC=[function(e){return null==e||"string"==typeof e||oO(e)||(0,R.isValidElement)(e)},{message:"Must be React.ReactNode or React.FC"}],oS=[oO,{message:"Must be React.FC"}];tI.strictObject({banner:tI.strictObject({dismissible:tI.boolean(),key:tI.string(),text:tI.custom(...oC).optional()}),chat:tI.strictObject({icon:tI.custom(...oC),link:tI.string().startsWith("https://").optional()}),components:tI.record(tI.custom(...oS)).optional(),darkMode:tI.boolean(),direction:tI.enum(["ltr","rtl"]),docsRepositoryBase:tI.string().startsWith("https://"),editLink:tI.strictObject({component:tI.custom(...oS).or(tI.null()),text:tI.custom(...oC)}),faviconGlyph:tI.string().optional(),feedback:tI.strictObject({content:tI.custom(...oC),labels:tI.string(),useLink:tI.function().returns(tI.string())}),footer:tI.strictObject({component:tI.custom(...oC),text:tI.custom(...oC)}),gitTimestamp:tI.custom(...oC),head:tI.custom(...oC),i18n:oT,logo:tI.custom(...oC),logoLink:tI.boolean().or(tI.string()),main:tI.custom(...oS).optional(),navbar:tI.strictObject({component:tI.custom(...oC),extraContent:tI.custom(...oC).optional()}),navigation:tI.boolean().or(tI.strictObject({next:tI.boolean(),prev:tI.boolean()})),nextThemes:tI.strictObject({defaultTheme:tI.string(),forcedTheme:tI.string().optional(),storageKey:tI.string()}),notFound:tI.strictObject({content:tI.custom(...oC),labels:tI.string()}),primaryHue:tI.number().or(tI.strictObject({dark:tI.number(),light:tI.number()})),primarySaturation:tI.number().or(tI.strictObject({dark:tI.number(),light:tI.number()})),project:tI.strictObject({icon:tI.custom(...oC),link:tI.string().startsWith("https://").optional()}),search:tI.strictObject({component:tI.custom(...oC),emptyResult:tI.custom(...oC),error:tI.string().or(tI.function().returns(tI.string())),loading:tI.custom(...oC),placeholder:tI.string().or(tI.function().returns(tI.string()))}),serverSideError:tI.strictObject({content:tI.custom(...oC),labels:tI.string()}),sidebar:tI.strictObject({autoCollapse:tI.boolean().optional(),defaultMenuCollapseLevel:tI.number().min(1).int(),titleComponent:tI.custom(...oC),toggleButton:tI.boolean()}),themeSwitch:tI.strictObject({component:tI.custom(...oC),useOptions:oy.or(tI.function().returns(oy))}),toc:tI.strictObject({backToTop:tI.boolean(),component:tI.custom(...oC),extraContent:tI.custom(...oC),float:tI.boolean(),headingComponent:tI.custom(...oS).optional(),title:tI.custom(...oC)}),useNextSeoProps:tI.custom(oO)}).deepPartial().extend({i18n:oT.optional()});var oN={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},oR={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},oI={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(Z.D7,{}),(0,tP.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:e,filePath:t,children:n}){let r=function(e=""){let t=aF(),n=t3()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}(t);return r?(0,tP.jsx)(aV,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=aF();return aB({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:function({menu:e}){let t=aF();return(0,tP.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,tP.jsxs)("div",{className:(0,I.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",e&&(t.i18n.length>0||t.darkMode)?"nx-flex":"nx-hidden"),children:[(0,tP.jsx)(oe,{}),t.darkMode&&aq(t.themeSwitch.component)]}),(0,tP.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tP.jsx)("div",{className:(0,I.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:aq(t.footer.text)})]})},text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=oj}=(0,N.useRouter)();return(0,tP.jsxs)(tP.Fragment,{children:["Last updated on"," ",(0,tP.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tP.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tP.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tP.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tP.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tP.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tP.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:e,items:t}){let n=aF(),r=P(),{menu:i,setMenu:a}=aZ();return(0,tP.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,tP.jsx)("div",{className:(0,I.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,tP.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:[n.logoLink?(0,tP.jsx)(aV,{href:"string"==typeof n.logoLink?n.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:aq(n.logo)}):(0,tP.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:aq(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type)return(0,tP.jsxs)(oa,{className:(0,I.Z)(oi.link,"nx-flex nx-gap-1",oi.inactive),menu:e,children:[e.title,(0,tP.jsx)(Z.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"})]},e.title);let t=e.href||e.route||"#";e.children&&(t=(e.withIndexPage?e.route:e.firstChildRoute)||t);let n=e.route===r||r.startsWith(e.route+"/");return(0,tP.jsxs)(aV,{href:t,className:(0,I.Z)(oi.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!n||e.newWindow?oi.inactive:oi.active),newWindow:e.newWindow,"aria-current":!e.newWindow&&n,children:[(0,tP.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:e.title}),(0,tP.jsx)("span",{className:"nx-invisible nx-font-medium",children:e.title})]},t)}),aq(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tP.jsx)(aV,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:aq(n.project.icon)}):null,n.chat.link?(0,tP.jsx)(aV,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:aq(n.chat.icon)}):null,aq(n.navbar.extraContent),(0,tP.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:()=>a(!i),children:(0,tP.jsx)(Z.Oq,{className:(0,I.Z)({open:i})})})]})]})}},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,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)(Z.fy,{}),(0,tP.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return aF().flexsearch?(0,tP.jsx)(a7,{className:e}):(0,tP.jsx)(o_,{className:e,directories:t})},emptyResult:(0,tP.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:e,defaultLocale:t=oj}=(0,N.useRouter)(),n=e&&oN[e]||oN[t];return(0,tP.jsxs)(tP.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=oj}=(0,N.useRouter)(),n=e&&oR[e]||oR[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tP.jsx)(tP.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:function({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=t$(),a=A(),o=aF().themeSwitch,s=a&&"dark"===r?Z.kL:Z.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tP.jsx)(a9,{className:t,title:"Change theme",options:[{key:"light",name:l.light},{key:"dark",name:l.dark},{key:"system",name:l.system}],onChange:e=>{n(e.key)},selected:{key:i,name:(0,tP.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tP.jsx)(s,{}),(0,tP.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})},useOptions(){let{locale:e}=(0,N.useRouter)();return"zh-CN"===e?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:function({headings:e,filePath:t}){var n;let r=aR(),i=aF(),a=(0,R.useRef)(null),o=(0,R.useMemo)(()=>e.filter(e=>e.depth>1),[e]),s=o.length>0,l=!!(i.feedback.content||i.editLink.component||i.toc.extraContent),u=null==(n=Object.entries(r).find(([,{isActive:e}])=>e))?void 0:n[0];return(0,R.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&aa(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tP.jsxs)("div",{ref:a,className:(0,I.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:[s&&(0,tP.jsxs)(tP.Fragment,{children:[(0,tP.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:aq(i.toc.title)}),(0,tP.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tP.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tP.jsx)("a",{href:`#${e}`,className:(0,I.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"}[n],"nx-inline-block",(null==(a=r[e])?void 0:a.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!=(l=null==(s=(o=i.toc).headingComponent)?void 0:s.call(o,{id:e,children:t}))?l:t})},e)})})]}),l&&(0,tP.jsxs)("div",{className:(0,I.Z)(s&&"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:[i.feedback.content?(0,tP.jsx)(aV,{className:ok,href:i.feedback.useLink(),newWindow:!0,children:aq(i.feedback.content)}):null,aq(i.editLink.component,{filePath:t,className:ok,children:aq(i.editLink.text)}),aq(i.toc.extraContent),i.toc.backToTop&&(0,tP.jsx)(ow,{className:ok})]})]})},float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},oA=Object.entries(oI).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,R.isValidElement)(t))return e}).filter(Boolean);if(oE){let e;window.addEventListener("resize",()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)})}function oL(e){var{tag:t,context:n,children:r,id:i,className:a}=e,o=aj(e,["tag","context","children","id","className"]);let s=aI(),l=aL(),u=aA(),c=(0,R.useRef)(null);return(0,R.useEffect)(()=>{if(!i)return;let e=c.current;if(e)return l.set(e,[i,n.index+=1]),null==u||u.observe(e),()=>{null==u||u.disconnect(),l.delete(e),s(e=>{let t=ak({},e);return delete t[i],t})}},[i,n,l,u,s]),(0,tP.jsxs)(t,a_(ak({className:"sr-only"===a?"nx-sr-only":(0,I.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"}[t])},o),{children:[r,i&&(0,tP.jsx)("a",{href:`#${i}`,id:i,className:"subheading-anchor","aria-label":"Permalink for this section",ref:c})]}))}var oP=e=>{let t=null,n=[];return R.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===oZ){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==oM&&"props"in e&&e.props){let n=oP(e.props.children);t=n[0],a=(0,R.cloneElement)(e,a_(ak({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},oM=e=>{var{children:t,open:n}=e,r=aj(e,["children","open"]);let[i,a]=(0,R.useState)(!!n),[o,s]=oP(t),[l,u]=(0,R.useState)(i);return(0,R.useEffect)(()=>{if(i)u(!0);else{let e=setTimeout(()=>u(i),500);return()=>clearTimeout(e)}},[i]),(0,tP.jsxs)("details",a_(ak(a_(ak({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"},r),{open:l}),i&&{"data-expanded":!0}),{children:[(0,tP.jsx)(aH,{value:a,children:o}),(0,tP.jsx)(aJ,{isOpen:i,children:s})]}))},oZ=e=>{let t=aW();return(0,tP.jsx)("summary",a_(ak({className:(0,I.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")},e),{onClick:e=>{e.preventDefault(),t(e=>!e)}}))},oD=/https?:\/\//,oz=e=>{var{href:t="",className:n}=e,r=aj(e,["href","className"]);return(0,tP.jsx)(aV,ak({href:t,newWindow:oD.test(t),className:(0,I.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",n)},r))},oF=e=>{var{href:t=""}=e,n=aj(e,["href"]);return(0,tP.jsx)(aV,ak({href:t,newWindow:oD.test(t)},n))},o$=({isRawLayout:e,components:t})=>{if(e)return{a:oF};let n={index:0};return ak({h1:e=>(0,tP.jsx)("h1",ak({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},e)),h2:e=>(0,tP.jsx)(oL,ak({tag:"h2",context:n},e)),h3:e=>(0,tP.jsx)(oL,ak({tag:"h3",context:n},e)),h4:e=>(0,tP.jsx)(oL,ak({tag:"h4",context:n},e)),h5:e=>(0,tP.jsx)(oL,ak({tag:"h5",context:n},e)),h6:e=>(0,tP.jsx)(oL,ak({tag:"h6",context:n},e)),ul:e=>(0,tP.jsx)("ul",ak({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),ol:e=>(0,tP.jsx)("ol",ak({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),li:e=>(0,tP.jsx)("li",ak({className:"nx-my-2"},e)),blockquote:e=>(0,tP.jsx)("blockquote",ak({className:(0,I.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")},e)),hr:e=>(0,tP.jsx)("hr",ak({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"},e)),a:oz,table:e=>(0,tP.jsx)(ah.iA,ak({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tP.jsx)("p",ak({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:ah.Tr,th:ah.Th,td:ah.Td,details:oM,summary:oZ,pre:ah.SU,code:ah.EK},t)},oU={toc:(0,I.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,I.Z)("nx-w-full nx-break-words")},oW=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=aF(),s=A();if("raw"===e.layout)return(0,tP.jsx)("div",{className:oU.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tP.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:aq(o.gitTimestamp,{timestamp:l})}):(0,tP.jsx)("div",{className:"nx-mt-16"}),c=(0,tP.jsxs)(tP.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tP.jsx)("article",{className:(0,I.Z)(oU.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:d}):(0,tP.jsx)("article",{className:(0,I.Z)(oU.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"===e.typesetting&&"nextra-body-typesetting-article"),children:(0,tP.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:[t,d]})})},oH=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=aF(),{locale:s=oj,defaultLocale:l}=(0,N.useRouter)(),u=P(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:p,topLevelNavbarItems:h,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,R.useMemo)(()=>(function e({list:t,locale:n,defaultLocale:r,route:i,docsRoot:a="",underCurrentDocsRoot:o=!1,pageThemeContext:s=tK}){let l,u;for(let e of t)if("Meta"===e.kind){if(e.locale===n){l=e.data;break}l||(l=e.data)}let c=l||{},d=Object.keys(c);for(let e of d)"string"==typeof c[e]&&(c[e]={title:c[e]});let f=[],p=[],h=[],m=[],x=[],g=0,v=s,y=[],b=-1,w=c["*"]||{};delete w.title,delete w.href;let k=t.filter(e=>"Meta"!==e.kind&&!e.name.startsWith("_")&&(!("locale"in e)||!e.locale||[n,r].includes(e.locale))).sort((e,t)=>{let n=d.indexOf(e.name),r=d.indexOf(t.name);return -1===n&&-1===r?e.name{let t;let n=[],r=d.indexOf(e.name);if(-1!==r){for(let e=b+1;e({...l,type:_,...T&&{title:T},...b&&{display:b},...O&&{children:[]}}),S=C(),N=C(),R=C();if(N.isUnderCurrentDocsTree=E,"separator"===_&&(S.isUnderCurrentDocsTree=E),l.route===i)switch(y=[S],u=_,v={...v,...j},_){case"page":case"menu":g=x.length;break;case"doc":g=m.length}if(!("hidden"===b&&"Folder"!==S.kind||L.hV.has(l.route))){if(O){if(void 0!==O.activeIndex&&void 0!==O.activeType){switch(v=O.activeThemeContext,u=O.activeType,y=[S,...O.activePath],u){case"page":case"menu":g=x.length+O.activeIndex;break;case"doc":g=m.length+O.activeIndex}l.withIndexPage&&"doc"===_&&g++}switch(_){case"page":case"menu":R.children.push(...O.directories),h.push(...O.docsDirectories),O.flatDirectories.length?(R.firstChildRoute=function e(t){for(let n of t){if(n.route)return n.route;if(n.children){let t=e(n.children);if(t)return t}}}(O.flatDirectories),x.push(R)):R.withIndexPage&&x.push(R);break;case"doc":Array.isArray(N.children)&&N.children.push(...O.docsDirectories),S.withIndexPage&&"children"!==b&&m.push(N)}p.push(...O.flatDirectories),m.push(...O.flatDocsDirectories),Array.isArray(S.children)&&S.children.push(...O.directories)}else switch(p.push(S),_){case"page":case"menu":x.push(R);break;case"doc":m.push(N)}switch("doc"===_&&"children"===b?N.children&&(f.push(...N.children),h.push(...N.children)):f.push(S),_){case"page":case"menu":h.push(R);break;case"doc":"children"!==b&&h.push(N);break;case"separator":h.push(S)}}}return{activeType:u,activeIndex:g,activeThemeContext:v,activePath:y,directories:f,flatDirectories:p,docsDirectories:h,flatDocsDirectories:m,topLevelNavbarItems:x}})({list:t,locale:s,defaultLocale:l,route:u}),[t,s,l,u]),y=ak(ak({},f),n),b=!y.sidebar||"raw"===y.layout||"page"===c,w="page"!==c&&y.toc&&"default"===y.layout?(0,tP.jsx)("nav",{className:(0,I.Z)(oU.toc,"nx-px-4"),"aria-label":"table of contents",children:aq(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==y.layout&&"raw"!==y.layout&&(0,tP.jsx)("nav",{className:oU.toc,"aria-label":"table of contents"}),k=o.i18n.find(e=>e.locale===s),_=(k?"rtl"===k.direction:"rtl"===o.direction)?"rtl":"ltr";return(0,tP.jsxs)("div",{dir:_,children:[(0,tP.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${_}')`}}),(0,tP.jsx)(ot,{}),(0,tP.jsx)(aY,{}),y.navbar&&aq(o.navbar.component,{flatDirectories:x,items:h}),(0,tP.jsx)("div",{className:(0,I.Z)("nx-mx-auto nx-flex","raw"!==y.layout&&"nx-max-w-[90rem]"),children:(0,tP.jsxs)(aP,{children:[(0,tP.jsx)(ox,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:b,includePlaceholder:"default"===y.layout}),w,(0,tP.jsx)(ov,{}),(0,tP.jsx)(oW,{themeContext:y,breadcrumb:"page"!==c&&y.breadcrumb?(0,tP.jsx)(aQ,{activePath:p}):null,timestamp:i,navigation:"page"!==c&&y.pagination?(0,tP.jsx)(or,{flatDirectories:g,currentIndex:d}):null,children:(0,tP.jsx)(M.Z,{components:o$({isRawLayout:"raw"===y.layout,components:o.components}),children:a})})]})}),y.footer&&aq(o.footer.component,{menu:b})]})};function oG(e){var{children:t}=e,n=aj(e,["children"]);return(0,tP.jsx)(a$,{value:n,children:(0,tP.jsx)(oH,a_(ak({},n.pageOpts),{children:t}))})}},9013:function(e,t,n){"use strict";n.d(t,{UW:function(){return f},EK:function(){return m},SU:function(){return x},OK:function(){return q},iA:function(){return Q},mQ:function(){return K},Td:function(){return Y},Th:function(){return J},Tr:function(){return X}});var r,i,a,o=n(512),s=n(5893),l=({children:e,className:t,...n})=>(0,s.jsx)("button",{className:(0,o.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",t),...n,children:e}),u=n(4861),c={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,s.jsx)(u.AV,{className:"nx-mt-1"}),warning:"⚠️"},d={default:(0,o.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,o.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,o.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,o.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 f({children:e,type:t="default",emoji:n=c[t]}){return(0,s.jsxs)("div",{className:(0,o.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",d[t]),children:[(0,s.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:n}),(0,s.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:e})]})}var p=n(7294),h=({getValue:e,...t})=>{let[n,r]=(0,p.useState)(!1);(0,p.useEffect)(()=>{if(!n)return;let e=setTimeout(()=>{r(!1)},2e3);return()=>{clearTimeout(e)}},[n]);let i=(0,p.useCallback)(async()=>{r(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(e())}catch{console.error("Failed to copy!")}},[e]),a=n?u.nQ:u.TI;return(0,s.jsx)(l,{onClick:i,title:"Copy code",tabIndex:0,...t,children:(0,s.jsx)(a,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},m=({children:e,className:t,...n})=>(0,s.jsx)("code",{className:(0,o.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","data-line-numbers"in n&&"[counter-reset:line]",t),dir:"ltr",...n,children:e}),x=({children:e,className:t,hasCopyCode:n,filename:r,...i})=>{let a=(0,p.useRef)(null),c=(0,p.useCallback)(()=>{let e=document.documentElement.dataset;"nextraWordWrap"in e?delete e.nextraWordWrap:e.nextraWordWrap=""},[]);return(0,s.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[r&&(0,s.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:r}),(0,s.jsx)("pre",{className:(0,o.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",r?"nx-pt-12 nx-pb-4":"nx-py-4",t),ref:a,...i,children:e}),(0,s.jsxs)("div",{className:(0,o.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",r?"nx-top-8":"nx-top-0"),children:[(0,s.jsx)(l,{onClick:c,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,s.jsx)(u.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),n&&(0,s.jsx)(h,{getValue:()=>a.current?.querySelector("code")?.textContent||""})]})]})},g=n(1363),v=n(3781),y=n(9946),b=n(6723),w=n(3855),k=n(4157),_=n(3784),j=n(4879),E=n(6045);function O({onFocus:e}){let[t,n]=(0,p.useState)(!0),r=(0,j.t)();return t?p.createElement(E._,{as:"button",type:"button",features:E.A.Focusable,onFocus:t=>{t.preventDefault();let i,a=50;i=requestAnimationFrame(function t(){if(a--<=0){i&&cancelAnimationFrame(i);return}if(e()){if(cancelAnimationFrame(i),!r.current)return;n(!1);return}i=requestAnimationFrame(t)})}}):null}var T=n(4575),C=n(2984),S=n(1021),N=n(5466),R=n(2351);let I=p.createContext(null);function A({children:e}){let t=p.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let i=null!=(n=r.get(t))?n:0;return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return p.createElement(I.Provider,{value:t},e)}function L(e){let t=p.useContext(I);if(!t)throw Error("You must wrap your component in a ");let n=function(){var e,t,n;let r=null!=(n=null==(t=null==(e=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!r)return Symbol();let i=[],a=r;for(;a;)i.push(a.index),a=a.return;return"$."+i.join(".")}(),[r,i]=t.current.get(e,n);return p.useEffect(()=>i,[]),r}var P=((r=P||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),M=((i=M||{})[i.Less=-1]="Less",i[i.Equal=0]="Equal",i[i.Greater=1]="Greater",i),Z=((a=Z||{})[a.SetSelectedIndex=0]="SetSelectedIndex",a[a.RegisterTab=1]="RegisterTab",a[a.UnregisterTab=2]="UnregisterTab",a[a.RegisterPanel=3]="RegisterPanel",a[a.UnregisterPanel=4]="UnregisterPanel",a);let D={0(e,t){var n;let r=(0,T.z2)(e.tabs,e=>e.current),i=(0,T.z2)(e.panels,e=>e.current),a=r.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),o={...e,tabs:r,panels:i};if(t.index<0||t.index>r.length-1){let n=(0,C.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,C.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===a.length)return o;let i=(0,C.E)(n,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});return{...o,selectedIndex:-1===i?e.selectedIndex:i}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find(e=>a.includes(e));if(!l)return o;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return -1===u&&(u=e.selectedIndex),{...o,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,T.z2)([...e.tabs,t.tab],e=>e.current),i=e.selectedIndex;return e.info.current.isControlled||-1===(i=r.indexOf(n))&&(i=e.selectedIndex),{...e,tabs:r,selectedIndex:i}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,T.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},z=(0,p.createContext)(null);function F(e){let t=(0,p.useContext)(z);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,F),t}return t}z.displayName="TabsDataContext";let $=(0,p.createContext)(null);function U(e){let t=(0,p.useContext)($);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,U),t}return t}function W(e,t){return(0,C.E)(t.type,D,e,t)}$.displayName="TabsActionsContext";let H=p.Fragment,G=R.AN.RenderStrategy|R.AN.Static,V=Object.assign((0,R.yV)(function(e,t){var n,r;let i=(0,y.M)(),{id:a=`headlessui-tabs-tab-${i}`,...o}=e,{orientation:s,activation:l,selectedIndex:u,tabs:c,panels:d}=F("Tab"),f=U("Tab"),h=F("Tab"),m=(0,p.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>f.registerTab(m),[f,m]);let w=L("tabs"),j=c.indexOf(m);-1===j&&(j=w);let E=j===u,O=(0,v.z)(e=>{var t;let n=e();if(n===T.fE.Success&&"auto"===l){let e=null==(t=(0,N.r)(m))?void 0:t.activeElement,n=h.tabs.findIndex(t=>t.current===e);-1!==n&&f.change(n)}return n}),I=(0,v.z)(e=>{let t=c.map(e=>e.current).filter(Boolean);if(e.key===g.R.Space||e.key===g.R.Enter){e.preventDefault(),e.stopPropagation(),f.change(j);return}switch(e.key){case g.R.Home:case g.R.PageUp:return e.preventDefault(),e.stopPropagation(),O(()=>(0,T.jA)(t,T.TO.First));case g.R.End:case g.R.PageDown:return e.preventDefault(),e.stopPropagation(),O(()=>(0,T.jA)(t,T.TO.Last))}if(O(()=>(0,C.E)(s,{vertical:()=>e.key===g.R.ArrowUp?(0,T.jA)(t,T.TO.Previous|T.TO.WrapAround):e.key===g.R.ArrowDown?(0,T.jA)(t,T.TO.Next|T.TO.WrapAround):T.fE.Error,horizontal:()=>e.key===g.R.ArrowLeft?(0,T.jA)(t,T.TO.Previous|T.TO.WrapAround):e.key===g.R.ArrowRight?(0,T.jA)(t,T.TO.Next|T.TO.WrapAround):T.fE.Error}))===T.fE.Success)return e.preventDefault()}),A=(0,p.useRef)(!1),P=(0,v.z)(()=>{var e;A.current||(A.current=!0,null==(e=m.current)||e.focus({preventScroll:!0}),f.change(j),(0,S.Y)(()=>{A.current=!1}))}),M=(0,v.z)(e=>{e.preventDefault()}),Z=(0,p.useMemo)(()=>{var t;return{selected:E,disabled:null!=(t=e.disabled)&&t}},[E,e.disabled]),D={ref:x,onKeyDown:I,onMouseDown:M,onClick:P,id:a,role:"tab",type:(0,k.f)(e,m),"aria-controls":null==(r=null==(n=d[j])?void 0:n.current)?void 0:r.id,"aria-selected":E,tabIndex:E?0:-1};return(0,R.sY)({ourProps:D,theirProps:o,slot:Z,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,R.yV)(function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:i=!1,onChange:a,selectedIndex:o=null,...s}=e,l=r?"vertical":"horizontal",u=i?"manual":"auto",c=null!==o,d=(0,w.E)({isControlled:c}),f=(0,_.T)(t),[h,m]=(0,p.useReducer)(W,{info:d,selectedIndex:null!=o?o:n,tabs:[],panels:[]}),x=(0,p.useMemo)(()=>({selectedIndex:h.selectedIndex}),[h.selectedIndex]),g=(0,w.E)(a||(()=>{})),y=(0,w.E)(h.tabs),k=(0,p.useMemo)(()=>({orientation:l,activation:u,...h}),[l,u,h]),j=(0,v.z)(e=>(m({type:1,tab:e}),()=>m({type:2,tab:e}))),E=(0,v.z)(e=>(m({type:3,panel:e}),()=>m({type:4,panel:e}))),C=(0,v.z)(e=>{S.current!==e&&g.current(e),c||m({type:0,index:e})}),S=(0,w.E)(c?e.selectedIndex:h.selectedIndex),N=(0,p.useMemo)(()=>({registerTab:j,registerPanel:E,change:C}),[]);return(0,b.e)(()=>{m({type:0,index:null!=o?o:n})},[o]),(0,b.e)(()=>{if(void 0===S.current||h.tabs.length<=0)return;let e=(0,T.z2)(h.tabs,e=>e.current);e.some((e,t)=>h.tabs[t]!==e)&&C(e.indexOf(h.tabs[S.current]))}),p.createElement(A,null,p.createElement($.Provider,{value:N},p.createElement(z.Provider,{value:k},k.tabs.length<=0&&p.createElement(O,{onFocus:()=>{var e,t;for(let n of y.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),(0,R.sY)({ourProps:{ref:f},theirProps:s,slot:x,defaultTag:H,name:"Tabs"}))))}),List:(0,R.yV)(function(e,t){let{orientation:n,selectedIndex:r}=F("Tab.List"),i=(0,_.T)(t);return(0,R.sY)({ourProps:{ref:i,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,R.yV)(function(e,t){let{selectedIndex:n}=F("Tab.Panels"),r=(0,_.T)(t),i=(0,p.useMemo)(()=>({selectedIndex:n}),[n]);return(0,R.sY)({ourProps:{ref:r},theirProps:e,slot:i,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,R.yV)(function(e,t){var n,r,i,a;let o=(0,y.M)(),{id:s=`headlessui-tabs-panel-${o}`,tabIndex:l=0,...u}=e,{selectedIndex:c,tabs:d,panels:f}=F("Tab.Panel"),h=U("Tab.Panel"),m=(0,p.useRef)(null),x=(0,_.T)(m,t);(0,b.e)(()=>h.registerPanel(m),[h,m,s]);let g=L("panels"),v=f.indexOf(m);-1===v&&(v=g);let w=v===c,k=(0,p.useMemo)(()=>({selected:w}),[w]),j={ref:x,id:s,role:"tabpanel","aria-labelledby":null==(r=null==(n=d[v])?void 0:n.current)?void 0:r.id,tabIndex:w?l:-1};return w||null!=(i=u.unmount)&&!i||null!=(a=u.static)&&a?(0,R.sY)({ourProps:j,theirProps:u,slot:k,defaultTag:"div",features:G,visible:w,name:"Tabs.Panel"}):p.createElement(E._,{as:"span","aria-hidden":"true",...j})})});function B(e){return!!e&&"object"==typeof e&&"label"in e}function q({children:e,...t}){return(0,s.jsx)(V.Panel,{...t,className:"nx-rounded nx-pt-6",children:e})}var K=Object.assign(function({items:e,selectedIndex:t,defaultIndex:n=0,onChange:r,children:i,storageKey:a}){let[l,u]=(0,p.useState)(n);(0,p.useEffect)(()=>{void 0!==t&&u(t)},[t]),(0,p.useEffect)(()=>{if(!a)return;function e(e){e.key===a&&u(Number(e.newValue))}let t=Number(localStorage.getItem(a));return u(Number.isNaN(t)?0:t),window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[]);let c=(0,p.useCallback)(e=>{if(a){let t=String(e);localStorage.setItem(a,t),window.dispatchEvent(new StorageEvent("storage",{key:a,newValue:t}));return}u(e),r?.(e)},[]);return(0,s.jsxs)(V.Group,{selectedIndex:l,defaultIndex:n,onChange:c,children:[(0,s.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,s.jsx)(V.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:e.map((e,t)=>{let n=B(e)&&e.disabled;return(0,s.jsx)(V,{disabled:n,className:({selected:e})=>(0,o.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",e?"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",n&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:B(e)?e.label:e},t)})})}),(0,s.jsx)(V.Panels,{children:i})]})},{displayName:"Tabs",Tab:q}),Y=({className:e="",...t})=>(0,s.jsx)("td",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",e),...t}),Q=({className:e="",...t})=>(0,s.jsx)("table",{className:(0,o.Z)("nx-block nx-overflow-x-scroll",e),...t}),J=({className:e="",...t})=>(0,s.jsx)("th",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",e),...t}),X=({className:e="",...t})=>(0,s.jsx)("tr",{className:(0,o.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",e),...t}),ee=n(1664),et=n.n(ee),en={cards:(0,o.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,o.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,o.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},er=(0,s.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:e,num:t=3,className:n,style:r,...i}){return(0,s.jsx)("div",{className:(0,o.Z)(en.cards,n),...i,style:{...r,"--rows":t},children:e})},{displayName:"Cards",Card:function({children:e,title:t,icon:n,image:r,arrow:i,href:a,...l}){let u=i?er:null;return r?(0,s.jsxs)(et(),{href:a,className:(0,o.Z)(en.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"),...l,children:[e,(0,s.jsxs)("span",{className:(0,o.Z)(en.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[n,(0,s.jsxs)("span",{className:"nx-flex nx-gap-1",children:[t,u]})]})]}):(0,s.jsx)(et(),{href:a,className:(0,o.Z)(en.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"),...l,children:(0,s.jsxs)("span",{className:(0,o.Z)(en.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[n,t,u]})})}});var ei=(0,p.createContext)(0);function ea(){return(0,p.useContext)(ei)}function eo(){let e=ea();return(0,s.jsx)(s.Fragment,{children:Array.from({length:e},(e,t)=>(0,s.jsx)("span",{className:"nx-w-5"},t))})}var es=(0,p.memo)(({label:e,name:t,open:n,children:r,defaultOpen:i=!1,onToggle:a})=>{let o=ea(),[l,u]=(0,p.useState)(i),c=(0,p.useCallback)(()=>{a?.(!l),u(!l)},[l,a]),d=void 0===n?l:n;return(0,s.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,s.jsxs)("button",{onClick:c,title:t,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,s.jsx)(eo,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:d?"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,s.jsx)("span",{className:"nx-ml-1",children:e??t})]}),d&&(0,s.jsx)("ul",{children:(0,s.jsx)(ei.Provider,{value:o+1,children:r})})]})});es.displayName="Folder";var el=(0,p.memo)(({label:e,name:t,active:n})=>(0,s.jsx)("li",{className:(0,o.Z)("nx-flex nx-list-none",n&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,s.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,s.jsx)(eo,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.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,s.jsx)("span",{className:"nx-ml-1",children:e??t})]})}));el.displayName="File",Object.assign(function({children:e}){return(0,s.jsx)("div",{className:(0,o.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,s.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:e})})},{Folder:es,File:el})},4861:function(e,t,n){"use strict";n.d(t,{LZ:function(){return i},nQ:function(){return a},TI:function(){return o},D7:function(){return s},Qq:function(){return l},fy:function(){return u},n9:function(){return c},AV:function(){return d},Oq:function(){return f},kL:function(){return p},L4:function(){return h},NW:function(){return m},NK:function(){return x},b0:function(){return g}});var r=n(5893);function i({pathClassName:e,...t}){return(0,r.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...t,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:e})})}function a(e){return(0,r.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...e,children:(0,r.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 o(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.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 s(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...e,children:[(0,r.jsx)("title",{children:"Discord"}),(0,r.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 l({isOpen:e,...t}){return(0,r.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...t,children:[(0,r.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:e?"":"nx-origin-[35%] nx-rotate-180"}),(0,r.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 u(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...e,children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.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 c(e){return(0,r.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...e,children:(0,r.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 d(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...e,children:(0,r.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 f(e){return(0,r.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:[(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function p(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.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 h(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...e,children:[(0,r.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.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 m(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.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 x(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...e,children:(0,r.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 g(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...e,children:(0,r.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(e,t,n){"use strict";n.d(t,{Z:function(){return s},a:function(){return d}});var r=n(7294);let i=r.createContext({});function a(e){let t=r.useContext(i);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let o={};function s({components:e,children:t,disableParentContext:n}){let s;return s=n?"function"==typeof e?e({}):e||o:a(e),r.createElement(i.Provider,{value:s},t)}var l=n(5675),u=n.n(l),c={img:e=>(0,r.createElement)("object"==typeof e.src?u():"img",e)},d=e=>a({...c,...e})},2673:function(e,t,n){"use strict";n.d(t,{j:function(){return v}});var r,i=n(9208),a=n.n(i),o=n(7222),s=n(7294);n(2746),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),n(2643);var l=n(5893),u=(0,s.createContext)(!1),c=n(1163);function d({__nextra_pageMap:e,__nextra_dynamic_opts:t,...n}){let{context:r,Layout:i}=function(){let e=globalThis[o.eZ],{route:t}=(0,c.useRouter)();(0,s.useState)({})[1];let n=e.context[t];if(!n)throw Error("No content found for the current route. This is a Nextra bug.");return{context:n,Layout:e.Layout}}(),{Content:a,...d}=r;if(e&&(d.pageOpts={...d.pageOpts,pageMap:e}),t){let{headings:e,title:n,frontMatter:r}=JSON.parse(t);d.pageOpts={...d.pageOpts,headings:e,title:n,frontMatter:r}}return(0,l.jsx)(i,{...d,pageProps:n,children:(0,l.jsx)(u.Provider,{value:n,children:(0,l.jsx)(a,{...n})})})}var f=n(2520),p=n(3859),h=n(2891);function m(e){return h(e.replaceAll(/[-_]/g," "))}function x(e){return!!e&&"object"==typeof e&&"folder"===e.type}function g(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>{if(x(t)){let n=e.replace("/","");return[n,t.title||m(n)]}return[e,t||m(e)]}))}function v({pageNextRoute:e,pageOpts:t,nextraLayout:n,themeConfig:i,MDXContent:s,hot:l,pageOptsChecksum:u,dynamicMetaModules:c=[]}){var h;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let e=JSON.parse(JSON.stringify(m.pageMap));return await Promise.all(c.map(async([t,{metaObjectKeyPath:n,metaParentKeyPath:r}])=>{let i=await t,o=await i.default(),s=a()(e,n);s.data=o,function e(t,n,r=!0){if(r){e(t,{kind:"Meta",data:n.data,locale:n.locale},!1),n.data=g(n.data);return}for(let[r,a]of Object.entries(n.data)){if(!x(a)){var i;if("*"===r)continue;t.children.push({kind:"MdxPage",...n.locale&&{locale:n.locale},name:r,route:(i=t.route,p(f.join(i,r.replace(/^index$/,""))))});continue}let o=r.replace("/",""),s={kind:"Folder",name:o,route:`${t.route}/${o}`,children:[{kind:"Meta",...n.locale&&{locale:n.locale},data:g(a.items)}]};t.children.push(s),e(s,{kind:"Meta",data:a.items,locale:n.locale},!1)}}(a()(e,r),s)})),r=e});let m=globalThis[h=o.eZ]||(globalThis[h]=Object.create(null));return t.pageMap?(m.pageMap=t.pageMap,m.Layout=n):(t={...t,pageMap:m.pageMap,flexsearch:m.flexsearch},i=m.themeConfig),t={frontMatter:{},...t},m.route=t.route,m.context||(m.context=Object.create(null)),m.context[e]={Content:s,pageOpts:t,themeConfig:i},d}},6008:function(e,t,n){"use strict";var r=n(2337);e.exports=function(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var n=new URL(e);t.protocols=r(n),t.protocol=t.protocols[0],t.port=n.port,t.resource=n.hostname,t.host=n.host,t.user=n.username||"",t.password=n.password||"",t.pathname=n.pathname,t.hash=n.hash.slice(1),t.search=n.search.slice(1),t.href=n.href,t.query=Object.fromEntries(n.searchParams)}catch(n){t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}},3905:function(e,t,n){"use strict";var r=n(6008),i=r&&"object"==typeof r&&"default"in r?r:{default:r};let a=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),o=(e,{stripHash:t})=>{let n=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!n)throw Error(`Invalid URL: ${e}`);let{type:r,data:i,hash:a}=n.groups,o=r.split(";");a=t?"":a;let s=!1;"base64"===o[o.length-1]&&(o.pop(),s=!0);let l=(o.shift()||"").toLowerCase(),u=[...o.map(e=>{let[t,n=""]=e.split("=").map(e=>e.trim());return"charset"===t&&"us-ascii"===(n=n.toLowerCase())?"":`${t}${n?`=${n}`:""}`}).filter(Boolean)];return s&&u.push("base64"),(u.length>0||l&&"text/plain"!==l)&&u.unshift(l),`data:${u.join(";")},${s?i.trim():i}${a?`#${a}`:""}`},s=(e,t=!1)=>{let n=t=>{let n=Error(t);throw n.subject_url=e,n};"string"==typeof e&&e.trim()||n("Invalid url."),e.length>s.MAX_INPUT_LENGTH&&n("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&("object"!=typeof t&&(t={stripHash:!1}),e=function(e,t){if(t={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,...t},e=e.trim(),/^data:/i.test(e))return o(e,t);if(/^view-source:/i.test(e))throw Error("`view-source:` is not supported as it is a non-standard protocol");let n=e.startsWith("//");!n&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let r=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===r.protocol&&(r.protocol="http:"),t.forceHttps&&"http:"===r.protocol&&(r.protocol="https:"),t.stripAuthentication&&(r.username="",r.password=""),t.stripHash?r.hash="":t.stripTextFragment&&(r.hash=r.hash.replace(/#?:~:text.*?$/i,"")),r.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,n="";for(;;){let i=e.exec(r.pathname);if(!i)break;let a=i[0],o=i.index;n+=r.pathname.slice(t,o).replace(/\/{2,}/g,"/")+a,t=o+a.length}n+=r.pathname.slice(t,r.pathname.length).replace(/\/{2,}/g,"/"),r.pathname=n}if(r.pathname)try{r.pathname=decodeURI(r.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=r.pathname.split("/");a(e[e.length-1],t.removeDirectoryIndex)&&(e=e.slice(0,-1),r.pathname=e.slice(1).join("/")+"/")}if(r.hostname&&(r.hostname=r.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(r.hostname)&&(r.hostname=r.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...r.searchParams.keys()])a(e,t.removeQueryParameters)&&r.searchParams.delete(e);if(!0===t.removeQueryParameters&&(r.search=""),t.sortQueryParameters){r.searchParams.sort();try{r.search=decodeURIComponent(r.search)}catch{}}t.removeTrailingSlash&&(r.pathname=r.pathname.replace(/\/$/,""));let i=e;return e=r.toString(),t.removeSingleSlash||"/"!==r.pathname||i.endsWith("/")||""!==r.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===r.pathname)&&""===r.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),n&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}(e,t));let r=i.default(e);if(r.parse_failed){let e=r.href.match(/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/);e?(r.protocols=["ssh"],r.protocol="ssh",r.resource=e[2],r.host=e[2],r.user=e[1],r.pathname=`/${e[3]}`,r.parse_failed=!1):n("URL parsing failed.")}return r};s.MAX_INPUT_LENGTH=2048,e.exports=s},2520:function(e,t,n){"use strict";var r=n(4155),i="win32"===r.platform,a=n(9539);function o(e,t){for(var n=[],r=0;r=0&&!e[r];r--);return 0===n&&r===t?e:n>r?[]:e.slice(n,r+1)}var l=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,u=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,c={};function d(e){var t=l.exec(e),n=(t[1]||"")+(t[2]||""),r=t[3]||"",i=u.exec(r);return[n,i[1],i[2],i[3]]}function f(e){var t=l.exec(e),n=t[1]||"",r=!!n&&":"!==n[1];return{device:n,isUnc:r,isAbsolute:r||!!t[2],tail:t[3]}}function p(e){return"\\\\"+e.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}c.resolve=function(){for(var e="",t="",n=!1,i=arguments.length-1;i>=-1;i--){if(i>=0?s=arguments[i]:e?(s=r.env["="+e])&&s.substr(0,3).toLowerCase()===e.toLowerCase()+"\\"||(s=e+"\\"):s=r.cwd(),a.isString(s)){if(!s)continue}else throw TypeError("Arguments to path.resolve must be strings");var s,l=f(s),u=l.device,c=l.isUnc,d=l.isAbsolute,h=l.tail;if((!u||!e||u.toLowerCase()===e.toLowerCase())&&(e||(e=u),n||(t=h+"\\"+t,n=d),e&&n))break}return c&&(e=p(e)),t=o(t.split(/[\\\/]+/),!n).join("\\"),e+(n?"\\":"")+t||"."},c.normalize=function(e){var t=f(e),n=t.device,r=t.isUnc,i=t.isAbsolute,a=t.tail,s=/[\\\/]$/.test(a);return(a=o(a.split(/[\\\/]+/),!i).join("\\"))||i||(a="."),a&&s&&(a+="\\"),r&&(n=p(n)),n+(i?"\\":"")+a},c.isAbsolute=function(e){return f(e).isAbsolute},c.join=function(){for(var e=[],t=0;t=-1&&!t;n--){var i=n>=0?arguments[n]:r.cwd();if(a.isString(i)){if(!i)continue}else throw TypeError("Arguments to path.resolve must be strings");e=i+"/"+e,t="/"===i[0]}return e=o(e.split("/"),!t).join("/"),(t?"/":"")+e||"."},m.normalize=function(e){var t=m.isAbsolute(e),n=e&&"/"===e[e.length-1];return(e=o(e.split("/"),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},m.isAbsolute=function(e){return"/"===e.charAt(0)},m.join=function(){for(var e="",t=0;t1)for(var n=1;n{let t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},2891:function(e,t,n){let r=n(1439),i=n(7224),a="[^\\s'’\\(\\)!?;:\"-]",o=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),s=e=>e.map(e=>[RegExp(`\\b${e}\\b`,"gi"),e]);e.exports=(e,t={})=>(e=e.toLowerCase().replace(o,(e,t="",n,i,a,o,s)=>{let l=e.length+o>=s.length,u=function(e){let t=e[0];return/\s/.test(t)?e.slice(1):/[\(\)]/.test(t)?null:e}(e);return u?!n&&r.has(i+a)&&!l?u:t+(i||n).toUpperCase()+a:e}),s([...i,...t.special||[]]).forEach(([t,n])=>{e=e.replace(t,n)}),e)},1439:function(e){e.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(e){e.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(e){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},384:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},9539:function(e,t,n){var r,i=n(4155),a=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],n=0;n=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),l=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),c(r,e,r.depth)}function l(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function u(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&_(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i,a,o,s,l,u=n.inspect(r,e);return g(u)||(u=c(e,u,r)),u}var b=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return x(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):m(t)?e.stylize("null","null"):void 0}(e,n);if(b)return b;var j=Object.keys(n),E=(s={},j.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(j=Object.getOwnPropertyNames(n)),k(n)&&(j.indexOf("message")>=0||j.indexOf("description")>=0))return d(n);if(0===j.length){if(_(n)){var O=n.name?": "+n.name:"";return e.stylize("[Function"+O+"]","special")}if(y(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return d(n)}var C="",S=!1,N=["{","}"];return(p(n)&&(S=!0,N=["[","]"]),_(n)&&(C=" [Function"+(n.name?": "+n.name:"")+"]"),y(n)&&(C=" "+RegExp.prototype.toString.call(n)),w(n)&&(C=" "+Date.prototype.toUTCString.call(n)),k(n)&&(C=" "+d(n)),0!==j.length||S&&0!=n.length)?r<0?y(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=S?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;o=0&&o++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?a[0]+(""===i?"":i+"\n ")+" "+l.join(",\n ")+" "+a[1]:a[0]+i+" "+l.join(", ")+" "+a[1]):N[0]+C+N[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,n,r,i,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),T(r,i)||(o="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=m(n)?c(e,l.value,null):c(e,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),v(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function x(e){return"number"==typeof e}function g(e){return"string"==typeof e}function v(e){return void 0===e}function y(e){return b(e)&&"[object RegExp]"===j(e)}function b(e){return"object"==typeof e&&null!==e}function w(e){return b(e)&&"[object Date]"===j(e)}function k(e){return b(e)&&("[object Error]"===j(e)||e instanceof Error)}function _(e){return"function"==typeof e}function j(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(v(r)&&(r=i.env.NODE_DEBUG||""),!o[e=e.toUpperCase()]){if(RegExp("\\b"+e+"\\b","i").test(r)){var n=i.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else o[e]=function(){}}return o[e]},t.inspect=s,s.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]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=x,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=y,t.isObject=b,t.isDate=w,t.isError=k,t.isFunction=_,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(384);var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(n=[E((e=new Date).getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":"),[e.getDate(),O[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(1496),t._extend=function(e,t){if(!t||!b(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}},2746:function(e,t,n){n(5893)},1363:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},3781:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(7294),i=n(3855);let a=function(e){let t=(0,i.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},9946:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(7294),a=n(7896),o=n(6723),s=n(2180);let l=null!=(r=i.useId)?r:function(){let e=(0,s.H)(),[t,n]=i.useState(e?()=>a.O.nextId():null);return(0,o.e)(()=>{null===t&&n(a.O.nextId())},[t]),null!=t?""+t:void 0}},4879:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(7294),i=n(6723);function a(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},6723:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(7294),i=n(7896);let a=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7294),i=n(6723);function a(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},4157:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7294),i=n(6723);function a(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function o(e,t){let[n,o]=(0,r.useState)(()=>a(e));return(0,i.e)(()=>{o(a(e))},[e.type,e.as]),(0,i.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}},2180:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r,i=n(7294),a=n(7896);function o(){let e;let t=(e="undefined"==typeof document,(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[o,s]=i.useState(a.O.isHandoffComplete);return o&&!1===a.O.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==o&&s(!0)},[o]),i.useEffect(()=>a.O.handoff(),[]),!t&&o}},3784:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7294),i=n(3781);let a=Symbol();function o(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[a]))?void 0:n}},6045:function(e,t,n){"use strict";n.d(t,{A:function(){return a},_:function(){return o}});var r,i=n(2351),a=((r=a||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let o=(0,i.yV)(function(e,t){var n;let{features:r=1,...a}=e,o={ref:t,"aria-hidden":(2&r)==2||(null!=(n=a["aria-hidden"])?n:void 0),hidden:(4&r)==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&r)==4&&(2&r)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:o,theirProps:a,slot:{},defaultTag:"div",name:"Hidden"})})},4067:function(e,t,n){"use strict";function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},9362:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){let t={current:!0};return(0,r.Y)(()=>{t.current&&e[0]()}),n.add(()=>{t.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}});var r=n(1021)},7896:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class o{constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}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}}let s=new o},4575:function(e,t,n){"use strict";n.d(t,{EO:function(){return w},TO:function(){return f},fE:function(){return p},jA:function(){return k},sP:function(){return g},tJ:function(){return x},wI:function(){return v},z2:function(){return b}});var r,i,a,o,s,l=n(9362),u=n(2984),c=n(5466);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),p=((i=p||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),h=((a=h||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);function m(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var x=((o=x||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function g(e,t=0){var n;return e!==(null==(n=(0,c.r)(e))?void 0:n.body)&&(0,u.E)(t,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function v(e){let t=(0,c.r)(e);(0,l.k)().nextFrame(()=>{t&&!g(t.activeElement,0)&&(null==e||e.focus({preventScroll:!0}))})}var y=((s=y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function b(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function w(e,t){return k(m(),t,{relativeTo:e})}function k(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){var a,o,s;let l=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?b(e):e:m(e);i.length>0&&u.length>1&&(u=u.filter(e=>!i.includes(e))),r=null!=r?r:l.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,h=u.length,x;do{if(p>=h||p+h<=0)return 0;let e=d+p;if(16&t)e=(e+h)%h;else{if(e<0)return 3;if(e>=h)return 1}null==(x=u[e])||x.focus(f),p+=c}while(x!==l.activeElement);return 6&t&&null!=(s=null==(o=null==(a=x)?void 0:a.matches)?void 0:o.call(a,"textarea,input"))&&s&&x.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},2984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},1021:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},5466:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(7896);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},2351:function(e,t,n){"use strict";n.d(t,{AN:function(){return l},l4:function(){return u},oA:function(){return m},sY:function(){return c},yV:function(){return h}});var r,i,a=n(7294),o=n(4067),s=n(2984),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o,mergeRefs:l}){l=null!=l?l:f;let u=p(t,e);if(a)return d(u,n,r,o,l);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=u;if(e)return d(t,n,r,o,l)}if(1&c){let{unmount:e=!0,...t}=u;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,o,l)})}return d(u,n,r,o,l)}function d(e,t={},n,r,i){let{as:s=n,children:l,refName:u="ref",...c}=x(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},f="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let h={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(h["data-headlessui-state"]=n.join(" "))}if(s===a.Fragment&&Object.keys(m(c)).length>0){if(!(0,a.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(e=>` - ${e}`).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(e=>` - ${e}`).join(` -`)].join(` -`));let e=f.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,o.A)(null==e?void 0:e.className(...t),c.className):(0,o.A)(null==e?void 0:e.className,c.className);return(0,a.cloneElement)(f,Object.assign({},p(f.props,m(x(c,["ref"]))),h,d,{ref:i(f.ref,d.ref)},t?{className:t}:{}))}return(0,a.createElement)(s,Object.assign({},x(c,["ref"]),s!==a.Fragment&&d,s!==a.Fragment&&h),f)}function f(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let i of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...r)}}});return t}function h(e){var t;return Object.assign((0,a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function x(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},512:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",i=arguments.length;n