PageSourceSearch

https://wbips.netlify.app/_next/static/chunks/569-ded0a524c6f7ef14.js

js wbips.netlify.app collected 2026-10-03 11:36:17 UTC 307,499 bytes, 23 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[569],{6304:function(module,__unused_webpack_exports,__webpack_require__){module=__webpack_require__.nmd(module),function _f(self){"use strict";let Y;try{module&&(self=module)}catch(e){}function u(e){return void 0===e||e}function aa(e){let t=Array(e);for(let n=0;n<e;n++)t[n]=v();return t}function v(){return Object.create(null)}function ba(e,t){return t.length-e.length}function x(e){return"string"==typeof e}function C(e){return"object"==typeof e}function D(e){return"function"==typeof e}function ca(e,t){var n=da;if(e&&(t&&(e=E(e,t)),this.H&&(e=E(e,this.H)),this.J&&1<e.length&&(e=E(e,this.J)),n||""===n)&&(e=e.split(n),this.filter)){t=this.filter,n=e.length;let r=[];for(let i=0,a=0;i<n;i++){let n=e[i];n&&!t[n]&&(r[a++]=n)}e=r}return e}self._factory=_f;let da=/[\p{Z}\p{S}\p{P}\p{C}]+/u,ea=/[\u0300-\u036f]/g;function fa(e,t){let n=Object.keys(e),r=n.length,i=[],a="",o=0;for(let s=0,l,u;s<r;s++)(u=e[l=n[s]])?(i[o++]=F(t?"(?!\\b)"+l+"(\\b|_)":l),i[o++]=u):a+=(a?"|":"")+l;return a&&(i[o++]=F(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),i[o]=""),i}function E(e,t){for(let n=0,r=t.length;n<r&&(e=e.replace(t[n],t[n+1]));n+=2);return e}function F(e){return RegExp(e,"g")}function ha(e){let t="",n="";for(let r=0,i=e.length,a;r<i;r++)(a=e[r])!==n&&(t+=n=a);return t}var t,ja={encode:ia,F:!1,G:""};function ia(e){return ca.call(this,(""+e).toLowerCase(),!1)}let ka={},G={};function la(e){I(e,"add"),I(e,"append"),I(e,"search"),I(e,"update"),I(e,"remove")}function I(e,t){e[t+"Async"]=function(){let e;let n=this,r=arguments;var i=r[r.length-1];return D(i)&&(e=i,delete r[r.length-1]),i=new Promise(function(e){setTimeout(function(){n.async=!0;let i=n[t].apply(n,r);n.async=!1,e(i)})}),e?(i.then(e),this):i}}function ma(e,t,n,r){let i=e.length,a=[],o,s,l=0;r&&(r=[]);for(let u=i-1;0<=u;u--){let c=e[u],d=c.length,f=v(),h=!o;for(let e=0;e<d;e++){let d=c[e],p=d.length;if(p)for(let e=0,c,m;e<p;e++)if(m=d[e],o){if(o[m]){if(!u){if(n)n--;else if(a[l++]=m,l===t)return a}(u||r)&&(f[m]=1),h=!0}if(r&&(c=(s[m]||0)+1,s[m]=c,c<i)){let e=r[c-2]||(r[c-2]=[]);e[e.length]=m}}else f[m]=1}if(r)o||(s=f);else if(!h)return[];o=f}if(r)for(let e=r.length-1,i,s;0<=e;e--){s=(i=r[e]).length;for(let e=0,r;e<s;e++)if(!o[r=i[e]]){if(n)n--;else if(a[l++]=r,l===t)return a;o[r]=1}}return a}function na(e,t){let n=v(),r=v(),i=[];for(let t=0;t<e.length;t++)n[e[t]]=1;for(let e=0,a;e<t.length;e++){a=t[e];for(let e=0,t;e<a.length;e++)n[t=a[e]]&&!r[t]&&(r[t]=1,i[i.length]=t)}return i}function J(e){this.l=!0!==e&&e,this.cache=v(),this.h=[]}function oa(e,t,n){C(e)&&(e=e.query);let r=this.cache.get(e);
vendor: 9,666 bytes, line 1
1return r||(r=this.search(e,t,n),this.cache.set(e,r)),r}J.prototype.set=function(e,t){if(!this.cache[e]){var n=this.h.length;for(n===this.l?delete this.cache[this.h[n-1]]:n++,--n;0<n;n--)this.h[n]=this.h[n-1];this.h[0]=e}this.cache[e]=t},J.prototype.get=function(e){let t=this.cache[e];if(this.l&&t&&(e=this.h.indexOf(e))){let t=this.h[e-1];this.h[e-1]=this.h[e],this.h[e]=t}return t};let qa={memory:{charset:"latin:extra",D:3,B:4,m:!1},performance:{D:3,B:3,s:!1,context:{depth:2,D:1}},match:{charset:"latin:extra",G:"reverse"},score:{charset:"latin:advanced",D:20,B:3,context:{depth:3,D:9}},default:{}};function ra(e,t,n,r,i,a,o){setTimeout(function(){let s=e(n?n+"."+r:r,JSON.stringify(o));s&&s.then?s.then(function(){t.export(e,t,n,i,a+1)}):t.export(e,t,n,i,a+1)})}function K(e,t){if(!(this instanceof K))return new K(e);if(e){x(e)?e=qa[e]:(n=e.preset)&&(e=Object.assign({},n[n],e)),n=e.charset;var n,r=e.lang;x(n)&&(-1===n.indexOf(":")&&(n+=":default"),n=G[n]),x(r)&&(r=ka[r])}else e={};let i,a,o=e.context||{};if(this.encode=e.encode||n&&n.encode||ia,this.register=t||v(),this.D=i=e.resolution||9,this.G=t=n&&n.G||e.tokenize||"strict",this.depth="strict"===t&&o.depth,this.l=u(o.bidirectional),this.s=a=u(e.optimize),this.m=u(e.fastupdate),this.B=e.minlength||1,this.C=e.boost,this.map=a?aa(i):v(),this.A=i=o.resolution||1,this.h=a?aa(i):v(),this.F=n&&n.F||e.rtl,this.H=(t=e.matcher||r&&r.H)&&fa(t,!1),this.J=(t=e.stemmer||r&&r.J)&&fa(t,!0),n=t=e.filter||r&&r.filter){n=t,r=v();for(let e=0,t=n.length;e<t;e++)r[n[e]]=1;n=r}this.filter=n,this.cache=(t=e.cache)&&new J(t)}function L(e,t,n,r,i){return n&&1<e?t+(r||0)<=e?n+(i||0):(e-1)/(t+(r||0))*(n+(i||0))+1|0:0}function M(e,t,n,r,i,a,o){let s=o?e.h:e.map;(!t[n]||o&&!t[n][o])&&(e.s&&(s=s[r]),o?((t=t[n]||(t[n]=v()))[o]=1,s=s[o]||(s[o]=v())):t[n]=1,s=s[n]||(s[n]=[]),e.s||(s=s[r]||(s[r]=[])),a&&s.includes(i)||(s[s.length]=i,e.m&&((e=e.register[i]||(e.register[i]=[]))[e.length]=s)))}function sa(e,t,n,r,i,a,o,s){let l=[],u=s?e.h:e.map;if(e.s||(u=ua(u,o,s,e.l)),u){let n=0,c=Math.min(u.length,s?e.A:e.D);for(let t=0,d=0,f,h;t<c&&(!(f=u[t])||(e.s&&(f=ua(f,o,s,e.l)),i&&f&&a&&((h=f.length)<=i?(i-=h,f=null):(f=f.slice(i),i=0)),!f||(l[n++]=f,!a||!((d+=f.length)>=r))));t++);if(n)return a?ta(l,r,0):void(t[t.length]=l)}return!n&&l}function ta(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function ua(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function N(e,t,n,r,i){let a=0;if(e.constructor===Array){if(i)-1!==(t=e.indexOf(t))?1<e.length&&(e.splice(t,1),a++):a++;else{i=Math.min(e.length,n);for(let o=0,s;o<i;o++)(s=e[o])&&(a=N(s,t,n,r,i),r||a||delete e[o])}}else for(let o in e)(a=N(e[o],t,n,r,i))||delete e[o];return a}function va(e){e=e.data;var t=self._index;let n=e.args;var r=e.task;"init"===r?(r=e.options||{},e=e.factory,t=r.encode,r.cache=!1,t&&0===t.indexOf("function")&&(r.encode=Function("return "+t)()),e?(Function("return "+e)()(self),self._index=new self.FlexSearch.Index(r),delete self.FlexSearch):self._index=new K(r)):(e=e.id,t=t[r].apply(t,n),postMessage("search"===r?{id:e,msg:t}:{id:e}))}t=K.prototype,t.append=function(e,t){return this.add(e,t,!0)},t.add=function(e,t,n,r){if(t&&(e||0===e)){if(!r&&!n&&this.register[e])return this.update(e,t);if(r=(t=this.encode(t)).length){let u=v(),c=v(),d=this.depth,f=this.D;for(let h=0;h<r;h++){let p=t[this.F?r-1-h:h];var i=p.length;if(p&&i>=this.B&&(d||!c[p])){var a=L(f,r,h),o="";switch(this.G){case"full":if(2<i){for(a=0;a<i;a++)for(var s=i;s>a;s--)if(s-a>=this.B){var l=L(f,r,h,i,a);M(this,c,o=p.substring(a,s),l,e,n)}break}case"reverse":if(1<i){for(s=i-1;0<s;s--)(o=p[s]+o).length>=this.B&&M(this,c,o,L(f,r,h,i,s),e,n);o=""}case"forward":if(1<i){for(s=0;s<i;s++)(o+=p[s]).length>=this.B&&M(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,p,h)|0,f-1)),M(this,c,p,a,e,n),d&&1<r&&h<r-1){for(i=v(),o=this.A,a=p,s=Math.min(d+1,r-h),i[a]=1,l=1;l<s;l++)if((p=t[this.F?r-1-h-l:h+l])&&p.length>=this.B&&!i[p]){i[p]=1;let t=this.l&&p>a;M(this,u,t?a:p,L(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},t.search=function(e,t,n){let r,i,a;n||(!t&&C(e)?e=(n=e).query:C(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=v();var d=[];for(let t=0,r=0,i;t<s;t++)if((i=e[t])&&i.length>=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<s&&!1!==c,n=0,c?(r=e[0],n=1):1<s&&e.sort(ba);n<s;n++){if(a=e[n],c?(i=sa(this,o,l,t,u,2===s,a,r),l&&!1===i&&o.length||(r=a)):i=sa(this,o,l,t,u,1===s,a),i)return i;if(l&&n===s-1){if(!(d=o.length)){if(c){c=0,n=-1;continue}return o}if(1===d)return ta(o[0],t,u)}}return ma(o,t,u,l)},t.contain=function(e){return!!this.register[e]},t.update=function(e,t){return this.remove(e).add(e,t)},t.remove=function(e,t){let n=this.register[e];if(n){if(this.m)for(let t=0,r;t<n.length;t++)(r=n[t]).splice(r.indexOf(e),1);else N(this.map,e,this.D,this.s),this.depth&&N(this.h,e,this.A,this.s);if(t||delete this.register[e],this.cache){t=this.cache;for(let n=0,r;n<t.h.length;n++)r=t.h[n],t.cache[r].includes(e)&&(t.h.splice(n--,1),delete t.cache[r])}}return this},t.searchCache=oa,t.export=function(e,t,n,r,i){let a,o;switch(i||(i=0)){case 0:if(a="reg",this.m)for(let e in o=v(),this.register)o[e]=1;else o=this.register;break;case 1:a="cfg",o={doc:0,opt:this.s?1:0};break;case 2:a="map",o=this.map;break;case 3:a="ctx",o=this.h;break;default:return}return ra(e,t||this,n,a,r,i,o),!0},t.import=function(e,t){if(t)switch(x(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}},la(K.prototype);let wa=0;function O(e){var t;if(!(this instanceof O))return new O(e);e?D(t=e.encode)&&(e.encode=t.toString()):e={},(t=(self||window)._factory)&&(t=t.toString());let n="undefined"==typeof window&&self.exports,r=this;this.o=xa(t,n,e.worker),this.h=v(),this.o&&(n?this.o.on("message",function(e){r.h[e.id](e.msg),delete r.h[e.id]}):this.o.onmessage=function(e){e=e.data,r.h[e.id](e.msg),delete r.h[e.id]},this.o.postMessage({task:"init",factory:t,options:e}))}function P(e){O.prototype[e]=O.prototype[e+"Async"]=function(){let t;let n=this,r=[].slice.call(arguments);var i=r[r.length-1];return D(i)&&(t=i,r.splice(r.length-1,1)),i=new Promise(function(t){setTimeout(function(){n.h[++wa]=t,n.o.postMessage({task:e,id:wa,args:r})})}),t?(i.then(t),this):i}}function xa(a,b,c){let d;try{d=b?eval('new (require("worker_threads")["Worker"])("../dist/node/node.js")'):a?new Worker(URL.createObjectURL(new Blob(["onmessage="+va.toString()],{type:"text/javascript"}))):new Worker(x(c)?c:"worker/worker.js",{type:"module"})}catch(e){}return d}function Q(e){if(!(this instanceof Q))return new Q(e);var t,n=e.document||e.doc||e;this.K=[],this.h=[],this.A=[],this.register=v(),this.key=(t=n.key||n.id)&&S(t,this.A)||"id",this.m=u(e.fastupdate),this.C=(t=n.store)&&!0!==t&&[],this.store=t&&v(),this.I=(t=n.tag)&&S(t,this.A),this.l=t&&v(),this.cache=(t=e.cache)&&new J(t),e.cache=!1,this.o=e.worker,this.async=!1,t=v();let r=n.index||n.field||n;x(r)&&(r=[r]);for(let n=0,i,a;n<r.length;n++)x(i=r[n])||(a=i,i=i.field),a=C(a)?Object.assign({},e,a):e,this.o&&(t[i]=new O(a),t[i].o||(this.o=!1)),this.o||(t[i]=new K(a,this.register)),this.K[n]=S(i,this.A),this.h[n]=i;if(this.C)for(x(e=n.store)&&(e=[e]),n=0;n<e.length;n++)this.C[n]=S(e[n],this.A);this.index=t}function S(e,t){let n=e.split(":"),r=0;for(let i=0;i<n.length;i++)0<=(e=n[i]).indexOf("[]")&&(e=e.substring(0,e.length-2))&&(t[r]=!0),e&&(n[r++]=e);return r<n.length&&(n.length=r),1<r?n:n[0]}function T(e,t){if(x(t))e=e[t];else for(let n=0;e&&n<t.length;n++)e=e[t[n]];return e}function U(e,t,n,r,i){if(e=e[i],r===n.length-1)t[i]=e;else if(e){if(e.constructor===Array)for(t=t[i]=Array(e.length),i=0;i<e.length;i++)U(e,t,n,r,i);else t=t[i]||(t[i]=v()),i=n[++r],U(e,t,n,r,i)}}function V(e,t,n,r,i,a,o,s){if(e=e[o]){if(r===t.length-1){if(e.constructor===Array){if(n[r]){for(t=0;t<e.length;t++)i.add(a,e[t],!0,!0);return}e=e.join(" ")}i.add(a,e,s,!0)}else if(e.constructor===Array)for(o=0;o<e.length;o++)V(e,t,n,r,i,a,o,s);else o=t[++r],V(e,t,n,r,i,a,o,s)}}function ya(e,t,n,r){let i=this.l[e],a=i&&i.length-n;if(a&&0<a)return(a>t||n)&&(i=i.slice(n,n+t)),r&&(i=za.call(this,i)),{tag:e,result:i}}function za(e){let t=Array(e.length);for(let n=0,r;n<e.length;n++)r=e[n],t[n]={id:r,doc:this.store[r]};return t}P("add"),P("append"),P("search"),P("update"),P("remove"),t=Q.prototype,t.add=function(e,t,n){if(C(e)&&(e=T(t=e,this.key)),t&&(e||0===e)){if(!n&&this.register[e])return this.update(e,t);for(let r=0,i,a;r<this.h.length;r++)a=this.h[r],x(i=this.K[r])&&(i=[i]),V(t,i,this.A,0,this.index[a],e,i[0],n);if(this.I){let r=T(t,this.I),i=v();x(r)&&(r=[r]);for(let t=0,a,o;t<r.length;t++)if(!i[a=r[t]]&&(i[a]=1,o=this.l[a]||(this.l[a]=[]),!n||!o.includes(e))&&(o[o.length]=e,this.m)){let t=this.register[e]||(this.register[e]=[]);t[t.length]=o}}if(this.store&&(!n||!this.store[e])){let n;if(this.C){n=v();for(let e=0,r;e<this.C.length;e++)x(r=this.C[e])?n[r]=t[r]:U(t,n,r,0,r[0])}this.store[e]=n||t}}return this},t.append=function(e,t){return this.add(e,t,!0)},t.update=function(e,t){return this.remove(e).add(e,t)},t.remove=function(e){if(C(e)&&(e=T(e,this.key)),this.register[e]){for(var t=0;t<this.h.length&&(this.index[this.h[t]].remove(e,!this.o),!this.m);t++);if(this.I&&!this.m)for(let n in this.l){let r=(t=this.l[n]).indexOf(e);-1!==r&&(1<t.length?t.splice(r,1):delete this.l[n])}this.store&&delete this.store[e],delete this.register[e]}return this}
1,t.search=function(e,t,n,r){n||(!t&&C(e)?(n=e,e=""):C(t)&&(n=t,t=0));let i=[],a=[],o,s,l,u,c,d,f=0;if(n){if(n.constructor===Array)l=n,n=null;else{if(e=n.query||e,l=(o=n.pluck)||n.index||n.field,u=n.tag,s=this.store&&n.enrich,c="and"===n.bool,t=n.limit||t||100,d=n.offset||0,u&&(x(u)&&(u=[u]),!e)){for(let e=0,n;e<u.length;e++)(n=ya.call(this,u[e],t,d,s))&&(i[i.length]=n,f++);return f?i:[]}x(l)&&(l=[l])}}l||(l=this.h),c=c&&(1<l.length||u&&1<u.length);let h=!r&&(this.o||this.async)&&[];for(let o=0,s,p,m;o<l.length;o++){let g;if(x(p=l[o])||(p=(g=p).field,e=g.query||e,t=g.limit||t),h)h[o]=this.index[p].searchAsync(e,t,g||n);else{if(m=(s=r?r[o]:this.index[p].search(e,t,g||n))&&s.length,u&&m){let e=[],n=0;c&&(e[0]=[s]);for(let t=0,r,i;t<u.length;t++)r=u[t],(m=(i=this.l[r])&&i.length)&&(n++,e[e.length]=c?[i]:i);n&&(m=(s=c?ma(e,t||100,d||0):na(s,e)).length)}if(m)a[f]=p,i[f++]=s;else if(c)return[]}}if(h){let r=this;return new Promise(function(i){Promise.all(h).then(function(a){i(r.search(e,t,n,a))})})}if(!f)return[];if(o&&(!s||!this.store))return i[0];for(let e=0,t;e<a.length;e++){if((t=i[e]).length&&s&&(t=za.call(this,t)),o)return t;i[e]={field:a[e],result:t}}return i},t.contain=function(e){return!!this.register[e]},t.get=function(e){return this.store[e]},t.set=function(e,t){return this.store[e]=t,this},t.searchCache=oa,t.export=function(e,t,n,r,i){if(i||(i=0),r||(r=0),r<this.h.length){let n=this.h[r],a=this.index[n];t=this,setTimeout(function(){a.export(e,t,i?n:"",r,i++)||(r++,i=1,t.export(e,t,n,r,i))})}else{let t,a;switch(i){case 1:t="tag",a=this.l;break;case 2:t="store",a=this.store;break;default:return}ra(e,this,n,t,r,i,a)}},t.import=function(e,t){if(t)switch(x(t)&&(t=JSON.parse(t)),e){case"tag":this.l=t;break;case"reg":this.m=!1,this.register=t;for(let e=0,n;e<this.h.length;e++)(n=this.index[this.h[e]]).register=t,n.m=!1;break;case"store":this.store=t;break;default:let n=(e=e.split("."))[0];e=e[1],n&&e&&this.index[n].import(e,t)}},la(Q.prototype);var Ba={encode:Aa,F:!1,G:""};let Ca=[F("[\xe0\xe1\xe2\xe3\xe4\xe5]"),"a",F("[\xe8\xe9\xea\xeb]"),"e",F("[\xec\xed\xee\xef]"),"i",F("[\xf2\xf3\xf4\xf5\xf6ő]"),"o",F("[\xf9\xfa\xfb\xfcű]"),"u",F("[\xfdŷ\xff]"),"y",F("\xf1"),"n",F("[\xe7c]"),"k",F("\xdf"),"s",F(" & ")," and "];function Aa(e){var t=e=""+e;return t.normalize&&(t=t.normalize("NFD").replace(ea,"")),ca.call(this,t.toLowerCase(),!e.normalize&&Ca)}var Ea={encode:Da,F:!1,G:"strict"};let Fa=/[^a-z0-9]+/,Ga={b:"p",v:"f",w:"f",z:"s",x:"s",ß:"s",d:"t",n:"m",c:"k",g:"k",j:"k",q:"k",i:"e",y:"e",u:"o"};function Da(e){e=Aa.call(this,e).join(" ");let t=[];if(e){let n=e.split(Fa),r=n.length;for(let i=0,a,o=0;i<r;i++)if((e=n[i])&&(!this.filter||!this.filter[e])){let n=Ga[a=e[0]]||a,r=n;for(let t=1;t<e.length;t++){let i=Ga[a=e[t]]||a;i&&i!==r&&(n+=i,r=i)}t[o++]=n}}return t}var Ia={encode:Ha,F:!1,G:""};let Ja=[F("ae"),"a",F("oe"),"o",F("sh"),"s",F("th"),"t",F("ph"),"f",F("pf"),"f",F("(?![aeo])h(?![aeo])"),"",F("(?!^[aeo])h(?!^[aeo])"),""];function Ha(e,t){return e&&(2<(e=Da.call(this,e).join(" ")).length&&(e=E(e,Ja)),t||(1<e.length&&(e=ha(e)),e&&(e=e.split(" ")))),e||[]}var La={encode:Ka,F:!1,G:""};let Ma=F("(?!\\b)[aeo]");function Ka(e){return e&&(1<(e=Ha.call(this,e,!0)).length&&(e=e.replace(Ma,"")),1<e.length&&(e=ha(e)),e&&(e=e.split(" "))),e||[]}G["latin:default"]=ja,G["latin:simple"]=Ba,G["latin:balance"]=Ea,G["latin:advanced"]=Ia,G["latin:extra"]=La;let W=self,Z={Index:K,Document:Q,Worker:O,registerCharset:function(e,t){G[e]=t},registerLanguage:function(e,t){ka[e]=t}};(Y=W.define)&&Y.amd?Y([],function(){return Z}):W.exports?W.exports=Z:W.FlexSearch=Z}(this)},5202:function(){!function(e,t){t()}(0,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){var t=e.type,n=e.tagName;return"INPUT"===n&&!!i[t]&&!e.readOnly||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}function s(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function l(e){e.hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added"))}function u(n){n.metaKey||n.altKey||n.ctrlKey||(a(e.activeElement)&&s(e.activeElement),t=!0)}
1function c(e){t=!1}function d(e){a(e.target)&&(t||o(e.target))&&s(e.target)}function f(e){a(e.target)&&(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),l(e.target))}function h(e){"hidden"===document.visibilityState&&(n&&(t=!0),p())}function p(){document.addEventListener("mousemove",x),document.addEventListener("mousedown",x),document.addEventListener("mouseup",x),document.addEventListener("pointermove",x),document.addEventListener("pointerdown",x),document.addEventListener("pointerup",x),document.addEventListener("touchmove",x),document.addEventListener("touchstart",x),document.addEventListener("touchend",x)}function m(){document.removeEventListener("mousemove",x),document.removeEventListener("mousedown",x),document.removeEventListener("mouseup",x),document.removeEventListener("pointermove",x),document.removeEventListener("pointerdown",x),document.removeEventListener("pointerup",x),document.removeEventListener("touchmove",x),document.removeEventListener("touchstart",x),document.removeEventListener("touchend",x)}function x(e){e.target.nodeName&&"html"===e.target.nodeName.toLowerCase()||(t=!1,m())}document.addEventListener("keydown",u,!0),document.addEventListener("mousedown",c,!0),document.addEventListener("pointerdown",c,!0),document.addEventListener("touchstart",c,!0),document.addEventListener("visibilitychange",h,!0),p(),e.addEventListener("focus",d,!0),e.addEventListener("blur",f,!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);function a(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}e.exports=a},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}/*!
2 * buildToken
3 * Builds OAuth token prefix (helper function)
4 *
5 * @name buildToken
6 * @function
7 * @param {GitUrl} obj The parsed Git url object.
8 * @return {String} token prefix
9 */function a(e){return"bitbucket.org"===e.source?"x-token-auth:"+e.token+"@":e.token+"@"}function o(e){return"bitbucket-server"===e.source?"scm/"+e.full_name:""+e.full_name}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?a(e):e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"")+e.resource+n+"/"+o(e)+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?m(e,n):h(),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):(u(n,"resize",r,!0),u(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),c(e,"resize",r,!0)),c(t,"scroll",r,!0),o&&o.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var s=i(t);s&&this._monitorIntersections(s.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<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():h();
9this._observationTargets.forEach(function(r){var i=r.element,o=f(i),l=this._rootContainsTarget(i),u=r.entry,c=e&&l&&this._computeTargetAndRootIntersection(i,o,t),d=null;this._rootContainsTarget(i)?(!n||this.root)&&(d=t):d=h();var p=r.entry=new a({time:s(),target:i,boundingClientRect:o,rootBounds:d,intersectionRect:c});u?e&&l?this._hasCrossedThreshold(u,p)&&this._queuedEntries.push(p):u&&u.isIntersecting&&this._queuedEntries.push(p):this._queuedEntries.push(p)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(t,i,a){if("none"!=window.getComputedStyle(t).display){for(var o=i,s=g(t),l=!1;!l&&s;){var u=null,c=1==s.nodeType?window.getComputedStyle(s):{};if("none"==c.display)return null;if(s==this.root||9==s.nodeType){if(l=!0,s==this.root||s==e)n&&!this.root?r&&(0!=r.width||0!=r.height)?u=r:(s=null,u=null,o=null):u=a;else{var h=g(s),p=h&&f(h),x=h&&this._computeTargetAndRootIntersection(h,p,a);p&&x?(s=h,u=m(p,x)):(s=null,o=null)}}else{var v=s.ownerDocument;s!=v.body&&s!=v.documentElement&&"visible"!=c.overflow&&(u=f(s))}if(u&&(o=d(u,o)),!o)break;s=s&&g(s)}return o}},o.prototype._getRootRect=function(){var t;if(this.root&&!v(this.root))t=f(this.root);else{var n=v(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;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==n||a==r||a<n!=a<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||x(e,this.root)},o.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return x(n,t)&&(!this.root||n==t.ownerDocument)},o.prototype._registerInstance=function(){0>t.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=p(e.rootBounds),this.boundingClientRect=p(e.boundingClientRect),this.intersectionRect=p(e.intersectionRect||h()),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=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}function u(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),a=Math.min(e.right,t.right),o=a-i,s=r-n;return o>=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}||null}function f(e){var t;try{t=e.getBoundingClientRect()}catch(e){}
9return 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):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(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 m(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 x(e,t){for(var n=t;n;){if(n==e)return!0;n=g(n)}return!1}function g(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 v(e){return e&&9===e.nodeType}}()},9073:function(e,t,n){"use strict";var r=n(2337);function i(e){if(Array.isArray(e))return -1!==e.indexOf("ssh")||-1!==e.indexOf("rsync");if("string"!=typeof e)return!1;var t=r(e);if(e=e.substring(e.indexOf("://")+3),i(t))return!0;var n=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!e.match(n)&&e.indexOf("@")<e.indexOf(":")}e.exports=i},9208:function(e,t,n){var r="Expected a function",i="__lodash_hash_undefined__",a=1/0,o="[object Function]",s="[object GeneratorFunction]",l="[object Symbol]",u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,d=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/[\\^$.*+?()[\]{}|]/g,p=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,x="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,g="object"==typeof self&&self&&self.Object===Object&&self,v=x||g||Function("return this")();function y(e,t){return null==e?void 0:e[t]}function b(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}var w=Array.prototype,_=Function.prototype,k=Object.prototype,j=v["__core-js_shared__"],E=function(){var e=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),O=_.toString,T=k.hasOwnProperty,C=k.toString,S=RegExp("^"+O.call(T).replace(h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=v.Symbol,R=w.splice,I=eo(v,"Map"),A=eo(Object,"create"),L=N?N.prototype:void 0,P=L?L.toString:void 0;function M(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(){this.__data__=A?A(null):{}}function D(e){return this.has(e)&&delete this.__data__[e]}function F(e){var t=this.__data__;if(A){var n=t[e];return n===i?void 0:n}return T.call(t,e)?t[e]:void 0}function z(e){var t=this.__data__;return A?void 0!==t[e]:T.call(t,e)}function $(e,t){return this.__data__[e]=A&&void 0===t?i:t,this}function U(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function W(){this.__data__=[]}function H(e){var t=this.__data__,n=ee(t,e);return!(n<0)&&(n==t.length-1?t.pop():R.call(t,n,1),!0)}function G(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]}function V(e){return ee(this.__data__,e)>-1}function B(e,t){var n=this.__data__,r=ee(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function q(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(){this.__data__={hash:new M,map:new(I||U),string:new M}}function Y(e){return ea(this,e).delete(e)}function Q(e){return ea(this,e).get(e)}function J(e){return ea(this,e).has(e)}function X(e,t){return ea(this,e).set(e,t),this}function ee(e,t){for(var n=e.length;n--;)if(ep(e[n][0],t))return n;return -1}function et(e,t){t=es(t,e)?[t]:ei(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ed(t[n++])];return n&&n==r?e:void 0}function en(e){return!(!eg(e)||eu(e))&&(ex(e)||b(e)?S:m).test(ef(e))}function er(e){if("string"==typeof e)return e;if(ey(e))return P?P.call(e):"";var t=e+"";return"0"==t&&1/e==-a?"-0":t}function ei(e){return em(e)?e:ec(e)}function ea(e,t){var n=e.__data__;return el(t)?n["string"==typeof t?"string":"hash"]:n.map}function eo(e,t){var n=y(e,t);return en(n)?n:void 0}function es(e,t){if(em(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||ey(e))||c.test(e)||!u.test(e)||null!=t&&e in Object(t)}function el(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function eu(e){return!!E&&E in e}M.prototype.clear=Z,M.prototype.delete=D,M.prototype.get=F,M.prototype.has=z,M.prototype.set=$,U.prototype.clear=W,U.prototype.delete=H,U.prototype.get=G,U.prototype.has=V,U.prototype.set=B,q.prototype.clear=K,q.prototype.delete=Y,q.prototype.get=Q,q.prototype.has=J,q.prototype.set=X;var ec=eh(function(e){e=eb(e);var t=[];return d.test(e)&&t.push(""),e.replace(f,function(e,n,r,i){t.push(r?i.replace(p,"$1"):n||e)}),t});function ed(e){if("string"==typeof e||ey(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}function ef(e){if(null!=e){try{return O.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eh(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError(r);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(eh.Cache||q),n}function ep(e,t){return e===t||e!=e&&t!=t}eh.Cache=q;var em=Array.isArray;function ex(e){var t=eg(e)?C.call(e):"";return t==o||t==s}function eg(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ev(e){return!!e&&"object"==typeof e}function ey(e){return"symbol"==typeof e||ev(e)&&C.call(e)==l}function eb(e){return null==e?"":er(e)}
9function ew(e,t,n){var r=null==e?void 0:et(e,t);return void 0===r?n:r}e.exports=ew},3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},6691:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return u},ACTION_NAVIGATE:function(){return a},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return o},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return d}});let i="refresh",a="navigate",o="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(n||(n={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4318:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(8364),("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)},6541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return y}});let r=n(8754),i=n(1757),a=n(5893),o=i._(n(7294)),s=r._(n(3935)),l=r._(n(7828)),u=n(7367),c=n(7903),d=n(4938);n(1997);let f=n(9953),h=r._(n(6663)),p={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:!1};function m(e,t,n,r,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).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:_,sizesInput:k,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,k))},[n,h,y,b,w,E,g,k,t]),onLoad:e=>{m(e.currentTarget,h,y,b,w,g,k)},onError:e=>{_(!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)=>
9e-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,_]=(0,o.useState)(!1),{props:k,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,{...k,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:_,sizesInput:e.sizes,ref:t}),j.priority?(0,a.jsx)(v,{isAppRouter:n,imgAttributes:k}):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 _}});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){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function b(e,t,n,r,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(y(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()}function w(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let _=a.default.forwardRef(function(e,t){let n,r;let{href:s,as:l,children:g,prefetch:y=null,passHref:_,replace:k,shallow:j,scroll:E,locale:O,onClick:T,onMouseEnter:C,onTouchStart:S,legacyBehavior:N=!1,...R}=e;n=g,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!==y,Z=null===y?x.PrefetchKind.AUTO:x.PrefetchKind.FULL,{href:D,as:F}=a.default.useMemo(()=>{if(!I){let e=w(s);return{href:e,as:l?w(l):e}}let[e,t]=(0,o.resolveHref)(I,s,!0);return{href:e,as:l?(0,o.resolveHref)(I,l):t||e}},[I,s,l]),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&&b(e,L,D,F,k,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||_||"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,"__esMo
9dule",{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 c}});let r=n(7294),i=n(3815),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(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}function u(e,t,n){let{id:r,observer:i,elements:a}=l(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)}}}function c(e){let{rootRef:t,rootMargin:n,disabled:o}=e,s=o||!a,[l,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(s||l)return;let e=d.current;if(e&&e.tagName)return u(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!l){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,n,t,l,d.current]),[f,l,(0,r.useCallback)(()=>{c(!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 d}}),n(1997);let r=n(9919),i=n(7903);function a(e){return void 0!==e.default}function o(e){return void 0!==e.src}function s(e){return"object"==typeof e&&(a(e)||o(e))}function l(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 u(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"}}function c(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:c}=u(t,i,o),d=l.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:t,src:n,quality:a,width:l[d]})}}function d(e,t){let n,o,u,{src:d,sizes:f,unoptimized:h=!1,priority:p=!1,loading:m,className:x,quality:g,width:v,height:y,fill:b=!1,style:w,overrideSrc:_,onLoad:k,onLoadingComplete:j,placeholder:E="empty",blurDataURL:O,fetchPriority:T,layout:C,objectFit:S,objectPosition:N,lazyBoundary:R,lazyRoot:I,...A}=e,{imgConf:L,showAltText:P,blurComplete:M,defaultLoader:Z}=t,D=L||i.imageConfigDefault;if("allSizes"in D)n=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,t)=>e-t),t=D.deviceSizes.sort((e,t)=>e-t);n={...D,allSizes:e,deviceSizes:t}}if(void 0===Z)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let F=A.loader||Z;delete A.loader,delete A.srcSet;let z="__next_img_default"in F;if(z){if("custom"===n.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=t=>{let{config:n,...r}=t;return e(r)}}if(C){"fill"===C&&(b=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];t&&(w={...w,...t});let n=e[C];n&&!f&&(f=n)}let $="",U=l(v),W=l(y);if(s(d)){let e=a(d)?d.default:d;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(o=e.blurWidth,u=e.blurHeight,O=O||e.blurDataURL,$=e.src,!b){if(U||W){if(U&&!W){let t=U/e.width;W=Math.round(e.height*t)}else if(!U&&W){let t=W/e.height;U=Math.round(e.width*t)}}else U=e.width,W=e.height}}let H=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:$)||d.startsWith("data:")||d.startsWith("blob:"))&&(h=!0,H=!1),n.unoptimized&&(h=!0),z&&d.endsWith(".svg")&&!n.dangerouslyAllowSVG&&(h=!0),p&&(T="high");let G=l(g),V=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:N}:{},P?{}:{color:"transparent"},w),B=M||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:U,heightInt:W,blurWidth:o,blurHeight:u,blurDataURL:O||"",objectFit:V.objectFit})+'")':'url("'+E+'")',q=B?{backgroundSize:V.objectFit||"cover",backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:B}:{},K=c({config:n,src:d,unoptimized:h,width:U,quality:G,sizes:f,loader:F});return{props:{...A,loading:H?"lazy":m,fetchPriority:T,width:U,height:W,decoding:"async",className:x,style:{...V,...q},sizes:K.sizes,srcSet:K.srcSet,src:_||K.src},meta:{unoptimized:h,priority:p,placeholder:E,fill:b}}}},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+"'":"",c=u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
9ColorMatrix 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='"+c+"' 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:!1}});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},477:function(e,t,n){"use strict";var r,i=n(3454);n(1479);var a=n(7294),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(a);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var u=void 0!==i&&i.env&&!0,c=function(e){return"[object String]"===Object.prototype.toString.call(e)},d=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,a=void 0===i?u:i;f(c(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",f("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){f("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),f(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(f(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(u||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(f(c(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return u||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){u||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}
9}else{var r=this._tags[e];f(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];f(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&f(c(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},l(e,[{key:"length",get:function(){return this._rulesCount}}]),e}();function f(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var h=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},p={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return p[r]||(p[r]="jsx-"+h(e+"-"+n)),p[r]}function x(e,t){var n=/__jsx-style-dynamic-selector/g,r=e+t;return p[r]||(p[r]=t.replace(n,e)),p[r]}function g(e,t){return void 0===t&&(t={}),e.map(function(e){var n=e[0],r=e[1];return o.default.createElement("style",{id:"__"+n,key:"__"+n,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})}var v=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,a=void 0!==i&&i;this._sheet=r||new d({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),r&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var a=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=a,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(y(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){return g(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=m(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return x(i,e)}):[x(i,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}();function y(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}var b=a.createContext(null);function w(){return new v}function _(e){var t=e.registry,n=e.children,r=a.useContext(b),i=a.useState(function(){return r||t||w()})[0];return o.default.createElement(b.Provider,{value:i},n)}function k(){return a.useContext(b)}b.displayName="StyleSheetContext";var j=o.default.useInsertionEffect||o.default.useLayoutEffect,E=w();function O(e){var t=E||k();return t&&j(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}O.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},r=_,r=w,t.style=O},1822:function(e,t,n){"use strict";e.exports=n(477).style},1479:function(){},9488:function(){},1864:function(e){var t="/";!function(){"use strict";var n={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(s<e.length)n=e.charCodeAt(s);else if(47===n)break;else n=47;if(47===n){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){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}function r(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var i={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;n<arguments.length;++n){var r=arguments[n];t(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=i.resolve(e))===(n=i.resolve(n)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var a=e.length,o=a-r,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,u=o<l?o:l,c=-1,d=0;d<=u;++d){if(d===u){if(l>u){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(r+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(r+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var h="";for(d=r+c+1;d<=a;
9++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){if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return r("/",e)},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};i.posix=i,e.exports=i}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}},o=!0;try{n[e](a,a.exports,i),o=!1}finally{o&&delete r[e]}return a.exports}i.ab=t+"/";var a=i(114);e.exports=a}()},7663:function(e){var t="/";!function(){var n={229: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 l(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u=[],c=!1,d=-1;function f(){c&&r&&(c=!1,r.length?u=r.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(r=u,u=[];++d<t;)r&&r[d].run();d=-1,t=u.length}r=null,c=!1,l(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}},o=!0;try{n[e](a,a.exports,i),o=!1}finally{o&&delete r[e]}return a.exports}i.ab=t+"/";var a=i(229);e.exports=a}()},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)},2586:function(e,t,n){"use strict";let r,i,a,o,s,l,u,c,d,f,h;n.d(t,{ZP:function(){return sx}});var p,m,x,g,v,y=n(1163),b=n(7294);n(5202);var w=n(512);function _(){let[e,t]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{t(!0)},[]),e}var k=n(7222),j="https://nextra.vercel.app",E=()=>{let{locale:e=k.ZW,asPath:t,route:n}=(0,y.useRouter)();return(0,b.useMemo)(()=>{let{pathname:r}=new URL(k.hV.has(n)?n:t,j);return(e?r.replace(RegExp(`\\.${e}(\\/|$)`),"$1"):r).replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[t,e,n])},O=n(2643),T=n(4861);!function(e){function t(e){}function n(e){throw Error()}function r(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)}e.assertEqual=e=>e,e.assertIs=t,e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>
9"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.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},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(p||(p={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(m||(m={}));let C=p.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),S=e=>{switch(typeof e){case"undefined":return C.undefined;case"string":return C.string;case"number":return isNaN(e)?C.nan:C.number;case"boolean":return C.boolean;case"function":return C.function;case"bigint":return C.bigint;case"symbol":return C.symbol;case"object":if(Array.isArray(e))return C.array;if(null===e)return C.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return C.promise;if("undefined"!=typeof Map&&e instanceof Map)return C.map;if("undefined"!=typeof Set&&e instanceof Set)return C.set;if("undefined"!=typeof Date&&e instanceof Date)return C.date;return C.object;default:return C.unknown}}
vendor: 4,487 bytes, line 9
9,N=p.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"]),R=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class I 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(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,p.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.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()}}I.create=e=>new I(e);let A=(e,t)=>{let n;switch(e.code){case N.invalid_type:n=e.received===C.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case N.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,p.jsonStringifyReplacer)}`;break;case N.unrecognized_keys:n=`Unrecognized key(s) in object: ${p.joinValues(e.keys,", ")}`;break;case N.invalid_union:n="Invalid input";break;case N.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${p.joinValues(e.options)}`;break;case N.invalid_enum_value:n=`Invalid enum value. Expected ${p.joinValues(e.options)}, received '${e.received}'`;break;case N.invalid_arguments:n="Invalid function arguments";break;case N.invalid_return_type:n="Invalid function return type";break;case N.invalid_date:n="Invalid date";break;case N.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}"`:p.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case N.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 N.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 N.custom:n="Invalid input";break;case N.invalid_intersection_types:n="Intersection results could not be merged";break;case N.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case N.not_finite:n="Number must be finite";break;default:n=t.defaultError,p.assertNever(e)}return{message:n}},L=A;function P(e){L=e}function M(){return L}let Z=e=>
9{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}},D=[];function F(e,t){let n=Z({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,M(),A].filter(e=>!!e)});e.common.issues.push(n)}class z{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 $;"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)n.push({key:await e.key,value:await e.value});return z.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 $;"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 $=Object.freeze({status:"aborted"}),U=e=>({status:"dirty",value:e}),W=e=>({status:"valid",value:e}),H=e=>"aborted"===e.status,G=e=>"dirty"===e.status,V=e=>"valid"===e.status,B=e=>"undefined"!=typeof Promise&&e instanceof Promise;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(x||(x={}));class q{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 K=(e,t)=>{if(V(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 I(e.common.issues);return this._error=t,this._error}}};function Y(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:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:i}}class Q{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 S(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:S(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new z,ctx:{common:e.parent.common,data:e.data,parsedType:S(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(B(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:S(e)},i=this._parseSync({data:e,path:r.path,parent:r});return K(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:S(e)},r=this._parse({data:e,path:n.path,parent:n});return K(n,await (B(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:N.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 ez({schema:this,typeName:g.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return e$.create(this,this._def)}nullable(){return eU.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ew.create(this,this._def)}promise(){return eF.create(this,this._def)}or(e){return ej.create([this,e],this._def)}and(e){return eC.create(this,e,this._def)}transform(e){return new ez({...Y(this._def),schema:this,typeName:g.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new eW({...Y(this._def),innerType:this,defaultValue:t,typeName:g.ZodDefault})}brand(){return new eB({typeName:g.ZodBranded,type:this,...Y(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new eH({...Y(this._def),innerType:this,catchValue:t,typeName:g.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eq.create(this,e)}readonly(){return eK.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let J=/^c[^\s-]{8,}
9$/i,X=/^[a-z][a-z0-9]*$/,ee=/^[0-9A-HJKMNP-TV-Z]{26}$/,et=/^[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,en=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,er="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",ei=/^(((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}))$/,ea=/^(([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})))$/,eo=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function es(e,t){return!!(("v4"===t||!t)&&ei.test(e)||("v6"===t||!t)&&ea.test(e))}class el extends Q{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==C.string){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.string,received:t.parsedType}),$}let n=new z;for(let i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if("max"===i.kind)e.data.length>i.value&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if("length"===i.kind){let r=e.data.length>i.value,a=e.data.length<i.value;(r||a)&&(t=this._getOrReturnCtx(e,t),r?F(t,{code:N.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&F(t,{code:N.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),n.dirty())}else if("email"===i.kind)en.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"email",code:N.invalid_string,message:i.message}),n.dirty());else if("emoji"===i.kind)r||(r=RegExp(er,"u")),r.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"emoji",code:N.invalid_string,message:i.message}),n.dirty());else if("uuid"===i.kind)et.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"uuid",code:N.invalid_string,message:i.message}),n.dirty());else if("cuid"===i.kind)J.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"cuid",code:N.invalid_string,message:i.message}),n.dirty());else if("cuid2"===i.kind)X.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"cuid2",code:N.invalid_string,message:i.message}),n.dirty());else if("ulid"===i.kind)ee.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"ulid",code:N.invalid_string,message:i.message}),n.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(r){F(t=this._getOrReturnCtx(e,t),{validation:"url",code:N.invalid_string,message:i.message}),n.dirty()}else"regex"===i.kind?(i.regex.lastIndex=0,i.regex.test(e.data)||(F(t=this._getOrReturnCtx(e,t),{validation:"regex",code:N.invalid_string,message:i.message}),n.dirty())):"trim"===i.kind?e.data=e.data.trim():"includes"===i.kind?e.data.includes(i.value,i.position)||(F(t=this._getOrReturnCtx(e,t),{code:N.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),n.dirty()):"toLowerCase"===i.kind?e.data=e.data.toLowerCase():"toUpperCase"===i.kind?e.data=e.data.toUpperCase():"startsWith"===i.kind?e.data.startsWith(i.value)||(F(t=this._getOrReturnCtx(e,t),{code:N.invalid_string,validation:{startsWith:i.value},message:i.message}),n.dirty()):"endsWith"===i.kind?e.data.endsWith(i.value)||(F(t=this._getOrReturnCtx(e,t),{code:N.invalid_string,validation:{endsWith:i.value},message:i.message}),n.dirty()):"datetime"===i.kind?eo(i).test(e.data)||(F(t=this._getOrReturnCtx(e,t),{code:N.invalid_string,validation:"datetime",message:i.message}),n.dirty()):"ip"===i.kind?es(e.data,i.version)||(F(t=this._getOrReturnCtx(e,t),{validation:"ip",code:N.invalid_string,message:i.message}),n.dirty()):p.assertNever(i);return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:N.invalid_string,...x.errToObj(n)})}_addCheck(e){return new el({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...x.errToObj(e)})}url(e){return this._addCheck({kind:"url",...x.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...x.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...x.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...x.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...x.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...x.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...x.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!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,...x.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...x.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...x.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...x.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...x.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...x.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...x.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...x.errToObj(t)})}nonempty(e){return this.min(1,x.errToObj(e))}trim(){return new el({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new el({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new el({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===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)}
9get isUUID(){return!!this._def.checks.find(e=>"uuid"===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 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<e)&&(e=t.value);return e}}function eu(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)}el.create=e=>{var t;return new el({checks:[],typeName:g.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...Y(e)})};class ec extends Q{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)!==C.number){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.number,received:t.parsedType}),$}let n=new z;for(let r of this._def.checks)"int"===r.kind?p.isInteger(e.data)||(F(t=this._getOrReturnCtx(e,t),{code:N.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==eu(e.data,r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(F(t=this._getOrReturnCtx(e,t),{code:N.not_finite,message:r.message}),n.dirty()):p.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,n,r){return new ec({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:x.toString(r)}]})}_addCheck(e){return new ec({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:x.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:x.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:x.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:x.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<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&p.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.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}ec.create=e=>new ec({checks:[],typeName:g.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...Y(e)});class ed extends Q{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)!==C.bigint){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.bigint,received:t.parsedType}),$}let n=new z;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(F(t=this._getOrReturnCtx(e,t),{code:N.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):p.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,n,r){return new ed({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:x.toString(r)}]})}_addCheck(e){return new ed({...this._def,checks:[...this._def.checks,e]})}
vendor: 5,035 bytes, line 9
9positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.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<e)&&(e=t.value);return e}}ed.create=e=>{var t;return new ed({checks:[],typeName:g.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...Y(e)})};class ef extends Q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==C.boolean){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.boolean,received:t.parsedType}),$}return W(e.data)}}ef.create=e=>new ef({typeName:g.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...Y(e)});class eh extends Q{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==C.date){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.date,received:t.parsedType}),$}if(isNaN(e.data.getTime()))return F(this._getOrReturnCtx(e),{code:N.invalid_date}),$;let n=new z;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),n.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):p.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new eh({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:x.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:x.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.value<e)&&(e=t.value);return null!=e?new Date(e):null}}eh.create=e=>new eh({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:g.ZodDate,...Y(e)});class ep extends Q{_parse(e){if(this._getType(e)!==C.symbol){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.symbol,received:t.parsedType}),$}return W(e.data)}}ep.create=e=>new ep({typeName:g.ZodSymbol,...Y(e)});class em extends Q{_parse(e){if(this._getType(e)!==C.undefined){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.undefined,received:t.parsedType}),$}return W(e.data)}}em.create=e=>new em({typeName:g.ZodUndefined,...Y(e)});class ex extends Q{_parse(e){if(this._getType(e)!==C.null){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.null,received:t.parsedType}),$}return W(e.data)}}ex.create=e=>new ex({typeName:g.ZodNull,...Y(e)});class eg extends Q{constructor(){super(...arguments),this._any=!0}_parse(e){return W(e.data)}}eg.create=e=>new eg({typeName:g.ZodAny,...Y(e)});class ev extends Q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return W(e.data)}}ev.create=e=>new ev({typeName:g.ZodUnknown,...Y(e)});class ey extends Q{_parse(e){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.never,received:t.parsedType}),$}}ey.create=e=>new ey({typeName:g.ZodNever,...Y(e)});class eb extends Q{_parse(e){if(this._getType(e)!==C.undefined){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.void,received:t.parsedType}),$}return W(e.data)}}eb.create=e=>new eb({typeName:g.ZodVoid,...Y(e)});class ew extends Q{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==C.array)return F(t,{code:N.invalid_type,expected:C.array,received:t.parsedType}),$;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(F(t,{code:e?N.too_big:N.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(F(t,{code:N.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(F(t,{code:N.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 q(t,e,t.path,n)))).then(e=>z.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new q(t,e,t.path,n)));return z.mergeArray(n,i)}
vendor: 5,158 bytes, line 9
9get element(){return this._def.type}min(e,t){return new ew({...this._def,minLength:{value:e,message:x.toString(t)}})}max(e,t){return new ew({...this._def,maxLength:{value:e,message:x.toString(t)}})}length(e,t){return new ew({...this._def,exactLength:{value:e,message:x.toString(t)}})}nonempty(e){return this.min(1,e)}}function e_(e){if(e instanceof ek){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=e$.create(e_(r))}return new ek({...e._def,shape:()=>t})}return e instanceof ew?new ew({...e._def,type:e_(e.element)}):e instanceof e$?e$.create(e_(e.unwrap())):e instanceof eU?eU.create(e_(e.unwrap())):e instanceof eS?eS.create(e.items.map(e=>e_(e))):e}ew.create=(e,t)=>new ew({type:e,minLength:null,maxLength:null,exactLength:null,typeName:g.ZodArray,...Y(t)});class ek extends Q{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=p.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==C.object){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.object,received:t.parsedType}),$}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ey&&"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 q(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ey){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&&(F(n,{code:N.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 q(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;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>z.mergeObjectSync(t,e)):z.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return x.errToObj,new ek({...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=x.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new ek({...this._def,unknownKeys:"strip"})}passthrough(){return new ek({...this._def,unknownKeys:"passthrough"})}extend(e){return new ek({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ek({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:g.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ek({...this._def,catchall:e})}pick(e){let t={};return p.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new ek({...this._def,shape:()=>t})}omit(e){let t={};return p.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new ek({...this._def,shape:()=>t})}deepPartial(){return e_(this)}partial(e){let t={};return p.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new ek({...this._def,shape:()=>t})}required(e){let t={};return p.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof e$;)e=e._def.innerType;t[n]=e}}),new ek({...this._def,shape:()=>t})}keyof(){return eM(p.objectKeys(this.shape))}}ek.create=(e,t)=>new ek({shape:()=>e,unknownKeys:"strip",catchall:ey.create(),typeName:g.ZodObject,...Y(t)}),ek.strictCreate=(e,t)=>new ek({shape:()=>e,unknownKeys:"strict",catchall:ey.create(),typeName:g.ZodObject,...Y(t)}),ek.lazycreate=(e,t)=>new ek({shape:e,unknownKeys:"strip",catchall:ey.create(),typeName:g.ZodObject,...Y(t)});class ej extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(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 I(e.ctx.common.issues));return F(t,{code:N.invalid_union,unionErrors:n}),$}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(r);{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 I(e));return F(t,{code:N.invalid_union,unionErrors:i}),$}}get options(){return this._def.options}}ej.create=(e,t)=>
9new ej({options:e,typeName:g.ZodUnion,...Y(t)});let eE=e=>{if(e instanceof eL)return eE(e.schema);if(e instanceof ez)return eE(e.innerType());if(e instanceof eP)return[e.value];if(e instanceof eZ)return e.options;if(e instanceof eD)return Object.keys(e.enum);if(e instanceof eW)return eE(e._def.innerType);if(e instanceof em)return[void 0];else if(e instanceof ex)return[null];else return null};class eO extends Q{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==C.object)return F(t,{code:N.invalid_type,expected:C.object,received:t.parsedType}),$;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}):(F(t,{code:N.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),$)}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=eE(n.shape[e]);if(!t)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 eO({typeName:g.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...Y(n)})}}function eT(e,t){let n=S(e),r=S(t);if(e===t)return{valid:!0,data:e};if(n===C.object&&r===C.object){let n=p.objectKeys(t),r=p.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(let n of r){let r=eT(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===C.array&&r===C.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let i=eT(e[r],t[r]);if(!i.valid)return{valid:!1};n.push(i.data)}return{valid:!0,data:n}}return n===C.date&&r===C.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class eC extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(H(e)||H(r))return $;let i=eT(e.value,r.value);return i.valid?((G(e)||G(r))&&t.dirty(),{status:t.value,value:i.data}):(F(n,{code:N.invalid_intersection_types}),$)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(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}))}}eC.create=(e,t,n)=>new eC({left:e,right:t,typeName:g.ZodIntersection,...Y(n)});class eS extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==C.array)return F(n,{code:N.invalid_type,expected:C.array,received:n.parsedType}),$;if(n.data.length<this._def.items.length)return F(n,{code:N.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$;!this._def.rest&&n.data.length>this._def.items.length&&(F(n,{code:N.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 q(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>z.mergeArray(t,e)):z.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new eS({...this._def,rest:e})}}eS.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eS({items:e,typeName:g.ZodTuple,rest:null,...Y(t)})};class eN extends Q{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!==C.object)return F(n,{code:N.invalid_type,expected:C.object,received:n.parsedType}),$;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new q(n,e,n.path,e)),value:a._parse(new q(n,n.data[e],n.path,e))});return n.common.async?z.mergeObjectAsync(t,r):z.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new eN(t instanceof Q?{keyType:e,valueType:t,typeName:g.ZodRecord,...Y(n)}:{keyType:el.create(),valueType:e,typeName:g.ZodRecord,...Y(t)})}}class eR extends Q{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!==C.map)return F(n,{code:N.invalid_type,expected:C.map,received:n.parsedType}),$;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new q(n,e,n.path,[a,"key"])),value:i._parse(new q(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 $;
9("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 $;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}eR.create=(e,t,n)=>new eR({valueType:t,keyType:e,typeName:g.ZodMap,...Y(n)});class eI extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==C.set)return F(n,{code:N.invalid_type,expected:C.set,received:n.parsedType}),$;let r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(F(n,{code:N.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(F(n,{code:N.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 $;"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 q(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eI({...this._def,minSize:{value:e,message:x.toString(t)}})}max(e,t){return new eI({...this._def,maxSize:{value:e,message:x.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eI.create=(e,t)=>new eI({valueType:e,minSize:null,maxSize:null,typeName:g.ZodSet,...Y(t)});class eA extends Q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==C.function)return F(t,{code:N.invalid_type,expected:C.function,received:t.parsedType}),$;function n(e,n){return Z({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,M(),A].filter(e=>!!e),issueData:{code:N.invalid_arguments,argumentsError:n}})}function r(e,n){return Z({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,M(),A].filter(e=>!!e),issueData:{code:N.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eF){let e=this;return W(async function(...t){let o=new I([]),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 W(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new I([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new I([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eA({...this._def,args:eS.create(e).rest(ev.create())})}returns(e){return new eA({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eA({args:e||eS.create([]).rest(ev.create()),returns:t||ev.create(),typeName:g.ZodFunction,...Y(n)})}}class eL extends Q{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})}}eL.create=(e,t)=>new eL({getter:e,typeName:g.ZodLazy,...Y(t)});class eP extends Q{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return F(t,{received:t.data,code:N.invalid_literal,expected:this._def.value}),$}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eM(e,t){return new eZ({values:e,typeName:g.ZodEnum,...Y(t)})}eP.create=(e,t)=>new eP({value:e,typeName:g.ZodLiteral,...Y(t)});class eZ extends Q{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{expected:p.joinValues(n),received:t.parsedType,code:N.invalid_type}),$}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{received:t.data,code:N.invalid_enum_value,options:n}),$}return W(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){return eZ.create(e)}exclude(e){return eZ.create(this.options.filter(t=>!e.includes(t)))}}eZ.create=eM;class eD extends Q{_parse(e){let t=p.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==C.string&&n.parsedType!==C.number){let e=p.objectValues(t);return F(n,{expected:p.joinValues(e),received:n.parsedType,code:N.invalid_type}),$}if(-1===t.indexOf(e.data)){let e=p.objectValues(t);return F(n,{received:n.data,code:N.invalid_enum_value,options:e}),$}return W(e.data)}get enum(){return this._def.values}}eD.create=(e,t)=>
vendor: 5,089 bytes, line 9
9new eD({values:e,typeName:g.ZodNativeEnum,...Y(t)});class eF extends Q{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==C.promise&&!1===t.common.async?(F(t,{code:N.invalid_type,expected:C.promise,received:t.parsedType}),$):W((t.parsedType===C.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eF.create=(e,t)=>new eF({type:e,typeName:g.ZodPromise,...Y(t)});class ez extends Q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===g.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=>{F(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);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}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?$:("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?$:("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=>V(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(!V(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}}}p.assertNever(r)}}ez.create=(e,t,n)=>new ez({schema:e,typeName:g.ZodEffects,effect:t,...Y(n)}),ez.createWithPreprocess=(e,t,n)=>new ez({schema:t,effect:{type:"preprocess",transform:e},typeName:g.ZodEffects,...Y(n)});class e$ extends Q{_parse(e){return this._getType(e)===C.undefined?W(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e$.create=(e,t)=>new e$({innerType:e,typeName:g.ZodOptional,...Y(t)});class eU extends Q{_parse(e){return this._getType(e)===C.null?W(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eU.create=(e,t)=>new eU({innerType:e,typeName:g.ZodNullable,...Y(t)});class eW extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===C.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eW.create=(e,t)=>new eW({innerType:e,typeName:g.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...Y(t)});class eH extends Q{_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 B(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new I(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new I(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}eH.create=(e,t)=>new eH({innerType:e,typeName:g.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...Y(t)});class eG extends Q{_parse(e){if(this._getType(e)!==C.nan){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.nan,received:t.parsedType}),$}return{status:"valid",value:e.data}}}eG.create=e=>new eG({typeName:g.ZodNaN,...Y(e)});let eV=Symbol("zod_brand");class eB extends Q{_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 eq extends Q{_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?$:"dirty"===e.status?(t.dirty(),U(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?$:"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 eq({in:e,out:t,typeName:g.ZodPipeline})}}class eK extends Q{_parse(e){let t=this._def.innerType._parse(e);return V(t)&&(t.value=Object.freeze(t.value)),t}}eK.create=(e,t)=>
9new eK({innerType:e,typeName:g.ZodReadonly,...Y(t)});let eY=(e,t={},n)=>e?eg.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,l="string"==typeof e?{message:e}:e;i.addIssue({code:"custom",...l,fatal:s})}}):eg.create(),eQ={object:ek.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(g||(g={}));let eJ=(e,t={message:`Input not instance of ${e.name}`})=>eY(t=>t instanceof e,t),eX=el.create,e0=ec.create,e1=eG.create,e2=ed.create,e4=ef.create,e5=eh.create,e3=ep.create,e7=em.create,e6=ex.create,e9=eg.create,e8=ev.create,te=ey.create,tt=eb.create,tn=ew.create,tr=ek.create,ti=ek.strictCreate,ta=ej.create,to=eO.create,ts=eC.create,tl=eS.create,tu=eN.create,tc=eR.create,td=eI.create,tf=eA.create,th=eL.create,tp=eP.create,tm=eZ.create,tx=eD.create,tg=eF.create,tv=ez.create,ty=e$.create,tb=eU.create,tw=ez.createWithPreprocess,t_=eq.create,tk=()=>e0().optional(),tj=()=>e4().optional(),tE={string:e=>el.create({...e,coerce:!0}),number:e=>ec.create({...e,coerce:!0}),boolean:e=>ef.create({...e,coerce:!0}),bigint:e=>ed.create({...e,coerce:!0}),date:e=>eh.create({...e,coerce:!0})},tO=$;var tT=Object.freeze({__proto__:null,defaultErrorMap:A,setErrorMap:P,getErrorMap:M,makeIssue:Z,EMPTY_PATH:D,addIssueToContext:F,ParseStatus:z,INVALID:$,DIRTY:U,OK:W,isAborted:H,isDirty:G,isValid:V,isAsync:B,get util(){return p},get objectUtil(){return m},ZodParsedType:C,getParsedType:S,ZodType:Q,ZodString:el,ZodNumber:ec,ZodBigInt:ed,ZodBoolean:ef,ZodDate:eh,ZodSymbol:ep,ZodUndefined:em,ZodNull:ex,ZodAny:eg,ZodUnknown:ev,ZodNever:ey,ZodVoid:eb,ZodArray:ew,ZodObject:ek,ZodUnion:ej,ZodDiscriminatedUnion:eO,ZodIntersection:eC,ZodTuple:eS,ZodRecord:eN,ZodMap:eR,ZodSet:eI,ZodFunction:eA,ZodLazy:eL,ZodLiteral:eP,ZodEnum:eZ,ZodNativeEnum:eD,ZodPromise:eF,ZodEffects:ez,ZodTransformer:ez,ZodOptional:e$,ZodNullable:eU,ZodDefault:eW,ZodCatch:eH,ZodNaN:eG,BRAND:eV,ZodBranded:eB,ZodPipeline:eq,ZodReadonly:eK,custom:eY,Schema:Q,ZodSchema:Q,late:eQ,get ZodFirstPartyTypeKind(){return g},coerce:tE,any:e9,array:tn,bigint:e2,boolean:e4,date:e5,discriminatedUnion:to,effect:tv,enum:tm,function:tf,instanceof:eJ,intersection:ts,lazy:th,literal:tp,map:tc,nan:e1,nativeEnum:tx,never:te,null:e6,nullable:tb,number:e0,object:tr,oboolean:tj,onumber:tk,optional:ty,ostring:()=>eX().optional(),pipeline:t_,preprocess:tw,promise:tg,record:tu,set:td,strictObject:ti,string:eX,symbol:e3,transformer:tv,tuple:tl,undefined:e7,union:ta,unknown:e8,void:tt,NEVER:tO,ZodIssueCode:N,quotelessJson:R,ZodError:I}),tC=n(1664),tS=n.n(tC),tN="14.2.5";n(6337);var tR=n(5893);let tI=["light","dark"],tA="(prefers-color-scheme: dark)",tL="undefined"==typeof window,tP=(0,b.createContext)(void 0),tM={setTheme:e=>{},themes:[]},tZ=()=>{var e;return null!==(e=(0,b.useContext)(tP))&&void 0!==e?e:tM},tD=e=>(0,b.useContext)(tP)?b.createElement(b.Fragment,null,e.children):b.createElement(tz,e),tF=["light","dark"],tz=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:a=tF,defaultTheme:o=n?"system":"light",attribute:s="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=(0,b.useState)(()=>tU(i,o)),[h,p]=(0,b.useState)(()=>tU(i)),m=l?Object.values(l):a,x=(0,b.useCallback)(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=tH());let a=l?l[i]:i,u=t?tW():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=tI.includes(o)?o:null,t=tI.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),g=(0,b.useCallback)(e=>{f(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),v=(0,b.useCallback)(t=>{p(tH(t)),"system"===d&&n&&!e&&x("system")},[d,e]);(0,b.useEffect)(()=>{let e=window.matchMedia(tA);return e.addListener(v),v(e),()=>e.removeListener(v)},[v]),(0,b.useEffect)(()=>{let e=e=>{e.key===i&&g(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[g]),(0,b.useEffect)(()=>{x(null!=e?e:d)},[e,d]);let y=(0,b.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 b.createElement(tP.Provider,{value:y},b.createElement(t$,{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)},t$=(0,b.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?tI.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&&tI.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='${tA}',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 b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})},()=>!0),tU=(e,t)=>{let n;if(!tL){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},tW=()=>{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)}},tH=e=>
9(e||(e=window.matchMedia(tA)),e.matches?"dark":"light");var tG={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tV=tT.strictObject({breadcrumb:tT.boolean(),collapsed:tT.boolean(),footer:tT.boolean(),layout:tT.enum(["default","full","raw"]),navbar:tT.boolean(),pagination:tT.boolean(),sidebar:tT.boolean(),timestamp:tT.boolean(),toc:tT.boolean(),typesetting:tT.enum(["default","article"])}),tB=tT.enum(["normal","hidden","children"]),tq=tT.string(),tK=tT.strictObject({href:tT.string(),newWindow:tT.boolean(),title:tq}),tY=tT.strictObject({display:tB.optional(),items:tT.record(tK.partial({href:!0,newWindow:!0})),title:tq,type:tT.literal("menu")}),tQ=tT.strictObject({title:tq.optional(),type:tT.literal("separator")}),tJ=tK.extend({display:tB,theme:tV,title:tq,type:tT.enum(["page","doc"])}).deepPartial();function tX(e={},t){"string"==typeof e&&(e={title:e});let n=Object.assign({},t.theme,e.theme);return Object.assign({},t,e,{theme:n})}function t0(e){for(let t of e){if(t.route)return t.route;if(t.children){let e=t0(t.children);if(e)return e}}}function t1({list:e,locale:t,defaultLocale:n,route:r,docsRoot:i="",underCurrentDocsRoot:a=!1,pageThemeContext:o=tG}){let s,l;for(let n of e)if("Meta"===n.kind){if(n.locale===t){s=n.data;break}s||(s=n.data)}let u=s||{},c=Object.keys(u);for(let e of c)"string"==typeof u[e]&&(u[e]={title:u[e]});let d=[],f=[],h=[],p=[],m=[],x=0,g=o,v=[],y=-1,b=u["*"]||{};delete b.title,delete b.href;let w=e.filter(e=>"Meta"!==e.kind&&!e.name.startsWith("_")&&(!("locale"in e)||!e.locale||[t,n].includes(e.locale))).sort((e,t)=>{let n=c.indexOf(e.name),r=c.indexOf(t.name);return -1===n&&-1===r?e.name<t.name?-1:1:-1===n?1:-1===r?-1:n-r}).flatMap(e=>{let t;let n=[],r=c.indexOf(e.name);if(-1!==r){for(let e=y+1;e<r;e++){let t=c[e];"*"!==t&&n.push({name:t,route:"",...u[t]})}y=r,t={...u[e.name],...e}}return n.push(t||e),n});for(let e=y+1;e<c.length;e++){let t=c[e];"*"!==t&&w.push({name:t,route:"#",...u[t]})}for(let e=0;e<w.length;e++){let s=w[e];if(e+1<w.length&&s.name===w[e+1].name){w[e+1]={...w[e+1],withIndexPage:!0},s.children&&!w[e+1].children&&(w[e+1].children=s.children);continue}let c=tX(u[s.name],b),{display:y,type:_="doc"}=c,j={...o,...c.theme},E=r.startsWith(i),O=s.children&&t1({list:s.children,locale:t,defaultLocale:n,route:r,docsRoot:"page"===_||"menu"===_?s.route:i,underCurrentDocsRoot:a||E,pageThemeContext:j}),T=c.title||"separator"!==_&&s.name,C=()=>({...s,type:_,...T&&{title:T},...y&&{display:y},...O&&{children:[]}}),S=C(),N=C(),R=C();if(N.isUnderCurrentDocsTree=E,"separator"===_&&(S.isUnderCurrentDocsTree=E),s.route===r)switch(v=[S],l=_,g={...g,...j},_){case"page":case"menu":x=m.length;break;case"doc":x=p.length}if(!("hidden"===y&&"Folder"!==S.kind||k.hV.has(s.route))){if(O){if(void 0!==O.activeIndex&&void 0!==O.activeType){switch(g=O.activeThemeContext,l=O.activeType,v=[S,...O.activePath],l){case"page":case"menu":x=m.length+O.activeIndex;break;case"doc":x=p.length+O.activeIndex}s.withIndexPage&&"doc"===_&&x++}switch(_){case"page":case"menu":R.children.push(...O.directories),h.push(...O.docsDirectories),O.flatDirectories.length?(R.firstChildRoute=t0(O.flatDirectories),m.push(R)):R.withIndexPage&&m.push(R);break;case"doc":Array.isArray(N.children)&&N.children.push(...O.docsDirectories),S.withIndexPage&&"children"!==y&&p.push(N)}f.push(...O.flatDirectories),p.push(...O.flatDocsDirectories),Array.isArray(S.children)&&S.children.push(...O.directories)}else switch(f.push(S),_){case"page":case"menu":m.push(R);break;case"doc":p.push(N)}switch("doc"===_&&"children"===y?N.children&&(d.push(...N.children),h.push(...N.children)):d.push(S),_){case"page":case"menu":h.push(R);break;case"doc":"children"!==y&&h.push(N);break;case"separator":h.push(S)}}}return{activeType:l,activeIndex:x,activeThemeContext:g,activePath:v,directories:d,flatDirectories:f,docsDirectories:h,flatDocsDirectories:p,topLevelNavbarItems:m}}tT.string().or(tY).or(tQ).or(tJ);var t2=n(3458),t4=n.n(t2);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 t3(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 t6(e){if("undefined"==typeof ShadowRoot)return!1;var t=t5(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t9=Math.max,t8=Math.min,ne=Math.round;function nt(){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 nn(){return!/^((?!chrome|android).)*safari/i.test(nt())}function nr(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&&ne(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ne(r.height)/e.offsetHeight||1);
vendor: 9,623 bytes, line 9
9var o=(t3(e)?t5(e):window).visualViewport,s=!nn()&&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 ni(e){var t=t5(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function na(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function no(e){return e!==t5(e)&&t7(e)?na(e):ni(e)}function ns(e){return e?(e.nodeName||"").toLowerCase():null}function nl(e){return((t3(e)?e.ownerDocument:e.document)||window.document).documentElement}function nu(e){return nr(nl(e)).left+ni(e).scrollLeft}function nc(e){return t5(e).getComputedStyle(e)}function nd(e){var t=nc(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function nf(e){var t=e.getBoundingClientRect(),n=ne(t.width)/e.offsetWidth||1,r=ne(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function nh(e,t,n){void 0===n&&(n=!1);var r=t7(t),i=t7(t)&&nf(t),a=nl(t),o=nr(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==ns(t)||nd(a))&&(s=no(t)),t7(t)?(l=nr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=nu(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function np(e){var t=nr(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 nm(e){return"html"===ns(e)?e:e.assignedSlot||e.parentNode||(t6(e)?e.host:null)||nl(e)}function nx(e){return["html","body","#document"].indexOf(ns(e))>=0?e.ownerDocument.body:t7(e)&&nd(e)?e:nx(nm(e))}function ng(e,t){void 0===t&&(t=[]);var n,r=nx(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=t5(r),o=i?[a].concat(a.visualViewport||[],nd(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(ng(nm(o)))}function nv(e){return["table","td","th"].indexOf(ns(e))>=0}function ny(e){return t7(e)&&"fixed"!==nc(e).position?e.offsetParent:null}function nb(e){var t=/firefox/i.test(nt());if(/Trident/i.test(nt())&&t7(e)&&"fixed"===nc(e).position)return null;var n=nm(e);for(t6(n)&&(n=n.host);t7(n)&&0>["html","body"].indexOf(ns(n));){var r=nc(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}function nw(e){for(var t=t5(e),n=ny(e);n&&nv(n)&&"static"===nc(n).position;)n=ny(n);return n&&("html"===ns(n)||"body"===ns(n)&&"static"===nc(n).position)?t:n||nb(e)||t}var n_="top",nk="bottom",nj="right",nE="left",nO="auto",nT=[n_,nk,nj,nE],nC="start",nS="end",nN="clippingParents",nR="viewport",nI="popper",nA="reference",nL=nT.reduce(function(e,t){return e.concat([t+"-"+nC,t+"-"+nS])},[]),nP=[].concat(nT,[nO]).reduce(function(e,t){return e.concat([t,t+"-"+nC,t+"-"+nS])},[]),nM=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function nZ(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}function nD(e){var t=nZ(e);return nM.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function nF(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function nz(e){var t=e.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},{});return Object.keys(t).map(function(e){return t[e]})}var n$={placement:"bottom",modifiers:[],strategy:"absolute"};function nU(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var nW={passive:!0};function nH(e){return e.split("-")[0]}function nG(e){return e.split("-")[1]}function nV(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function nB(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nH(i):null,o=i?nG(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case n_:t={x:s,y:n.y-r.height};break;case nk:t={x:s,y:n.y+n.height};break;case nj:t={x:n.x+n.width,y:l};break;case nE:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nV(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case nC:t[u]=t[u]-(n[c]/2-r[c]/2);break;case nS:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var nq={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nK(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ne(n*i)/i||0,y:ne(r*i)/i||0}}function nY(e){var t,n,r=e.popper,i=e.popperRect,a=e.placement,o=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,h=s.x,p=void 0===h?0:h,m=s.y,x=void 0===m?0:m,g="function"==typeof d?d({x:p,y:x}):{x:p,y:x};p=g.x,x=g.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=nE,w=n_,_=window;if(c){var k=nw(r),j="clientHeight",E="clientWidth";k===t5(r)&&"static"!==nc(k=nl(r)).position&&"absolute"===l&&(j="scrollHeight",E="scrollWidth"),(a===n_||(a===nE||a===nj)&&o===nS)&&(w=nk,x-=(f&&k===_&&_.visualViewport?_.visualViewport.height:k[j])-i.height,x*=u?1:-1),(a===nE||(a===n_||a===nk)&&o===nS)&&(b=nj,p-=(f&&k===_&&_.visualViewport?_.visualViewport.width:k[E])-i.width,p*=u?1:-1)}var O=Object.assign({position:l},c&&nq),T=!0===d?nK({x:p,y:x},t5(r)):{x:p,y:x};return(p=T.x,x=T.y,u)?Object.assign({},O,((n={})[w]=y?"0":"",n[b]=v?"0":"",n.transform=1>=(_.devicePixelRatio||1)?"translate("+p+"px, "+x+"px)":"translate3d("+p+"px, "+x+"px, 0)",n)):Object.assign({},O,((t={})[w]=y?x+"px":"",t[b]=v?p+"px":"",t.transform="",t))}function nQ(e,t,n){var r=nH(e),i=[nE,n_].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[nE,nj].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}var nJ={left:"right",right:"left",bottom:"top",top:"bottom"};function nX(e){return e.replace(/left|right|bottom|top/g,function(e){return nJ[e]})}var n0={start:"end",end:"start"};function n1(e){return e.replace(/start|end/g,function(e){return n0[e]})}function n2(e,t){var n=t5(e),r=nl(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=nn();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+nu(e),y:l}}function n4(e){var t,n=nl(e),r=ni(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=t9(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=t9(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+nu(e),l=-r.scrollTop;return"rtl"===nc(i||n).direction&&(s+=t9(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function n5(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&t6(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function n3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function n7(e,t){var n=nr(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function n6(e,t,n){return t===nR?n3(n2(e,n)):t3(t)?n7(t,n):n3(n4(nl(e)))}function n9(e){var t=ng(nm(e)),n=["absolute","fixed"].indexOf(nc(e).position)>=0&&t7(e)?nw(e):e;return t3(n)?t.filter(function(e){return t3(e)&&n5(e,n)&&"body"!==ns(e)}):[]}function n8(e,t,n,r){var i=[].concat("clippingParents"===t?n9(e):[].concat(t),[n]),a=i[0],o=i.reduce(function(t,n){var i=n6(e,n,r);return t.top=t9(i.top,t.top),t.right=t8(i.right,t.right),t.bottom=t8(i.bottom,t.bottom),t.left=t9(i.left,t.left),t},n6(e,a,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function re(){return{top:0,right:0,bottom:0,left:0}}function rt(e){return Object.assign({},re(),e)}function rn(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function rr(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,o=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?nN:s,u=n.rootBoundary,c=void 0===u?nR:u,d=n.elementContext,f=void 0===d?nI:d,h=n.altBoundary,p=void 0!==h&&h,m=n.padding,x=void 0===m?0:m,g=rt("number"!=typeof x?x:rn(x,nT)),v=f===nI?nA:nI,y=e.rects.popper,b=e.elements[p?v:f],w=n8(t3(b)?b:b.contextElement||nl(e.elements.popper),l,c,o),_=nr(e.elements.reference),k=nB({reference:_,element:y,strategy:"absolute",placement:i}),j=n3(Object.assign({},y,k)),E=f===nI?j:_,O={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},T=e.modifiersData.offset;if(f===nI&&T){var C=T[i];Object.keys(O).forEach(function(e){var t=[nj,nk].indexOf(e)>=0?1:-1,n=[n_,nk].indexOf(e)>=0?"y":"x";O[e]+=C[n]*t})}return O}function ri(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?nP:l,c=nG(r),d=c?s?nL:nL.filter(function(e){return nG(e)===c}):nT,f=d.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=d);var h=f.reduce(function(t,n){return t[n]=rr(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[nH(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}function ra(e){if(nH(e)===nO)return[];var t=nX(e);return[n1(e),t,n1(t)]}function ro(e){return"x"===e?"y":"x"}function rs(e,t,n){return t9(e,t8(t,n))}
vendor: 4,098 bytes, line 9
9function rl(e,t,n){var r=rs(e,t,n);return r>n?n:r}var ru=function(e,t){return rt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:rn(e,nT))};function rc(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 rd(e){return[n_,nj,nk,nE].some(function(t){return e[t]>=0})}var rf=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?n$:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},n$,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,l={state:i,setOptions:function(n){var o="function"==typeof n?n(i.options):n;c(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:t3(e)?ng(e):e.contextElement?ng(e.contextElement):[],popper:ng(t)};var s=nD(nz([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),u(),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(nU(t,n)){i.rects={reference:nh(t,nw(n),"fixed"===i.options.strategy),popper:np(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<i.orderedModifiers.length;r++){if(!0===i.reset){i.reset=!1,r=-1;continue}var a=i.orderedModifiers[r],o=a.fn,u=a.options,c=void 0===u?{}:u,d=a.name;"function"==typeof o&&(i=o({state:i,options:c,name:d,instance:l})||i)}}}},update:nF(function(){return new Promise(function(e){l.forceUpdate(),e(i)})}),destroy:function(){c(),s=!0}};if(!nU(e,t))return l;function u(){i.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var s=a({state:i,name:t,instance:l,options:r}),u=function(){};o.push(s||u)}})}function c(){o.forEach(function(e){return e()}),o=[]}return l.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}({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,nW)}),s&&l.addEventListener("resize",n.update,nW),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,nW)}),s&&l.removeEventListener("resize",n.update,nW)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=nB({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=void 0===r||r,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,u={placement:nH(t.placement),variation:nG(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nY(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nY(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),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)&&ns(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
vendor: 4,753 bytes, line 9
9:"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)&&ns(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=nP.reduce(function(e,n){return e[n]=nQ(n,t.rects,a),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=nH(x)===x,v=l||(g||!p?[nX(x)]:ra(x)),y=[x].concat(v).reduce(function(e,n){return e.concat(nH(n)===nO?ri(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:p,allowedAutoPlacements:m}):n)},[]),b=t.rects.reference,w=t.rects.popper,_=new Map,k=!0,j=y[0],E=0;E<y.length;E++){var O=y[E],T=nH(O),C=nG(O)===nC,S=[n_,nk].indexOf(T)>=0,N=S?"width":"height",R=rr(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?nj:nE:C?nk:n_;b[N]>w[N]&&(I=nX(I));var A=nX(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,k=!1;break}_.set(O,L)}if(k)for(var P=p?3:1,M=function(e){var t=y.find(function(t){var n=_.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=void 0===i||i,o=n.altAxis,s=void 0!==o&&o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,x=rr(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=nH(t.placement),v=nG(t.placement),y=!v,b=nV(g),w=ro(b),_=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(_){if(a){var S,N="y"===b?n_:nE,R="y"===b?nk:nj,I="y"===b?"height":"width",A=_[b],L=A+x[N],P=A-x[R],M=h?-j[I]/2:0,Z=v===nC?k[I]:j[I],D=v===nC?-j[I]:-k[I],F=t.elements.arrow,z=h&&F?np(F):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:re(),U=$[N],W=$[R],H=rs(0,k[I],z[I]),G=y?k[I]/2-M-H-U-O.mainAxis:Z-H-U-O.mainAxis,V=y?-k[I]/2+M+H+W+O.mainAxis:D+H+W+O.mainAxis,B=t.elements.arrow&&nw(t.elements.arrow),q=B?"y"===b?B.clientTop||0:B.clientLeft||0:0,K=null!=(S=null==T?void 0:T[b])?S:0,Y=A+G-K-q,Q=A+V-K,J=rs(h?t8(L,Y):L,A,h?t9(P,Q):P);_[b]=J,C[b]=J-A}if(s){var X,ee="x"===b?n_:nE,et="x"===b?nk:nj,en=_[w],er="y"===w?"height":"width",ei=en+x[ee],ea=en-x[et],eo=-1!==[n_,nE].indexOf(g),es=null!=(X=null==T?void 0:T[w])?X:0,el=eo?ei:en-k[er]-j[er]-es+O.altAxis,eu=eo?en+k[er]+j[er]-es-O.altAxis:ea,ec=h&&eo?rl(el,en,eu):rs(h?el:ei,en,h?eu:ea);_[w]=ec,C[w]=ec-en}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=nH(n.placement),l=nV(s),u=[nE,nj].indexOf(s)>=0?"height":"width";if(a&&o){var c=ru(i.padding,n),d=np(a),f="y"===l?n_:nE,h="y"===l?nk:nj,p=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],m=o[l]-n.rects.reference[l],x=nw(a),g=x?"y"===l?x.clientHeight||0:x.clientWidth||0:0,v=p/2-m/2,y=c[f],b=g-d[u]-c[h],w=g/2-d[u]/2+v,_=rs(y,w,b),k=l;n.modifiersData[r]=((t={})[k]=_,t.centerOffset=_-w,t)}},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)))&&n5(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.re
9cts.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=rr(t,{elementContext:"reference"}),s=rr(t,{altBoundary:!0}),l=rc(o,r),u=rc(s,i,a),c=rd(l),d=rd(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})}}]}),rh=n(6304),rp=n.n(rh);function rm(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rx=n(3580);function rg(){let[e]=(0,b.useState)(rx.k);return(0,b.useEffect)(()=>()=>e.dispose(),[e]),e}var rv=n(3),ry=n(2308);function rb(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,b.useState)(e),r=(0,ry.t)(),i=(0,b.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,b.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,b.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,b.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}var rw=n(1378),r_=n(5508),rk=n(2047),rj=n(1813),rE=n(8844);function rO(e){let t={called:!1};return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!t.called)return t.called=!0,e(...r)}}function rT(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.add(...n)}function rC(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.remove(...n)}function rS(e,t){let n=(0,rx.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();return n.add(()=>t()),n.dispose}function rN(e,t,n,r){let i=n?"enter":"leave",a=(0,rx.k)(),o=void 0!==r?rO(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=(0,rE.E)(i,{enter:()=>t.enter,leave:()=>t.leave}),l=(0,rE.E)(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=(0,rE.E)(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return rC(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),rT(e,...t.base,...s,...u),a.nextFrame(()=>{rC(e,...t.base,...s,...u),rT(e,...t.base,...s,...l),rS(e,()=>(rC(e,...t.base,...s),rT(e,...t.base,...t.entered),o()))}),a.dispose}function rR(e){let{immediate:t,container:n,direction:r,classes:i,onStart:a,onStop:o}=e,s=(0,ry.t)(),l=rg(),u=(0,r_.E)(r);(0,rw.e)(()=>{t&&(u.current="enter")},[t]),(0,rw.e)(()=>{let e=(0,rx.k)();l.add(e.dispose);let t=n.current;if(t&&"idle"!==u.current&&s.current)return e.dispose(),a.current(u.current),e.add(rN(t,i.current,"enter"===u.current,()=>{e.dispose(),o.current(u.current)})),e.dispose},[r])}let rI=(0,b.createContext)(null);rI.displayName="OpenClosedContext";var rA=((i=rA||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i);function rL(){return(0,b.useContext)(rI)}function rP(e){let{value:t,children:n}=e;return b.createElement(rI.Provider,{value:t},n)}var rM=n(5602),rZ=n(8287);function rD(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/\s+/).filter(e=>e.length>1)}let rF=(0,b.createContext)(null);rF.displayName="TransitionContext";var rz=((a=rz||{}).Visible="visible",a.Hidden="hidden",a);function r$(){let e=(0,b.useContext)(rF);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function rU(){let e=(0,b.useContext)(rW);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let rW=(0,b.createContext)(null);function rH(e){return"children"in e?rH(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 rG(e,t){let n=(0,r_.E)(e),r=(0,b.useRef)([]),i=(0,ry.t)(),a=rg(),o=(0,rv.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rZ.l4.Hidden,o=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==o&&((0,rE.E)(t,{[rZ.l4.Unmount](){r.current.splice(o,1)},[rZ.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!rH(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rv.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,rZ.l4.Unmount)}),l=(0,b.useRef)([]),u=(0,b.useRef)(Promise.resolve()),c=(0,b.useRef)({enter:[],leave:[],idle:[]}),d=(0,rv.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())}
9)]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,rv.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,b.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function rV(){}rW.displayName="NestingContext";let rB=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function rq(e){var t;let n={};for(let r of rB)n[r]=null!=(t=e[r])?t:rV;return n}function rK(e){let t=(0,b.useRef)(rq(e));return(0,b.useEffect)(()=>{t.current=rq(e)},[e]),t}let rY="div",rQ=rZ.AN.RenderStrategy;function rJ(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:s,enter:l,enterFrom:u,enterTo:c,entered:d,leave:f,leaveFrom:h,leaveTo:p,...m}=e,x=(0,b.useRef)(null),g=(0,rj.T)(x,t),v=null==(n=m.unmount)||n?rZ.l4.Unmount:rZ.l4.Hidden,{show:y,appear:w,initial:_}=r$(),[k,j]=(0,b.useState)(y?"visible":"hidden"),E=rU(),{register:O,unregister:T}=E;(0,b.useEffect)(()=>O(x),[O,x]),(0,b.useEffect)(()=>{if(v===rZ.l4.Hidden&&x.current){if(y&&"visible"!==k){j("visible");return}return(0,rE.E)(k,{hidden:()=>T(x),visible:()=>O(x)})}},[k,x,O,T,y,v]);let C=(0,r_.E)({base:rD(m.className),enter:rD(l),enterFrom:rD(u),enterTo:rD(c),entered:rD(d),leave:rD(f),leaveFrom:rD(h),leaveTo:rD(p)}),S=rK({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:s}),N=(0,rk.H)();(0,b.useEffect)(()=>{if(N&&"visible"===k&&null===x.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[x,k,N]);let R=_&&!w,I=w&&y&&_,A=!N||R?"idle":y?"enter":"leave",L=rb(0),P=(0,rv.z)(e=>(0,rE.E)(e,{enter:()=>{L.addFlag(rA.Opening),S.current.beforeEnter()},leave:()=>{L.addFlag(rA.Closing),S.current.beforeLeave()},idle:()=>{}})),M=(0,rv.z)(e=>(0,rE.E)(e,{enter:()=>{L.removeFlag(rA.Opening),S.current.afterEnter()},leave:()=>{L.removeFlag(rA.Closing),S.current.afterLeave()},idle:()=>{}})),Z=rG(()=>{j("hidden"),T(x)},E),D=(0,b.useRef)(!1);rR({immediate:I,container:x,classes:C,direction:A,onStart:(0,r_.E)(e=>{D.current=!0,Z.onStart(x,e,P)}),onStop:(0,r_.E)(e=>{D.current=!1,Z.onStop(x,e,M),"leave"!==e||rH(Z)||(j("hidden"),T(x))})});let F=m,z={ref:g};return I?F={...F,className:(0,rM.A)(m.className,...C.current.enter,...C.current.enterFrom)}:D.current&&(F.className=(0,rM.A)(m.className,null==(r=x.current)?void 0:r.className),""===F.className&&delete F.className),b.createElement(rW.Provider,{value:Z},b.createElement(rP,{value:(0,rE.E)(k,{visible:rA.Open,hidden:rA.Closed})|L.flags},(0,rZ.sY)({ourProps:z,theirProps:F,defaultTag:rY,features:rQ,visible:"visible"===k,name:"Transition.Child"})))}function rX(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=(0,b.useRef)(null),s=(0,rj.T)(o,t);(0,rk.H)();let l=rL();if(void 0===n&&null!==l&&(n=(l&rA.Open)===rA.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,b.useState)(n?"visible":"hidden"),d=rG(()=>{c("hidden")}),[f,h]=(0,b.useState)(!0),p=(0,b.useRef)([n]);(0,rw.e)(()=>{!1!==f&&p.current[p.current.length-1]!==n&&(p.current.push(n),h(!1))},[p,n]);let m=(0,b.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,b.useEffect)(()=>{if(n)c("visible");else if(rH(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,rv.z)(()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rv.z)(()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)});return b.createElement(rW.Provider,{value:d},b.createElement(rF.Provider,{value:m},(0,rZ.sY)({ourProps:{...x,as:b.Fragment,children:b.createElement(r2,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:b.Fragment,features:rQ,visible:"visible"===u,name:"Transition"})))}function r0(e,t){let n=null!==(0,b.useContext)(rF),r=null!==rL();return b.createElement(b.Fragment,null,!n&&r?b.createElement(r1,{ref:t,...e}):b.createElement(r2,{ref:t,...e}))}let r1=(0,rZ.yV)(rX),r2=(0,rZ.yV)(rJ),r4=Object.assign(r1,{Child:(0,rZ.yV)(r0),Root:r1});var r5=n(953);function r3(e,t){let[n,r]=(0,b.useState)(e),i=(0,r_.E)(e);return(0,rw.e)(()=>r(i.current),[i,r,...t]),n}function r7(e,t,n){let[r,i]=(0,b.useState)(n),a=void 0!==e,o=(0,b.useRef)(a),s=(0,b.useRef)(!1),l=(0,b.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,rv.z)(e=>(a||i(e),null==t?void 0:t(e)))]}var r6=n(4924),r9=n(8657);function r8(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ie(){return/Android/gi.test(window.navigator.userAgent)}function it(){return r8()||ie()}function ir(e,t,n){let r=(0,r_.E)(t);(0,b.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function ii(e,t,n){let r=(0,r_.E)(t);(0,b.useEffect)(()=>{function t(e){r.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}function ia(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,b.useRef)(!1);
9function i(n,i){if(!r.current||n.defaultPrevented)return;let a=i(n);if(null!==a&&a.getRootNode().contains(a)&&a.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(a)||n.composed&&n.composedPath().includes(e))return}return(0,r9.sP)(a,r9.tJ.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}(0,b.useEffect)(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);let a=(0,b.useRef)(null);ir("pointerdown",e=>{var t,n;r.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),ir("mousedown",e=>{var t,n;r.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),ir("click",e=>{it()||a.current&&(i(e,()=>a.current),a.current=null)},!0),ir("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),ii("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var io=n(961);let is=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function il(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 is.test(o)&&(o=o.replace(is,"")),o}function iu(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():il(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return il(e).trim()}function ic(e){let t=(0,b.useRef)(""),n=(0,b.useRef)("");return(0,rv.z)(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=iu(r).trim().toLowerCase();return t.current=i,n.current=a,a})}function id(e){return[e.screenX,e.screenY]}function ih(){let e=(0,b.useRef)([-1,-1]);return{wasMoved(t){let n=id(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=id(t)}}}var ip=n(7524);function im(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&&ix(n))&&r}function ix(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function ig(e){throw Error("Unexpected object: "+e)}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<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:ig(e)}}function ib(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[r,i]of Object.entries(e))i_(n,iw(t,r),i);return n}function iw(e,t){return e?e+"["+t+"]":t}function i_(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())i_(e,iw(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,"".concat(n)]):null==n?e.push([t,""]):ib(n,t,e)}var ik=n(8961),ij=n(933),iE=((s=iE||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s),iO=((l=iO||{})[l.Single=0]="Single",l[l.Multi=1]="Multi",l),iT=((u=iT||{})[u.Pointer=0]="Pointer",u[u.Other=1]="Other",u),iC=((c=iC||{})[c.OpenListbox=0]="OpenListbox",c[c.CloseListbox=1]="CloseListbox",c[c.GoToOption=2]="GoToOption",c[c.Search=3]="Search",c[c.ClearSearch=4]="ClearSearch",c[c.RegisterOption=5]="RegisterOption",c[c.UnregisterOption=6]="UnregisterOption",c[c.RegisterLabel=7]="RegisterLabel",c);function iS(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,r9.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 iN={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=iS(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)=>
9{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=iS(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=iS(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})},iR=(0,b.createContext)(null);function iI(e){let t=(0,b.useContext)(iR);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,iI),t}return t}iR.displayName="ListboxActionsContext";let iA=(0,b.createContext)(null);function iL(e){let t=(0,b.useContext)(iA);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,iL),t}return t}function iP(e,t){return(0,rE.E)(t.type,iN,e,t)}iA.displayName="ListboxDataContext";let iM=b.Fragment;function iZ(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,rj.T)(t),[p=c?[]:void 0,m]=r7(n,o,r),[x,g]=(0,b.useReducer)(iP,{dataRef:(0,b.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,b.useRef)({static:!1,hold:!1}),y=(0,b.useRef)(null),w=(0,b.useRef)(null),_=(0,b.useRef)(null),k=(0,rv.z)("string"==typeof s?(e,t)=>{let n=s;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:s),j=(0,b.useCallback)(e=>(0,rE.E)(E.mode,{1:()=>p.some(t=>k(t,e)),0:()=>k(p,e)}),[p]),E=(0,b.useMemo)(()=>({...x,value:p,disabled:l,mode:c?1:0,orientation:f,compare:k,isSelected:j,optionsPropsRef:v,labelRef:y,buttonRef:w,optionsRef:_}),[p,l,c,x]);(0,rw.e)(()=>{x.dataRef.current=E},[E]),ia([E.buttonRef,E.optionsRef],(e,t)=>{var n;g({type:1}),(0,r9.sP)(t,r9.tJ.Loose)||(e.preventDefault(),null==(n=E.buttonRef.current)||n.focus())},0===E.listboxState);let O=(0,b.useMemo)(()=>({open:0===E.listboxState,disabled:l,value:p}),[E,l,p]),T=(0,rv.z)(e=>{let t=E.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),C=(0,rv.z)(()=>{if(null!==E.activeOptionIndex){let{dataRef:e,id:t}=E.options[E.activeOptionIndex];L(e.current.value),g({type:2,focus:iv.Specific,id:t})}}),S=(0,rv.z)(()=>g({type:0})),N=(0,rv.z)(()=>g({type:1})),R=(0,rv.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,rv.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rv.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rv.z)(e=>(0,rE.E)(E.mode,{0:()=>null==m?void 0:m(e),1(){let t=E.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,rv.z)(e=>g({type:3,value:e})),M=(0,rv.z)(()=>g({type:4})),Z=(0,b.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:R,closeListbox:N,openListbox:S,selectActiveOption:C,selectOption:T,search:P,clearSearch:M}),[]),D={ref:h},F=(0,b.useRef)(null),z=rg();return(0,b.useEffect)(()=>{F.current&&void 0!==r&&z.addEventListener(F.current,"reset",()=>{null==m||m(r)})},[F,m]),b.createElement(iR.Provider,{value:Z},b.createElement(iA.Provider,{value:E},b.createElement(rP,{value:(0,rE.E)(E.listboxState,{0:rA.Open,1:rA.Closed})},null!=a&&null!=p&&ib({[a]:p}).map((e,t)=>{let[n,r]=e;return b.createElement(ip._,{features:ip.A.Hidden,ref:0===t?e=>{var t;F.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rZ.oA)({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,disabled:l,name:n,value:r})})}),(0,rZ.sY)({ourProps:D,theirProps:d,slot:O,defaultTag:iM,name:"Listbox"}))))}let iD="button";function iF(e,t){var n;let r=(0,r6.M)(),{id:i="headlessui-listbox-button-".concat(r),...a}=e,o=iL("Listbox.Button"),s=iI("Listbox.Button"),l=(0,rj.T)(o.buttonRef,t),u=rg(),c=(0,rv.z)(e=>{switch(e.key){case ij.R.Space:case ij.R.Enter:case ij.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iv.First)});break;case ij.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(iv.Last)})}}),d=(0,rv.z)(e=>{e.key===ij.R.Space&&e.preventDefault()}),f=(0,rv.z)(e=>{if(im(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})}
9)):(e.preventDefault(),s.openListbox())}),h=r3(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),p=(0,b.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,io.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,rZ.sY)({ourProps:m,theirProps:a,slot:p,defaultTag:iD,name:"Listbox.Button"})}let iz="label";function i$(e,t){let n=(0,r6.M)(),{id:r="headlessui-listbox-label-".concat(n),...i}=e,a=iL("Listbox.Label"),o=iI("Listbox.Label"),s=(0,rj.T)(a.labelRef,t);(0,rw.e)(()=>o.registerLabel(r),[r]);let l=(0,rv.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,b.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rZ.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:iz,name:"Listbox.Label"})}let iU="ul",iW=rZ.AN.RenderStrategy|rZ.AN.Static;function iH(e,t){var n;let r=(0,r6.M)(),{id:i="headlessui-listbox-options-".concat(r),...a}=e,o=iL("Listbox.Options"),s=iI("Listbox.Options"),l=(0,rj.T)(o.optionsRef,t),u=rg(),c=rg(),d=rL(),f=null!==d?(d&rA.Open)===rA.Open:0===o.listboxState;(0,b.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 h=(0,rv.z)(e=>{switch(c.dispose(),e.key){case ij.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case ij.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,rx.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
9));break;case(0,rE.E)(o.orientation,{vertical:ij.R.ArrowDown,horizontal:ij.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.Next);case(0,rE.E)(o.orientation,{vertical:ij.R.ArrowUp,horizontal:ij.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.Previous);case ij.R.Home:case ij.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.First);case ij.R.End:case ij.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(iv.Last);case ij.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 ij.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),p=r3(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.id},[o.buttonRef.current]),m=(0,b.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,rZ.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:iU,features:iW,visible:f,name:"Listbox.Options"})}let iG="li";function iV(e,t){let n=(0,r6.M)(),{id:r="headlessui-listbox-option-".concat(n),disabled:i=!1,value:a,...o}=e,s=iL("Listbox.Option"),l=iI("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,b.useRef)(null),f=ic(d),h=(0,r_.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),p=(0,rj.T)(t,d);(0,rw.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rx.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,rw.e)(()=>l.registerOption(r,h),[h,r]);let m=(0,rv.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rx.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
9))}),x=(0,rv.z)(()=>{if(i)return l.goToOption(iv.Nothing);l.goToOption(iv.Specific,r)}),g=ih(),v=(0,rv.z)(e=>g.update(e)),y=(0,rv.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(iv.Specific,r,0))}),w=(0,rv.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(iv.Nothing))}),_=(0,b.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rZ.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:w,onMouseLeave:w},theirProps:o,slot:_,defaultTag:iG,name:"Listbox.Option"})}let iB=Object.assign((0,rZ.yV)(iZ),{Button:(0,rZ.yV)(iF),Label:(0,rZ.yV)(i$),Options:(0,rZ.yV)(iH),Option:(0,rZ.yV)(iV)});var iq=n(3935),iK=n(9008),iY=n.n(iK);function iQ(){return(iQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function iJ(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var iX=["keyOverride"],i0=["crossOrigin"],i1={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},i2=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(b.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(b.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(b.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(b.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(b.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(b.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(b.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(b.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},i4=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(i1.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,i1.templateTitle&&(s=i1.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(b.createElement("title",{key:"title"},s));var l=void 0===e.noindex?i1.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?i1.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c="";if(e.robotsProps){var d=e.robotsProps,f=d.nosnippet,h=d.maxSnippet,p=d.maxImagePreview,m=d.maxVideoPreview,x=d.noarchive,g=d.noimageindex,v=d.notranslate,y=d.unavailableAfter;c=(f?",nosnippet":"")+(h?",max-snippet:"+h:"")+(p?",max-image-preview:"+p:"")+(x?",noarchive":"")+(y?",unavailable_after:"+y:"")+(g?",noimageindex":"")+(m?",max-video-preview:"+m:"")+(v?",notranslate":"")}if(l||u?(e.dangerouslySetAllPagesToNoIndex&&(i1.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(i1.nofollow=!0),o.push(b.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+c}))):o.push(b.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+c})),e.description&&o.push(b.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(b.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(b.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(b.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(b.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(b.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(b.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(b.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(b.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(b.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(b.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(b.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(b.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(b.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(b.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(b.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.forEac
9h(function(e,t){o.push(b.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(b.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(b.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(b.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(b.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(b.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(b.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(b.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(b.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(b.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(b.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(b.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(b.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(b.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(b.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(b.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.forEac
9h(function(e,t){o.push(b.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(b.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(i1.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(i1.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,i2("image",e.openGraph.images,{defaultWidth:i1.defaultOpenGraphImageWidth,defaultHeight:i1.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(i1.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(i1.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,i2("video",e.openGraph.videos,{defaultWidth:i1.defaultOpenGraphVideoWidth,defaultHeight:i1.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,i2("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(b.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(b.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(b.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=iJ(e,iX);o.push(b.createElement("meta",iQ({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=iJ(e,i0),i="anonymous"===n||"use-credentials"===n||""===n?n:void 0;o.push(b.createElement("link",iQ({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:i})))}),o},i5=function(e){return b.createElement(iY(),null,i4(e))},i3=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 b.createElement(b.Fragment,null,b.createElement(i5,{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}))};function i7(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,b.useMemo)(()=>(0,ik.r)(...t),[...t])}function i6(e){let{container:t,accept:n,walk:r,enabled:i=!0}=e,a=(0,b.useRef)(n),o=(0,b.useRef)(r);(0,b.useEffect)(()=>{a.current=n,o.current=r},[n,r]),(0,rw.e)(()=>{if(!t||!i)return;let e=(0,ik.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])}RegExp("["+Object.keys(Object.freeze({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"})).join("")+"]","g");var i9=((d=i9||{})[d.Open=0]="Open",d[d.Closed=1]="Closed",d),i8=((f=i8||{})[f.Pointer=0]="Pointer",f[f.Other=1]="Other",f),ae=((h=ae||{})[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 at(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,r9.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 an={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=at(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)=>
9{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=at(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=at(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},ar=(0,b.createContext)(null);function ai(e){let t=(0,b.useContext)(ar);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Menu /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,ai),t}return t}function aa(e,t){return(0,rE.E)(t.type,an,e,t)}ar.displayName="MenuContext";let ao=b.Fragment;function as(e,t){let{__demoMode:n=!1,...r}=e,i=(0,b.useReducer)(aa,{__demoMode:n,menuState:n?0:1,buttonRef:(0,b.createRef)(),itemsRef:(0,b.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rj.T)(t);ia([s,o],(e,t)=>{var n;l({type:1}),(0,r9.sP)(t,r9.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rv.z)(()=>{l({type:1})}),d=(0,b.useMemo)(()=>({open:0===a,close:c}),[a,c]),f={ref:u};return b.createElement(ar.Provider,{value:i},b.createElement(rP,{value:(0,rE.E)(a,{0:rA.Open,1:rA.Closed})},(0,rZ.sY)({ourProps:f,theirProps:r,slot:d,defaultTag:ao,name:"Menu"})))}let al="button";function au(e,t){var n;let r=(0,r6.M)(),{id:i="headlessui-menu-button-".concat(r),...a}=e,[o,s]=ai("Menu.Button"),l=(0,rj.T)(o.buttonRef,t),u=rg(),c=(0,rv.z)(e=>{switch(e.key){case ij.R.Space:case ij.R.Enter:case ij.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iv.First}));break;case ij.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:iv.Last}))}}),d=(0,rv.z)(e=>{e.key===ij.R.Space&&e.preventDefault()}),f=(0,rv.z)(t=>{if(im(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})}
9)):(t.preventDefault(),s({type:0})))}),h=(0,b.useMemo)(()=>({open:0===o.menuState}),[o]),p={ref:l,id:i,type:(0,io.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,rZ.sY)({ourProps:p,theirProps:a,slot:h,defaultTag:al,name:"Menu.Button"})}let ac="div",ad=rZ.AN.RenderStrategy|rZ.AN.Static;function af(e,t){var n,r;let i=(0,r6.M)(),{id:a="headlessui-menu-items-".concat(i),...o}=e,[s,l]=ai("Menu.Items"),u=(0,rj.T)(s.itemsRef,t),c=i7(s.itemsRef),d=rg(),f=rL(),h=null!==f?(f&rA.Open)===rA.Open:0===s.menuState;(0,b.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]),i6({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,rv.z)(e=>{var t,n;switch(d.dispose(),e.key){case ij.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case ij.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,r9.wI)(s.buttonRef.current);break;case ij.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.Next});case ij.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.Previous});case ij.R.Home:case ij.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.First});case ij.R.End:case ij.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:iv.Last});case ij.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rx.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case ij.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rx.k)().nextFrame(()=>{(0,r9.EO)(s.buttonRef.current,e.shiftKey?r9.TO.Previous:r9.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rv.z)(e=>{e.key===ij.R.Space&&e.preventDefault()}),x=(0,b.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,rZ.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:ac,features:ad,visible:h,name:"Menu.Items"})}let ah=b.Fragment;function ap(e,t){let n=(0,r6.M)(),{id:r="headlessui-menu-item-".concat(n),disabled:i=!1,...a}=e,[o,s]=ai("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,b.useRef)(null),c=(0,rj.T)(t,u);(0,rw.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rx.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=ic(u),f=(0,b.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rw.e)(()=>{f.current.disabled=i},[f,i]),(0,rw.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let h=(0,rv.z)(()=>{s({type:1})}),p=(0,rv.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,r9.wI)(o.buttonRef.current)}),m=(0,rv.z)(()=>{if(i)return s({type:2,focus:iv.Nothing});s({type:2,focus:iv.Specific,id:r})}
9),x=ih(),g=(0,rv.z)(e=>x.update(e)),v=(0,rv.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:iv.Specific,id:r,trigger:0}))}),y=(0,rv.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:iv.Nothing}))}),w=(0,b.useMemo)(()=>({active:l,disabled:i,close:h}),[l,i,h]);return(0,rZ.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:w,defaultTag:ah,name:"Menu.Item"})}let am=Object.assign((0,rZ.yV)(as),{Button:(0,rZ.yV)(au),Items:(0,rZ.yV)(af),Item:(0,rZ.yV)(ap)}),ax=e=>"object"==typeof e&&null!=e&&1===e.nodeType,ag=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,av=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return ag(n.overflowY,t)||ag(n.overflowX,t)||(e=>{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.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},ay=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,ab=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},aw=(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(!ax(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,h=[],p=e;for(;ax(p)&&d(p);){if((p=ab(p))===f){h.push(p);break}null!=p&&p===document.body&&av(p)&&!av(document.documentElement)||null!=p&&av(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:_,bottom:k,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?k+T:w+y/2-E+T,N="center"===l?j+b/2-C+O:"end"===l?_+O:j-C,R=[];for(let e=0;e<h.length;e++){let t=h[e],{height:n,width:r,top:i,right:a,bottom:u,left:c}=t.getBoundingClientRect();if("if-needed"===o&&w>=0&&j>=0&&k<=x&&_<=m&&w>=i&&k<=u&&j>=c&&_<=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?ay(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:ay(g,g+m,m,p,O,g+N,g+N+b,b),C=Math.max(0,C+v),I=Math.max(0,I+g);
9else{C="start"===s?S-i-E:"end"===s?S-u+T+L:"nearest"===s?ay(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:ay(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},a_=e=>{let t;return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"}};function ak(e,t){let n;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 r=(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(n=t)&&"function"==typeof n.behavior)return t.behavior(aw(e,t));let i="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:a,left:o}of aw(e,a_(t))){let e=a-r.top+r.bottom,t=o-r.left+r.right;n.scroll({top:e,left:t,behavior:i})}}function aj(){return(aj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}
9var aE=n(6826),aO=n.n(aE),aT={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};aS.rankings=aT;var aC=function(e,t){return String(e.rankedValue).localeCompare(String(t.rankedValue))};function aS(e,t,n){void 0===n&&(n={});var r=n,i=r.keys,a=r.threshold,o=void 0===a?aT.MATCHES:a,s=r.baseSort,l=void 0===s?aC:s,u=r.sorter;return(void 0===u?function(e){return e.sort(function(e,t){return aL(e,t,l)})}:u)(e.reduce(c,[])).map(function(e){return e.item});function c(e,r,a){var s=aN(r,i,t,n),l=s.rank,u=s.keyThreshold;return l>=(void 0===u?o:u)&&e.push(aj({},s,{item:r,index:a})),e}}function aN(e,t,n,r){if(!t){var i=e;return{rankedValue:i,rank:aR(i,n,r),keyIndex:-1,keyThreshold:r.threshold}}return aD(e,t).reduce(function(e,t,i){var a=e.rank,o=e.rankedValue,s=e.keyIndex,l=e.keyThreshold,u=t.itemValue,c=t.attributes,d=aR(u,n,r),f=o,h=c.minRanking,p=c.maxRanking,m=c.threshold;return d<h&&d>=aT.MATCHES?d=h:d>p&&(d=p),d>a&&(a=d,s=i,l=m,f=u),{rankedValue:f,rank:a,keyIndex:s,keyThreshold:l}},{rankedValue:e,rank:aT.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}function aR(e,t,n){return(e=aP(e,n),(t=aP(t,n)).length>e.length)?aT.NO_MATCH:e===t?aT.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?aT.EQUAL:e.startsWith(t)?aT.STARTS_WITH:e.includes(" "+t)?aT.WORD_STARTS_WITH:e.includes(t)?aT.CONTAINS:1===t.length?aT.NO_MATCH:aI(e).includes(t)?aT.ACRONYM:aA(e,t)}function aI(e){var t="";return e.split(" ").forEach(function(e){e.split("-").forEach(function(e){t+=e.substr(0,1)})}),t}function aA(e,t){var n=0,r=0;function i(e,t,r){for(var i=r,a=t.length;i<a;i++)if(t[i]===e)return n+=1,i+1;return -1}function a(e){var r=1/e,i=n/t.length;return aT.MATCHES+i*r}var o=i(t[0],e,0);if(o<0)return aT.NO_MATCH;r=o;for(var s=1,l=t.length;s<l;s++)if(!((r=i(t[s],e,r))>-1))return aT.NO_MATCH;return a(r-o)}function aL(e,t,n){var r=-1,i=1,a=e.rank,o=e.keyIndex,s=t.rank,l=t.keyIndex;return a!==s?a>s?r:i:o===l?n(e,t):o<l?r:i}function aP(e,t){return e=""+e,t.keepDiacritics||(e=aO()(e)),e}function aM(e,t){var n;if("object"==typeof t&&(t=t.key),"function"==typeof t)n=t(e);else if(null==e)n=null;else if(Object.hasOwnProperty.call(e,t))n=e[t];else{if(t.includes("."))return aZ(t,e);n=null}return null==n?[]:Array.isArray(n)?n:[String(n)]}function aZ(e,t){for(var n=e.split("."),r=[t],i=0,a=n.length;i<a;i++){for(var o=n[i],s=[],l=0,u=r.length;l<u;l++){var c=r[l];if(null!=c){if(Object.hasOwnProperty.call(c,o)){var d=c[o];null!=d&&s.push(d)}else"*"===o&&(s=s.concat(c))}}r=s}if(Array.isArray(r[0])){var f=[];return f.concat.apply(f,r)}return r}function aD(e,t){for(var n=[],r=0,i=t.length;r<i;r++)for(var a=t[r],o=az(a),s=aM(e,a),l=0,u=s.length;l<u;l++)n.push({itemValue:s[l],attributes:o});return n}var aF={maxRanking:1/0,minRanking:-1/0};function az(e){return"string"==typeof e?aF:aj({},aF,e)}var a$=n(2154),aU=Object.defineProperty,aW=Object.defineProperties,aH=Object.getOwnPropertyDescriptors,aG=Object.getOwnPropertySymbols,aV=Object.prototype.hasOwnProperty,aB=Object.prototype.propertyIsEnumerable,aq=(e,t,n)=>t in e?aU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aK=(e,t)=>{for(var n in t||(t={}))aV.call(t,n)&&aq(e,n,t[n]);if(aG)for(var n of aG(t))aB.call(t,n)&&aq(e,n,t[n]);return e},aY=(e,t)=>aW(e,aH(t)),aQ=(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)&&aB.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())}),aX=(0,b.createContext)({}),a0=(0,b.createContext)(e=>e),a1=(0,b.createContext)(null),a2=new WeakMap,a4=(0,b.createContext)(a2),a5=()=>(0,b.useContext)(aX),a3=()=>(0,b.useContext)(a0),a7=()=>(0,b.useContext)(a1),a6=()=>(0,b.useContext)(a4),a9=({children:e})=>{let[t,n]=(0,b.useState)({}),r=(0,b.useRef)(null);return o3&&!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)&&a2.has(t.target)){let[e,r]=a2.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].index<i&&(i=n[e].index,r=e),i===1/0&&n[e].aboveHalfViewport&&n[e].index>
9a&&(a=n[e].index,r=e);return n[r]&&(n[r].isActive=!0),n})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tR.jsx)(aX.Provider,{value:t,children:(0,tR.jsx)(a0.Provider,{value:n,children:(0,tR.jsx)(a4.Provider,{value:a2,children:(0,tR.jsx)(a1.Provider,{value:r.current,children:e})})})})},a8=(0,b.createContext)({menu:!1,setMenu:()=>!1}),oe=()=>(0,b.useContext)(a8),ot=a8.Provider,on=(0,b.createContext)(aK({title:"",frontMatter:{}},sr));function or(){return(0,b.useContext)(on)}var oi=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,b.useState)(!1);v||(v=aK(aK({},sr),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&si.includes(e)?aK(aK({},sr[e]),t):t]))));let a=aY(aK(aY(aK({},v),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tR.jsx)(tD,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tR.jsx)(on.Provider,{value:a,children:(0,tR.jsx)(ot,{value:{menu:r,setMenu:i},children:e})})})},oa=(0,b.createContext)(e=>e),oo=()=>(0,b.useContext)(oa),os=oa.Provider,ol=Number(tN.split(".")[0]),ou=(0,b.forwardRef)(function(e,t){var n=e,{href:r="",children:i,newWindow:a}=n,o=aQ(n,["href","children","newWindow"]);let s=or();return a?(0,tR.jsxs)("a",aY(aK({ref:t,href:r,target:"_blank",rel:"noreferrer"},o),{children:[i,(0,tR.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):r?ol>12||s.newNextLinkBehavior?(0,tR.jsx)(tS(),aY(aK({ref:t,href:r},o),{children:i})):(0,tR.jsx)(tS(),{href:r,passHref:!0,children:(0,tR.jsx)("a",aY(aK({ref:t},o),{children:i}))}):(0,tR.jsx)("a",aY(aK({ref:t},o),{children:i}))});ou.displayName="Anchor";var oc=({repository:e="",title:t,labels:n})=>{let r=t4()(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}
10`)}`:""}`:r.resource.includes("github")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/issues/new?title=${encodeURIComponent(t)}&labels=${n||""}`:"#"};function od(e,t){return e?"function"!=typeof e?e:(0,tR.jsx)(e,aK({},t)):null}function of(e,t={}){return("function"==typeof e?e(t):e)||""}function oh(e){let t=(0,b.useRef)(null),n=(0,b.useRef)(null),r=(0,b.useRef)(),i=(0,b.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=rf(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,b.useMemo)(()=>[e=>{t.current=e,i()},e=>{n.current=e,i()}],[t,n,i])}function op(e=""){let t=or(),n=t4()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}function om(){let{banner:e}=or();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,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tR.jsxs)("div",{className:(0,w.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,tR.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:od(e.text)}),e.dismissible&&(0,tR.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,tR.jsx)(T.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function ox({activePath:e}){return(0,tR.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,tR.jsxs)(b.Fragment,{children:[n>0&&(0,tR.jsx)(T.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tR.jsx)("div",{className:(0,w.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,tR.jsx)(ou,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function og({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,b.useRef)(null),a=(0,b.useRef)(null),o=(0,b.useRef)(0),s=(0,b.useRef)(n),l=(0,b.useRef)(!0);return(0,b.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,b.useEffect)(()=>{l.current=!1},[]),(0,tR.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,tR.jsx)("div",{ref:a,className:(0,w.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 ov=(0,b.memo)(function({value:e,match:t}){let n;if(!e)return null;let r=e.split(""),i=RegExp(rm(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,tR.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tR.jsxs)(tR.Fragment,{children:[o,r.join("")]})}),oy=(0,b.forwardRef)((e,t)=>{var n=e,{className:r,suffix:i}=n,a=aQ(n,["className","suffix"]);return(0,tR.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,tR.jsx)("input",aK({ref:t,spell
10Check:!1,className:(0,w.Z)(r,"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")},a)),i]})});oy.displayName="Input";var ob=["input","select","button","textarea"];function ow({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,b.useState)(!1),c=or(),[d,f]=(0,b.useState)(0),h=(0,y.useRouter)(),{setMenu:p}=oe(),m=(0,b.useRef)(null),x=(0,b.useRef)(null),[g,v]=(0,b.useState)(!1),[k,j]=(0,b.useState)(!0);(0,b.useEffect)(()=>{f(0)},[n]),(0,b.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||ob.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 E=(0,b.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),p(!1)},[r,p]),O=(0,b.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),C=(0,b.useCallback)(function(e){var t,n,r;switch(e.key){case"ArrowDown":if(d+1<s.length){let n=null==(t=x.current)?void 0:t.querySelector(`li:nth-of-type(${d+2}) > a`);n&&(e.preventDefault(),O({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(),O({currentTarget:t}),t.focus())}break;case"Enter":{let e=s[d];e&&k&&(h.push(e.route),E());break}case"Escape":u(!1),null==(r=m.current)||r.blur()}},[d,s,h,E,O,k]),S=_(),N=l&&!!n,R=(0,tR.jsx)(r4,{show:S&&(!l||!!n),as:b.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,tR.jsx)("kbd",{className:(0,w.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":S&&(navigator.userAgent.includes("Macintosh")?(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),I=(0,b.useCallback)(e=>{j("compositionend"===e.type)},[]);return(0,tR.jsxs)("div",{className:(0,w.Z)("nextra-search nx-relative md:nx-w-64",e),children:[N&&(0,tR.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tR.jsx)(oy,{ref:m,value:n,onChange:e=>{let{value:t}=e.target;r(t),u(!!t)},onFocus:()=>{null==i||i(!0),v(!0)},onBlur:()=>
10{v(!1)},onCompositionStart:I,onCompositionEnd:I,type:"search",placeholder:of(c.search.placeholder),onKeyDown:C,suffix:R}),(0,tR.jsx)(r4,{show:N,as:r4.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tR.jsx)("ul",{className:(0,w.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,tR.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,tR.jsx)(T.AV,{className:"nx-h-5 nx-w-5"}),of(c.search.error)]}):a?(0,tR.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,tR.jsx)(T.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),od(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tR.jsxs)(b.Fragment,{children:[t,(0,tR.jsx)("li",{className:(0,w.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,tR.jsx)(ou,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:e,"data-index":i,onFocus:O,onMouseMove:O,onClick:E,onKeyDown:C,children:n})})]},r)):od(c.search.emptyResult)})})]})}var o_={},ok=new Map,oj=(e,t)=>{let n=e+"@"+t;if(ok.has(n))return ok.get(n);let r=oE(e,t);return ok.set(n,r),r},oE=(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(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<d.length;e++)a.add({id:`${u}_${e}`,url:u,title:c,pageId:`page_${o}`,content:d[e]});n+=` ${c} ${i}`}i.add({id:o,title:t.title,content:n})}o_[t]=[i,a]});function oO({className:e}){let{locale:t=o5,basePath:n}=(0,y.useRouter)(),[r,i]=(0,b.useState)(!1),[a,o]=(0,b.useState)(!1),[s,l]=(0,b.useState)([]),[u,c]=(0,b.useState)(""),d=e=>{var n,r;if(!e)return;let[i,a]=o_[t],o=(null==(n=i.search(e,5,{enrich:!0,suggest:!0})[0])?void 0:n.result)||[],s=[],u={};for(let t=0;t<o.length;t++){let n=o[t];u[t]=0;let i=(null==(r=a.search(e,5,{enrich:!0,suggest:!0,tag:`page_${n.id}`})[0])?void 0:r.result)||[],l=!0,c={};for(let r=0;r<i.length;r++){let{doc:a}=i[r];void 0!==a.display&&u[t]++;let{url:o,title:d}=a,f=a.display||a.content;c[o+"@"+f]||(c[o+"@"+f]=!0,s.push({_page_rk:t,_section_rk:r,route:o,prefix:l&&(0,tR.jsx)("div",{className:(0,w.Z)("nx-mx-2.5 nx-mb-2 nx-mt-6 nx-select-none nx-border-b nx-border-black/10 nx-px-2.5 nx-pb-1.5 nx-text-xs nx-font-semibold nx-uppercase nx-text-gray-500 first:nx-mt-0 dark:nx-border-white/20 dark:nx-text-gray-300","contrast-more:nx-border-gray-600 contrast-more:nx-text-gray-900 contrast-more:dark:nx-border-gray-50 contrast-more:dark:nx-text-gray-50"),children:n.doc.title}),children:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("div",{className:"nx-text-base nx-font-semibold nx-leading-5",children:(0,tR.jsx)(ov,{match:e,value:d})}),f&&(0,tR.jsx)("div",{className:"excerpt nx-mt-1 nx-text-sm nx-leading-[1.35rem] nx-text-gray-600 dark:nx-text-gray-400 contrast-more:dark:nx-text-gray-50",children:(0,tR.jsx)(ov,{match:e,value:f})})]})}),l=!1)}}l(s.sort((e,t)=>
10e._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,b.useCallback)(e=>aJ(this,null,function*(){if(e&&!o_[t]){i(!0);try{yield oj(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]),h=e=>aJ(this,null,function*(){if(c(e),!r){if(!o_[t]){i(!0);try{yield oj(n,t)}catch(e){o(!0)}i(!1)}d(e)}});return(0,tR.jsx)(ow,{loading:r,error:a,value:u,onChange:h,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 oT({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=oh({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,tR.jsx)(iB,{value:t,onChange:n,children:({open:n})=>(0,tR.jsxs)(iB.Button,{ref:a,title:r,className:(0,w.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,tR.jsx)(oC,{children:(0,tR.jsx)(r4,{ref:o,show:n,as:iB.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,tR.jsxs)(iB.Option,{value:e,className:({active:e})=>(0,w.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,tR.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tR.jsx)(T.nQ,{})})]},e.key))})})]})})}function oC(e){return _()?(0,iq.createPortal)(e.children,document.body):null}function oS({lite:e,className:t}){let n=or(),{locale:r,asPath:i}=(0,y.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tR.jsx)(oT,{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,r5.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tR.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tR.jsx)(T.n9,{}),(0,tR.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function oN({menu:e}){let t=or();return(0,tR.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,tR.jsxs)("div",{className:(0,w.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,tR.jsx)(oS,{}),t.darkMode&&od(t.themeSwitch.component)]}),(0,tR.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tR.jsx)("div",{className:(0,w.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:od(t.footer.text)})]})}function oR(){var e;let t=or(),{resolvedTheme:n}=tZ(),r=_(),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,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)(i3,aK({title:t.title,description:d.description,canonical:d.c
10anonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tR.jsxs)(iY(),{children:[t.faviconGlyph?(0,tR.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text x='50' y='.9em' font-size='90' text-anchor='middle'>${t.faviconGlyph}</text><style>text{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";fill:black}@media(prefers-color-scheme:dark){text{fill:white}}</style></svg>`}):null,r?(0,tR.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tR.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tR.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tR.jsx)("style",{children:`
11        :root {
12          --nextra-primary-hue: ${l}deg;
13          --nextra-primary-saturation: ${c}%;
14          --nextra-navbar-height: 4rem;
15          --nextra-menu-height: 3.75rem;
16          --nextra-banner-height: 2.5rem;
17        }
18        
19        .dark {
20          --nextra-primary-hue: ${s}deg;
21          --nextra-primary-saturation: ${u}%;
22        }
23      `}),i]})]})}var oI={link:(0,w.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,w.Z)("nx-inline nx-h-5 nx-shrink-0")},oA=({flatDirectories:e,currentIndex:t})=>{let n=or().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,tR.jsxs)("div",{className:(0,w.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,tR.jsxs)(ou,{href:i.route,title:i.title,className:(0,w.Z)(oI.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tR.jsx)(T.LZ,{className:(0,w.Z)(oI.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tR.jsxs)(ou,{href:a.route,title:a.title,className:(0,w.Z)(oI.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,tR.jsx)(T.LZ,{className:(0,w.Z)(oI.icon,"rtl:nx-rotate-180")})]})]}):null},oL={link:(0,w.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,w.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,w.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function oP({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tR.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tR.jsxs)(am,{children:[(0,tR.jsx)(am.Button,{className:(0,w.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",oL.inactive),children:n}),(0,tR.jsx)(r4,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tR.jsx)(am.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,tR.jsx)(am.Item,{children:(0,tR.jsx)(ou,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,w.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)})})})]})})}function oM({flatDirectories:e,items:t}){let n=or(),r=E(),{menu:i,setMenu:a}=oe();return(0,tR.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,tR.jsx)("div",{className:(0,w.Z)("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full n
23x-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,tR.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,tR.jsx)(ou,{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:od(n.logo)}):(0,tR.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:od(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type){let t=e;return(0,tR.jsxs)(oP,{className:(0,w.Z)(oL.link,"nx-flex nx-gap-1",oL.inactive),menu:t,children:[t.title,(0,tR.jsx)(T.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"})]},t.title)}let t=e,n=t.href||t.route||"#";t.children&&(n=(t.withIndexPage?t.route:t.firstChildRoute)||n);let i=t.route===r||r.startsWith(t.route+"/");return(0,tR.jsxs)(ou,{href:n,className:(0,w.Z)(oL.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!i||t.newWindow?oL.inactive:oL.active),newWindow:t.newWindow,"aria-current":!t.newWindow&&i,children:[(0,tR.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:t.title}),(0,tR.jsx)("span",{className:"nx-invisible nx-font-medium",children:t.title})]},n)}),od(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tR.jsx)(ou,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:od(n.project.icon)}):null,n.chat.link?(0,tR.jsx)(ou,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:od(n.chat.icon)}):null,od(n.navbar.extraContent),(0,tR.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,tR.jsx)(T.Oq,{className:(0,w.Z)({open:i})})})]})]})}var oZ=Object.create(null),oD=(0,b.createContext)(null),oF=(0,b.createContext)(null),oz=(0,b.createContext)(0),o$=(0,b.memo)(function(e){let t=(0,b.useContext)(oz);return(0,tR.jsx)(oz.Provider,{value:t+1,children:(0,tR.jsx)(oW,aK({},e))})}),oU={link:(0,w.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,w.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,w.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,w.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,w.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dar
23k:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function oW({item:e,anchors:t}){let[n]=E().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,b.useContext)(oD),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,b.useContext)(oz),{setMenu:l}=oe(),u=or(),{theme:c}=e,d=void 0===oZ[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s<u.sidebar.defaultMenuCollapseLevel):oZ[e.route]||o,f=(0,b.useState)({})[1];if((0,b.useEffect)(()=>{let t=()=>{(i||o)&&(oZ[e.route]=!0)},n=()=>{i&&o?oZ[e.route]=!0:delete oZ[e.route]};u.sidebar.autoCollapse?n():t()},[i,o,e.route,u.sidebar.autoCollapse]),"menu"===e.type){let t=e,n=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));e.children=Object.entries(t.items||{}).map(([e,r])=>{let i=n[e]||aY(aK({name:e},"locale"in t&&{locale:t.locale}),{route:t.route+"/"+e});return aK(aK({},i),r)})}let h="withIndexPage"in e&&e.withIndexPage,p=h?ou:"button";return(0,tR.jsxs)("li",{className:(0,w.Z)({open:d,active:r}),children:[(0,tR.jsxs)(p,{href:h?e.route:void 0,className:(0,w.Z)("nx-items-center nx-justify-between nx-gap-2",!h&&"nx-text-left nx-w-full",oU.link,r?oU.active:oU.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),h){r||n?oZ[e.route]=!d:(oZ[e.route]=!0,l(!1)),f({});return}r||(oZ[e.route]=!d,f({}))},children:[od(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tR.jsx)(T.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,w.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tR.jsx)(og,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tR.jsx)(oV,{className:(0,w.Z)(oU.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function oH({title:e}){let t=or();return(0,tR.jsx)("li",{className:(0,w.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?od(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tR.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function oG({item:e,anchors:t}){let n=E(),r=(0,b.useContext)(oF),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=a5(),{setMenu:o}=oe(),s=or();return"separator"===e.type?(0,tR.jsx)(oH,{title:e.title}):(0,tR.jsxs)("li",{className:(0,w.Z)(oU.list,{active:i}),children:[(0,tR.jsx)(ou,{href:e.href||e.route,newWindow:e.newWindow,className:(0,w.Z)(oU.link,i?oU.active:oU.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:od(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tR.jsx)("ul",{className:(0,w.Z)(oU.list,oU.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tR.jsx)("li",{children:(0,tR.jsx)("a",{href:`#${e}`,className:(0,w.Z)(oU.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?oU.active:oU.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function oV({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tR.jsx)("ul",{className:(0,w.Z)(oU.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tR.jsx)(o$,{item:e,anchors:t},e.name):(0,tR.jsx)(oG,{item:e,anchors:t},e.name):null)})}function oB({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPop
23over:r=!1,headings:i,includePlaceholder:a}){let o=or(),{menu:s,setMenu:l}=oe(),u=(0,y.useRouter)(),[c,d]=(0,b.useState)(null),[f,h]=(0,b.useState)(!0),[p,m]=(0,b.useState)(!1),x=(0,b.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,b.useRef)(null),v=(0,b.useRef)(null),k=_();(0,b.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,b.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{ak(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,b.useEffect)(()=>{l(!1)},[u.asPath,l]);let j=o.i18n.length>0,E=o.darkMode||j||o.sidebar.toggleButton;return(0,tR.jsxs)(tR.Fragment,{children:[a&&r?(0,tR.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tR.jsx)("div",{className:(0,w.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,tR.jsxs)("aside",{className:(0,w.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,tR.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:od(o.search.component,{directories:t})}),(0,tR.jsx)(oD.Provider,{value:c,children:(0,tR.jsx)(oF.Provider,{value:e=>{d(e)},children:(0,tR.jsxs)("div",{className:(0,w.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,tR.jsx)(og,{isOpen:f,horizontal:!0,children:(0,tR.jsx)(oV,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),k&&window.innerWidth<768&&(0,tR.jsx)(oV,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),E&&(0,tR.jsxs)("div",{className:(0,w.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,w.Z)(j&&"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,tR.jsx)(oS,{lite:!f,className:(0,w.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tR.jsx)("div",{className:f&&!j?"nx-grow nx-flex nx-flex-col":"",children:od(o.themeSwitch.component,{lite:!f||j})}),o.sidebar.toggleButton&&(0,tR.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,tR.jsx)(T.Qq,{isOpen:f})})]})]})]})}var oq="reach-skip-nav",oK="Skip to content";(0,b.forwardRef)(function(e,t){var n=e,{className:r,id:i,label:a=oK,styled:o}=n,s=aQ(n,["className","id","label","styled"]);let l=void 0===r?o?(0,w.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"):"":r;return(0,tR.jsx)("a",aY(aK({},s),{ref:t,href:`#${i||oq}`,className:l,"data-reach-skip-link":"",children:a}))}).displayName="SkipNavLink";var oY=(0,b.forwardRef)(function(e,t){var n=e,{id:r}
23=n,i=aQ(n,["id"]);return(0,tR.jsx)("div",aY(aK({},i),{ref:t,id:r||oq}))});oY.displayName="SkipNavContent";var oQ=tT.strictObject({light:tT.string(),dark:tT.string(),system:tT.string()});function oJ({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=tZ(),a=_(),o=or().themeSwitch,s=a&&"dark"===r?T.kL:T.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tR.jsx)(oT,{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,tR.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tR.jsx)(s,{}),(0,tR.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})}function oX(){window.scrollTo({top:0,behavior:"smooth"})}function o0({className:e}){let t=(0,b.useRef)(null);return(0,b.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,tR.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:oX,className:(0,w.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tR.jsx)(T.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var o1=(0,w.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 o2({headings:e,filePath:t}){var n;let r=a5(),i=or(),a=(0,b.useRef)(null),o=(0,b.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,b.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&ak(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tR.jsxs)("div",{ref:a,className:(0,w.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,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:od(i.toc.title)}),(0,tR.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tR.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tR.jsx)("a",{href:`#${e}`,className:(0,w.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,tR.jsxs)("div",{className:(0,w.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,tR.jsx)(ou,{className:o1,href:i.feedback.useLink(),newWindow:!0,children:od(i.feedback.content)}):null,od(i.editLink.component,{filePath:t,className:o1,children:od(i.editLink.text)}),od(i.toc.extraContent),i.toc.backToTop&&(0,tR.jsx)(o0,{className:o1})]})]})}function o4({className:e,directories:t}){let[n,r]=(0,b.useState)(""),i=(0,b.useMemo)(()=>n?aS(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tR.jsx)(ov,{value:t,match:n}
23)})):[],[n,t]);return(0,tR.jsx)(ow,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var o5="en-US",o3="undefined"!=typeof window;function o7(e){return null==e||"string"==typeof e||o6(e)||(0,b.isValidElement)(e)}function o6(e){return"function"==typeof e}var o9=tT.array(tT.strictObject({direction:tT.enum(["ltr","rtl"]).optional(),locale:tT.string(),text:tT.string()})),o8=[o7,{message:"Must be React.ReactNode or React.FC"}],se=[o6,{message:"Must be React.FC"}];tT.strictObject({banner:tT.strictObject({dismissible:tT.boolean(),key:tT.string(),text:tT.custom(...o8).optional()}),chat:tT.strictObject({icon:tT.custom(...o8),link:tT.string().startsWith("https://").optional()}),components:tT.record(tT.custom(...se)).optional(),darkMode:tT.boolean(),direction:tT.enum(["ltr","rtl"]),docsRepositoryBase:tT.string().startsWith("https://"),editLink:tT.strictObject({component:tT.custom(...se).or(tT.null()),text:tT.custom(...o8)}),faviconGlyph:tT.string().optional(),feedback:tT.strictObject({content:tT.custom(...o8),labels:tT.string(),useLink:tT.function().returns(tT.string())}),footer:tT.strictObject({component:tT.custom(...o8),text:tT.custom(...o8)}),gitTimestamp:tT.custom(...o8),head:tT.custom(...o8),i18n:o9,logo:tT.custom(...o8),logoLink:tT.boolean().or(tT.string()),main:tT.custom(...se).optional(),navbar:tT.strictObject({component:tT.custom(...o8),extraContent:tT.custom(...o8).optional()}),navigation:tT.boolean().or(tT.strictObject({next:tT.boolean(),prev:tT.boolean()})),nextThemes:tT.strictObject({defaultTheme:tT.string(),forcedTheme:tT.string().optional(),storageKey:tT.string()}),notFound:tT.strictObject({content:tT.custom(...o8),labels:tT.string()}),primaryHue:tT.number().or(tT.strictObject({dark:tT.number(),light:tT.number()})),primarySaturation:tT.number().or(tT.strictObject({dark:tT.number(),light:tT.number()})),project:tT.strictObject({icon:tT.custom(...o8),link:tT.string().startsWith("https://").optional()}),search:tT.strictObject({component:tT.custom(...o8),emptyResult:tT.custom(...o8),error:tT.string().or(tT.function().returns(tT.string())),loading:tT.custom(...o8),placeholder:tT.string().or(tT.function().returns(tT.string()))}),serverSideError:tT.strictObject({content:tT.custom(...o8),labels:tT.string()}),sidebar:tT.strictObject({autoCollapse:tT.boolean().optional(),defaultMenuCollapseLevel:tT.number().min(1).int(),titleComponent:tT.custom(...o8),toggleButton:tT.boolean()}),themeSwitch:tT.strictObject({component:tT.custom(...o8),useOptions:oQ.or(tT.function().returns(oQ))}),toc:tT.strictObject({backToTop:tT.boolean(),component:tT.custom(...o8),extraContent:tT.custom(...o8),float:tT.boolean(),headingComponent:tT.custom(...se).optional(),title:tT.custom(...o8)}),useNextSeoProps:tT.custom(o6)}).deepPartial().extend({i18n:o9.optional()});var st={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},sn={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},sr={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)(T.D7,{}),(0,tR.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=op(t);return r?(0,tR.jsx)(ou,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=or();return oc({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:oN,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=o5}=(0,y.useRouter)();return(0,tR.jsxs)(tR.Fragment,{children:["Last updated on"," ",(0,tR.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}
23),(0,tR.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tR.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tR.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tR.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tR.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tR.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tR.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tR.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:oM},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,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)(T.fy,{}),(0,tR.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return or().flexsearch?(0,tR.jsx)(oO,{className:e}):(0,tR.jsx)(o4,{className:e,directories:t})},emptyResult:(0,tR.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=o5}=(0,y.useRouter)(),n=e&&st[e]||st[t];return(0,tR.jsxs)(tR.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=o5}=(0,y.useRouter)(),n=e&&sn[e]||sn[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tR.jsx)(tR.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:oJ,useOptions(){let{locale:e}=(0,y.useRouter)();return"zh-CN"===e?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:o2,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},si=Object.entries(sr).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,b.isValidElement)(t))return e}).filter(Boolean);if(o3){let e;let t=()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",t)}function sa(e){var t=e,{tag:n,context:r,children:i,id:a,className:o}=t,s=aQ(t,["tag","context","children","id","className"]);let l=a3(),u=a6(),c=a7(),d=(0,b.useRef)(null);return(0,b.useEffect)(()=>{if(!a)return;let e=d.current;if(e)return u.set(e,[a,r.index+=1]),null==c||c.observe(e),()=>{null==c||c.disconnect(),u.delete(e),l(e=>{let t=aK({},e);return delete t[a],t})}},[a,r,u,c,l]),(0,tR.jsxs)(n,aY(aK({className:"sr-only"===o?"nx-sr-only":(0,w.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"}[n])},s),{children:[i,a&&(0,tR.jsx)("a",{href:`#${a}`,id:a,className:"subheading-anchor","aria-label":"Permalink for this section",ref:d})]}))}var so=e=>{let t=null,n=[];return b.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===sl){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==ss&&"props"in e&&e.props){let n=so(e.props.children);t=n[0],a=(0,b.cloneElement)(e,aY(aK({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},ss=e=>{var t=e,{children:n,open:r}=t,i=aQ(t,["children","open"]);let[a,o]=(0,b.useState)(!!r),[s,l]=so(n),[u,c]=(0,b.useState)(a);return(0,b.useEffect)(()=>{if(a)c(!0);else{let e=setTimeout(()=>c(a),500);return()=>clearTimeout(e)}},[a]),(0,tR.jsxs)("details",aY(aK(aY(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"},i),{open:u}),a&&{"data-expanded":!0}),{children:[(0,tR.jsx)(os,{value:o,children:s}),(0,tR.jsx)(og,{isOpen:a,children:l})]}))},sl=e=>
23{let t=oo();return(0,tR.jsx)("summary",aY(aK({className:(0,w.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)}}))},su=/https?:\/\//,sc=e=>{var t=e,{href:n="",className:r}=t,i=aQ(t,["href","className"]);return(0,tR.jsx)(ou,aK({href:n,newWindow:su.test(n),className:(0,w.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",r)},i))},sd=e=>{var t=e,{href:n=""}=t,r=aQ(t,["href"]);return(0,tR.jsx)(ou,aK({href:n,newWindow:su.test(n)},r))},sf=({isRawLayout:e,components:t})=>{if(e)return{a:sd};let n={index:0};return aK({h1:e=>(0,tR.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,tR.jsx)(sa,aK({tag:"h2",context:n},e)),h3:e=>(0,tR.jsx)(sa,aK({tag:"h3",context:n},e)),h4:e=>(0,tR.jsx)(sa,aK({tag:"h4",context:n},e)),h5:e=>(0,tR.jsx)(sa,aK({tag:"h5",context:n},e)),h6:e=>(0,tR.jsx)(sa,aK({tag:"h6",context:n},e)),ul:e=>(0,tR.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,tR.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,tR.jsx)("li",aK({className:"nx-my-2"},e)),blockquote:e=>(0,tR.jsx)("blockquote",aK({className:(0,w.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,tR.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:sc,table:e=>(0,tR.jsx)(a$.iA,aK({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tR.jsx)("p",aK({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:a$.Tr,th:a$.Th,td:a$.Td,details:ss,summary:sl,pre:a$.SU,code:a$.EK},t)},sh={toc:(0,w.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,w.Z)("nx-w-full nx-break-words")},sp=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=or(),s=_();if("raw"===e.layout)return(0,tR.jsx)("div",{className:sh.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tR.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:od(o.gitTimestamp,{timestamp:l})}):(0,tR.jsx)("div",{className:"nx-mt-16"}),c=(0,tR.jsxs)(tR.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tR.jsx)("article",{className:(0,w.Z)(sh.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,tR.jsx)("article",{className:(0,w.Z)(sh.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,tR.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]})})},sm=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=or(),{locale:s=o5,defaultLocale:l}=(0,y.useRouter)(),u=E(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:h,topLevelNavbarItems:p,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,b.useMemo)(()=>t1({list:t,locale:s,defaultLocale:l,route:u}),[t,s,l,u]),_=aK(aK({},f),n),k=!_.sidebar||"raw"===_.layout||"page"===c,j="page"!==c&&_.toc&&"default"===_.layout?(0,tR.jsx)("nav",{className:(0,w.Z)(sh.toc,"nx-px-4"),"aria-label":"table of contents",children:od(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==_.layout&&"raw"!==_.layout&&(0,tR.jsx)("nav",{className:sh.toc,"aria-label":"table of contents"}),T=o.i18n.find(e=>e.locale===s),C=(T?"rtl"===T.direction:"rtl"===o.direction)?"rtl":"ltr";return(0,tR.jsxs)("div",{dir:C,children:[(0,tR.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${C}')`}}),(0,tR.jsx)(oR,{}),(0,tR.jsx)(om,{}),_.navbar&&od(o.navbar.component,{flatDirectories:x,items:p}),(0,tR.jsx)("div",{className:(0,w.Z)("nx-mx-auto nx-flex","raw"!==_.layout&&"nx-max-w-[90rem]"),children:(0,tR.jsxs)(a9,{children:[(0,tR.jsx)(oB,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:k,includePlaceholder:"default"===_.layout}),j,(0,tR.jsx)(oY,{}),(0,tR.jsx)(sp,{themeContext:_,breadcrumb:"page"!==c&&_.breadcrumb?(0,tR.jsx)(ox,{activePath:h}):null,timestamp:i,navigation:"page"!==c&&_.pagination?(0,tR.jsx)(oA,{flatDirectories:g,currentIndex:d}):null,children:(0,tR.jsx)(O.Z,{components:sf({isRawLayout:"raw"===_.layout,components:o.components}),children:a})})]})}),_.footer&&od(o.footer.component,{menu:k})]})};function sx(e){var t=e,{children:n}=t,r=aQ(t,["children"]);return(0,tR.jsx)(oi,{value:r,children:(0,tR.jsx)(sm,aY(aK({},r.pageOpts),{children:n}))})}},2154:function(e,t,n){"use strict";let r,i,a;n.d(t,{UW:function(){return f},Zb:function(){return eh},oy:function(){return ep},EK:function(){return m},SU:function(){return x},iA:function(){return eo},Td:function(){return ea},Th:function(){return es},Tr:function(){return el}});var o=n(512),s=n(5893),l=({children:e,className:t,...n})=>
23(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})=>{let r="data-line-numbers"in n;return(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",r&&"[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),_=n(961),k=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;function o(){if(a--<=0){n&&cancelAnimationFrame(n);return}if(t()){if(cancelAnimationFrame(n),!i.current)return;r(!1);return}n=requestAnimationFrame(o)}n=requestAnimationFrame(o)}}):null}var T=n(8657),C=n(8844),S=n(1291),N=n(8961),R=n(8287);let I=h.createContext(null);function A(){return{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;function a(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),a]}}}function L(e){let{children:t}=e,n=h.useRef(A());return h.createElement(I.Provider,{value:n},t)}function P(e){let t=h.useContext(I);if(!t)throw Error("You must wrap your component in a <StableCollection>");let n=M(),[r,i]=t.current.get(e,n);return h.useEffect(()=>i,[]),r}function M(){var e,t,n;
23let 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(".")}var Z=((r=Z||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),D=((i=D||{})[i.Less=-1]="Less",i[i.Equal=0]="Equal",i[i.Greater=1]="Greater",i),F=((a=F||{})[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 z={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)})},$=(0,h.createContext)(null);function U(e){let t=(0,h.useContext)($);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,U),t}return t}$.displayName="TabsDataContext";let W=(0,h.createContext)(null);function H(e){let t=(0,h.useContext)(W);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Tab.Group /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,H),t}return t}function G(e,t){return(0,C.E)(t.type,z,e,t)}W.displayName="TabsActionsContext";let V=h.Fragment;function B(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,k.T)(t),[p,m]=(0,h.useReducer)(G,{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),_=(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}),[]);(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]))});let I={ref:f};return h.createElement(L,null,h.createElement(W.Provider,{value:N},h.createElement($.Provider,{value:_},_.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:I,theirProps:s,slot:x,defaultTag:V,name:"Tabs"}))))}let q="div";function K(e,t){let{orientation:n,selectedIndex:r}=U("Tab.List"),i=(0,k.T)(t);return(0,R.sY)({ourProps:{ref:i,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:q,name:"Tabs.List"})}let Y="button";function Q(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}=U("Tab"),f=H("Tab"),p=U("Tab"),m=(0,h.useRef)(null),x=(0,k.T)(m,t);(0,b.e)(()=>f.registerTab(m),[f,m]);let w=P("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=>
23e.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),L=(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:L,id:a,role:"tab",type:(0,_.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:Y,name:"Tabs.Tab"})}let J="div";function X(e,t){let{selectedIndex:n}=U("Tab.Panels"),r=(0,k.T)(t),i=(0,h.useMemo)(()=>({selectedIndex:n}),[n]);return(0,R.sY)({ourProps:{ref:r},theirProps:e,slot:i,defaultTag:J,name:"Tabs.Panels"})}let ee="div",et=R.AN.RenderStrategy|R.AN.Static;function en(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}=U("Tab.Panel"),p=H("Tab.Panel"),m=(0,h.useRef)(null),x=(0,k.T)(m,t);(0,b.e)(()=>p.registerPanel(m),[p,m,s]);let g=P("panels"),v=f.indexOf(m);-1===v&&(v=g);let w=v===c,_=(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:_,defaultTag:ee,features:et,visible:w,name:"Tabs.Panel"}):h.createElement(E._,{as:"span","aria-hidden":"true",...j})}let er=Object.assign((0,R.yV)(Q),{Group:(0,R.yV)(B),List:(0,R.yV)(K),Panels:(0,R.yV)(X),Panel:(0,R.yV)(en)});function ei(e){return!!e&&"object"==typeof e&&"label"in e}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)(er.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)(er.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=ei(e)&&e.disabled;return(0,s.jsx)(er,{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:ei(e)?e.label:e},t)})})}),(0,s.jsx)(er.Panels,{children:i})]})},{displayName:"Tabs",Tab:function({children:e,...t}){return(0,s.jsx)(er.Panel,{...t,className:"nx-rounded nx-pt-6",children:e})}});var ea=({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}),eo=({className:e="",...t})=>(0,s.jsx)("table",{className:(0,o.Z)("nx-block nx-overflow-x-scroll",e),...t}),es=({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}),el=({className:e="",...t})=>(0,s.jsx)("tr",{className:(0,o.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dar
23k:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",e),...t}),eu=n(1664),ec=n.n(eu),ed={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")},ef=(0,s.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});function eh({children:e,title:t,icon:n,image:r,arrow:i,href:a,...l}){let u=i?ef:null;return r?(0,s.jsxs)(ec(),{href:a,className:(0,o.Z)(ed.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)(ed.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)(ec(),{href:a,className:(0,o.Z)(ed.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)(ed.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[n,t,u]})})}var ep=Object.assign(function({children:e,num:t=3,className:n,style:r,...i}){return(0,s.jsx)("div",{className:(0,o.Z)(ed.cards,n),...i,style:{...r,"--rows":t},children:e})},{displayName:"Cards",Card:eh}),em=(0,h.createContext)(0);function ex(){return(0,h.useContext)(em)}function eg({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})})}function ev(){let e=ex();return(0,s.jsx)(s.Fragment,{children:Array.from({length:e},(e,t)=>(0,s.jsx)("span",{className:"nx-w-5"},t))})}var ey=(0,h.memo)(({label:e,name:t,open:n,children:r,defaultOpen:i=!1,onToggle:a})=>{let o=ex(),[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)(ev,{}),(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)(em.Provider,{value:o+1,children:r})})]})});ey.displayName="Folder";var eb=(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)(ev,{}),(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})]})}));eb.displayName="File",Object.assign(eg,{Folder:ey,File:eb})},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:"
23currentColor",...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:"
23currentColor",...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 w}});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(){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}}function f({__nextra_pageMap:e,__nextra_dynamic_opts:t,...n}){let{context:r,Layout:i}=d(),{Content:a,...o}=r;if(e&&(o.pageOpts={...o.pageOpts,pageMap:e}),t){let{headings:e,title:n,frontMatter:r}=JSON.parse(t);o.pageOpts={...o.pageOpts,headings:e,title:n,frontMatter:r}}return(0,l.jsx)(i,{...o,pageProps:n,children:(0,l.jsx)(u.Provider,{value:n,children:(0,l.jsx)(a,{...n})})})}var h=n(1864),p=n(3859),m=n(2891);function x(e,t){return p(h.join(e,t.replace(/^index$/,"")))}function g(e){return m(e.replaceAll(/[-_]/g," "))}function v(e){return!!e&&"object"==typeof e&&"folder"===e.type}function y(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>
23{if(v(t)){let n=e.replace("/","");return[n,t.title||g(n)]}return[e,t||g(e)]}))}function b(e,t,n=!0){if(n){b(e,{kind:"Meta",data:t.data,locale:t.locale},!1),t.data=y(t.data);return}for(let[n,r]of Object.entries(t.data)){if(!v(r)){if("*"===n)continue;e.children.push({kind:"MdxPage",...t.locale&&{locale:t.locale},name:n,route:x(e.route,n)});continue}let i=n.replace("/",""),a={kind:"Folder",name:i,route:`${e.route}/${i}`,children:[{kind:"Meta",...t.locale&&{locale:t.locale},data:y(r.items)}]};e.children.push(a),b(a,{kind:"Meta",data:r.items,locale:t.locale},!1)}}function w({pageNextRoute:e,pageOpts:t,nextraLayout:n,themeConfig:i,MDXContent:s,hot:l,pageOptsChecksum:u,dynamicMetaModules:c=[]}){var d;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let e=JSON.parse(JSON.stringify(h.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,b(a()(e,r),s)})),r=e});let h=globalThis[d=o.eZ]||(globalThis[d]=Object.create(null));return t.pageMap?(h.pageMap=t.pageMap,h.Layout=n):(t={...t,pageMap:h.pageMap,flexsearch:h.flexsearch},i=h.themeConfig),t={frontMatter:{},...t},h.route=t.route,h.context||(h.context=Object.create(null)),h.context[e]={Content:s,pageOpts:t,themeConfig:i},f}},6008:function(e,t,n){"use strict";var r=n(2337);function i(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}e.exports=i},3905:function(e,t,n){"use strict";var r=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(n(6008));let i="text/plain",a="us-ascii",o=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),s=(e,{stripHash:t})=>{let n=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!n)throw Error(`Invalid URL: ${e}`);let{type:r,data:o,hash:s}=n.groups,l=r.split(";");s=t?"":s;let u=!1;"base64"===l[l.length-1]&&(l.pop(),u=!0);let c=(l.shift()||"").toLowerCase(),d=[...l.map(e=>{let[t,n=""]=e.split("=").map(e=>e.trim());return"charset"===t&&(n=n.toLowerCase())===a?"":`${t}${n?`=${n}`:""}`}).filter(Boolean)];return u&&d.push("base64"),(d.length>0||c&&c!==i)&&d.unshift(c),`data:${d.join(";")},${u?o.trim():o}${s?`#${s}`:""}`};function l(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 s(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("/");o(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()])o(e,t.removeQueryParameters)&&r.searchParams.delete(e);
23if(!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}let u=(e,t=!1)=>{let n=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,i=t=>{let n=Error(t);throw n.subject_url=e,n};"string"==typeof e&&e.trim()||i("Invalid url."),e.length>u.MAX_INPUT_LENGTH&&i("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&("object"!=typeof t&&(t={stripHash:!1}),e=l(e,t));let a=r.default(e);if(a.parse_failed){let e=a.href.match(n);e?(a.protocols=["ssh"],a.protocol="ssh",a.resource=e[2],a.host=e[2],a.user=e[1],a.pathname=`/${e[3]}`,a.parse_failed=!1):i("URL parsing failed.")}return a};u.MAX_INPUT_LENGTH=2048,e.exports=u},2337:function(e){"use strict";e.exports=function(e,t){!0===t&&(t=0);var n="";if("string"==typeof e)try{n=new URL(e).protocol}catch(e){}else e&&e.constructor===URL&&(n=e.protocol);var r=n.split(/\:|\+/).filter(Boolean);return"number"==typeof t?r[t]:r}},6826:function(e){var t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},n=Object.keys(t).join("|"),r=RegExp(n,"g"),i=RegExp(n,""),a=function(e){return e.replace(r,function(e){return t[e]})},o=function(e){return!!e.match(i)};e.exports=a,e.exports.has=o,e.exports.remove=a},3859:function(e){"use strict";e.exports=e=>{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?(?:^|[.\\(\\)!?;
23:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),s=e=>e.map(e=>[RegExp(`\\b${e}\\b`,"gi"),e]);function l(e){let t=e[0];return/\s/.test(t)?e.slice(1):/[\(\)]/.test(t)?null:e}e.exports=(e,t={})=>(e=e.toLowerCase().replace(o,(e,t="",n,i,a,o,s)=>{let u=e.length+o>=s.length,c=l(e);if(!c)return e;if(!n){let e=i+a;if(r.has(e)&&!u)return c}return t+(i||n).toUpperCase()+a}),s([...i,...t.special||[]]).forEach(([t,n])=>{e=e.replace(t,n)}),e)},1439:function(e){let t=["for","and","nor","but","or","yet","so"],n=["a","an","the"],r=["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"];e.exports=new Set([...t,...n,...r])},7224:function(e){let t=["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"];e.exports=t},2746:function(e,t,n){n(5893)},512:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e){if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n)}return i}function i(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}t.Z=i},933:function(e,t,n){"use strict";let r;n.d(t,{R:function(){return i}});var 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)},3:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(7294),i=n(5508);let a=function(e){let t=(0,i.E)(e);return r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])}},4924:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(7294),a=n(1830),o=n(1378),s=n(2047);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}},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 s}});var r,i=n(7294),a=n(1830);function o(){let e="undefined"==typeof document;return(0,(r||(r=n.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)}function s(){let e=o(),[t,n]=i.useState(a.O.isHandoffComplete);return t&&!1===a.O.isHandoffComplete&&n(!1),i.useEffect(()=>{!0!==t&&n(!0)},[t]),i.useEffect(()=>a.O.handoff(),[]),!e&&t}},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<e;n++)t[n]=arguments[n];let o=(0,r.useRef)(t);(0,r.useEffect)(()=>{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 o},_:function(){return l}});var i=n(8287);let a="div";var o=((r=o||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);function s(e,t){var n;let{features:r=1,...o}=e,s={ref:t,"aria-hidden":(2&r)==2||(null!=(n=o["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:s,theirProps:o,slot:{},defaultTag:a,name:"Hidden"})}let l=(0,i.yV)(s)},5602:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>
23"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 i}});var r=n(1291);function i(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];let a={current:!0};return(0,r.Y)(()=>{a.current&&n[0]()}),t.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(e){let t=i();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},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 j},TO:function(){return f},fE:function(){return h},jA:function(){return E},sP:function(){return g},tJ:function(){return x},wI:function(){return v},z2:function(){return k}});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)&&b(e)})}var y=((s=y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function b(e){null==e||e.focus({preventScroll:!0})}"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));let w="textarea,input";function _(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,w))&&n}function k(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 j(e,t){return E(m(),t,{relativeTo:e})}function E(e,t){let{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?k(e):e:m(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r=null!=r?r:a.activeElement;let s=(()=>
23{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,d=o.length,f;do{if(c>=d||c+d<=0)return 0;let e=l+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}null==(f=o[e])||f.focus(u),c+=s}while(f!==a.activeElement);return 6&t&&_(f)&&f.select(),2}},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<n;a++)i[a-2]=arguments[a];if(e in t){let n=t[e];return"function"==typeof n?n(...i):n}let o=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.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;r<t;r++)n[r]=arguments[r];return(0,o.A)(null==e?void 0:e.className(...n),c.className)}:(0,o.A)(null==e?void 0:e.className,c.className),n=t?{className:t}:{};return(0,a.cloneElement)(f,Object.assign({},h(f.props,m(x(c,["ref"]))),p,d,{ref:i(f.ref,d.ref)},n))}return(0,a.createElement)(s,Object.assign({},x(c,["ref"]),s!==a.Fragment&&d,s!==a.Fragment&&p),f)}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function h(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(0===n.length)return{};if(1===n.length)return n[0];let i={},a={};for(let t of n)for(let n in t)n.startsWith("on")&&"function"==typeof t[n]?(null!=(e=a[n])||(a[n]=[]),a[n].push(t[n])):i[n]=t[n];if(i.disabled||i["aria-disabled"])return Object.assign(i,Object.fromEntries(Object.keys(a).map(e=>[e,void 0])));for(let e in a)Object.assign(i,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of a[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return i}function p(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){let t=arguments.length>1&&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(3454),a="en-US",o=i.cwd();r.join(o,"public");var s=Symbol.for("__nextra_internal__"),l=new Set(["/404","/500"])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.